@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
|
@@ -21,7 +21,7 @@ export class LocationFactors extends APIResource {
|
|
|
21
21
|
query: LocationFactorListParams | null | undefined = {},
|
|
22
22
|
options?: RequestOptions,
|
|
23
23
|
): PagePromise<LocationFactorListResponsesPageCursorURL, LocationFactorListResponse> {
|
|
24
|
-
return this._client.getAPIList('/location-factors', PageCursorURL<LocationFactorListResponse>, {
|
|
24
|
+
return this._client.getAPIList('/location-factors/', PageCursorURL<LocationFactorListResponse>, {
|
|
25
25
|
query,
|
|
26
26
|
...options,
|
|
27
27
|
});
|
|
@@ -31,7 +31,7 @@ export class LocationFactors extends APIResource {
|
|
|
31
31
|
* Retrieve a specific location factor
|
|
32
32
|
*/
|
|
33
33
|
retrieve(id: string, options?: RequestOptions): APIPromise<LocationFactorRetrieveResponse> {
|
|
34
|
-
return this._client.get(path`/location-factors/${id}
|
|
34
|
+
return this._client.get(path`/location-factors/${id}/`, options);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -14,7 +14,7 @@ export class Components extends APIResource {
|
|
|
14
14
|
* - Requires: `API Tier 1`
|
|
15
15
|
*/
|
|
16
16
|
list(options?: RequestOptions): PagePromise<ComponentListResponsesPageCursorURL, ComponentListResponse> {
|
|
17
|
-
return this._client.getAPIList('/metadata/components', PageCursorURL<ComponentListResponse>, options);
|
|
17
|
+
return this._client.getAPIList('/metadata/components/', PageCursorURL<ComponentListResponse>, options);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ export class Metadata extends APIResource {
|
|
|
24
24
|
* - Requires: `API Tier 1`
|
|
25
25
|
*/
|
|
26
26
|
list(options?: RequestOptions): PagePromise<MetadataListResponsesPageCursorURL, MetadataListResponse> {
|
|
27
|
-
return this._client.getAPIList('/metadata', PageCursorURL<MetadataListResponse>, options);
|
|
27
|
+
return this._client.getAPIList('/metadata/', PageCursorURL<MetadataListResponse>, options);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -14,7 +14,7 @@ export class Summary extends APIResource {
|
|
|
14
14
|
* - Requires: `API Tier 1`
|
|
15
15
|
*/
|
|
16
16
|
list(options?: RequestOptions): PagePromise<SummaryListResponsesPageCursorURL, SummaryListResponse> {
|
|
17
|
-
return this._client.getAPIList('/metadata/summary', PageCursorURL<SummaryListResponse>, options);
|
|
17
|
+
return this._client.getAPIList('/metadata/summary/', PageCursorURL<SummaryListResponse>, options);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ export class Types extends APIResource {
|
|
|
14
14
|
* - Requires: `API Tier 1`
|
|
15
15
|
*/
|
|
16
16
|
list(options?: RequestOptions): PagePromise<TypeListResponsesPageCursorURL, TypeListResponse> {
|
|
17
|
-
return this._client.getAPIList('/metadata/types', PageCursorURL<TypeListResponse>, options);
|
|
17
|
+
return this._client.getAPIList('/metadata/types/', PageCursorURL<TypeListResponse>, options);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -17,7 +17,7 @@ export class PlatformCapabilities extends APIResource {
|
|
|
17
17
|
options?: RequestOptions,
|
|
18
18
|
): PagePromise<PlatformCapabilityListResponsesPageCursorURL, PlatformCapabilityListResponse> {
|
|
19
19
|
return this._client.getAPIList(
|
|
20
|
-
'/platform-capabilities',
|
|
20
|
+
'/platform-capabilities/',
|
|
21
21
|
PageCursorURL<PlatformCapabilityListResponse>,
|
|
22
22
|
options,
|
|
23
23
|
);
|
|
@@ -14,14 +14,14 @@ export class ReportRuns extends APIResource {
|
|
|
14
14
|
* Trigger a new report run
|
|
15
15
|
*/
|
|
16
16
|
create(body: ReportRunCreateParams, options?: RequestOptions): APIPromise<ReportRunCreateResponse> {
|
|
17
|
-
return this._client.post('/report-runs', { body, ...options });
|
|
17
|
+
return this._client.post('/report-runs/', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Retrieve the status and data for a specific report run
|
|
22
22
|
*/
|
|
23
23
|
retrieve(runID: string, options?: RequestOptions): APIPromise<ReportRunRetrieveResponse> {
|
|
24
|
-
return this._client.get(path`/report-runs/${runID}
|
|
24
|
+
return this._client.get(path`/report-runs/${runID}/`, options);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -15,7 +15,7 @@ export class RunQuery extends APIResource {
|
|
|
15
15
|
* server-side.
|
|
16
16
|
*/
|
|
17
17
|
create(body: RunQueryCreateParams, options?: RequestOptions): APIPromise<RunQueryCreateResponse> {
|
|
18
|
-
return this._client.post('/run-query', { body, ...options });
|
|
18
|
+
return this._client.post('/run-query/', { body, ...options });
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -23,7 +23,7 @@ export class Schedules extends APIResource {
|
|
|
23
23
|
query: ScheduleListParams | null | undefined = {},
|
|
24
24
|
options?: RequestOptions,
|
|
25
25
|
): PagePromise<ScheduleListResponsesPageCursorURL, ScheduleListResponse> {
|
|
26
|
-
return this._client.getAPIList('/schedules', PageCursorURL<ScheduleListResponse>, { query, ...options });
|
|
26
|
+
return this._client.getAPIList('/schedules/', PageCursorURL<ScheduleListResponse>, { query, ...options });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -33,7 +33,7 @@ export class Schedules extends APIResource {
|
|
|
33
33
|
body: ScheduleCreateParams | null | undefined = {},
|
|
34
34
|
options?: RequestOptions,
|
|
35
35
|
): APIPromise<ScheduleCreateResponse> {
|
|
36
|
-
return this._client.post('/schedules', { body, ...options });
|
|
36
|
+
return this._client.post('/schedules/', { body, ...options });
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
@@ -44,7 +44,7 @@ export class Schedules extends APIResource {
|
|
|
44
44
|
query: ScheduleRetrieveParams | null | undefined = {},
|
|
45
45
|
options?: RequestOptions,
|
|
46
46
|
): APIPromise<ScheduleRetrieveResponse> {
|
|
47
|
-
return this._client.get(path`/schedules/${id}
|
|
47
|
+
return this._client.get(path`/schedules/${id}/`, { query, ...options });
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
@@ -55,7 +55,7 @@ export class Schedules extends APIResource {
|
|
|
55
55
|
body: ScheduleUpdateParams | null | undefined = {},
|
|
56
56
|
options?: RequestOptions,
|
|
57
57
|
): APIPromise<ScheduleUpdateResponse> {
|
|
58
|
-
return this._client.patch(path`/schedules/${id}
|
|
58
|
+
return this._client.patch(path`/schedules/${id}/`, { body, ...options });
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -9,10 +9,10 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
9
9
|
*/
|
|
10
10
|
export class SendEmail extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Execute the email action.
|
|
13
13
|
*/
|
|
14
14
|
create(body: SendEmailCreateParams, options?: RequestOptions): APIPromise<SendEmailCreateResponse> {
|
|
15
|
-
return this._client.post('/send-email', { body, ...options });
|
|
15
|
+
return this._client.post('/send-email/', { body, ...options });
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -0,0 +1,49 @@
|
|
|
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 SendHTTPRequest extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the http request action.
|
|
13
|
+
*/
|
|
14
|
+
create(
|
|
15
|
+
body: SendHTTPRequestCreateParams,
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): APIPromise<SendHTTPRequestCreateResponse> {
|
|
18
|
+
return this._client.post('/send-http-request/', { body, ...options });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface SendHTTPRequestCreateResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Result of the send HTTP request action
|
|
25
|
+
*/
|
|
26
|
+
result: unknown;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface SendHTTPRequestCreateParams {
|
|
30
|
+
url: string;
|
|
31
|
+
|
|
32
|
+
customHTTPHeaders?: unknown | null;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* An enumeration.
|
|
36
|
+
*/
|
|
37
|
+
method?: 'POST' | 'GET' | 'PUT' | 'PATCH' | 'DELETE' | null;
|
|
38
|
+
|
|
39
|
+
payload?: unknown | null;
|
|
40
|
+
|
|
41
|
+
queryParams?: unknown | null;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export declare namespace SendHTTPRequest {
|
|
45
|
+
export {
|
|
46
|
+
type SendHTTPRequestCreateResponse as SendHTTPRequestCreateResponse,
|
|
47
|
+
type SendHTTPRequestCreateParams as SendHTTPRequestCreateParams,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 SendPushNotification extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the push notification action.
|
|
13
|
+
*/
|
|
14
|
+
create(
|
|
15
|
+
body: SendPushNotificationCreateParams,
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): APIPromise<SendPushNotificationCreateResponse> {
|
|
18
|
+
return this._client.post('/send-push-notification/', { body, ...options });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface SendPushNotificationCreateResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Result of the send push notification action
|
|
25
|
+
*/
|
|
26
|
+
result: unknown;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface SendPushNotificationCreateParams {
|
|
30
|
+
header: string;
|
|
31
|
+
|
|
32
|
+
message: string;
|
|
33
|
+
|
|
34
|
+
recipients: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export declare namespace SendPushNotification {
|
|
38
|
+
export {
|
|
39
|
+
type SendPushNotificationCreateResponse as SendPushNotificationCreateResponse,
|
|
40
|
+
type SendPushNotificationCreateParams as SendPushNotificationCreateParams,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 SendReportSftp extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the sftp report action.
|
|
13
|
+
*/
|
|
14
|
+
create(
|
|
15
|
+
body: SendReportSftpCreateParams,
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): APIPromise<SendReportSftpCreateResponse> {
|
|
18
|
+
return this._client.post('/send-report-sftp/', { body, ...options });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface SendReportSftpCreateResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Result of the send report via SFTP action
|
|
25
|
+
*/
|
|
26
|
+
result: unknown;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface SendReportSftpCreateParams {
|
|
30
|
+
/**
|
|
31
|
+
* An enumeration.
|
|
32
|
+
*/
|
|
33
|
+
authenticationType: 'PASSWORD' | 'SSH_KEY';
|
|
34
|
+
|
|
35
|
+
fileType: string;
|
|
36
|
+
|
|
37
|
+
hostName: string;
|
|
38
|
+
|
|
39
|
+
port: number;
|
|
40
|
+
|
|
41
|
+
reportId: string;
|
|
42
|
+
|
|
43
|
+
userName: string;
|
|
44
|
+
|
|
45
|
+
fileName?: string | null;
|
|
46
|
+
|
|
47
|
+
filePath?: string | null;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* An enumeration.
|
|
51
|
+
*/
|
|
52
|
+
fileSuffix?: 'EPOCH_FORMAT' | 'NO_SUFFIX' | 'DEFAULT_FORMAT' | null;
|
|
53
|
+
|
|
54
|
+
password?: string | null;
|
|
55
|
+
|
|
56
|
+
privateKey?: string | null;
|
|
57
|
+
|
|
58
|
+
privateKeyPassphrase?: string | null;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export declare namespace SendReportSftp {
|
|
62
|
+
export {
|
|
63
|
+
type SendReportSftpCreateResponse as SendReportSftpCreateResponse,
|
|
64
|
+
type SendReportSftpCreateParams as SendReportSftpCreateParams,
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -9,10 +9,10 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
9
9
|
*/
|
|
10
10
|
export class SendSlack extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Execute the slack message action.
|
|
13
13
|
*/
|
|
14
14
|
create(body: SendSlackCreateParams, options?: RequestOptions): APIPromise<SendSlackCreateResponse> {
|
|
15
|
-
return this._client.post('/send-slack', { body, ...options });
|
|
15
|
+
return this._client.post('/send-slack/', { body, ...options });
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -0,0 +1,37 @@
|
|
|
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 SendSMS extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the sms action.
|
|
13
|
+
*/
|
|
14
|
+
create(body: SendSMSCreateParams, options?: RequestOptions): APIPromise<SendSMSCreateResponse> {
|
|
15
|
+
return this._client.post('/send-sms/', { body, ...options });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface SendSMSCreateResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Result of the send SMS action
|
|
22
|
+
*/
|
|
23
|
+
result: unknown;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface SendSMSCreateParams {
|
|
27
|
+
message: string;
|
|
28
|
+
|
|
29
|
+
recipients: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export declare namespace SendSMS {
|
|
33
|
+
export {
|
|
34
|
+
type SendSMSCreateResponse as SendSMSCreateResponse,
|
|
35
|
+
type SendSMSCreateParams as SendSMSCreateParams,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 SendSurvey extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the survey action.
|
|
13
|
+
*/
|
|
14
|
+
create(body: SendSurveyCreateParams, options?: RequestOptions): APIPromise<SendSurveyCreateResponse> {
|
|
15
|
+
return this._client.post('/send-survey/', { body, ...options });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface SendSurveyCreateResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Result of the send survey action
|
|
22
|
+
*/
|
|
23
|
+
result: unknown;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface SendSurveyCreateParams {
|
|
27
|
+
body: string;
|
|
28
|
+
|
|
29
|
+
recipients: Array<string>;
|
|
30
|
+
|
|
31
|
+
subject: string;
|
|
32
|
+
|
|
33
|
+
surveyID: string;
|
|
34
|
+
|
|
35
|
+
expiryDays?: number | null;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export declare namespace SendSurvey {
|
|
39
|
+
export {
|
|
40
|
+
type SendSurveyCreateResponse as SendSurveyCreateResponse,
|
|
41
|
+
type SendSurveyCreateParams as SendSurveyCreateParams,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 SendTeams extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the teams message action.
|
|
13
|
+
*/
|
|
14
|
+
create(body: SendTeamCreateParams, options?: RequestOptions): APIPromise<SendTeamCreateResponse> {
|
|
15
|
+
return this._client.post('/send-teams/', { body, ...options });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface SendTeamCreateResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Result of the send Teams message action
|
|
22
|
+
*/
|
|
23
|
+
result: unknown;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface SendTeamCreateParams {
|
|
27
|
+
/**
|
|
28
|
+
* An enumeration.
|
|
29
|
+
*/
|
|
30
|
+
action_type: 'PUBLIC_CHANNEL_MESSAGE' | 'SINGLE_DIRECT_MESSAGE';
|
|
31
|
+
|
|
32
|
+
message: string;
|
|
33
|
+
|
|
34
|
+
recipients?: Array<string> | null;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export declare namespace SendTeams {
|
|
38
|
+
export {
|
|
39
|
+
type SendTeamCreateResponse as SendTeamCreateResponse,
|
|
40
|
+
type SendTeamCreateParams as SendTeamCreateParams,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -28,7 +28,7 @@ export class ShiftAssignments extends APIResource {
|
|
|
28
28
|
body: ShiftAssignmentUpdateCustomfieldsParams,
|
|
29
29
|
options?: RequestOptions,
|
|
30
30
|
): APIPromise<ShiftAssignmentUpdateCustomfieldsResponse> {
|
|
31
|
-
return this._client.patch(path`/shiftassignments/${id}/customfields
|
|
31
|
+
return this._client.patch(path`/shiftassignments/${id}/customfields/`, { body, ...options });
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -25,7 +25,7 @@ export class ShiftInputs extends APIResource {
|
|
|
25
25
|
query: ShiftInputListParams | null | undefined = {},
|
|
26
26
|
options?: RequestOptions,
|
|
27
27
|
): PagePromise<ShiftInputListResponsesPageCursorURL, ShiftInputListResponse> {
|
|
28
|
-
return this._client.getAPIList('/shift-inputs', PageCursorURL<ShiftInputListResponse>, {
|
|
28
|
+
return this._client.getAPIList('/shift-inputs/', PageCursorURL<ShiftInputListResponse>, {
|
|
29
29
|
query,
|
|
30
30
|
...options,
|
|
31
31
|
});
|
|
@@ -35,7 +35,7 @@ export class ShiftInputs extends APIResource {
|
|
|
35
35
|
* Create a new shift input
|
|
36
36
|
*/
|
|
37
37
|
create(body: ShiftInputCreateParams, options?: RequestOptions): APIPromise<ShiftInputCreateResponse> {
|
|
38
|
-
return this._client.post('/shift-inputs', { body, ...options });
|
|
38
|
+
return this._client.post('/shift-inputs/', { body, ...options });
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -46,7 +46,7 @@ export class ShiftInputs extends APIResource {
|
|
|
46
46
|
query: ShiftInputRetrieveParams | null | undefined = {},
|
|
47
47
|
options?: RequestOptions,
|
|
48
48
|
): APIPromise<ShiftInputRetrieveResponse> {
|
|
49
|
-
return this._client.get(path`/shift-inputs/${id}
|
|
49
|
+
return this._client.get(path`/shift-inputs/${id}/`, { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
@@ -57,14 +57,14 @@ export class ShiftInputs extends APIResource {
|
|
|
57
57
|
body: ShiftInputUpdateParams,
|
|
58
58
|
options?: RequestOptions,
|
|
59
59
|
): APIPromise<ShiftInputUpdateResponse> {
|
|
60
|
-
return this._client.patch(path`/shift-inputs/${id}
|
|
60
|
+
return this._client.patch(path`/shift-inputs/${id}/`, { body, ...options });
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Delete a shift input
|
|
65
65
|
*/
|
|
66
66
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
67
|
-
return this._client.delete(path`/shift-inputs/${id}
|
|
67
|
+
return this._client.delete(path`/shift-inputs/${id}/`, {
|
|
68
68
|
...options,
|
|
69
69
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
70
70
|
});
|
|
@@ -25,7 +25,7 @@ export class Shiftassignments extends APIResource {
|
|
|
25
25
|
query: ShiftassignmentListParams | null | undefined = {},
|
|
26
26
|
options?: RequestOptions,
|
|
27
27
|
): PagePromise<ShiftassignmentListResponsesPageCursorURL, ShiftassignmentListResponse> {
|
|
28
|
-
return this._client.getAPIList('/shiftassignments', PageCursorURL<ShiftassignmentListResponse>, {
|
|
28
|
+
return this._client.getAPIList('/shiftassignments/', PageCursorURL<ShiftassignmentListResponse>, {
|
|
29
29
|
query,
|
|
30
30
|
...options,
|
|
31
31
|
});
|
|
@@ -38,7 +38,7 @@ export class Shiftassignments extends APIResource {
|
|
|
38
38
|
body: ShiftassignmentCreateParams,
|
|
39
39
|
options?: RequestOptions,
|
|
40
40
|
): APIPromise<ShiftassignmentCreateResponse> {
|
|
41
|
-
return this._client.post('/shiftassignments', { body, ...options });
|
|
41
|
+
return this._client.post('/shiftassignments/', { body, ...options });
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -49,7 +49,7 @@ export class Shiftassignments extends APIResource {
|
|
|
49
49
|
query: ShiftassignmentRetrieveParams | null | undefined = {},
|
|
50
50
|
options?: RequestOptions,
|
|
51
51
|
): APIPromise<ShiftassignmentRetrieveResponse> {
|
|
52
|
-
return this._client.get(path`/shiftassignments/${id}
|
|
52
|
+
return this._client.get(path`/shiftassignments/${id}/`, { query, ...options });
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -60,7 +60,7 @@ export class Shiftassignments extends APIResource {
|
|
|
60
60
|
body: ShiftassignmentUpdateParams,
|
|
61
61
|
options?: RequestOptions,
|
|
62
62
|
): APIPromise<ShiftassignmentUpdateResponse> {
|
|
63
|
-
return this._client.patch(path`/shiftassignments/${id}
|
|
63
|
+
return this._client.patch(path`/shiftassignments/${id}/`, { body, ...options });
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
package/src/resources/sso-me.ts
CHANGED
|
@@ -15,8 +15,8 @@ export class SSOMeResource extends APIResource {
|
|
|
15
15
|
* - Requires: `API Tier 1`
|
|
16
16
|
* - Expandable fields: `company`
|
|
17
17
|
*/
|
|
18
|
-
|
|
19
|
-
return this._client.get('/sso-me', { query, ...options });
|
|
18
|
+
list(query: SSOMeListParams | null | undefined = {}, options?: RequestOptions): APIPromise<SSOMe> {
|
|
19
|
+
return this._client.get('/sso-me/', { query, ...options });
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -54,12 +54,12 @@ export interface SSOMe {
|
|
|
54
54
|
work_email?: string;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
export interface
|
|
57
|
+
export interface SSOMeListParams {
|
|
58
58
|
cursor?: string;
|
|
59
59
|
|
|
60
60
|
expand?: string;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export declare namespace SSOMeResource {
|
|
64
|
-
export { type SSOMe as SSOMe, type
|
|
64
|
+
export { type SSOMe as SSOMe, type SSOMeListParams as SSOMeListParams };
|
|
65
65
|
}
|
|
@@ -25,7 +25,7 @@ export class ExclusionMembers extends APIResource {
|
|
|
25
25
|
options?: RequestOptions,
|
|
26
26
|
): PagePromise<GroupMembersPageCursorURL, Shared.GroupMember> {
|
|
27
27
|
return this._client.getAPIList(
|
|
28
|
-
path`/supergroups/${groupID}/exclusion-members
|
|
28
|
+
path`/supergroups/${groupID}/exclusion-members/`,
|
|
29
29
|
PageCursorURL<Shared.GroupMember>,
|
|
30
30
|
{ query, ...options },
|
|
31
31
|
);
|
|
@@ -39,7 +39,7 @@ export class ExclusionMembers extends APIResource {
|
|
|
39
39
|
body: ExclusionMemberUpdateParams | null | undefined = {},
|
|
40
40
|
options?: RequestOptions,
|
|
41
41
|
): APIPromise<ExclusionMemberUpdateResponse> {
|
|
42
|
-
return this._client.patch(path`/supergroups/${groupID}/exclusion-members
|
|
42
|
+
return this._client.patch(path`/supergroups/${groupID}/exclusion-members/`, { body, ...options });
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -25,7 +25,7 @@ export class InclusionMembers extends APIResource {
|
|
|
25
25
|
options?: RequestOptions,
|
|
26
26
|
): PagePromise<GroupMembersPageCursorURL, Shared.GroupMember> {
|
|
27
27
|
return this._client.getAPIList(
|
|
28
|
-
path`/supergroups/${groupID}/inclusion-members
|
|
28
|
+
path`/supergroups/${groupID}/inclusion-members/`,
|
|
29
29
|
PageCursorURL<Shared.GroupMember>,
|
|
30
30
|
{ query, ...options },
|
|
31
31
|
);
|
|
@@ -39,7 +39,7 @@ export class InclusionMembers extends APIResource {
|
|
|
39
39
|
body: InclusionMemberUpdateParams | null | undefined = {},
|
|
40
40
|
options?: RequestOptions,
|
|
41
41
|
): APIPromise<InclusionMemberUpdateResponse> {
|
|
42
|
-
return this._client.patch(path`/supergroups/${groupID}/inclusion-members
|
|
42
|
+
return this._client.patch(path`/supergroups/${groupID}/inclusion-members/`, { body, ...options });
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -23,10 +23,11 @@ export class Members extends APIResource {
|
|
|
23
23
|
query: MemberListParams | null | undefined = {},
|
|
24
24
|
options?: RequestOptions,
|
|
25
25
|
): PagePromise<GroupMembersPageCursorURL, Shared.GroupMember> {
|
|
26
|
-
return this._client.getAPIList(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
return this._client.getAPIList(
|
|
27
|
+
path`/supergroups/${groupID}/members/`,
|
|
28
|
+
PageCursorURL<Shared.GroupMember>,
|
|
29
|
+
{ query, ...options },
|
|
30
|
+
);
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
|
|
@@ -46,14 +46,14 @@ export class Supergroups extends APIResource {
|
|
|
46
46
|
query: SupergroupListParams | null | undefined = {},
|
|
47
47
|
options?: RequestOptions,
|
|
48
48
|
): PagePromise<SupergroupsPageCursorURL, Supergroup> {
|
|
49
|
-
return this._client.getAPIList('/supergroups', PageCursorURL<Supergroup>, { query, ...options });
|
|
49
|
+
return this._client.getAPIList('/supergroups/', PageCursorURL<Supergroup>, { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* Retrieve a specific supergroup.
|
|
54
54
|
*/
|
|
55
55
|
retrieve(id: string, options?: RequestOptions): APIPromise<SupergroupRetrieveResponse> {
|
|
56
|
-
return this._client.get(path`/supergroups/${id}
|
|
56
|
+
return this._client.get(path`/supergroups/${id}/`, options);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
package/src/resources/teams.ts
CHANGED
|
@@ -22,7 +22,7 @@ export class Teams extends APIResource {
|
|
|
22
22
|
query: TeamListParams | null | undefined = {},
|
|
23
23
|
options?: RequestOptions,
|
|
24
24
|
): PagePromise<TeamsPageCursorURL, Team> {
|
|
25
|
-
return this._client.getAPIList('/teams', PageCursorURL<Team>, { query, ...options });
|
|
25
|
+
return this._client.getAPIList('/teams/', PageCursorURL<Team>, { query, ...options });
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -33,7 +33,7 @@ export class Teams extends APIResource {
|
|
|
33
33
|
query: TeamRetrieveParams | null | undefined = {},
|
|
34
34
|
options?: RequestOptions,
|
|
35
35
|
): APIPromise<TeamRetrieveResponse> {
|
|
36
|
-
return this._client.get(path`/teams/${id}
|
|
36
|
+
return this._client.get(path`/teams/${id}/`, { query, ...options });
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|