@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
package/resources/users.js
CHANGED
|
@@ -16,13 +16,13 @@ class Users extends resource_1.APIResource {
|
|
|
16
16
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
17
17
|
*/
|
|
18
18
|
list(query = {}, options) {
|
|
19
|
-
return this._client.getAPIList('/users', (pagination_1.PageCursorURL), { query, ...options });
|
|
19
|
+
return this._client.getAPIList('/users/', (pagination_1.PageCursorURL), { query, ...options });
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Retrieve a specific user
|
|
23
23
|
*/
|
|
24
24
|
retrieve(id, options) {
|
|
25
|
-
return this._client.get((0, path_1.path) `/users/${id}
|
|
25
|
+
return this._client.get((0, path_1.path) `/users/${id}/`, options);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
exports.Users = Users;
|
package/resources/users.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;OAKG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;OAKG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,CAAA,0BAAmB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;CACF;AApBD,sBAoBC"}
|
package/resources/users.mjs
CHANGED
|
@@ -13,13 +13,13 @@ export class Users extends APIResource {
|
|
|
13
13
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
14
14
|
*/
|
|
15
15
|
list(query = {}, options) {
|
|
16
|
-
return this._client.getAPIList('/users', (PageCursorURL), { query, ...options });
|
|
16
|
+
return this._client.getAPIList('/users/', (PageCursorURL), { query, ...options });
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Retrieve a specific user
|
|
20
20
|
*/
|
|
21
21
|
retrieve(id, options) {
|
|
22
|
-
return this._client.get(path `/users/${id}
|
|
22
|
+
return this._client.get(path `/users/${id}/`, options);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
//# sourceMappingURL=users.mjs.map
|
package/resources/users.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;OAKG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;OAKG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,CAAA,aAAmB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;CACF"}
|
|
@@ -17,31 +17,31 @@ class WorkLocations extends resource_1.APIResource {
|
|
|
17
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
18
18
|
*/
|
|
19
19
|
list(query = {}, options) {
|
|
20
|
-
return this._client.getAPIList('/work-locations', (pagination_1.PageCursorURL), { query, ...options });
|
|
20
|
+
return this._client.getAPIList('/work-locations/', (pagination_1.PageCursorURL), { query, ...options });
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Create a new work location
|
|
24
24
|
*/
|
|
25
25
|
create(body, options) {
|
|
26
|
-
return this._client.post('/work-locations', { body, ...options });
|
|
26
|
+
return this._client.post('/work-locations/', { body, ...options });
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Retrieve a specific work location
|
|
30
30
|
*/
|
|
31
31
|
retrieve(id, options) {
|
|
32
|
-
return this._client.get((0, path_1.path) `/work-locations/${id}
|
|
32
|
+
return this._client.get((0, path_1.path) `/work-locations/${id}/`, options);
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Updated a specific work location
|
|
36
36
|
*/
|
|
37
37
|
update(id, body, options) {
|
|
38
|
-
return this._client.patch((0, path_1.path) `/work-locations/${id}
|
|
38
|
+
return this._client.patch((0, path_1.path) `/work-locations/${id}/`, { body, ...options });
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Delete a work location
|
|
42
42
|
*/
|
|
43
43
|
delete(id, options) {
|
|
44
|
-
return this._client.delete((0, path_1.path) `/work-locations/${id}
|
|
44
|
+
return this._client.delete((0, path_1.path) `/work-locations/${id}/`, {
|
|
45
45
|
...options,
|
|
46
46
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
47
47
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-locations.js","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"work-locations.js","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,0BAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA8B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,GAAG,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA5CD,sCA4CC"}
|
|
@@ -14,31 +14,31 @@ export class WorkLocations extends APIResource {
|
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
15
|
*/
|
|
16
16
|
list(query = {}, options) {
|
|
17
|
-
return this._client.getAPIList('/work-locations', (PageCursorURL), { query, ...options });
|
|
17
|
+
return this._client.getAPIList('/work-locations/', (PageCursorURL), { query, ...options });
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Create a new work location
|
|
21
21
|
*/
|
|
22
22
|
create(body, options) {
|
|
23
|
-
return this._client.post('/work-locations', { body, ...options });
|
|
23
|
+
return this._client.post('/work-locations/', { body, ...options });
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Retrieve a specific work location
|
|
27
27
|
*/
|
|
28
28
|
retrieve(id, options) {
|
|
29
|
-
return this._client.get(path `/work-locations/${id}
|
|
29
|
+
return this._client.get(path `/work-locations/${id}/`, options);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Updated a specific work location
|
|
33
33
|
*/
|
|
34
34
|
update(id, body, options) {
|
|
35
|
-
return this._client.patch(path `/work-locations/${id}
|
|
35
|
+
return this._client.patch(path `/work-locations/${id}/`, { body, ...options });
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Delete a work location
|
|
39
39
|
*/
|
|
40
40
|
delete(id, options) {
|
|
41
|
-
return this._client.delete(path `/work-locations/${id}
|
|
41
|
+
return this._client.delete(path `/work-locations/${id}/`, {
|
|
42
42
|
...options,
|
|
43
43
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
44
44
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-locations.mjs","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"work-locations.mjs","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,aAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA8B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,mBAAmB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,mBAAmB,EAAE,GAAG,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/resources/workers.js
CHANGED
|
@@ -21,13 +21,13 @@ class Workers extends resource_1.APIResource {
|
|
|
21
21
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
22
22
|
*/
|
|
23
23
|
list(query = {}, options) {
|
|
24
|
-
return this._client.getAPIList('/workers', (pagination_1.PageCursorURL), { query, ...options });
|
|
24
|
+
return this._client.getAPIList('/workers/', (pagination_1.PageCursorURL), { query, ...options });
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Retrieve a specific worker
|
|
28
28
|
*/
|
|
29
29
|
retrieve(id, query = {}, options) {
|
|
30
|
-
return this._client.get((0, path_1.path) `/workers/${id}
|
|
30
|
+
return this._client.get((0, path_1.path) `/workers/${id}/`, { query, ...options });
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
exports.Workers = Workers;
|
package/resources/workers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workers.js","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAU/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"workers.js","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAU/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,0BAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AA7BD,0BA6BC"}
|
package/resources/workers.mjs
CHANGED
|
@@ -18,13 +18,13 @@ export class Workers extends APIResource {
|
|
|
18
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
19
19
|
*/
|
|
20
20
|
list(query = {}, options) {
|
|
21
|
-
return this._client.getAPIList('/workers', (PageCursorURL), { query, ...options });
|
|
21
|
+
return this._client.getAPIList('/workers/', (PageCursorURL), { query, ...options });
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Retrieve a specific worker
|
|
25
25
|
*/
|
|
26
26
|
retrieve(id, query = {}, options) {
|
|
27
|
-
return this._client.get(path `/workers/${id}
|
|
27
|
+
return this._client.get(path `/workers/${id}/`, { query, ...options });
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=workers.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workers.mjs","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAUf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"workers.mjs","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAUf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,aAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -19,6 +19,11 @@ import { AbstractPage, PageCursorURLResponse } from './core/pagination';
|
|
|
19
19
|
import * as Uploads from './core/uploads';
|
|
20
20
|
import * as API from './resources/index';
|
|
21
21
|
import { APIPromise } from './core/api-promise';
|
|
22
|
+
import {
|
|
23
|
+
AssignReview,
|
|
24
|
+
AssignReviewCreateParams,
|
|
25
|
+
AssignReviewCreateResponse,
|
|
26
|
+
} from './resources/assign-review';
|
|
22
27
|
import {
|
|
23
28
|
BusinessPartnerGroup,
|
|
24
29
|
BusinessPartnerGroupCreateParams,
|
|
@@ -72,6 +77,11 @@ import {
|
|
|
72
77
|
CreateAppNotificationCreateParams,
|
|
73
78
|
CreateAppNotificationCreateResponse,
|
|
74
79
|
} from './resources/create-app-notification';
|
|
80
|
+
import {
|
|
81
|
+
CreateGcalEvent,
|
|
82
|
+
CreateGcalEventCreateParams,
|
|
83
|
+
CreateGcalEventCreateResponse,
|
|
84
|
+
} from './resources/create-gcal-event';
|
|
75
85
|
import {
|
|
76
86
|
CustomAppCreateParams,
|
|
77
87
|
CustomAppCreateResponse,
|
|
@@ -109,6 +119,11 @@ import {
|
|
|
109
119
|
CustomSettingUpdateResponse,
|
|
110
120
|
CustomSettings,
|
|
111
121
|
} from './resources/custom-settings';
|
|
122
|
+
import {
|
|
123
|
+
DeleteCustomObjectRecord,
|
|
124
|
+
DeleteCustomObjectRecordCreateParams,
|
|
125
|
+
DeleteCustomObjectRecordCreateResponse,
|
|
126
|
+
} from './resources/delete-custom-object-record';
|
|
112
127
|
import {
|
|
113
128
|
Department,
|
|
114
129
|
DepartmentCreateParams,
|
|
@@ -132,6 +147,7 @@ import {
|
|
|
132
147
|
EntitlementListResponsesPageCursorURL,
|
|
133
148
|
Entitlements,
|
|
134
149
|
} from './resources/entitlements';
|
|
150
|
+
import { EvaluateRql, EvaluateRqlCreateParams, EvaluateRqlCreateResponse } from './resources/evaluate-rql';
|
|
135
151
|
import {
|
|
136
152
|
HeadcountPositionListParams,
|
|
137
153
|
HeadcountPositionListResponse,
|
|
@@ -315,7 +331,25 @@ import {
|
|
|
315
331
|
Schedules,
|
|
316
332
|
} from './resources/schedules';
|
|
317
333
|
import { SendEmail, SendEmailCreateParams, SendEmailCreateResponse } from './resources/send-email';
|
|
334
|
+
import {
|
|
335
|
+
SendHTTPRequest,
|
|
336
|
+
SendHTTPRequestCreateParams,
|
|
337
|
+
SendHTTPRequestCreateResponse,
|
|
338
|
+
} from './resources/send-http-request';
|
|
339
|
+
import {
|
|
340
|
+
SendPushNotification,
|
|
341
|
+
SendPushNotificationCreateParams,
|
|
342
|
+
SendPushNotificationCreateResponse,
|
|
343
|
+
} from './resources/send-push-notification';
|
|
344
|
+
import {
|
|
345
|
+
SendReportSftp,
|
|
346
|
+
SendReportSftpCreateParams,
|
|
347
|
+
SendReportSftpCreateResponse,
|
|
348
|
+
} from './resources/send-report-sftp';
|
|
318
349
|
import { SendSlack, SendSlackCreateParams, SendSlackCreateResponse } from './resources/send-slack';
|
|
350
|
+
import { SendSMS, SendSMSCreateParams, SendSMSCreateResponse } from './resources/send-sms';
|
|
351
|
+
import { SendSurvey, SendSurveyCreateParams, SendSurveyCreateResponse } from './resources/send-survey';
|
|
352
|
+
import { SendTeamCreateParams, SendTeamCreateResponse, SendTeams } from './resources/send-teams';
|
|
319
353
|
import {
|
|
320
354
|
ShiftAssignmentUpdateCustomfieldsParams,
|
|
321
355
|
ShiftAssignmentUpdateCustomfieldsResponse,
|
|
@@ -346,7 +380,7 @@ import {
|
|
|
346
380
|
ShiftassignmentUpdateResponse,
|
|
347
381
|
Shiftassignments,
|
|
348
382
|
} from './resources/shiftassignments';
|
|
349
|
-
import { SSOMe,
|
|
383
|
+
import { SSOMe, SSOMeListParams, SSOMeResource } from './resources/sso-me';
|
|
350
384
|
import {
|
|
351
385
|
Team,
|
|
352
386
|
TeamListParams,
|
|
@@ -414,6 +448,16 @@ import {
|
|
|
414
448
|
UnassignedshiftUpdateResponse,
|
|
415
449
|
Unassignedshifts,
|
|
416
450
|
} from './resources/unassignedshifts';
|
|
451
|
+
import {
|
|
452
|
+
UpdateCustomObjectRecord,
|
|
453
|
+
UpdateCustomObjectRecordCreateParams,
|
|
454
|
+
UpdateCustomObjectRecordCreateResponse,
|
|
455
|
+
} from './resources/update-custom-object-record';
|
|
456
|
+
import {
|
|
457
|
+
UpsertCustomObject,
|
|
458
|
+
UpsertCustomObjectCreateParams,
|
|
459
|
+
UpsertCustomObjectCreateResponse,
|
|
460
|
+
} from './resources/upsert-custom-object';
|
|
417
461
|
import { User, UserListParams, UserRetrieveResponse, Users, UsersPageCursorURL } from './resources/users';
|
|
418
462
|
import {
|
|
419
463
|
WorkLocation,
|
|
@@ -1305,6 +1349,10 @@ export class RipplingSDK {
|
|
|
1305
1349
|
* Job related information for the company
|
|
1306
1350
|
*/
|
|
1307
1351
|
jobPayRateExceptions: API.JobPayRateExceptions = new API.JobPayRateExceptions(this);
|
|
1352
|
+
/**
|
|
1353
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1354
|
+
*/
|
|
1355
|
+
assignReview: API.AssignReview = new API.AssignReview(this);
|
|
1308
1356
|
/**
|
|
1309
1357
|
* Someone who applies to a job requisition opened by the company
|
|
1310
1358
|
*/
|
|
@@ -1321,6 +1369,10 @@ export class RipplingSDK {
|
|
|
1321
1369
|
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1322
1370
|
*/
|
|
1323
1371
|
createAppNotification: API.CreateAppNotification = new API.CreateAppNotification(this);
|
|
1372
|
+
/**
|
|
1373
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1374
|
+
*/
|
|
1375
|
+
createGcalEvent: API.CreateGcalEvent = new API.CreateGcalEvent(this);
|
|
1324
1376
|
customApps: API.CustomApps = new API.CustomApps(this);
|
|
1325
1377
|
/**
|
|
1326
1378
|
* Custom fields defined by the company
|
|
@@ -1328,6 +1380,10 @@ export class RipplingSDK {
|
|
|
1328
1380
|
customFields: API.CustomFields = new API.CustomFields(this);
|
|
1329
1381
|
customPages: API.CustomPages = new API.CustomPages(this);
|
|
1330
1382
|
customSettings: API.CustomSettings = new API.CustomSettings(this);
|
|
1383
|
+
/**
|
|
1384
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1385
|
+
*/
|
|
1386
|
+
deleteCustomObjectRecord: API.DeleteCustomObjectRecord = new API.DeleteCustomObjectRecord(this);
|
|
1331
1387
|
/**
|
|
1332
1388
|
* Candidates who have not yet started work at the company
|
|
1333
1389
|
*/
|
|
@@ -1336,6 +1392,10 @@ export class RipplingSDK {
|
|
|
1336
1392
|
* Availability of API features to the company or Partners.
|
|
1337
1393
|
*/
|
|
1338
1394
|
entitlements: API.Entitlements = new API.Entitlements(this);
|
|
1395
|
+
/**
|
|
1396
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1397
|
+
*/
|
|
1398
|
+
evaluateRql: API.EvaluateRql = new API.EvaluateRql(this);
|
|
1339
1399
|
/**
|
|
1340
1400
|
* Headcount allocations for the company
|
|
1341
1401
|
*/
|
|
@@ -1384,10 +1444,34 @@ export class RipplingSDK {
|
|
|
1384
1444
|
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1385
1445
|
*/
|
|
1386
1446
|
sendEmail: API.SendEmail = new API.SendEmail(this);
|
|
1447
|
+
/**
|
|
1448
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1449
|
+
*/
|
|
1450
|
+
sendHTTPRequest: API.SendHTTPRequest = new API.SendHTTPRequest(this);
|
|
1451
|
+
/**
|
|
1452
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1453
|
+
*/
|
|
1454
|
+
sendPushNotification: API.SendPushNotification = new API.SendPushNotification(this);
|
|
1455
|
+
/**
|
|
1456
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1457
|
+
*/
|
|
1458
|
+
sendReportSftp: API.SendReportSftp = new API.SendReportSftp(this);
|
|
1387
1459
|
/**
|
|
1388
1460
|
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1389
1461
|
*/
|
|
1390
1462
|
sendSlack: API.SendSlack = new API.SendSlack(this);
|
|
1463
|
+
/**
|
|
1464
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1465
|
+
*/
|
|
1466
|
+
sendSMS: API.SendSMS = new API.SendSMS(this);
|
|
1467
|
+
/**
|
|
1468
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1469
|
+
*/
|
|
1470
|
+
sendSurvey: API.SendSurvey = new API.SendSurvey(this);
|
|
1471
|
+
/**
|
|
1472
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1473
|
+
*/
|
|
1474
|
+
sendTeams: API.SendTeams = new API.SendTeams(this);
|
|
1391
1475
|
/**
|
|
1392
1476
|
* Shift assignments assigned to workers
|
|
1393
1477
|
*/
|
|
@@ -1400,6 +1484,14 @@ export class RipplingSDK {
|
|
|
1400
1484
|
* Unassigned shifts that are part of a schedule
|
|
1401
1485
|
*/
|
|
1402
1486
|
unassignedshifts: API.Unassignedshifts = new API.Unassignedshifts(this);
|
|
1487
|
+
/**
|
|
1488
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1489
|
+
*/
|
|
1490
|
+
updateCustomObjectRecord: API.UpdateCustomObjectRecord = new API.UpdateCustomObjectRecord(this);
|
|
1491
|
+
/**
|
|
1492
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
1493
|
+
*/
|
|
1494
|
+
upsertCustomObject: API.UpsertCustomObject = new API.UpsertCustomObject(this);
|
|
1403
1495
|
/**
|
|
1404
1496
|
* Shift assignments assigned to workers
|
|
1405
1497
|
*/
|
|
@@ -1440,16 +1532,20 @@ RipplingSDK.BusinessPartnerGroups = BusinessPartnerGroups;
|
|
|
1440
1532
|
RipplingSDK.Functions = Functions;
|
|
1441
1533
|
RipplingSDK.JobAssignments = JobAssignments;
|
|
1442
1534
|
RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
|
|
1535
|
+
RipplingSDK.AssignReview = AssignReview;
|
|
1443
1536
|
RipplingSDK.Candidates = Candidates;
|
|
1444
1537
|
RipplingSDK.CandidateApplications = CandidateApplications;
|
|
1445
1538
|
RipplingSDK.CompensationBandsDetails = CompensationBandsDetails;
|
|
1446
1539
|
RipplingSDK.CreateAppNotification = CreateAppNotification;
|
|
1540
|
+
RipplingSDK.CreateGcalEvent = CreateGcalEvent;
|
|
1447
1541
|
RipplingSDK.CustomApps = CustomApps;
|
|
1448
1542
|
RipplingSDK.CustomFields = CustomFields;
|
|
1449
1543
|
RipplingSDK.CustomPages = CustomPages;
|
|
1450
1544
|
RipplingSDK.CustomSettings = CustomSettings;
|
|
1545
|
+
RipplingSDK.DeleteCustomObjectRecord = DeleteCustomObjectRecord;
|
|
1451
1546
|
RipplingSDK.DraftHires = DraftHires;
|
|
1452
1547
|
RipplingSDK.Entitlements = Entitlements;
|
|
1548
|
+
RipplingSDK.EvaluateRql = EvaluateRql;
|
|
1453
1549
|
RipplingSDK.HeadcountPositions = HeadcountPositions;
|
|
1454
1550
|
RipplingSDK.HeadcountPriorities = HeadcountPriorities;
|
|
1455
1551
|
RipplingSDK.JobFunctions = JobFunctions;
|
|
@@ -1462,10 +1558,18 @@ RipplingSDK.ReportRuns = ReportRuns;
|
|
|
1462
1558
|
RipplingSDK.RunQuery = RunQuery;
|
|
1463
1559
|
RipplingSDK.Schedules = Schedules;
|
|
1464
1560
|
RipplingSDK.SendEmail = SendEmail;
|
|
1561
|
+
RipplingSDK.SendHTTPRequest = SendHTTPRequest;
|
|
1562
|
+
RipplingSDK.SendPushNotification = SendPushNotification;
|
|
1563
|
+
RipplingSDK.SendReportSftp = SendReportSftp;
|
|
1465
1564
|
RipplingSDK.SendSlack = SendSlack;
|
|
1565
|
+
RipplingSDK.SendSMS = SendSMS;
|
|
1566
|
+
RipplingSDK.SendSurvey = SendSurvey;
|
|
1567
|
+
RipplingSDK.SendTeams = SendTeams;
|
|
1466
1568
|
RipplingSDK.Shiftassignments = Shiftassignments;
|
|
1467
1569
|
RipplingSDK.Titles = Titles;
|
|
1468
1570
|
RipplingSDK.Unassignedshifts = Unassignedshifts;
|
|
1571
|
+
RipplingSDK.UpdateCustomObjectRecord = UpdateCustomObjectRecord;
|
|
1572
|
+
RipplingSDK.UpsertCustomObject = UpsertCustomObject;
|
|
1469
1573
|
RipplingSDK.ShiftAssignments = ShiftAssignments;
|
|
1470
1574
|
RipplingSDK.UnassignedShifts = UnassignedShifts;
|
|
1471
1575
|
|
|
@@ -1634,11 +1738,7 @@ export declare namespace RipplingSDK {
|
|
|
1634
1738
|
type ShiftInputUpdateParams as ShiftInputUpdateParams,
|
|
1635
1739
|
};
|
|
1636
1740
|
|
|
1637
|
-
export {
|
|
1638
|
-
SSOMeResource as SSOMeResource,
|
|
1639
|
-
type SSOMe as SSOMe,
|
|
1640
|
-
type SSOMeRetrieveParams as SSOMeRetrieveParams,
|
|
1641
|
-
};
|
|
1741
|
+
export { SSOMeResource as SSOMeResource, type SSOMe as SSOMe, type SSOMeListParams as SSOMeListParams };
|
|
1642
1742
|
|
|
1643
1743
|
export {
|
|
1644
1744
|
Supergroups as Supergroups,
|
|
@@ -1771,6 +1871,12 @@ export declare namespace RipplingSDK {
|
|
|
1771
1871
|
type JobPayRateExceptionListChangeLogParams as JobPayRateExceptionListChangeLogParams,
|
|
1772
1872
|
};
|
|
1773
1873
|
|
|
1874
|
+
export {
|
|
1875
|
+
AssignReview as AssignReview,
|
|
1876
|
+
type AssignReviewCreateResponse as AssignReviewCreateResponse,
|
|
1877
|
+
type AssignReviewCreateParams as AssignReviewCreateParams,
|
|
1878
|
+
};
|
|
1879
|
+
|
|
1774
1880
|
export {
|
|
1775
1881
|
Candidates as Candidates,
|
|
1776
1882
|
type CandidateListResponse as CandidateListResponse,
|
|
@@ -1800,6 +1906,12 @@ export declare namespace RipplingSDK {
|
|
|
1800
1906
|
type CreateAppNotificationCreateParams as CreateAppNotificationCreateParams,
|
|
1801
1907
|
};
|
|
1802
1908
|
|
|
1909
|
+
export {
|
|
1910
|
+
CreateGcalEvent as CreateGcalEvent,
|
|
1911
|
+
type CreateGcalEventCreateResponse as CreateGcalEventCreateResponse,
|
|
1912
|
+
type CreateGcalEventCreateParams as CreateGcalEventCreateParams,
|
|
1913
|
+
};
|
|
1914
|
+
|
|
1803
1915
|
export {
|
|
1804
1916
|
CustomApps as CustomApps,
|
|
1805
1917
|
type CustomAppListResponse as CustomAppListResponse,
|
|
@@ -1841,6 +1953,12 @@ export declare namespace RipplingSDK {
|
|
|
1841
1953
|
type CustomSettingUpdateParams as CustomSettingUpdateParams,
|
|
1842
1954
|
};
|
|
1843
1955
|
|
|
1956
|
+
export {
|
|
1957
|
+
DeleteCustomObjectRecord as DeleteCustomObjectRecord,
|
|
1958
|
+
type DeleteCustomObjectRecordCreateResponse as DeleteCustomObjectRecordCreateResponse,
|
|
1959
|
+
type DeleteCustomObjectRecordCreateParams as DeleteCustomObjectRecordCreateParams,
|
|
1960
|
+
};
|
|
1961
|
+
|
|
1844
1962
|
export {
|
|
1845
1963
|
DraftHires as DraftHires,
|
|
1846
1964
|
type DraftHireCreateResponse as DraftHireCreateResponse,
|
|
@@ -1853,6 +1971,12 @@ export declare namespace RipplingSDK {
|
|
|
1853
1971
|
type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
|
|
1854
1972
|
};
|
|
1855
1973
|
|
|
1974
|
+
export {
|
|
1975
|
+
EvaluateRql as EvaluateRql,
|
|
1976
|
+
type EvaluateRqlCreateResponse as EvaluateRqlCreateResponse,
|
|
1977
|
+
type EvaluateRqlCreateParams as EvaluateRqlCreateParams,
|
|
1978
|
+
};
|
|
1979
|
+
|
|
1856
1980
|
export {
|
|
1857
1981
|
HeadcountPositions as HeadcountPositions,
|
|
1858
1982
|
type HeadcountPositionListResponse as HeadcountPositionListResponse,
|
|
@@ -1947,12 +2071,48 @@ export declare namespace RipplingSDK {
|
|
|
1947
2071
|
type SendEmailCreateParams as SendEmailCreateParams,
|
|
1948
2072
|
};
|
|
1949
2073
|
|
|
2074
|
+
export {
|
|
2075
|
+
SendHTTPRequest as SendHTTPRequest,
|
|
2076
|
+
type SendHTTPRequestCreateResponse as SendHTTPRequestCreateResponse,
|
|
2077
|
+
type SendHTTPRequestCreateParams as SendHTTPRequestCreateParams,
|
|
2078
|
+
};
|
|
2079
|
+
|
|
2080
|
+
export {
|
|
2081
|
+
SendPushNotification as SendPushNotification,
|
|
2082
|
+
type SendPushNotificationCreateResponse as SendPushNotificationCreateResponse,
|
|
2083
|
+
type SendPushNotificationCreateParams as SendPushNotificationCreateParams,
|
|
2084
|
+
};
|
|
2085
|
+
|
|
2086
|
+
export {
|
|
2087
|
+
SendReportSftp as SendReportSftp,
|
|
2088
|
+
type SendReportSftpCreateResponse as SendReportSftpCreateResponse,
|
|
2089
|
+
type SendReportSftpCreateParams as SendReportSftpCreateParams,
|
|
2090
|
+
};
|
|
2091
|
+
|
|
1950
2092
|
export {
|
|
1951
2093
|
SendSlack as SendSlack,
|
|
1952
2094
|
type SendSlackCreateResponse as SendSlackCreateResponse,
|
|
1953
2095
|
type SendSlackCreateParams as SendSlackCreateParams,
|
|
1954
2096
|
};
|
|
1955
2097
|
|
|
2098
|
+
export {
|
|
2099
|
+
SendSMS as SendSMS,
|
|
2100
|
+
type SendSMSCreateResponse as SendSMSCreateResponse,
|
|
2101
|
+
type SendSMSCreateParams as SendSMSCreateParams,
|
|
2102
|
+
};
|
|
2103
|
+
|
|
2104
|
+
export {
|
|
2105
|
+
SendSurvey as SendSurvey,
|
|
2106
|
+
type SendSurveyCreateResponse as SendSurveyCreateResponse,
|
|
2107
|
+
type SendSurveyCreateParams as SendSurveyCreateParams,
|
|
2108
|
+
};
|
|
2109
|
+
|
|
2110
|
+
export {
|
|
2111
|
+
SendTeams as SendTeams,
|
|
2112
|
+
type SendTeamCreateResponse as SendTeamCreateResponse,
|
|
2113
|
+
type SendTeamCreateParams as SendTeamCreateParams,
|
|
2114
|
+
};
|
|
2115
|
+
|
|
1956
2116
|
export {
|
|
1957
2117
|
Shiftassignments as Shiftassignments,
|
|
1958
2118
|
type ShiftassignmentListResponse as ShiftassignmentListResponse,
|
|
@@ -1991,6 +2151,18 @@ export declare namespace RipplingSDK {
|
|
|
1991
2151
|
type UnassignedshiftUpdateParams as UnassignedshiftUpdateParams,
|
|
1992
2152
|
};
|
|
1993
2153
|
|
|
2154
|
+
export {
|
|
2155
|
+
UpdateCustomObjectRecord as UpdateCustomObjectRecord,
|
|
2156
|
+
type UpdateCustomObjectRecordCreateResponse as UpdateCustomObjectRecordCreateResponse,
|
|
2157
|
+
type UpdateCustomObjectRecordCreateParams as UpdateCustomObjectRecordCreateParams,
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
export {
|
|
2161
|
+
UpsertCustomObject as UpsertCustomObject,
|
|
2162
|
+
type UpsertCustomObjectCreateResponse as UpsertCustomObjectCreateResponse,
|
|
2163
|
+
type UpsertCustomObjectCreateParams as UpsertCustomObjectCreateParams,
|
|
2164
|
+
};
|
|
2165
|
+
|
|
1994
2166
|
export {
|
|
1995
2167
|
ShiftAssignments as ShiftAssignments,
|
|
1996
2168
|
type ShiftAssignmentUpdateCustomfieldsResponse as ShiftAssignmentUpdateCustomfieldsResponse,
|
|
@@ -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 AssignReview extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the review assignment action.
|
|
13
|
+
*/
|
|
14
|
+
create(body: AssignReviewCreateParams, options?: RequestOptions): APIPromise<AssignReviewCreateResponse> {
|
|
15
|
+
return this._client.post('/assign-review/', { body, ...options });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface AssignReviewCreateResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Result of the assign review action
|
|
22
|
+
*/
|
|
23
|
+
result: unknown;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface AssignReviewCreateParams {
|
|
27
|
+
cycleId: string;
|
|
28
|
+
|
|
29
|
+
reviewees: Array<string>;
|
|
30
|
+
|
|
31
|
+
reviewers: Array<string>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* An enumeration.
|
|
35
|
+
*/
|
|
36
|
+
isReviewerRelativeToReviewee?: 'REVIEWER_RELATIVE_TO_REVIEWEE' | 'REVIEWER_RELATIVE_TO_TRIGGER' | null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export declare namespace AssignReview {
|
|
40
|
+
export {
|
|
41
|
+
type AssignReviewCreateResponse as AssignReviewCreateResponse,
|
|
42
|
+
type AssignReviewCreateParams as AssignReviewCreateParams,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -24,7 +24,7 @@ export class BusinessPartnerGroups extends APIResource {
|
|
|
24
24
|
query: BusinessPartnerGroupListParams | null | undefined = {},
|
|
25
25
|
options?: RequestOptions,
|
|
26
26
|
): PagePromise<BusinessPartnerGroupsPageCursorURL, BusinessPartnerGroup> {
|
|
27
|
-
return this._client.getAPIList('/business-partner-groups', PageCursorURL<BusinessPartnerGroup>, {
|
|
27
|
+
return this._client.getAPIList('/business-partner-groups/', PageCursorURL<BusinessPartnerGroup>, {
|
|
28
28
|
query,
|
|
29
29
|
...options,
|
|
30
30
|
});
|
|
@@ -34,7 +34,7 @@ export class BusinessPartnerGroups extends APIResource {
|
|
|
34
34
|
* Create a new business partner group
|
|
35
35
|
*/
|
|
36
36
|
create(body: BusinessPartnerGroupCreateParams, options?: RequestOptions): APIPromise<BusinessPartnerGroup> {
|
|
37
|
-
return this._client.post('/business-partner-groups', { body, ...options });
|
|
37
|
+
return this._client.post('/business-partner-groups/', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -45,14 +45,14 @@ export class BusinessPartnerGroups extends APIResource {
|
|
|
45
45
|
query: BusinessPartnerGroupRetrieveParams | null | undefined = {},
|
|
46
46
|
options?: RequestOptions,
|
|
47
47
|
): APIPromise<BusinessPartnerGroupRetrieveResponse> {
|
|
48
|
-
return this._client.get(path`/business-partner-groups/${id}
|
|
48
|
+
return this._client.get(path`/business-partner-groups/${id}/`, { query, ...options });
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* Delete a business partner group
|
|
53
53
|
*/
|
|
54
54
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
55
|
-
return this._client.delete(path`/business-partner-groups/${id}
|
|
55
|
+
return this._client.delete(path`/business-partner-groups/${id}/`, {
|
|
56
56
|
...options,
|
|
57
57
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
58
58
|
});
|
|
@@ -26,7 +26,7 @@ export class BusinessPartners extends APIResource {
|
|
|
26
26
|
query: BusinessPartnerListParams | null | undefined = {},
|
|
27
27
|
options?: RequestOptions,
|
|
28
28
|
): PagePromise<BusinessPartnersPageCursorURL, BusinessPartner> {
|
|
29
|
-
return this._client.getAPIList('/business-partners', PageCursorURL<BusinessPartner>, {
|
|
29
|
+
return this._client.getAPIList('/business-partners/', PageCursorURL<BusinessPartner>, {
|
|
30
30
|
query,
|
|
31
31
|
...options,
|
|
32
32
|
});
|
|
@@ -36,7 +36,7 @@ export class BusinessPartners extends APIResource {
|
|
|
36
36
|
* Create a new business partner
|
|
37
37
|
*/
|
|
38
38
|
create(body: BusinessPartnerCreateParams, options?: RequestOptions): APIPromise<BusinessPartner> {
|
|
39
|
-
return this._client.post('/business-partners', { body, ...options });
|
|
39
|
+
return this._client.post('/business-partners/', { body, ...options });
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -47,14 +47,14 @@ export class BusinessPartners extends APIResource {
|
|
|
47
47
|
query: BusinessPartnerRetrieveParams | null | undefined = {},
|
|
48
48
|
options?: RequestOptions,
|
|
49
49
|
): APIPromise<BusinessPartnerRetrieveResponse> {
|
|
50
|
-
return this._client.get(path`/business-partners/${id}
|
|
50
|
+
return this._client.get(path`/business-partners/${id}/`, { query, ...options });
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* Delete a business partner
|
|
55
55
|
*/
|
|
56
56
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
57
|
-
return this._client.delete(path`/business-partners/${id}
|
|
57
|
+
return this._client.delete(path`/business-partners/${id}/`, {
|
|
58
58
|
...options,
|
|
59
59
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
60
60
|
});
|
|
@@ -21,7 +21,7 @@ export class CandidateApplications extends APIResource {
|
|
|
21
21
|
options?: RequestOptions,
|
|
22
22
|
): PagePromise<CandidateApplicationListResponsesPageCursorURL, CandidateApplicationListResponse> {
|
|
23
23
|
return this._client.getAPIList(
|
|
24
|
-
'/candidate-applications',
|
|
24
|
+
'/candidate-applications/',
|
|
25
25
|
PageCursorURL<CandidateApplicationListResponse>,
|
|
26
26
|
{ query, ...options },
|
|
27
27
|
);
|