@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
|
@@ -18,7 +18,7 @@ export class Candidates extends APIResource {
|
|
|
18
18
|
query: CandidateListParams | null | undefined = {},
|
|
19
19
|
options?: RequestOptions,
|
|
20
20
|
): PagePromise<CandidateListResponsesPageCursorURL, CandidateListResponse> {
|
|
21
|
-
return this._client.getAPIList('/candidates', PageCursorURL<CandidateListResponse>, {
|
|
21
|
+
return this._client.getAPIList('/candidates/', PageCursorURL<CandidateListResponse>, {
|
|
22
22
|
query,
|
|
23
23
|
...options,
|
|
24
24
|
});
|
|
@@ -21,7 +21,7 @@ export class Companies extends APIResource {
|
|
|
21
21
|
query: CompanyListParams | null | undefined = {},
|
|
22
22
|
options?: RequestOptions,
|
|
23
23
|
): PagePromise<CompaniesPageCursorURL, Company> {
|
|
24
|
-
return this._client.getAPIList('/companies', PageCursorURL<Company>, { query, ...options });
|
|
24
|
+
return this._client.getAPIList('/companies/', PageCursorURL<Company>, { query, ...options });
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -26,7 +26,7 @@ export class CompensationBandsDetails extends APIResource {
|
|
|
26
26
|
options?: RequestOptions,
|
|
27
27
|
): PagePromise<CompensationBandsDetailListResponsesPageCursorURL, CompensationBandsDetailListResponse> {
|
|
28
28
|
return this._client.getAPIList(
|
|
29
|
-
'/compensation-bands-details',
|
|
29
|
+
'/compensation-bands-details/',
|
|
30
30
|
PageCursorURL<CompensationBandsDetailListResponse>,
|
|
31
31
|
{ query, ...options },
|
|
32
32
|
);
|
|
@@ -40,7 +40,7 @@ export class CompensationBandsDetails extends APIResource {
|
|
|
40
40
|
query: CompensationBandsDetailRetrieveParams | null | undefined = {},
|
|
41
41
|
options?: RequestOptions,
|
|
42
42
|
): APIPromise<CompensationBandsDetailRetrieveResponse> {
|
|
43
|
-
return this._client.get(path`/compensation-bands-details/${id}
|
|
43
|
+
return this._client.get(path`/compensation-bands-details/${id}/`, { query, ...options });
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -23,7 +23,7 @@ export class Compensations extends APIResource {
|
|
|
23
23
|
query: CompensationListParams | null | undefined = {},
|
|
24
24
|
options?: RequestOptions,
|
|
25
25
|
): PagePromise<CompensationsPageCursorURL, Compensation> {
|
|
26
|
-
return this._client.getAPIList('/compensations', PageCursorURL<Compensation>, { query, ...options });
|
|
26
|
+
return this._client.getAPIList('/compensations/', PageCursorURL<Compensation>, { query, ...options });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -34,7 +34,7 @@ export class Compensations extends APIResource {
|
|
|
34
34
|
query: CompensationRetrieveParams | null | undefined = {},
|
|
35
35
|
options?: RequestOptions,
|
|
36
36
|
): APIPromise<CompensationRetrieveResponse> {
|
|
37
|
-
return this._client.get(path`/compensations/${id}
|
|
37
|
+
return this._client.get(path`/compensations/${id}/`, { query, ...options });
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -9,13 +9,13 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
9
9
|
*/
|
|
10
10
|
export class CreateAppNotification extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Execute the app notification action.
|
|
13
13
|
*/
|
|
14
14
|
create(
|
|
15
15
|
body: CreateAppNotificationCreateParams,
|
|
16
16
|
options?: RequestOptions,
|
|
17
17
|
): APIPromise<CreateAppNotificationCreateResponse> {
|
|
18
|
-
return this._client.post('/create-app-notification', { body, ...options });
|
|
18
|
+
return this._client.post('/create-app-notification/', { body, ...options });
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -0,0 +1,86 @@
|
|
|
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 CreateGcalEvent extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the gcal event action.
|
|
13
|
+
*/
|
|
14
|
+
create(
|
|
15
|
+
body: CreateGcalEventCreateParams,
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): APIPromise<CreateGcalEventCreateResponse> {
|
|
18
|
+
return this._client.post('/create-gcal-event/', { body, ...options });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface CreateGcalEventCreateResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Result of the create Google Calendar event action
|
|
25
|
+
*/
|
|
26
|
+
result: unknown;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface CreateGcalEventCreateParams {
|
|
30
|
+
attendees: Array<string>;
|
|
31
|
+
|
|
32
|
+
description: string;
|
|
33
|
+
|
|
34
|
+
end_date: string;
|
|
35
|
+
|
|
36
|
+
end_time: string;
|
|
37
|
+
|
|
38
|
+
organizer: Array<string>;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* An enumeration.
|
|
42
|
+
*/
|
|
43
|
+
organizer_type: 'SUPERGROUP' | 'WORKFLOW_OWNER';
|
|
44
|
+
|
|
45
|
+
start_date: string;
|
|
46
|
+
|
|
47
|
+
start_time: string;
|
|
48
|
+
|
|
49
|
+
timezone: string;
|
|
50
|
+
|
|
51
|
+
title: string;
|
|
52
|
+
|
|
53
|
+
all_day_event?: boolean | null;
|
|
54
|
+
|
|
55
|
+
guestsCanInviteOthers?: boolean | null;
|
|
56
|
+
|
|
57
|
+
guestsCanModify?: boolean | null;
|
|
58
|
+
|
|
59
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
60
|
+
|
|
61
|
+
recurrence_count?: number | null;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* An enumeration.
|
|
65
|
+
*/
|
|
66
|
+
recurrence_frequency?: 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY' | null;
|
|
67
|
+
|
|
68
|
+
recurrence_has_end?: boolean | null;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* An enumeration.
|
|
72
|
+
*/
|
|
73
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* An enumeration.
|
|
77
|
+
*/
|
|
78
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export declare namespace CreateGcalEvent {
|
|
82
|
+
export {
|
|
83
|
+
type CreateGcalEventCreateResponse as CreateGcalEventCreateResponse,
|
|
84
|
+
type CreateGcalEventCreateParams as CreateGcalEventCreateParams,
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -15,21 +15,21 @@ export class CustomApps extends APIResource {
|
|
|
15
15
|
* - Requires: `API Tier 1`
|
|
16
16
|
*/
|
|
17
17
|
list(options?: RequestOptions): PagePromise<CustomAppListResponsesPageCursorURL, CustomAppListResponse> {
|
|
18
|
-
return this._client.getAPIList('/custom-apps', PageCursorURL<CustomAppListResponse>, options);
|
|
18
|
+
return this._client.getAPIList('/custom-apps/', PageCursorURL<CustomAppListResponse>, options);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Create a new CustomApp
|
|
23
23
|
*/
|
|
24
24
|
create(body: CustomAppCreateParams, options?: RequestOptions): APIPromise<CustomAppCreateResponse> {
|
|
25
|
-
return this._client.post('/custom-apps', { body, ...options });
|
|
25
|
+
return this._client.post('/custom-apps/', { body, ...options });
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Retrieve a specific CustomApp
|
|
30
30
|
*/
|
|
31
31
|
retrieve(id: string, options?: RequestOptions): APIPromise<CustomAppRetrieveResponse> {
|
|
32
|
-
return this._client.get(path`/custom-apps/${id}
|
|
32
|
+
return this._client.get(path`/custom-apps/${id}/`, options);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -40,14 +40,14 @@ export class CustomApps extends APIResource {
|
|
|
40
40
|
body: CustomAppUpdateParams,
|
|
41
41
|
options?: RequestOptions,
|
|
42
42
|
): APIPromise<CustomAppUpdateResponse> {
|
|
43
|
-
return this._client.patch(path`/custom-apps/${id}
|
|
43
|
+
return this._client.patch(path`/custom-apps/${id}/`, { body, ...options });
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Delete a CustomApp
|
|
48
48
|
*/
|
|
49
49
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
50
|
-
return this._client.delete(path`/custom-apps/${id}
|
|
50
|
+
return this._client.delete(path`/custom-apps/${id}/`, {
|
|
51
51
|
...options,
|
|
52
52
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
53
53
|
});
|
|
@@ -109,9 +109,34 @@ export namespace CustomAppListResponse {
|
|
|
109
109
|
api_name?: string;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
* The ID of the canvas instance backing this page
|
|
112
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
113
113
|
*/
|
|
114
114
|
canvas_instance_id?: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the role that created the page
|
|
118
|
+
*/
|
|
119
|
+
created_by?: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* The ID of the Rippling Function rendering this page (sdui_page only)
|
|
123
|
+
*/
|
|
124
|
+
function_id?: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The type of page (e.g. 'canvas_page', 'sdui_page', 'object_page')
|
|
128
|
+
*/
|
|
129
|
+
page_type?: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the SDUI page instance (sdui_page only)
|
|
133
|
+
*/
|
|
134
|
+
sdui_page_id?: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The ID of the role that last modified the page
|
|
138
|
+
*/
|
|
139
|
+
updated_by?: string;
|
|
115
140
|
}
|
|
116
141
|
}
|
|
117
142
|
|
|
@@ -168,9 +193,34 @@ export namespace CustomAppCreateResponse {
|
|
|
168
193
|
api_name?: string;
|
|
169
194
|
|
|
170
195
|
/**
|
|
171
|
-
* The ID of the canvas instance backing this page
|
|
196
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
172
197
|
*/
|
|
173
198
|
canvas_instance_id?: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* The ID of the role that created the page
|
|
202
|
+
*/
|
|
203
|
+
created_by?: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* The ID of the Rippling Function rendering this page (sdui_page only)
|
|
207
|
+
*/
|
|
208
|
+
function_id?: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* The type of page (e.g. 'canvas_page', 'sdui_page', 'object_page')
|
|
212
|
+
*/
|
|
213
|
+
page_type?: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The ID of the SDUI page instance (sdui_page only)
|
|
217
|
+
*/
|
|
218
|
+
sdui_page_id?: string;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* The ID of the role that last modified the page
|
|
222
|
+
*/
|
|
223
|
+
updated_by?: string;
|
|
174
224
|
}
|
|
175
225
|
}
|
|
176
226
|
|
|
@@ -230,9 +280,34 @@ export namespace CustomAppRetrieveResponse {
|
|
|
230
280
|
api_name?: string;
|
|
231
281
|
|
|
232
282
|
/**
|
|
233
|
-
* The ID of the canvas instance backing this page
|
|
283
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
234
284
|
*/
|
|
235
285
|
canvas_instance_id?: string;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* The ID of the role that created the page
|
|
289
|
+
*/
|
|
290
|
+
created_by?: string;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* The ID of the Rippling Function rendering this page (sdui_page only)
|
|
294
|
+
*/
|
|
295
|
+
function_id?: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* The type of page (e.g. 'canvas_page', 'sdui_page', 'object_page')
|
|
299
|
+
*/
|
|
300
|
+
page_type?: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The ID of the SDUI page instance (sdui_page only)
|
|
304
|
+
*/
|
|
305
|
+
sdui_page_id?: string;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* The ID of the role that last modified the page
|
|
309
|
+
*/
|
|
310
|
+
updated_by?: string;
|
|
236
311
|
}
|
|
237
312
|
}
|
|
238
313
|
|
|
@@ -289,9 +364,34 @@ export namespace CustomAppUpdateResponse {
|
|
|
289
364
|
api_name?: string;
|
|
290
365
|
|
|
291
366
|
/**
|
|
292
|
-
* The ID of the canvas instance backing this page
|
|
367
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
293
368
|
*/
|
|
294
369
|
canvas_instance_id?: string;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* The ID of the role that created the page
|
|
373
|
+
*/
|
|
374
|
+
created_by?: string;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* The ID of the Rippling Function rendering this page (sdui_page only)
|
|
378
|
+
*/
|
|
379
|
+
function_id?: string;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* The type of page (e.g. 'canvas_page', 'sdui_page', 'object_page')
|
|
383
|
+
*/
|
|
384
|
+
page_type?: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* The ID of the SDUI page instance (sdui_page only)
|
|
388
|
+
*/
|
|
389
|
+
sdui_page_id?: string;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* The ID of the role that last modified the page
|
|
393
|
+
*/
|
|
394
|
+
updated_by?: string;
|
|
295
395
|
}
|
|
296
396
|
}
|
|
297
397
|
|
|
@@ -18,7 +18,7 @@ export class CustomFields extends APIResource {
|
|
|
18
18
|
query: CustomFieldListParams | null | undefined = {},
|
|
19
19
|
options?: RequestOptions,
|
|
20
20
|
): PagePromise<CustomFieldListResponsesPageCursorURL, CustomFieldListResponse> {
|
|
21
|
-
return this._client.getAPIList('/custom-fields', PageCursorURL<CustomFieldListResponse>, {
|
|
21
|
+
return this._client.getAPIList('/custom-fields/', PageCursorURL<CustomFieldListResponse>, {
|
|
22
22
|
query,
|
|
23
23
|
...options,
|
|
24
24
|
});
|
|
@@ -15,7 +15,7 @@ export class CustomPages extends APIResource {
|
|
|
15
15
|
* - Requires: `API Tier 1`
|
|
16
16
|
*/
|
|
17
17
|
list(options?: RequestOptions): PagePromise<CustomPageListResponsesPageCursorURL, CustomPageListResponse> {
|
|
18
|
-
return this._client.getAPIList('/custom-pages', PageCursorURL<CustomPageListResponse>, options);
|
|
18
|
+
return this._client.getAPIList('/custom-pages/', PageCursorURL<CustomPageListResponse>, options);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -25,14 +25,14 @@ export class CustomPages extends APIResource {
|
|
|
25
25
|
body: CustomPageCreateParams | null | undefined = {},
|
|
26
26
|
options?: RequestOptions,
|
|
27
27
|
): APIPromise<CustomPageCreateResponse> {
|
|
28
|
-
return this._client.post('/custom-pages', { body, ...options });
|
|
28
|
+
return this._client.post('/custom-pages/', { body, ...options });
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Retrieve a specific CustomPage
|
|
33
33
|
*/
|
|
34
34
|
retrieve(id: string, options?: RequestOptions): APIPromise<CustomPageRetrieveResponse> {
|
|
35
|
-
return this._client.get(path`/custom-pages/${id}
|
|
35
|
+
return this._client.get(path`/custom-pages/${id}/`, options);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
@@ -43,14 +43,14 @@ export class CustomPages extends APIResource {
|
|
|
43
43
|
body: CustomPageUpdateParams | null | undefined = {},
|
|
44
44
|
options?: RequestOptions,
|
|
45
45
|
): APIPromise<CustomPageUpdateResponse> {
|
|
46
|
-
return this._client.patch(path`/custom-pages/${id}
|
|
46
|
+
return this._client.patch(path`/custom-pages/${id}/`, { body, ...options });
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* Delete a CustomPage
|
|
51
51
|
*/
|
|
52
52
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
53
|
-
return this._client.delete(path`/custom-pages/${id}
|
|
53
|
+
return this._client.delete(path`/custom-pages/${id}/`, {
|
|
54
54
|
...options,
|
|
55
55
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
56
56
|
});
|
|
@@ -66,29 +66,19 @@ export interface CustomPageListResponse {
|
|
|
66
66
|
id?: string;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
actions?: Array<unknown>;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Canvas actions (v2)
|
|
75
|
-
*/
|
|
76
|
-
canvas_actions?: Array<unknown>;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* The canvas component tree
|
|
69
|
+
* Record creation date
|
|
80
70
|
*/
|
|
81
|
-
|
|
71
|
+
created_at?: string;
|
|
82
72
|
|
|
83
73
|
/**
|
|
84
|
-
*
|
|
74
|
+
* The ID of the role that created the page
|
|
85
75
|
*/
|
|
86
|
-
|
|
76
|
+
created_by?: string;
|
|
87
77
|
|
|
88
78
|
/**
|
|
89
|
-
*
|
|
79
|
+
* The ID of the Rippling Function that renders this page
|
|
90
80
|
*/
|
|
91
|
-
|
|
81
|
+
function_id?: string;
|
|
92
82
|
|
|
93
83
|
/**
|
|
94
84
|
* The display name of the custom page
|
|
@@ -101,9 +91,9 @@ export interface CustomPageListResponse {
|
|
|
101
91
|
updated_at?: string;
|
|
102
92
|
|
|
103
93
|
/**
|
|
104
|
-
*
|
|
94
|
+
* The ID of the role that last modified the page
|
|
105
95
|
*/
|
|
106
|
-
|
|
96
|
+
updated_by?: string;
|
|
107
97
|
}
|
|
108
98
|
|
|
109
99
|
export interface CustomPageCreateResponse {
|
|
@@ -113,29 +103,19 @@ export interface CustomPageCreateResponse {
|
|
|
113
103
|
id?: string;
|
|
114
104
|
|
|
115
105
|
/**
|
|
116
|
-
*
|
|
117
|
-
*/
|
|
118
|
-
actions?: Array<unknown>;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* Canvas actions (v2)
|
|
106
|
+
* Record creation date
|
|
122
107
|
*/
|
|
123
|
-
|
|
108
|
+
created_at?: string;
|
|
124
109
|
|
|
125
110
|
/**
|
|
126
|
-
* The
|
|
111
|
+
* The ID of the role that created the page
|
|
127
112
|
*/
|
|
128
|
-
|
|
113
|
+
created_by?: string;
|
|
129
114
|
|
|
130
115
|
/**
|
|
131
|
-
*
|
|
116
|
+
* The ID of the Rippling Function that renders this page
|
|
132
117
|
*/
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Media assets
|
|
137
|
-
*/
|
|
138
|
-
media?: unknown;
|
|
118
|
+
function_id?: string;
|
|
139
119
|
|
|
140
120
|
/**
|
|
141
121
|
* The display name of the custom page
|
|
@@ -148,9 +128,9 @@ export interface CustomPageCreateResponse {
|
|
|
148
128
|
updated_at?: string;
|
|
149
129
|
|
|
150
130
|
/**
|
|
151
|
-
*
|
|
131
|
+
* The ID of the role that last modified the page
|
|
152
132
|
*/
|
|
153
|
-
|
|
133
|
+
updated_by?: string;
|
|
154
134
|
}
|
|
155
135
|
|
|
156
136
|
/**
|
|
@@ -163,29 +143,19 @@ export interface CustomPageRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
|
163
143
|
id?: string;
|
|
164
144
|
|
|
165
145
|
/**
|
|
166
|
-
*
|
|
167
|
-
*/
|
|
168
|
-
actions?: Array<unknown>;
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Canvas actions (v2)
|
|
172
|
-
*/
|
|
173
|
-
canvas_actions?: Array<unknown>;
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* The canvas component tree
|
|
146
|
+
* Record creation date
|
|
177
147
|
*/
|
|
178
|
-
|
|
148
|
+
created_at?: string;
|
|
179
149
|
|
|
180
150
|
/**
|
|
181
|
-
*
|
|
151
|
+
* The ID of the role that created the page
|
|
182
152
|
*/
|
|
183
|
-
|
|
153
|
+
created_by?: string;
|
|
184
154
|
|
|
185
155
|
/**
|
|
186
|
-
*
|
|
156
|
+
* The ID of the Rippling Function that renders this page
|
|
187
157
|
*/
|
|
188
|
-
|
|
158
|
+
function_id?: string;
|
|
189
159
|
|
|
190
160
|
/**
|
|
191
161
|
* The display name of the custom page
|
|
@@ -198,9 +168,9 @@ export interface CustomPageRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
|
198
168
|
updated_at?: string;
|
|
199
169
|
|
|
200
170
|
/**
|
|
201
|
-
*
|
|
171
|
+
* The ID of the role that last modified the page
|
|
202
172
|
*/
|
|
203
|
-
|
|
173
|
+
updated_by?: string;
|
|
204
174
|
}
|
|
205
175
|
|
|
206
176
|
export interface CustomPageUpdateResponse {
|
|
@@ -210,29 +180,19 @@ export interface CustomPageUpdateResponse {
|
|
|
210
180
|
id?: string;
|
|
211
181
|
|
|
212
182
|
/**
|
|
213
|
-
*
|
|
214
|
-
*/
|
|
215
|
-
actions?: Array<unknown>;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Canvas actions (v2)
|
|
219
|
-
*/
|
|
220
|
-
canvas_actions?: Array<unknown>;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* The canvas component tree
|
|
183
|
+
* Record creation date
|
|
224
184
|
*/
|
|
225
|
-
|
|
185
|
+
created_at?: string;
|
|
226
186
|
|
|
227
187
|
/**
|
|
228
|
-
*
|
|
188
|
+
* The ID of the role that created the page
|
|
229
189
|
*/
|
|
230
|
-
|
|
190
|
+
created_by?: string;
|
|
231
191
|
|
|
232
192
|
/**
|
|
233
|
-
*
|
|
193
|
+
* The ID of the Rippling Function that renders this page
|
|
234
194
|
*/
|
|
235
|
-
|
|
195
|
+
function_id?: string;
|
|
236
196
|
|
|
237
197
|
/**
|
|
238
198
|
* The display name of the custom page
|
|
@@ -245,12 +205,17 @@ export interface CustomPageUpdateResponse {
|
|
|
245
205
|
updated_at?: string;
|
|
246
206
|
|
|
247
207
|
/**
|
|
248
|
-
*
|
|
208
|
+
* The ID of the role that last modified the page
|
|
249
209
|
*/
|
|
250
|
-
|
|
210
|
+
updated_by?: string;
|
|
251
211
|
}
|
|
252
212
|
|
|
253
213
|
export interface CustomPageCreateParams {
|
|
214
|
+
/**
|
|
215
|
+
* The ID of the Rippling Function that renders this page
|
|
216
|
+
*/
|
|
217
|
+
function_id?: string;
|
|
218
|
+
|
|
254
219
|
/**
|
|
255
220
|
* The display name of the custom page
|
|
256
221
|
*/
|
|
@@ -258,6 +223,11 @@ export interface CustomPageCreateParams {
|
|
|
258
223
|
}
|
|
259
224
|
|
|
260
225
|
export interface CustomPageUpdateParams {
|
|
226
|
+
/**
|
|
227
|
+
* The ID of the Rippling Function that renders this page
|
|
228
|
+
*/
|
|
229
|
+
function_id?: string;
|
|
230
|
+
|
|
261
231
|
/**
|
|
262
232
|
* The display name of the custom page
|
|
263
233
|
*/
|
|
@@ -19,7 +19,7 @@ export class CustomSettings extends APIResource {
|
|
|
19
19
|
query: CustomSettingListParams | null | undefined = {},
|
|
20
20
|
options?: RequestOptions,
|
|
21
21
|
): PagePromise<CustomSettingListResponsesPageCursorURL, CustomSettingListResponse> {
|
|
22
|
-
return this._client.getAPIList('/custom-settings', PageCursorURL<CustomSettingListResponse>, {
|
|
22
|
+
return this._client.getAPIList('/custom-settings/', PageCursorURL<CustomSettingListResponse>, {
|
|
23
23
|
query,
|
|
24
24
|
...options,
|
|
25
25
|
});
|
|
@@ -32,14 +32,14 @@ export class CustomSettings extends APIResource {
|
|
|
32
32
|
body: CustomSettingCreateParams | null | undefined = {},
|
|
33
33
|
options?: RequestOptions,
|
|
34
34
|
): APIPromise<CustomSettingCreateResponse> {
|
|
35
|
-
return this._client.post('/custom-settings', { body, ...options });
|
|
35
|
+
return this._client.post('/custom-settings/', { body, ...options });
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Retrieve a specific Setting
|
|
40
40
|
*/
|
|
41
41
|
retrieve(id: string, options?: RequestOptions): APIPromise<CustomSettingRetrieveResponse> {
|
|
42
|
-
return this._client.get(path`/custom-settings/${id}
|
|
42
|
+
return this._client.get(path`/custom-settings/${id}/`, options);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -50,14 +50,14 @@ export class CustomSettings extends APIResource {
|
|
|
50
50
|
body: CustomSettingUpdateParams | null | undefined = {},
|
|
51
51
|
options?: RequestOptions,
|
|
52
52
|
): APIPromise<CustomSettingUpdateResponse> {
|
|
53
|
-
return this._client.patch(path`/custom-settings/${id}
|
|
53
|
+
return this._client.patch(path`/custom-settings/${id}/`, { body, ...options });
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Delete a Setting
|
|
58
58
|
*/
|
|
59
59
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
60
|
-
return this._client.delete(path`/custom-settings/${id}
|
|
60
|
+
return this._client.delete(path`/custom-settings/${id}/`, {
|
|
61
61
|
...options,
|
|
62
62
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
63
63
|
});
|
|
@@ -0,0 +1,40 @@
|
|
|
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 DeleteCustomObjectRecord extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute the custom object record deletion action.
|
|
13
|
+
*/
|
|
14
|
+
create(
|
|
15
|
+
body: DeleteCustomObjectRecordCreateParams,
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): APIPromise<DeleteCustomObjectRecordCreateResponse> {
|
|
18
|
+
return this._client.post('/delete-custom-object-record/', { body, ...options });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface DeleteCustomObjectRecordCreateResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Result of the delete custom object record action
|
|
25
|
+
*/
|
|
26
|
+
result: unknown;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface DeleteCustomObjectRecordCreateParams {
|
|
30
|
+
customObjectAPIName: string;
|
|
31
|
+
|
|
32
|
+
recordID: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export declare namespace DeleteCustomObjectRecord {
|
|
36
|
+
export {
|
|
37
|
+
type DeleteCustomObjectRecordCreateResponse as DeleteCustomObjectRecordCreateResponse,
|
|
38
|
+
type DeleteCustomObjectRecordCreateParams as DeleteCustomObjectRecordCreateParams,
|
|
39
|
+
};
|
|
40
|
+
}
|