@rippling/rippling-sdk 0.2.0-alpha.29 → 0.2.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +22 -94
- package/client.d.mts.map +1 -1
- package/client.d.ts +22 -94
- package/client.d.ts.map +1 -1
- package/client.js +20 -92
- package/client.js.map +1 -1
- package/client.mjs +20 -92
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/business-partner-groups.d.mts +1 -1
- package/resources/business-partner-groups.d.ts +1 -1
- package/resources/business-partner-groups.js +1 -1
- package/resources/business-partner-groups.mjs +1 -1
- package/resources/business-partners.d.mts +1 -1
- package/resources/business-partners.d.ts +1 -1
- package/resources/business-partners.js +1 -1
- package/resources/business-partners.mjs +1 -1
- package/resources/candidate-applications.d.mts +1 -1
- package/resources/candidate-applications.d.ts +1 -1
- package/resources/candidate-applications.js +1 -1
- package/resources/candidate-applications.mjs +1 -1
- package/resources/candidates.d.mts +1 -1
- package/resources/candidates.d.ts +1 -1
- package/resources/candidates.js +1 -1
- package/resources/candidates.mjs +1 -1
- package/resources/companies.d.mts +1 -1
- package/resources/companies.d.ts +1 -1
- package/resources/companies.js +1 -1
- package/resources/companies.mjs +1 -1
- package/resources/compensation-bands-details.d.mts +1 -1
- package/resources/compensation-bands-details.d.ts +1 -1
- package/resources/compensation-bands-details.js +1 -1
- package/resources/compensation-bands-details.mjs +1 -1
- package/resources/compensations.d.mts +1 -1
- package/resources/compensations.d.ts +1 -1
- package/resources/compensations.js +1 -1
- package/resources/compensations.mjs +1 -1
- package/resources/custom-apps.d.mts +3 -3
- package/resources/custom-apps.d.ts +3 -3
- package/resources/custom-apps.js +3 -3
- package/resources/custom-apps.mjs +3 -3
- package/resources/custom-fields.d.mts +1 -1
- package/resources/custom-fields.d.ts +1 -1
- package/resources/custom-fields.js +1 -1
- package/resources/custom-fields.mjs +1 -1
- package/resources/custom-objects/custom-objects.d.mts +29 -5
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +29 -5
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +5 -5
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +5 -5
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +71 -5
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +71 -5
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +5 -5
- package/resources/custom-objects/fields.mjs +5 -5
- package/resources/custom-objects/records.d.mts +68 -11
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +68 -11
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +10 -10
- package/resources/custom-objects/records.mjs +10 -10
- package/resources/custom-pages.d.mts +3 -3
- package/resources/custom-pages.d.ts +3 -3
- package/resources/custom-pages.js +3 -3
- package/resources/custom-pages.mjs +3 -3
- package/resources/custom-settings.d.mts +2 -2
- package/resources/custom-settings.d.ts +2 -2
- package/resources/custom-settings.js +2 -2
- package/resources/custom-settings.mjs +2 -2
- package/resources/departments.d.mts +2 -2
- package/resources/departments.d.ts +2 -2
- package/resources/departments.js +2 -2
- package/resources/departments.mjs +2 -2
- package/resources/earning-types.d.mts +48 -0
- package/resources/earning-types.d.mts.map +1 -0
- package/resources/earning-types.d.ts +48 -0
- package/resources/earning-types.d.ts.map +1 -0
- package/resources/earning-types.js +21 -0
- package/resources/earning-types.js.map +1 -0
- package/resources/earning-types.mjs +17 -0
- package/resources/earning-types.mjs.map +1 -0
- package/resources/employment-types.d.mts +1 -1
- package/resources/employment-types.d.ts +1 -1
- package/resources/employment-types.js +1 -1
- package/resources/employment-types.mjs +1 -1
- package/resources/entitlements.d.mts +1 -1
- package/resources/entitlements.d.ts +1 -1
- package/resources/entitlements.js +1 -1
- package/resources/entitlements.mjs +1 -1
- package/resources/functions/deployments.d.mts +10 -4
- package/resources/functions/deployments.d.mts.map +1 -1
- package/resources/functions/deployments.d.ts +10 -4
- package/resources/functions/deployments.d.ts.map +1 -1
- package/resources/functions/deployments.js +4 -4
- package/resources/functions/deployments.mjs +4 -4
- package/resources/functions/executions.d.mts +10 -4
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +10 -4
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +4 -4
- package/resources/functions/executions.mjs +4 -4
- package/resources/functions/functions.d.mts +8 -14
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +8 -14
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +6 -6
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +6 -6
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/index.d.mts +1 -1
- package/resources/functions/index.d.mts.map +1 -1
- package/resources/functions/index.d.ts +1 -1
- package/resources/functions/index.d.ts.map +1 -1
- package/resources/functions/index.js.map +1 -1
- package/resources/functions/index.mjs.map +1 -1
- package/resources/headcount-positions.d.mts +1 -1
- package/resources/headcount-positions.d.ts +1 -1
- package/resources/headcount-positions.js +1 -1
- package/resources/headcount-positions.mjs +1 -1
- package/resources/headcount-priorities.d.mts +1 -1
- package/resources/headcount-priorities.d.ts +1 -1
- package/resources/headcount-priorities.js +1 -1
- package/resources/headcount-priorities.mjs +1 -1
- package/resources/index.d.mts +5 -17
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -17
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -34
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -16
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +3 -3
- package/resources/job-assignments.d.ts +3 -3
- package/resources/job-assignments.js +3 -3
- package/resources/job-assignments.mjs +3 -3
- package/resources/job-codes.d.mts +3 -3
- package/resources/job-codes.d.ts +3 -3
- package/resources/job-codes.js +3 -3
- package/resources/job-codes.mjs +3 -3
- package/resources/job-dimensions.d.mts +2 -2
- package/resources/job-dimensions.d.ts +2 -2
- package/resources/job-dimensions.js +2 -2
- package/resources/job-dimensions.mjs +2 -2
- package/resources/job-functions.d.mts +1 -1
- package/resources/job-functions.d.ts +1 -1
- package/resources/job-functions.js +1 -1
- package/resources/job-functions.mjs +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +2 -2
- package/resources/job-pay-rate-exceptions.d.ts +2 -2
- package/resources/job-pay-rate-exceptions.js +2 -2
- package/resources/job-pay-rate-exceptions.mjs +2 -2
- package/resources/job-requisitions.d.mts +1 -1
- package/resources/job-requisitions.d.ts +1 -1
- package/resources/job-requisitions.js +1 -1
- package/resources/job-requisitions.mjs +1 -1
- package/resources/kiosk-badges.d.mts +2 -2
- package/resources/kiosk-badges.d.ts +2 -2
- package/resources/kiosk-badges.js +2 -2
- package/resources/kiosk-badges.mjs +2 -2
- package/resources/leave-accruals.d.mts +1 -1
- package/resources/leave-accruals.d.ts +1 -1
- package/resources/leave-accruals.js +1 -1
- package/resources/leave-accruals.mjs +1 -1
- package/resources/leave-balances.d.mts +1 -1
- package/resources/leave-balances.d.ts +1 -1
- package/resources/leave-balances.js +1 -1
- package/resources/leave-balances.mjs +1 -1
- package/resources/leave-requests.d.mts +2 -2
- package/resources/leave-requests.d.ts +2 -2
- package/resources/leave-requests.js +2 -2
- package/resources/leave-requests.mjs +2 -2
- package/resources/leave-types.d.mts +1 -1
- package/resources/leave-types.d.ts +1 -1
- package/resources/leave-types.js +1 -1
- package/resources/leave-types.mjs +1 -1
- package/resources/legal-entities.d.mts +1 -1
- package/resources/legal-entities.d.ts +1 -1
- package/resources/legal-entities.js +1 -1
- package/resources/legal-entities.mjs +1 -1
- package/resources/levels.d.mts +1 -1
- package/resources/levels.d.ts +1 -1
- package/resources/levels.js +1 -1
- package/resources/levels.mjs +1 -1
- package/resources/location-factors.d.mts +1 -1
- package/resources/location-factors.d.ts +1 -1
- package/resources/location-factors.js +1 -1
- package/resources/location-factors.mjs +1 -1
- package/resources/metadata/components.d.mts +2 -2
- package/resources/metadata/components.d.ts +2 -2
- package/resources/metadata/components.js +2 -2
- package/resources/metadata/components.mjs +2 -2
- package/resources/metadata/metadata.d.mts +2 -2
- package/resources/metadata/metadata.d.ts +2 -2
- package/resources/metadata/metadata.js +2 -2
- package/resources/metadata/metadata.mjs +2 -2
- package/resources/metadata/summary.d.mts +2 -2
- package/resources/metadata/summary.d.ts +2 -2
- package/resources/metadata/summary.js +2 -2
- package/resources/metadata/summary.mjs +2 -2
- package/resources/metadata/types.d.mts +2 -2
- package/resources/metadata/types.d.ts +2 -2
- package/resources/metadata/types.js +2 -2
- package/resources/metadata/types.mjs +2 -2
- package/resources/object-categories.d.mts +17 -5
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +17 -5
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +5 -5
- package/resources/object-categories.mjs +5 -5
- package/resources/payroll-runs.d.mts +195 -0
- package/resources/payroll-runs.d.mts.map +1 -0
- package/resources/payroll-runs.d.ts +195 -0
- package/resources/payroll-runs.d.ts.map +1 -0
- package/resources/payroll-runs.js +32 -0
- package/resources/payroll-runs.js.map +1 -0
- package/resources/payroll-runs.mjs +28 -0
- package/resources/payroll-runs.mjs.map +1 -0
- package/resources/platform-capabilities.d.mts +2 -2
- package/resources/platform-capabilities.d.ts +2 -2
- package/resources/platform-capabilities.js +2 -2
- package/resources/platform-capabilities.mjs +2 -2
- package/resources/report-runs.d.mts +60 -0
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +60 -0
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/reports/available-filters.d.mts +49 -0
- package/resources/reports/available-filters.d.mts.map +1 -0
- package/resources/reports/available-filters.d.ts +49 -0
- package/resources/reports/available-filters.d.ts.map +1 -0
- package/resources/reports/available-filters.js +20 -0
- package/resources/reports/available-filters.js.map +1 -0
- package/resources/reports/available-filters.mjs +16 -0
- package/resources/reports/available-filters.mjs.map +1 -0
- package/resources/reports/index.d.mts +3 -0
- package/resources/reports/index.d.mts.map +1 -0
- package/resources/reports/index.d.ts +3 -0
- package/resources/reports/index.d.ts.map +1 -0
- package/resources/reports/index.js +9 -0
- package/resources/reports/index.js.map +1 -0
- package/resources/reports/index.mjs +4 -0
- package/resources/reports/index.mjs.map +1 -0
- package/resources/reports/reports.d.mts +85 -0
- package/resources/reports/reports.d.mts.map +1 -0
- package/resources/reports/reports.d.ts +85 -0
- package/resources/reports/reports.d.ts.map +1 -0
- package/resources/reports/reports.js +27 -0
- package/resources/reports/reports.js.map +1 -0
- package/resources/reports/reports.mjs +22 -0
- package/resources/reports/reports.mjs.map +1 -0
- package/resources/reports.d.mts +2 -0
- package/resources/reports.d.mts.map +1 -0
- package/resources/reports.d.ts +2 -0
- package/resources/reports.d.ts.map +1 -0
- package/resources/reports.js +6 -0
- package/resources/reports.js.map +1 -0
- package/resources/reports.mjs +3 -0
- package/resources/reports.mjs.map +1 -0
- package/resources/schedules.d.mts +2 -2
- package/resources/schedules.d.ts +2 -2
- package/resources/schedules.js +2 -2
- package/resources/schedules.mjs +2 -2
- package/resources/shift-inputs.d.mts +2 -2
- package/resources/shift-inputs.d.ts +2 -2
- package/resources/shift-inputs.js +2 -2
- package/resources/shift-inputs.mjs +2 -2
- package/resources/shiftassignments.d.mts +2 -2
- package/resources/shiftassignments.d.ts +2 -2
- package/resources/shiftassignments.js +2 -2
- package/resources/shiftassignments.mjs +2 -2
- package/resources/teams.d.mts +1 -1
- package/resources/teams.d.ts +1 -1
- package/resources/teams.js +1 -1
- package/resources/teams.mjs +1 -1
- package/resources/time-cards.d.mts +1 -1
- package/resources/time-cards.d.ts +1 -1
- package/resources/time-cards.js +1 -1
- package/resources/time-cards.mjs +1 -1
- package/resources/time-entries.d.mts +2 -2
- package/resources/time-entries.d.ts +2 -2
- package/resources/time-entries.js +2 -2
- package/resources/time-entries.mjs +2 -2
- package/resources/titles.d.mts +2 -2
- package/resources/titles.d.ts +2 -2
- package/resources/titles.js +2 -2
- package/resources/titles.mjs +2 -2
- package/resources/tracks.d.mts +1 -1
- package/resources/tracks.d.ts +1 -1
- package/resources/tracks.js +1 -1
- package/resources/tracks.mjs +1 -1
- package/resources/unassignedshifts.d.mts +2 -2
- package/resources/unassignedshifts.d.ts +2 -2
- package/resources/unassignedshifts.js +2 -2
- package/resources/unassignedshifts.mjs +2 -2
- package/resources/users.d.mts +1 -1
- package/resources/users.d.ts +1 -1
- package/resources/users.js +1 -1
- package/resources/users.mjs +1 -1
- package/resources/work-locations.d.mts +2 -2
- package/resources/work-locations.d.ts +2 -2
- package/resources/work-locations.js +2 -2
- package/resources/work-locations.mjs +2 -2
- package/resources/workers.d.mts +1 -1
- package/resources/workers.d.ts +1 -1
- package/resources/workers.js +1 -1
- package/resources/workers.mjs +1 -1
- package/resources/workflow-action-executions.d.mts +572 -0
- package/resources/workflow-action-executions.d.mts.map +1 -0
- package/resources/workflow-action-executions.d.ts +572 -0
- package/resources/workflow-action-executions.d.ts.map +1 -0
- package/resources/{create-app-notification.js → workflow-action-executions.js} +6 -6
- package/resources/workflow-action-executions.js.map +1 -0
- package/resources/{evaluate-rql.mjs → workflow-action-executions.mjs} +4 -4
- package/resources/workflow-action-executions.mjs.map +1 -0
- package/src/client.ts +55 -221
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/business-partner-groups.ts +1 -1
- package/src/resources/business-partners.ts +1 -1
- package/src/resources/candidate-applications.ts +1 -1
- package/src/resources/candidates.ts +1 -1
- package/src/resources/companies.ts +1 -1
- package/src/resources/compensation-bands-details.ts +1 -1
- package/src/resources/compensations.ts +1 -1
- package/src/resources/custom-apps.ts +3 -3
- package/src/resources/custom-fields.ts +1 -1
- package/src/resources/custom-objects/custom-objects.ts +29 -5
- package/src/resources/custom-objects/fields.ts +71 -5
- package/src/resources/custom-objects/records.ts +68 -11
- package/src/resources/custom-pages.ts +3 -3
- package/src/resources/custom-settings.ts +2 -2
- package/src/resources/departments.ts +2 -2
- package/src/resources/earning-types.ts +64 -0
- package/src/resources/employment-types.ts +1 -1
- package/src/resources/entitlements.ts +1 -1
- package/src/resources/functions/deployments.ts +10 -4
- package/src/resources/functions/executions.ts +10 -4
- package/src/resources/functions/functions.ts +9 -15
- package/src/resources/functions/index.ts +1 -0
- package/src/resources/headcount-positions.ts +1 -1
- package/src/resources/headcount-priorities.ts +1 -1
- package/src/resources/index.ts +19 -52
- package/src/resources/job-assignments.ts +3 -3
- package/src/resources/job-codes.ts +3 -3
- package/src/resources/job-dimensions.ts +2 -2
- package/src/resources/job-functions.ts +1 -1
- package/src/resources/job-pay-rate-exceptions.ts +2 -2
- package/src/resources/job-requisitions.ts +1 -1
- package/src/resources/kiosk-badges.ts +2 -2
- package/src/resources/leave-accruals.ts +1 -1
- package/src/resources/leave-balances.ts +1 -1
- package/src/resources/leave-requests.ts +2 -2
- package/src/resources/leave-types.ts +1 -1
- package/src/resources/legal-entities.ts +1 -1
- package/src/resources/levels.ts +1 -1
- package/src/resources/location-factors.ts +1 -1
- package/src/resources/metadata/components.ts +2 -2
- package/src/resources/metadata/metadata.ts +2 -2
- package/src/resources/metadata/summary.ts +2 -2
- package/src/resources/metadata/types.ts +2 -2
- package/src/resources/object-categories.ts +17 -5
- package/src/resources/payroll-runs.ts +251 -0
- package/src/resources/platform-capabilities.ts +2 -2
- package/src/resources/report-runs.ts +90 -0
- package/src/resources/reports/available-filters.ts +60 -0
- package/src/resources/reports/index.ts +4 -0
- package/src/resources/reports/reports.ts +112 -0
- package/src/resources/reports.ts +3 -0
- package/src/resources/schedules.ts +2 -2
- package/src/resources/shift-inputs.ts +2 -2
- package/src/resources/shiftassignments.ts +2 -2
- package/src/resources/teams.ts +1 -1
- package/src/resources/time-cards.ts +1 -1
- package/src/resources/time-entries.ts +2 -2
- package/src/resources/titles.ts +2 -2
- package/src/resources/tracks.ts +1 -1
- package/src/resources/unassignedshifts.ts +2 -2
- package/src/resources/users.ts +1 -1
- package/src/resources/work-locations.ts +2 -2
- package/src/resources/workers.ts +1 -1
- package/src/resources/workflow-action-executions.ts +925 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/assign-review.d.mts +0 -31
- package/resources/assign-review.d.mts.map +0 -1
- package/resources/assign-review.d.ts +0 -31
- package/resources/assign-review.d.ts.map +0 -1
- package/resources/assign-review.js +0 -18
- package/resources/assign-review.js.map +0 -1
- package/resources/assign-review.mjs +0 -14
- package/resources/assign-review.mjs.map +0 -1
- package/resources/create-app-notification.d.mts +0 -29
- package/resources/create-app-notification.d.mts.map +0 -1
- package/resources/create-app-notification.d.ts +0 -29
- package/resources/create-app-notification.d.ts.map +0 -1
- package/resources/create-app-notification.js.map +0 -1
- package/resources/create-app-notification.mjs +0 -14
- package/resources/create-app-notification.mjs.map +0 -1
- package/resources/create-gcal-event.d.mts +0 -55
- package/resources/create-gcal-event.d.mts.map +0 -1
- package/resources/create-gcal-event.d.ts +0 -55
- package/resources/create-gcal-event.d.ts.map +0 -1
- package/resources/create-gcal-event.js +0 -18
- package/resources/create-gcal-event.js.map +0 -1
- package/resources/create-gcal-event.mjs +0 -14
- package/resources/create-gcal-event.mjs.map +0 -1
- package/resources/delete-custom-object-record.d.mts +0 -26
- package/resources/delete-custom-object-record.d.mts.map +0 -1
- package/resources/delete-custom-object-record.d.ts +0 -26
- package/resources/delete-custom-object-record.d.ts.map +0 -1
- package/resources/delete-custom-object-record.js +0 -18
- package/resources/delete-custom-object-record.js.map +0 -1
- package/resources/delete-custom-object-record.mjs +0 -14
- package/resources/delete-custom-object-record.mjs.map +0 -1
- package/resources/evaluate-rql.d.mts +0 -31
- package/resources/evaluate-rql.d.mts.map +0 -1
- package/resources/evaluate-rql.d.ts +0 -31
- package/resources/evaluate-rql.d.ts.map +0 -1
- package/resources/evaluate-rql.js +0 -18
- package/resources/evaluate-rql.js.map +0 -1
- package/resources/evaluate-rql.mjs.map +0 -1
- package/resources/run-query.d.mts +0 -39
- package/resources/run-query.d.mts.map +0 -1
- package/resources/run-query.d.ts +0 -39
- package/resources/run-query.d.ts.map +0 -1
- package/resources/run-query.js +0 -21
- package/resources/run-query.js.map +0 -1
- package/resources/run-query.mjs +0 -17
- package/resources/run-query.mjs.map +0 -1
- package/resources/send-email.d.mts +0 -33
- package/resources/send-email.d.mts.map +0 -1
- package/resources/send-email.d.ts +0 -33
- package/resources/send-email.d.ts.map +0 -1
- package/resources/send-email.js +0 -18
- package/resources/send-email.js.map +0 -1
- package/resources/send-email.mjs +0 -14
- package/resources/send-email.mjs.map +0 -1
- package/resources/send-http-request.d.mts +0 -32
- package/resources/send-http-request.d.mts.map +0 -1
- package/resources/send-http-request.d.ts +0 -32
- package/resources/send-http-request.d.ts.map +0 -1
- package/resources/send-http-request.js +0 -18
- package/resources/send-http-request.js.map +0 -1
- package/resources/send-http-request.mjs +0 -14
- package/resources/send-http-request.mjs.map +0 -1
- package/resources/send-push-notification.d.mts +0 -27
- package/resources/send-push-notification.d.mts.map +0 -1
- package/resources/send-push-notification.d.ts +0 -27
- package/resources/send-push-notification.d.ts.map +0 -1
- package/resources/send-push-notification.js +0 -18
- package/resources/send-push-notification.js.map +0 -1
- package/resources/send-push-notification.mjs +0 -14
- package/resources/send-push-notification.mjs.map +0 -1
- package/resources/send-report-sftp.d.mts +0 -42
- package/resources/send-report-sftp.d.mts.map +0 -1
- package/resources/send-report-sftp.d.ts +0 -42
- package/resources/send-report-sftp.d.ts.map +0 -1
- package/resources/send-report-sftp.js +0 -18
- package/resources/send-report-sftp.js.map +0 -1
- package/resources/send-report-sftp.mjs +0 -14
- package/resources/send-report-sftp.mjs.map +0 -1
- package/resources/send-slack.d.mts +0 -30
- package/resources/send-slack.d.mts.map +0 -1
- package/resources/send-slack.d.ts +0 -30
- package/resources/send-slack.d.ts.map +0 -1
- package/resources/send-slack.js +0 -18
- package/resources/send-slack.js.map +0 -1
- package/resources/send-slack.mjs +0 -14
- package/resources/send-slack.mjs.map +0 -1
- package/resources/send-sms.d.mts +0 -26
- package/resources/send-sms.d.mts.map +0 -1
- package/resources/send-sms.d.ts +0 -26
- package/resources/send-sms.d.ts.map +0 -1
- package/resources/send-sms.js +0 -18
- package/resources/send-sms.js.map +0 -1
- package/resources/send-sms.mjs +0 -14
- package/resources/send-sms.mjs.map +0 -1
- package/resources/send-survey.d.mts +0 -29
- package/resources/send-survey.d.mts.map +0 -1
- package/resources/send-survey.d.ts +0 -29
- package/resources/send-survey.d.ts.map +0 -1
- package/resources/send-survey.js +0 -18
- package/resources/send-survey.js.map +0 -1
- package/resources/send-survey.mjs +0 -14
- package/resources/send-survey.mjs.map +0 -1
- package/resources/send-teams.d.mts +0 -30
- package/resources/send-teams.d.mts.map +0 -1
- package/resources/send-teams.d.ts +0 -30
- package/resources/send-teams.d.ts.map +0 -1
- package/resources/send-teams.js +0 -18
- package/resources/send-teams.js.map +0 -1
- package/resources/send-teams.mjs +0 -14
- package/resources/send-teams.mjs.map +0 -1
- package/resources/update-custom-object-record.d.mts +0 -27
- package/resources/update-custom-object-record.d.mts.map +0 -1
- package/resources/update-custom-object-record.d.ts +0 -27
- package/resources/update-custom-object-record.d.ts.map +0 -1
- package/resources/update-custom-object-record.js +0 -18
- package/resources/update-custom-object-record.js.map +0 -1
- package/resources/update-custom-object-record.mjs +0 -14
- package/resources/update-custom-object-record.mjs.map +0 -1
- package/resources/upsert-custom-object.d.mts +0 -26
- package/resources/upsert-custom-object.d.mts.map +0 -1
- package/resources/upsert-custom-object.d.ts +0 -26
- package/resources/upsert-custom-object.d.ts.map +0 -1
- package/resources/upsert-custom-object.js +0 -18
- package/resources/upsert-custom-object.js.map +0 -1
- package/resources/upsert-custom-object.mjs +0 -14
- package/resources/upsert-custom-object.mjs.map +0 -1
- package/src/resources/assign-review.ts +0 -44
- package/src/resources/create-app-notification.ts +0 -46
- package/src/resources/create-gcal-event.ts +0 -86
- package/src/resources/delete-custom-object-record.ts +0 -40
- package/src/resources/evaluate-rql.ts +0 -44
- package/src/resources/run-query.ts +0 -51
- package/src/resources/send-email.ts +0 -48
- package/src/resources/send-http-request.ts +0 -49
- package/src/resources/send-push-notification.ts +0 -42
- package/src/resources/send-report-sftp.ts +0 -66
- package/src/resources/send-slack.ts +0 -42
- package/src/resources/send-sms.ts +0 -37
- package/src/resources/send-survey.ts +0 -43
- package/src/resources/send-teams.ts +0 -42
- package/src/resources/update-custom-object-record.ts +0 -42
- package/src/resources/upsert-custom-object.ts +0 -40
|
@@ -40,7 +40,7 @@ export class CustomObjects extends APIResource {
|
|
|
40
40
|
records: RecordsAPI.Records = new RecordsAPI.Records(this._client);
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* A
|
|
43
|
+
* A list of custom objects.
|
|
44
44
|
*
|
|
45
45
|
* - Requires: `API Tier 1`
|
|
46
46
|
*/
|
|
@@ -49,7 +49,7 @@ export class CustomObjects extends APIResource {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Create a new custom object
|
|
52
|
+
* Create a new custom object.
|
|
53
53
|
*/
|
|
54
54
|
create(
|
|
55
55
|
body: CustomObjectCreateParams | null | undefined = {},
|
|
@@ -59,14 +59,14 @@ export class CustomObjects extends APIResource {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Retrieve a specific custom object
|
|
62
|
+
* Retrieve a specific custom object.
|
|
63
63
|
*/
|
|
64
64
|
retrieve(customObjectAPIName: string, options?: RequestOptions): APIPromise<CustomObject> {
|
|
65
65
|
return this._client.get(path`/custom-objects/${customObjectAPIName}/`, options);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Update a specific custom object.
|
|
70
70
|
*/
|
|
71
71
|
update(
|
|
72
72
|
customObjectAPIName: string,
|
|
@@ -77,7 +77,7 @@ export class CustomObjects extends APIResource {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
* Delete a custom object
|
|
80
|
+
* Delete a custom object.
|
|
81
81
|
*/
|
|
82
82
|
delete(customObjectAPIName: string, options?: RequestOptions): APIPromise<void> {
|
|
83
83
|
return this._client.delete(path`/custom-objects/${customObjectAPIName}/`, {
|
|
@@ -152,22 +152,46 @@ export interface CustomObject {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
export interface CustomObjectCreateParams {
|
|
155
|
+
/**
|
|
156
|
+
* The category that this custom object belongs to.
|
|
157
|
+
*/
|
|
155
158
|
category?: string;
|
|
156
159
|
|
|
160
|
+
/**
|
|
161
|
+
* A description of the custom object.
|
|
162
|
+
*/
|
|
157
163
|
description?: string;
|
|
158
164
|
|
|
165
|
+
/**
|
|
166
|
+
* The name of the custom object.
|
|
167
|
+
*/
|
|
159
168
|
name?: string;
|
|
160
169
|
}
|
|
161
170
|
|
|
162
171
|
export interface CustomObjectUpdateParams {
|
|
172
|
+
/**
|
|
173
|
+
* The category that this custom object belongs to.
|
|
174
|
+
*/
|
|
163
175
|
category?: string;
|
|
164
176
|
|
|
177
|
+
/**
|
|
178
|
+
* A description of the custom object.
|
|
179
|
+
*/
|
|
165
180
|
description?: string;
|
|
166
181
|
|
|
182
|
+
/**
|
|
183
|
+
* The name of the custom object.
|
|
184
|
+
*/
|
|
167
185
|
name?: string;
|
|
168
186
|
|
|
187
|
+
/**
|
|
188
|
+
* The role that owns this custom object.
|
|
189
|
+
*/
|
|
169
190
|
owner_role?: string;
|
|
170
191
|
|
|
192
|
+
/**
|
|
193
|
+
* The plural label for the custom object.
|
|
194
|
+
*/
|
|
171
195
|
plural_label?: string;
|
|
172
196
|
}
|
|
173
197
|
|
|
@@ -12,7 +12,7 @@ import { path } from '../../internal/utils/path';
|
|
|
12
12
|
*/
|
|
13
13
|
export class Fields extends APIResource {
|
|
14
14
|
/**
|
|
15
|
-
* A
|
|
15
|
+
* A list of custom object fields.
|
|
16
16
|
*
|
|
17
17
|
* - Requires: `API Tier 1`
|
|
18
18
|
*/
|
|
@@ -28,7 +28,7 @@ export class Fields extends APIResource {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Create a new custom object field
|
|
31
|
+
* Create a new custom object field.
|
|
32
32
|
*/
|
|
33
33
|
create(
|
|
34
34
|
customObjectAPIName: string,
|
|
@@ -39,7 +39,7 @@ export class Fields extends APIResource {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Retrieve a specific custom object field
|
|
42
|
+
* Retrieve a specific custom object field.
|
|
43
43
|
*/
|
|
44
44
|
retrieve(
|
|
45
45
|
customObjectAPIName: string,
|
|
@@ -50,7 +50,7 @@ export class Fields extends APIResource {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Update a specific custom object field.
|
|
54
54
|
*/
|
|
55
55
|
update(
|
|
56
56
|
customObjectAPIName: string,
|
|
@@ -65,7 +65,7 @@ export class Fields extends APIResource {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Delete a custom object field
|
|
68
|
+
* Delete a custom object field.
|
|
69
69
|
*/
|
|
70
70
|
delete(customObjectAPIName: string, fieldAPIName: string, options?: RequestOptions): APIPromise<void> {
|
|
71
71
|
return this._client.delete(path`/custom-objects/${customObjectAPIName}/fields/${fieldAPIName}/`, {
|
|
@@ -145,50 +145,116 @@ export interface CustomObjectField {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
export interface FieldCreateParams {
|
|
148
|
+
/**
|
|
149
|
+
* The data type configuration for the field.
|
|
150
|
+
*/
|
|
148
151
|
data_type?: unknown;
|
|
149
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Configuration for derived aggregated fields.
|
|
155
|
+
*/
|
|
150
156
|
derived_aggregated_field?: unknown;
|
|
151
157
|
|
|
158
|
+
/**
|
|
159
|
+
* The formula for derived fields.
|
|
160
|
+
*/
|
|
152
161
|
derived_field_formula?: string;
|
|
153
162
|
|
|
163
|
+
/**
|
|
164
|
+
* A description of the field.
|
|
165
|
+
*/
|
|
154
166
|
description?: string;
|
|
155
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Whether to track history for this field.
|
|
170
|
+
*/
|
|
156
171
|
enable_history?: boolean;
|
|
157
172
|
|
|
173
|
+
/**
|
|
174
|
+
* Metadata for formula attributes.
|
|
175
|
+
*/
|
|
158
176
|
formula_attr_metas?: unknown;
|
|
159
177
|
|
|
178
|
+
/**
|
|
179
|
+
* Whether field values must be unique.
|
|
180
|
+
*/
|
|
160
181
|
is_unique?: boolean;
|
|
161
182
|
|
|
183
|
+
/**
|
|
184
|
+
* The name of the field.
|
|
185
|
+
*/
|
|
162
186
|
name?: string;
|
|
163
187
|
|
|
188
|
+
/**
|
|
189
|
+
* Whether this field is required.
|
|
190
|
+
*/
|
|
164
191
|
required?: boolean;
|
|
165
192
|
|
|
193
|
+
/**
|
|
194
|
+
* The RQL definition for computed fields.
|
|
195
|
+
*/
|
|
166
196
|
rql_definition?: unknown;
|
|
167
197
|
|
|
198
|
+
/**
|
|
199
|
+
* The section configuration for the field.
|
|
200
|
+
*/
|
|
168
201
|
section?: unknown;
|
|
169
202
|
}
|
|
170
203
|
|
|
171
204
|
export interface FieldUpdateParams {
|
|
205
|
+
/**
|
|
206
|
+
* The data type configuration for the field.
|
|
207
|
+
*/
|
|
172
208
|
data_type?: unknown;
|
|
173
209
|
|
|
210
|
+
/**
|
|
211
|
+
* The formula for derived fields.
|
|
212
|
+
*/
|
|
174
213
|
derived_field_formula?: string;
|
|
175
214
|
|
|
215
|
+
/**
|
|
216
|
+
* A description of the field.
|
|
217
|
+
*/
|
|
176
218
|
description?: string;
|
|
177
219
|
|
|
220
|
+
/**
|
|
221
|
+
* Whether to track history for this field.
|
|
222
|
+
*/
|
|
178
223
|
enable_history?: boolean;
|
|
179
224
|
|
|
225
|
+
/**
|
|
226
|
+
* Metadata for formula attributes.
|
|
227
|
+
*/
|
|
180
228
|
formula_attr_metas?: unknown;
|
|
181
229
|
|
|
230
|
+
/**
|
|
231
|
+
* Whether field values must be unique.
|
|
232
|
+
*/
|
|
182
233
|
is_unique?: boolean;
|
|
183
234
|
|
|
235
|
+
/**
|
|
236
|
+
* The name of the field.
|
|
237
|
+
*/
|
|
184
238
|
name?: string;
|
|
185
239
|
|
|
240
|
+
/**
|
|
241
|
+
* Configuration for name field display.
|
|
242
|
+
*/
|
|
186
243
|
name_field_details?: unknown;
|
|
187
244
|
|
|
245
|
+
/**
|
|
246
|
+
* Whether this field is required.
|
|
247
|
+
*/
|
|
188
248
|
required?: boolean;
|
|
189
249
|
|
|
250
|
+
/**
|
|
251
|
+
* The RQL definition for computed fields.
|
|
252
|
+
*/
|
|
190
253
|
rql_definition?: unknown;
|
|
191
254
|
|
|
255
|
+
/**
|
|
256
|
+
* The section configuration for the field.
|
|
257
|
+
*/
|
|
192
258
|
section?: unknown;
|
|
193
259
|
}
|
|
194
260
|
|
|
@@ -12,7 +12,7 @@ import { path } from '../../internal/utils/path';
|
|
|
12
12
|
*/
|
|
13
13
|
export class Records extends APIResource {
|
|
14
14
|
/**
|
|
15
|
-
* A
|
|
15
|
+
* A list of custom object records.
|
|
16
16
|
*
|
|
17
17
|
* - Requires: `API Tier 1`
|
|
18
18
|
*/
|
|
@@ -28,7 +28,7 @@ export class Records extends APIResource {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Create a new custom object record
|
|
31
|
+
* Create a new custom object record.
|
|
32
32
|
*/
|
|
33
33
|
create(
|
|
34
34
|
customObjectAPIName: string,
|
|
@@ -39,7 +39,7 @@ export class Records extends APIResource {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* A
|
|
42
|
+
* A list of custom object records filtered by query.
|
|
43
43
|
*/
|
|
44
44
|
query(
|
|
45
45
|
customObjectAPIName: string,
|
|
@@ -53,7 +53,7 @@ export class Records extends APIResource {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
* Retrieve a specific custom object record
|
|
56
|
+
* Retrieve a specific custom object record.
|
|
57
57
|
*/
|
|
58
58
|
retrieve(
|
|
59
59
|
customObjectAPIName: string,
|
|
@@ -64,7 +64,7 @@ export class Records extends APIResource {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Update a specific custom object record.
|
|
68
68
|
*/
|
|
69
69
|
update(
|
|
70
70
|
customObjectAPIName: string,
|
|
@@ -79,7 +79,7 @@ export class Records extends APIResource {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Delete a custom object record
|
|
82
|
+
* Delete a custom object record.
|
|
83
83
|
*/
|
|
84
84
|
delete(customObjectAPIName: string, codrID: string, options?: RequestOptions): APIPromise<void> {
|
|
85
85
|
return this._client.delete(path`/custom-objects/${customObjectAPIName}/records/${codrID}/`, {
|
|
@@ -89,7 +89,7 @@ export class Records extends APIResource {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* Retrieve a specific custom object record by its external_id
|
|
92
|
+
* Retrieve a specific custom object record by its external_id.
|
|
93
93
|
*/
|
|
94
94
|
retrieveByExternalID(
|
|
95
95
|
customObjectAPIName: string,
|
|
@@ -103,7 +103,7 @@ export class Records extends APIResource {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Bulk create new custom object records.
|
|
107
107
|
*/
|
|
108
108
|
bulkCreate(
|
|
109
109
|
customObjectAPIName: string,
|
|
@@ -117,7 +117,7 @@ export class Records extends APIResource {
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
* Bulk
|
|
120
|
+
* Bulk update custom object records.
|
|
121
121
|
*/
|
|
122
122
|
bulkUpdate(
|
|
123
123
|
customObjectAPIName: string,
|
|
@@ -131,7 +131,7 @@ export class Records extends APIResource {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
-
* Bulk
|
|
134
|
+
* Bulk delete custom object records.
|
|
135
135
|
*/
|
|
136
136
|
bulkDelete(
|
|
137
137
|
customObjectAPIName: string,
|
|
@@ -180,6 +180,9 @@ export interface CustomObjectDataRow {
|
|
|
180
180
|
|
|
181
181
|
owner_role?: CustomObjectDataRow.OwnerRole;
|
|
182
182
|
|
|
183
|
+
/**
|
|
184
|
+
* The timestamp when the record was last updated by the system.
|
|
185
|
+
*/
|
|
183
186
|
system_updated_at?: string;
|
|
184
187
|
|
|
185
188
|
[k: string]: unknown;
|
|
@@ -187,26 +190,53 @@ export interface CustomObjectDataRow {
|
|
|
187
190
|
|
|
188
191
|
export namespace CustomObjectDataRow {
|
|
189
192
|
export interface CreatedBy {
|
|
193
|
+
/**
|
|
194
|
+
* The unique identifier of the role.
|
|
195
|
+
*/
|
|
190
196
|
id?: string;
|
|
191
197
|
|
|
198
|
+
/**
|
|
199
|
+
* The display name of the role.
|
|
200
|
+
*/
|
|
192
201
|
display_value?: string;
|
|
193
202
|
|
|
203
|
+
/**
|
|
204
|
+
* The URL of the role's profile image.
|
|
205
|
+
*/
|
|
194
206
|
image?: string;
|
|
195
207
|
}
|
|
196
208
|
|
|
197
209
|
export interface LastModifiedBy {
|
|
210
|
+
/**
|
|
211
|
+
* The unique identifier of the role.
|
|
212
|
+
*/
|
|
198
213
|
id?: string;
|
|
199
214
|
|
|
215
|
+
/**
|
|
216
|
+
* The display name of the role.
|
|
217
|
+
*/
|
|
200
218
|
display_value?: string;
|
|
201
219
|
|
|
220
|
+
/**
|
|
221
|
+
* The URL of the role's profile image.
|
|
222
|
+
*/
|
|
202
223
|
image?: string;
|
|
203
224
|
}
|
|
204
225
|
|
|
205
226
|
export interface OwnerRole {
|
|
227
|
+
/**
|
|
228
|
+
* The unique identifier of the role.
|
|
229
|
+
*/
|
|
206
230
|
id?: string;
|
|
207
231
|
|
|
232
|
+
/**
|
|
233
|
+
* The display name of the role.
|
|
234
|
+
*/
|
|
208
235
|
display_value?: string;
|
|
209
236
|
|
|
237
|
+
/**
|
|
238
|
+
* The URL of the role's profile image.
|
|
239
|
+
*/
|
|
210
240
|
image?: string;
|
|
211
241
|
}
|
|
212
242
|
}
|
|
@@ -236,32 +266,59 @@ export interface RecordBulkUpdateResponse {
|
|
|
236
266
|
export type RecordCreateParams = { [key: string]: unknown };
|
|
237
267
|
|
|
238
268
|
export interface RecordQueryParams {
|
|
269
|
+
/**
|
|
270
|
+
* A cursor for pagination to fetch the next page of results.
|
|
271
|
+
*/
|
|
239
272
|
cursor?: string;
|
|
240
273
|
|
|
274
|
+
/**
|
|
275
|
+
* The maximum number of results to return.
|
|
276
|
+
*/
|
|
241
277
|
limit?: number;
|
|
242
278
|
|
|
279
|
+
/**
|
|
280
|
+
* The query string to filter results.
|
|
281
|
+
*/
|
|
243
282
|
query?: string;
|
|
244
283
|
}
|
|
245
284
|
|
|
246
285
|
export type RecordUpdateParams = { [key: string]: unknown };
|
|
247
286
|
|
|
248
287
|
export interface RecordBulkCreateParams {
|
|
288
|
+
/**
|
|
289
|
+
* If true, the entire operation fails if any record fails. If false, partial
|
|
290
|
+
* success is allowed.
|
|
291
|
+
*/
|
|
249
292
|
all_or_nothing?: boolean;
|
|
250
293
|
|
|
294
|
+
/**
|
|
295
|
+
* The list of records to create.
|
|
296
|
+
*/
|
|
251
297
|
rows_to_write?: Array<{ [key: string]: unknown }>;
|
|
252
298
|
}
|
|
253
299
|
|
|
254
300
|
export interface RecordBulkUpdateParams {
|
|
301
|
+
/**
|
|
302
|
+
* If true, the entire operation fails if any record fails. If false, partial
|
|
303
|
+
* success is allowed.
|
|
304
|
+
*/
|
|
255
305
|
all_or_nothing?: boolean;
|
|
256
306
|
|
|
307
|
+
/**
|
|
308
|
+
* The list of records to update.
|
|
309
|
+
*/
|
|
257
310
|
rows_to_update?: Array<{ [key: string]: unknown }>;
|
|
258
311
|
}
|
|
259
312
|
|
|
260
313
|
export interface RecordBulkDeleteParams {
|
|
314
|
+
/**
|
|
315
|
+
* If true, the entire operation fails if any record fails. If false, partial
|
|
316
|
+
* success is allowed.
|
|
317
|
+
*/
|
|
261
318
|
all_or_nothing?: boolean;
|
|
262
319
|
|
|
263
320
|
/**
|
|
264
|
-
*
|
|
321
|
+
* A list of record IDs to delete, e.g. [id_1, id_2].
|
|
265
322
|
*/
|
|
266
323
|
rows_to_delete?: Array<string>;
|
|
267
324
|
}
|
|
@@ -10,9 +10,9 @@ import { path } from '../internal/utils/path';
|
|
|
10
10
|
|
|
11
11
|
export class CustomPages extends APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of CustomPage.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `
|
|
15
|
+
* - Requires: `Custom Apps Platform API`
|
|
16
16
|
*/
|
|
17
17
|
list(options?: RequestOptions): PagePromise<CustomPageListResponsesPageCursorURL, CustomPageListResponse> {
|
|
18
18
|
return this._client.getAPIList('/custom-pages/', PageCursorURL<CustomPageListResponse>, options);
|
|
@@ -36,7 +36,7 @@ export class CustomPages extends APIResource {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Update a specific CustomPage.
|
|
40
40
|
*/
|
|
41
41
|
update(
|
|
42
42
|
id: string,
|
|
@@ -10,7 +10,7 @@ import { path } from '../internal/utils/path';
|
|
|
10
10
|
|
|
11
11
|
export class CustomSettings extends APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of Setting.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `Functions API`
|
|
16
16
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -43,7 +43,7 @@ export class CustomSettings extends APIResource {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Update a specific Setting.
|
|
47
47
|
*/
|
|
48
48
|
update(
|
|
49
49
|
id: string,
|
|
@@ -12,7 +12,7 @@ import { path } from '../internal/utils/path';
|
|
|
12
12
|
*/
|
|
13
13
|
export class Departments extends APIResource {
|
|
14
14
|
/**
|
|
15
|
-
* A
|
|
15
|
+
* A list of departments.
|
|
16
16
|
*
|
|
17
17
|
* - Requires: `API Tier 1`
|
|
18
18
|
* - Expandable fields: `parent`, `department_hierarchy`
|
|
@@ -44,7 +44,7 @@ export class Departments extends APIResource {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Update a specific department.
|
|
48
48
|
*/
|
|
49
49
|
update(id: string, body: DepartmentUpdateParams, options?: RequestOptions): APIPromise<Department> {
|
|
50
50
|
return this._client.patch(path`/departments/${id}/`, { body, ...options });
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Earning types configured for the company
|
|
9
|
+
*/
|
|
10
|
+
export class EarningTypes extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A list of earning-types.
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `Payroll API`
|
|
15
|
+
*/
|
|
16
|
+
list(
|
|
17
|
+
options?: RequestOptions,
|
|
18
|
+
): PagePromise<EarningTypeListResponsesPageCursorURL, EarningTypeListResponse> {
|
|
19
|
+
return this._client.getAPIList('/earning-types/', PageCursorURL<EarningTypeListResponse>, options);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export type EarningTypeListResponsesPageCursorURL = PageCursorURL<EarningTypeListResponse>;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* V2 DTO representing a company earning type.
|
|
27
|
+
*
|
|
28
|
+
* Used by:
|
|
29
|
+
* - GET /earning-types/ (list)
|
|
30
|
+
*/
|
|
31
|
+
export interface EarningTypeListResponse {
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier for the earning type.
|
|
34
|
+
*/
|
|
35
|
+
id?: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Company entity relationship identifier (CER ID) linking the earning type to the
|
|
39
|
+
* HRIS legal entity.
|
|
40
|
+
*/
|
|
41
|
+
company_entity_id?: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* ISO country code where the earning type applies.
|
|
45
|
+
*/
|
|
46
|
+
country_code?: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Human-readable name of the earning type.
|
|
50
|
+
*/
|
|
51
|
+
display_name?: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Code identifying the earning type (e.g. regular_salary, commission).
|
|
55
|
+
*/
|
|
56
|
+
earning_code?: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export declare namespace EarningTypes {
|
|
60
|
+
export {
|
|
61
|
+
type EarningTypeListResponse as EarningTypeListResponse,
|
|
62
|
+
type EarningTypeListResponsesPageCursorURL as EarningTypeListResponsesPageCursorURL,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -12,7 +12,7 @@ import { path } from '../internal/utils/path';
|
|
|
12
12
|
*/
|
|
13
13
|
export class EmploymentTypes extends APIResource {
|
|
14
14
|
/**
|
|
15
|
-
* A
|
|
15
|
+
* A list of employment types.
|
|
16
16
|
*
|
|
17
17
|
* - Requires: `API Tier 1`
|
|
18
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -10,7 +10,7 @@ import { path } from '../../internal/utils/path';
|
|
|
10
10
|
*/
|
|
11
11
|
export class Deployments extends APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of function deployments.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 2`
|
|
16
16
|
*/
|
|
@@ -19,7 +19,7 @@ export class Deployments extends APIResource {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Create a new function deployment
|
|
22
|
+
* Create a new function deployment.
|
|
23
23
|
*/
|
|
24
24
|
create(
|
|
25
25
|
functionAPIName: string,
|
|
@@ -30,7 +30,7 @@ export class Deployments extends APIResource {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Retrieve a specific function deployment
|
|
33
|
+
* Retrieve a specific function deployment.
|
|
34
34
|
*/
|
|
35
35
|
retrieve(
|
|
36
36
|
deploymentID: string,
|
|
@@ -42,7 +42,7 @@ export class Deployments extends APIResource {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* A
|
|
45
|
+
* A list of function deployment logs.
|
|
46
46
|
*
|
|
47
47
|
* - Requires: `API Tier 2`
|
|
48
48
|
*/
|
|
@@ -193,10 +193,16 @@ export interface DeploymentCreateParams {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
export interface DeploymentRetrieveParams {
|
|
196
|
+
/**
|
|
197
|
+
* The API name of the function.
|
|
198
|
+
*/
|
|
196
199
|
function_api_name: string;
|
|
197
200
|
}
|
|
198
201
|
|
|
199
202
|
export interface DeploymentListLogsParams {
|
|
203
|
+
/**
|
|
204
|
+
* The API name of the function.
|
|
205
|
+
*/
|
|
200
206
|
function_api_name: string;
|
|
201
207
|
}
|
|
202
208
|
|
|
@@ -11,7 +11,7 @@ import { path } from '../../internal/utils/path';
|
|
|
11
11
|
*/
|
|
12
12
|
export class Executions extends APIResource {
|
|
13
13
|
/**
|
|
14
|
-
* A
|
|
14
|
+
* A list of function executions.
|
|
15
15
|
*
|
|
16
16
|
* - Requires: `API Tier 2`
|
|
17
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -29,7 +29,7 @@ export class Executions extends APIResource {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Create a new function execution
|
|
32
|
+
* Create a new function execution.
|
|
33
33
|
*/
|
|
34
34
|
create(
|
|
35
35
|
functionAPIName: string,
|
|
@@ -40,7 +40,7 @@ export class Executions extends APIResource {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Retrieve a specific function execution
|
|
43
|
+
* Retrieve a specific function execution.
|
|
44
44
|
*/
|
|
45
45
|
retrieve(
|
|
46
46
|
executionID: string,
|
|
@@ -52,7 +52,7 @@ export class Executions extends APIResource {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* A
|
|
55
|
+
* A list of function execution logs.
|
|
56
56
|
*
|
|
57
57
|
* - Requires: `API Tier 2`
|
|
58
58
|
*/
|
|
@@ -160,10 +160,16 @@ export interface ExecutionCreateParams {
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
export interface ExecutionRetrieveParams {
|
|
163
|
+
/**
|
|
164
|
+
* The API name of the function.
|
|
165
|
+
*/
|
|
163
166
|
function_api_name: string;
|
|
164
167
|
}
|
|
165
168
|
|
|
166
169
|
export interface ExecutionListLogsParams {
|
|
170
|
+
/**
|
|
171
|
+
* The API name of the function.
|
|
172
|
+
*/
|
|
167
173
|
function_api_name: string;
|
|
168
174
|
}
|
|
169
175
|
|