@rippling/rippling-sdk 0.2.0-alpha.26 → 0.2.0-alpha.28
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 +195 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +195 -5
- package/client.d.ts.map +1 -1
- package/client.js +215 -20
- package/client.js.map +1 -1
- package/client.mjs +215 -20
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/utils/query.d.mts +5 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +5 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +23 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +20 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +12 -1
- package/resources/business-partner-groups.d.mts +3 -0
- package/resources/business-partner-groups.d.mts.map +1 -1
- package/resources/business-partner-groups.d.ts +3 -0
- package/resources/business-partner-groups.d.ts.map +1 -1
- package/resources/business-partner-groups.js +7 -4
- package/resources/business-partner-groups.js.map +1 -1
- package/resources/business-partner-groups.mjs +7 -4
- package/resources/business-partner-groups.mjs.map +1 -1
- package/resources/business-partners.d.mts +3 -0
- package/resources/business-partners.d.mts.map +1 -1
- package/resources/business-partners.d.ts +3 -0
- package/resources/business-partners.d.ts.map +1 -1
- package/resources/business-partners.js +7 -4
- package/resources/business-partners.js.map +1 -1
- package/resources/business-partners.mjs +7 -4
- package/resources/business-partners.mjs.map +1 -1
- package/resources/candidate-applications.d.mts +3 -0
- package/resources/candidate-applications.d.mts.map +1 -1
- package/resources/candidate-applications.d.ts +3 -0
- package/resources/candidate-applications.d.ts.map +1 -1
- package/resources/candidate-applications.js +4 -1
- package/resources/candidate-applications.js.map +1 -1
- package/resources/candidate-applications.mjs +4 -1
- package/resources/candidate-applications.mjs.map +1 -1
- package/resources/candidates.d.mts +3 -0
- package/resources/candidates.d.mts.map +1 -1
- package/resources/candidates.d.ts +3 -0
- package/resources/candidates.d.ts.map +1 -1
- package/resources/candidates.js +4 -1
- package/resources/candidates.js.map +1 -1
- package/resources/candidates.mjs +4 -1
- package/resources/candidates.mjs.map +1 -1
- package/resources/companies.d.mts +3 -0
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +3 -0
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +4 -1
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +4 -1
- package/resources/companies.mjs.map +1 -1
- package/resources/compensation-bands-details.d.mts +3 -0
- package/resources/compensation-bands-details.d.mts.map +1 -1
- package/resources/compensation-bands-details.d.ts +3 -0
- package/resources/compensation-bands-details.d.ts.map +1 -1
- package/resources/compensation-bands-details.js +5 -2
- package/resources/compensation-bands-details.js.map +1 -1
- package/resources/compensation-bands-details.mjs +5 -2
- package/resources/compensation-bands-details.mjs.map +1 -1
- package/resources/compensations.d.mts +3 -0
- package/resources/compensations.d.mts.map +1 -1
- package/resources/compensations.d.ts +3 -0
- package/resources/compensations.d.ts.map +1 -1
- package/resources/compensations.js +5 -2
- package/resources/compensations.js.map +1 -1
- package/resources/compensations.mjs +5 -2
- package/resources/compensations.mjs.map +1 -1
- package/resources/create-app-notification.d.mts +29 -0
- package/resources/create-app-notification.d.mts.map +1 -0
- package/resources/create-app-notification.d.ts +29 -0
- package/resources/create-app-notification.d.ts.map +1 -0
- package/resources/create-app-notification.js +18 -0
- package/resources/create-app-notification.js.map +1 -0
- package/resources/create-app-notification.mjs +14 -0
- package/resources/create-app-notification.mjs.map +1 -0
- package/resources/custom-apps.d.mts +341 -0
- package/resources/custom-apps.d.mts.map +1 -0
- package/resources/custom-apps.d.ts +341 -0
- package/resources/custom-apps.d.ts.map +1 -0
- package/resources/custom-apps.js +47 -0
- package/resources/custom-apps.js.map +1 -0
- package/resources/custom-apps.mjs +43 -0
- package/resources/custom-apps.mjs.map +1 -0
- package/resources/custom-fields.d.mts +3 -0
- package/resources/custom-fields.d.mts.map +1 -1
- package/resources/custom-fields.d.ts +3 -0
- package/resources/custom-fields.d.ts.map +1 -1
- package/resources/custom-fields.js +4 -1
- package/resources/custom-fields.js.map +1 -1
- package/resources/custom-fields.mjs +4 -1
- package/resources/custom-fields.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +3 -0
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +3 -0
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +3 -0
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +3 -0
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +3 -0
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +3 -0
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +3 -0
- package/resources/custom-objects/fields.js.map +1 -1
- package/resources/custom-objects/fields.mjs +3 -0
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/records.d.mts +3 -0
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +3 -0
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +3 -0
- package/resources/custom-objects/records.js.map +1 -1
- package/resources/custom-objects/records.mjs +3 -0
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/custom-pages.d.mts +177 -0
- package/resources/custom-pages.d.mts.map +1 -0
- package/resources/custom-pages.d.ts +177 -0
- package/resources/custom-pages.d.ts.map +1 -0
- package/resources/custom-pages.js +47 -0
- package/resources/custom-pages.js.map +1 -0
- package/resources/custom-pages.mjs +43 -0
- package/resources/custom-pages.mjs.map +1 -0
- 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/departments.d.mts +3 -0
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts +3 -0
- package/resources/departments.d.ts.map +1 -1
- package/resources/departments.js +7 -4
- package/resources/departments.js.map +1 -1
- package/resources/departments.mjs +7 -4
- package/resources/departments.mjs.map +1 -1
- package/resources/draft-hires.d.mts +3 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +3 -0
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/draft-hires.js +3 -0
- package/resources/draft-hires.js.map +1 -1
- package/resources/draft-hires.mjs +3 -0
- package/resources/draft-hires.mjs.map +1 -1
- package/resources/employment-types.d.mts +3 -0
- package/resources/employment-types.d.mts.map +1 -1
- package/resources/employment-types.d.ts +3 -0
- package/resources/employment-types.d.ts.map +1 -1
- package/resources/employment-types.js +5 -2
- package/resources/employment-types.js.map +1 -1
- package/resources/employment-types.mjs +5 -2
- package/resources/employment-types.mjs.map +1 -1
- package/resources/entitlements.d.mts +3 -0
- package/resources/entitlements.d.mts.map +1 -1
- package/resources/entitlements.d.ts +3 -0
- package/resources/entitlements.d.ts.map +1 -1
- package/resources/entitlements.js +4 -1
- package/resources/entitlements.js.map +1 -1
- package/resources/entitlements.mjs +4 -1
- package/resources/entitlements.mjs.map +1 -1
- package/resources/functions/deployments.d.mts +3 -0
- package/resources/functions/deployments.d.mts.map +1 -1
- package/resources/functions/deployments.d.ts +3 -0
- package/resources/functions/deployments.d.ts.map +1 -1
- package/resources/functions/deployments.js +3 -0
- package/resources/functions/deployments.js.map +1 -1
- package/resources/functions/deployments.mjs +3 -0
- package/resources/functions/deployments.mjs.map +1 -1
- package/resources/functions/executions.d.mts +3 -0
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +3 -0
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +3 -0
- package/resources/functions/executions.js.map +1 -1
- package/resources/functions/executions.mjs +3 -0
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts +15 -0
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +15 -0
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +3 -0
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +3 -0
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/headcount-positions.d.mts +3 -0
- package/resources/headcount-positions.d.mts.map +1 -1
- package/resources/headcount-positions.d.ts +3 -0
- package/resources/headcount-positions.d.ts.map +1 -1
- package/resources/headcount-positions.js +5 -2
- package/resources/headcount-positions.js.map +1 -1
- package/resources/headcount-positions.mjs +5 -2
- package/resources/headcount-positions.mjs.map +1 -1
- package/resources/headcount-priorities.d.mts +3 -0
- package/resources/headcount-priorities.d.mts.map +1 -1
- package/resources/headcount-priorities.d.ts +3 -0
- package/resources/headcount-priorities.d.ts.map +1 -1
- package/resources/headcount-priorities.js +5 -2
- package/resources/headcount-priorities.js.map +1 -1
- package/resources/headcount-priorities.mjs +5 -2
- package/resources/headcount-priorities.mjs.map +1 -1
- package/resources/index.d.mts +9 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +18 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +8 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +3 -0
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +3 -0
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-assignments.js +9 -6
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +9 -6
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.d.mts +3 -0
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +3 -0
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-codes.js +9 -6
- package/resources/job-codes.js.map +1 -1
- package/resources/job-codes.mjs +9 -6
- package/resources/job-codes.mjs.map +1 -1
- package/resources/job-dimensions.d.mts +3 -0
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts +3 -0
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-dimensions.js +8 -5
- package/resources/job-dimensions.js.map +1 -1
- package/resources/job-dimensions.mjs +8 -5
- package/resources/job-dimensions.mjs.map +1 -1
- package/resources/job-functions.d.mts +3 -0
- package/resources/job-functions.d.mts.map +1 -1
- package/resources/job-functions.d.ts +3 -0
- package/resources/job-functions.d.ts.map +1 -1
- package/resources/job-functions.js +5 -2
- package/resources/job-functions.js.map +1 -1
- package/resources/job-functions.mjs +5 -2
- package/resources/job-functions.mjs.map +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +3 -0
- package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
- package/resources/job-pay-rate-exceptions.d.ts +3 -0
- package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
- package/resources/job-pay-rate-exceptions.js +6 -3
- package/resources/job-pay-rate-exceptions.js.map +1 -1
- package/resources/job-pay-rate-exceptions.mjs +6 -3
- package/resources/job-pay-rate-exceptions.mjs.map +1 -1
- package/resources/job-requisitions-write.d.mts +3 -0
- package/resources/job-requisitions-write.d.mts.map +1 -1
- package/resources/job-requisitions-write.d.ts +3 -0
- package/resources/job-requisitions-write.d.ts.map +1 -1
- package/resources/job-requisitions-write.js +4 -1
- package/resources/job-requisitions-write.js.map +1 -1
- package/resources/job-requisitions-write.mjs +4 -1
- package/resources/job-requisitions-write.mjs.map +1 -1
- package/resources/job-requisitions.d.mts +3 -0
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts +3 -0
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/job-requisitions.js +7 -1
- package/resources/job-requisitions.js.map +1 -1
- package/resources/job-requisitions.mjs +7 -1
- package/resources/job-requisitions.mjs.map +1 -1
- package/resources/kiosk-badges.d.mts +3 -0
- package/resources/kiosk-badges.d.mts.map +1 -1
- package/resources/kiosk-badges.d.ts +3 -0
- package/resources/kiosk-badges.d.ts.map +1 -1
- package/resources/kiosk-badges.js +8 -5
- package/resources/kiosk-badges.js.map +1 -1
- package/resources/kiosk-badges.mjs +8 -5
- package/resources/kiosk-badges.mjs.map +1 -1
- package/resources/leave-accruals.d.mts +7 -4
- package/resources/leave-accruals.d.mts.map +1 -1
- package/resources/leave-accruals.d.ts +7 -4
- package/resources/leave-accruals.d.ts.map +1 -1
- package/resources/leave-accruals.js +6 -3
- package/resources/leave-accruals.js.map +1 -1
- package/resources/leave-accruals.mjs +6 -3
- package/resources/leave-accruals.mjs.map +1 -1
- package/resources/leave-balances.d.mts +3 -0
- package/resources/leave-balances.d.mts.map +1 -1
- package/resources/leave-balances.d.ts +3 -0
- package/resources/leave-balances.d.ts.map +1 -1
- package/resources/leave-balances.js +5 -2
- package/resources/leave-balances.js.map +1 -1
- package/resources/leave-balances.mjs +5 -2
- package/resources/leave-balances.mjs.map +1 -1
- package/resources/leave-requests.d.mts +3 -0
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +3 -0
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.js +7 -4
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +7 -4
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/leave-types.d.mts +3 -0
- package/resources/leave-types.d.mts.map +1 -1
- package/resources/leave-types.d.ts +3 -0
- package/resources/leave-types.d.ts.map +1 -1
- package/resources/leave-types.js +5 -2
- package/resources/leave-types.js.map +1 -1
- package/resources/leave-types.mjs +5 -2
- package/resources/leave-types.mjs.map +1 -1
- package/resources/legal-entities.d.mts +3 -0
- package/resources/legal-entities.d.mts.map +1 -1
- package/resources/legal-entities.d.ts +3 -0
- package/resources/legal-entities.d.ts.map +1 -1
- package/resources/legal-entities.js +5 -2
- package/resources/legal-entities.js.map +1 -1
- package/resources/legal-entities.mjs +5 -2
- package/resources/legal-entities.mjs.map +1 -1
- package/resources/levels.d.mts +3 -0
- package/resources/levels.d.mts.map +1 -1
- package/resources/levels.d.ts +3 -0
- package/resources/levels.d.ts.map +1 -1
- package/resources/levels.js +5 -2
- package/resources/levels.js.map +1 -1
- package/resources/levels.mjs +5 -2
- package/resources/levels.mjs.map +1 -1
- package/resources/location-factors.d.mts +3 -0
- package/resources/location-factors.d.mts.map +1 -1
- package/resources/location-factors.d.ts +3 -0
- package/resources/location-factors.d.ts.map +1 -1
- package/resources/location-factors.js +5 -2
- package/resources/location-factors.js.map +1 -1
- package/resources/location-factors.mjs +5 -2
- package/resources/location-factors.mjs.map +1 -1
- package/resources/metadata/components.d.mts +28 -0
- package/resources/metadata/components.d.mts.map +1 -0
- package/resources/metadata/components.d.ts +28 -0
- package/resources/metadata/components.d.ts.map +1 -0
- package/resources/metadata/components.js +21 -0
- package/resources/metadata/components.js.map +1 -0
- package/resources/metadata/components.mjs +17 -0
- package/resources/metadata/components.mjs.map +1 -0
- package/resources/metadata/index.d.mts +5 -0
- package/resources/metadata/index.d.mts.map +1 -0
- package/resources/metadata/index.d.ts +5 -0
- package/resources/metadata/index.d.ts.map +1 -0
- package/resources/metadata/index.js +13 -0
- package/resources/metadata/index.js.map +1 -0
- package/resources/metadata/index.mjs +6 -0
- package/resources/metadata/index.mjs.map +1 -0
- package/resources/metadata/metadata.d.mts +40 -0
- package/resources/metadata/metadata.d.mts.map +1 -0
- package/resources/metadata/metadata.d.ts +40 -0
- package/resources/metadata/metadata.d.ts.map +1 -0
- package/resources/metadata/metadata.js +37 -0
- package/resources/metadata/metadata.js.map +1 -0
- package/resources/metadata/metadata.mjs +32 -0
- package/resources/metadata/metadata.mjs.map +1 -0
- package/resources/metadata/summary.d.mts +28 -0
- package/resources/metadata/summary.d.mts.map +1 -0
- package/resources/metadata/summary.d.ts +28 -0
- package/resources/metadata/summary.d.ts.map +1 -0
- package/resources/metadata/summary.js +21 -0
- package/resources/metadata/summary.js.map +1 -0
- package/resources/metadata/summary.mjs +17 -0
- package/resources/metadata/summary.mjs.map +1 -0
- package/resources/metadata/types.d.mts +28 -0
- package/resources/metadata/types.d.mts.map +1 -0
- package/resources/metadata/types.d.ts +28 -0
- package/resources/metadata/types.d.ts.map +1 -0
- package/resources/metadata/types.js +21 -0
- package/resources/metadata/types.js.map +1 -0
- package/resources/metadata/types.mjs +17 -0
- package/resources/metadata/types.mjs.map +1 -0
- package/resources/metadata.d.mts +2 -0
- package/resources/metadata.d.mts.map +1 -0
- package/resources/metadata.d.ts +2 -0
- package/resources/metadata.d.ts.map +1 -0
- package/resources/metadata.js +6 -0
- package/resources/metadata.js.map +1 -0
- package/resources/metadata.mjs +3 -0
- package/resources/metadata.mjs.map +1 -0
- package/resources/object-categories.d.mts +3 -0
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +3 -0
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +3 -0
- package/resources/object-categories.js.map +1 -1
- package/resources/object-categories.mjs +3 -0
- package/resources/object-categories.mjs.map +1 -1
- package/resources/platform-capabilities.d.mts +25 -0
- package/resources/platform-capabilities.d.mts.map +1 -0
- package/resources/platform-capabilities.d.ts +25 -0
- package/resources/platform-capabilities.d.ts.map +1 -0
- package/resources/platform-capabilities.js +21 -0
- package/resources/platform-capabilities.js.map +1 -0
- package/resources/platform-capabilities.mjs +17 -0
- package/resources/platform-capabilities.mjs.map +1 -0
- package/resources/report-runs.d.mts +21 -12
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +21 -12
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/report-runs.js +5 -2
- package/resources/report-runs.js.map +1 -1
- package/resources/report-runs.mjs +5 -2
- package/resources/report-runs.mjs.map +1 -1
- package/resources/run-query.d.mts +39 -0
- package/resources/run-query.d.mts.map +1 -0
- package/resources/run-query.d.ts +39 -0
- package/resources/run-query.d.ts.map +1 -0
- package/resources/run-query.js +21 -0
- package/resources/run-query.js.map +1 -0
- package/resources/run-query.mjs +17 -0
- package/resources/run-query.mjs.map +1 -0
- package/resources/schedules.d.mts +3 -0
- package/resources/schedules.d.mts.map +1 -1
- package/resources/schedules.d.ts +3 -0
- package/resources/schedules.d.ts.map +1 -1
- package/resources/schedules.js +7 -4
- package/resources/schedules.js.map +1 -1
- package/resources/schedules.mjs +7 -4
- package/resources/schedules.mjs.map +1 -1
- package/resources/send-email.d.mts +33 -0
- package/resources/send-email.d.mts.map +1 -0
- package/resources/send-email.d.ts +33 -0
- package/resources/send-email.d.ts.map +1 -0
- package/resources/send-email.js +18 -0
- package/resources/send-email.js.map +1 -0
- package/resources/send-email.mjs +14 -0
- package/resources/send-email.mjs.map +1 -0
- package/resources/send-slack.d.mts +30 -0
- package/resources/send-slack.d.mts.map +1 -0
- package/resources/send-slack.d.ts +30 -0
- package/resources/send-slack.d.ts.map +1 -0
- package/resources/send-slack.js +18 -0
- package/resources/send-slack.js.map +1 -0
- package/resources/send-slack.mjs +14 -0
- package/resources/send-slack.mjs.map +1 -0
- package/resources/shift-assignments.d.mts +3 -0
- package/resources/shift-assignments.d.mts.map +1 -1
- package/resources/shift-assignments.d.ts +3 -0
- package/resources/shift-assignments.d.ts.map +1 -1
- package/resources/shift-assignments.js +4 -1
- package/resources/shift-assignments.js.map +1 -1
- package/resources/shift-assignments.mjs +4 -1
- package/resources/shift-assignments.mjs.map +1 -1
- package/resources/shift-inputs.d.mts +3 -0
- package/resources/shift-inputs.d.mts.map +1 -1
- package/resources/shift-inputs.d.ts +3 -0
- package/resources/shift-inputs.d.ts.map +1 -1
- package/resources/shift-inputs.js +8 -5
- package/resources/shift-inputs.js.map +1 -1
- package/resources/shift-inputs.mjs +8 -5
- package/resources/shift-inputs.mjs.map +1 -1
- package/resources/shiftassignments.d.mts +3 -0
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +3 -0
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/shiftassignments.js +7 -4
- package/resources/shiftassignments.js.map +1 -1
- package/resources/shiftassignments.mjs +7 -4
- package/resources/shiftassignments.mjs.map +1 -1
- package/resources/sso-me.d.mts +6 -3
- package/resources/sso-me.d.mts.map +1 -1
- package/resources/sso-me.d.ts +6 -3
- package/resources/sso-me.d.ts.map +1 -1
- package/resources/sso-me.js +5 -2
- package/resources/sso-me.js.map +1 -1
- package/resources/sso-me.mjs +5 -2
- package/resources/sso-me.mjs.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts +3 -0
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts +3 -0
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.js +5 -2
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs +5 -2
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts +3 -0
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts +3 -0
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.js +5 -2
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs +5 -2
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/members.d.mts +3 -0
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts +3 -0
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.js +4 -4
- package/resources/supergroups/members.js.map +1 -1
- package/resources/supergroups/members.mjs +4 -4
- package/resources/supergroups/members.mjs.map +1 -1
- package/resources/supergroups/supergroups.d.mts +3 -0
- package/resources/supergroups/supergroups.d.mts.map +1 -1
- package/resources/supergroups/supergroups.d.ts +3 -0
- package/resources/supergroups/supergroups.d.ts.map +1 -1
- package/resources/supergroups/supergroups.js +5 -2
- package/resources/supergroups/supergroups.js.map +1 -1
- package/resources/supergroups/supergroups.mjs +5 -2
- package/resources/supergroups/supergroups.mjs.map +1 -1
- package/resources/teams.d.mts +3 -0
- package/resources/teams.d.mts.map +1 -1
- package/resources/teams.d.ts +3 -0
- package/resources/teams.d.ts.map +1 -1
- package/resources/teams.js +5 -2
- package/resources/teams.js.map +1 -1
- package/resources/teams.mjs +5 -2
- package/resources/teams.mjs.map +1 -1
- package/resources/time-cards.d.mts +3 -0
- package/resources/time-cards.d.mts.map +1 -1
- package/resources/time-cards.d.ts +3 -0
- package/resources/time-cards.d.ts.map +1 -1
- package/resources/time-cards.js +5 -2
- package/resources/time-cards.js.map +1 -1
- package/resources/time-cards.mjs +5 -2
- package/resources/time-cards.mjs.map +1 -1
- package/resources/time-entries.d.mts +5 -1
- package/resources/time-entries.d.mts.map +1 -1
- package/resources/time-entries.d.ts +5 -1
- package/resources/time-entries.d.ts.map +1 -1
- package/resources/time-entries.js +10 -6
- package/resources/time-entries.js.map +1 -1
- package/resources/time-entries.mjs +10 -6
- package/resources/time-entries.mjs.map +1 -1
- package/resources/titles.d.mts +3 -0
- package/resources/titles.d.mts.map +1 -1
- package/resources/titles.d.ts +3 -0
- package/resources/titles.d.ts.map +1 -1
- package/resources/titles.js +8 -5
- package/resources/titles.js.map +1 -1
- package/resources/titles.mjs +8 -5
- package/resources/titles.mjs.map +1 -1
- package/resources/tracks.d.mts +3 -0
- package/resources/tracks.d.mts.map +1 -1
- package/resources/tracks.d.ts +3 -0
- package/resources/tracks.d.ts.map +1 -1
- package/resources/tracks.js +5 -2
- package/resources/tracks.js.map +1 -1
- package/resources/tracks.mjs +5 -2
- package/resources/tracks.mjs.map +1 -1
- package/resources/unassigned-shifts.d.mts +3 -0
- package/resources/unassigned-shifts.d.mts.map +1 -1
- package/resources/unassigned-shifts.d.ts +3 -0
- package/resources/unassigned-shifts.d.ts.map +1 -1
- package/resources/unassigned-shifts.js +5 -2
- package/resources/unassigned-shifts.js.map +1 -1
- package/resources/unassigned-shifts.mjs +5 -2
- package/resources/unassigned-shifts.mjs.map +1 -1
- package/resources/unassignedshifts.d.mts +3 -0
- package/resources/unassignedshifts.d.mts.map +1 -1
- package/resources/unassignedshifts.d.ts +3 -0
- package/resources/unassignedshifts.d.ts.map +1 -1
- package/resources/unassignedshifts.js +7 -4
- package/resources/unassignedshifts.js.map +1 -1
- package/resources/unassignedshifts.mjs +7 -4
- package/resources/unassignedshifts.mjs.map +1 -1
- package/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +5 -2
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +5 -2
- package/resources/users.mjs.map +1 -1
- package/resources/work-locations.d.mts +7 -0
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts +7 -0
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/work-locations.js +17 -4
- package/resources/work-locations.js.map +1 -1
- package/resources/work-locations.mjs +17 -4
- package/resources/work-locations.mjs.map +1 -1
- package/resources/workers.d.mts +11 -4
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +11 -4
- package/resources/workers.d.ts.map +1 -1
- package/resources/workers.js +5 -2
- package/resources/workers.js.map +1 -1
- package/resources/workers.mjs +5 -2
- package/resources/workers.mjs.map +1 -1
- package/src/client.ts +315 -33
- package/src/internal/parse.ts +6 -0
- package/src/internal/utils/query.ts +23 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/business-partner-groups.ts +7 -4
- package/src/resources/business-partners.ts +7 -4
- package/src/resources/candidate-applications.ts +4 -1
- package/src/resources/candidates.ts +4 -1
- package/src/resources/companies.ts +4 -1
- package/src/resources/compensation-bands-details.ts +5 -2
- package/src/resources/compensations.ts +5 -2
- package/src/resources/create-app-notification.ts +46 -0
- package/src/resources/custom-apps.ts +442 -0
- package/src/resources/custom-fields.ts +4 -1
- package/src/resources/custom-objects/custom-objects.ts +3 -0
- package/src/resources/custom-objects/fields.ts +3 -0
- package/src/resources/custom-objects/records.ts +3 -0
- package/src/resources/custom-pages.ts +247 -0
- package/src/resources/custom-settings.ts +5 -5
- package/src/resources/departments.ts +7 -4
- package/src/resources/draft-hires.ts +3 -0
- package/src/resources/employment-types.ts +5 -2
- package/src/resources/entitlements.ts +4 -1
- package/src/resources/functions/deployments.ts +3 -0
- package/src/resources/functions/executions.ts +3 -0
- package/src/resources/functions/functions.ts +18 -0
- package/src/resources/headcount-positions.ts +5 -2
- package/src/resources/headcount-priorities.ts +5 -2
- package/src/resources/index.ts +39 -1
- package/src/resources/job-assignments.ts +9 -6
- package/src/resources/job-codes.ts +9 -6
- package/src/resources/job-dimensions.ts +8 -5
- package/src/resources/job-functions.ts +5 -2
- package/src/resources/job-pay-rate-exceptions.ts +6 -3
- package/src/resources/job-requisitions-write.ts +4 -1
- package/src/resources/job-requisitions.ts +7 -1
- package/src/resources/kiosk-badges.ts +8 -5
- package/src/resources/leave-accruals.ts +14 -7
- package/src/resources/leave-balances.ts +5 -2
- package/src/resources/leave-requests.ts +7 -4
- package/src/resources/leave-types.ts +5 -2
- package/src/resources/legal-entities.ts +5 -2
- package/src/resources/levels.ts +5 -2
- package/src/resources/location-factors.ts +5 -2
- package/src/resources/metadata/components.ts +38 -0
- package/src/resources/metadata/index.ts +10 -0
- package/src/resources/metadata/metadata.ts +70 -0
- package/src/resources/metadata/summary.ts +38 -0
- package/src/resources/metadata/types.ts +38 -0
- package/src/resources/metadata.ts +3 -0
- package/src/resources/object-categories.ts +3 -0
- package/src/resources/platform-capabilities.ts +41 -0
- package/src/resources/report-runs.ts +24 -14
- package/src/resources/run-query.ts +51 -0
- package/src/resources/schedules.ts +7 -4
- package/src/resources/send-email.ts +48 -0
- package/src/resources/send-slack.ts +42 -0
- package/src/resources/shift-assignments.ts +4 -1
- package/src/resources/shift-inputs.ts +8 -5
- package/src/resources/shiftassignments.ts +7 -4
- package/src/resources/sso-me.ts +7 -4
- package/src/resources/supergroups/exclusion-members.ts +5 -2
- package/src/resources/supergroups/inclusion-members.ts +5 -2
- package/src/resources/supergroups/members.ts +8 -4
- package/src/resources/supergroups/supergroups.ts +5 -2
- package/src/resources/teams.ts +5 -2
- package/src/resources/time-cards.ts +5 -2
- package/src/resources/time-entries.ts +10 -6
- package/src/resources/titles.ts +8 -5
- package/src/resources/tracks.ts +5 -2
- package/src/resources/unassigned-shifts.ts +5 -2
- package/src/resources/unassignedshifts.ts +7 -4
- package/src/resources/users.ts +5 -2
- package/src/resources/work-locations.ts +18 -4
- package/src/resources/workers.ts +13 -5
- 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
|
@@ -10,6 +10,9 @@ import { buildHeaders } from '../internal/headers';
|
|
|
10
10
|
import { RequestOptions } from '../internal/request-options';
|
|
11
11
|
import { path } from '../internal/utils/path';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Business partners of the company
|
|
15
|
+
*/
|
|
13
16
|
export class BusinessPartners extends APIResource {
|
|
14
17
|
/**
|
|
15
18
|
* A List of business partners
|
|
@@ -23,7 +26,7 @@ export class BusinessPartners extends APIResource {
|
|
|
23
26
|
query: BusinessPartnerListParams | null | undefined = {},
|
|
24
27
|
options?: RequestOptions,
|
|
25
28
|
): PagePromise<BusinessPartnersPageCursorURL, BusinessPartner> {
|
|
26
|
-
return this._client.getAPIList('/business-partners', PageCursorURL<BusinessPartner>, {
|
|
29
|
+
return this._client.getAPIList('/business-partners/', PageCursorURL<BusinessPartner>, {
|
|
27
30
|
query,
|
|
28
31
|
...options,
|
|
29
32
|
});
|
|
@@ -33,7 +36,7 @@ export class BusinessPartners extends APIResource {
|
|
|
33
36
|
* Create a new business partner
|
|
34
37
|
*/
|
|
35
38
|
create(body: BusinessPartnerCreateParams, options?: RequestOptions): APIPromise<BusinessPartner> {
|
|
36
|
-
return this._client.post('/business-partners', { body, ...options });
|
|
39
|
+
return this._client.post('/business-partners/', { body, ...options });
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
/**
|
|
@@ -44,14 +47,14 @@ export class BusinessPartners extends APIResource {
|
|
|
44
47
|
query: BusinessPartnerRetrieveParams | null | undefined = {},
|
|
45
48
|
options?: RequestOptions,
|
|
46
49
|
): APIPromise<BusinessPartnerRetrieveResponse> {
|
|
47
|
-
return this._client.get(path`/business-partners/${id}
|
|
50
|
+
return this._client.get(path`/business-partners/${id}/`, { query, ...options });
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
/**
|
|
51
54
|
* Delete a business partner
|
|
52
55
|
*/
|
|
53
56
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
54
|
-
return this._client.delete(path`/business-partners/${id}
|
|
57
|
+
return this._client.delete(path`/business-partners/${id}/`, {
|
|
55
58
|
...options,
|
|
56
59
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
57
60
|
});
|
|
@@ -5,6 +5,9 @@ import * as JobRequisitionsAPI from './job-requisitions';
|
|
|
5
5
|
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* An application by a candidate to a specific job requisition
|
|
10
|
+
*/
|
|
8
11
|
export class CandidateApplications extends APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* A List of candidate applications
|
|
@@ -18,7 +21,7 @@ export class CandidateApplications extends APIResource {
|
|
|
18
21
|
options?: RequestOptions,
|
|
19
22
|
): PagePromise<CandidateApplicationListResponsesPageCursorURL, CandidateApplicationListResponse> {
|
|
20
23
|
return this._client.getAPIList(
|
|
21
|
-
'/candidate-applications',
|
|
24
|
+
'/candidate-applications/',
|
|
22
25
|
PageCursorURL<CandidateApplicationListResponse>,
|
|
23
26
|
{ query, ...options },
|
|
24
27
|
);
|
|
@@ -4,6 +4,9 @@ import { APIResource } from '../core/resource';
|
|
|
4
4
|
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
5
5
|
import { RequestOptions } from '../internal/request-options';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Someone who applies to a job requisition opened by the company
|
|
9
|
+
*/
|
|
7
10
|
export class Candidates extends APIResource {
|
|
8
11
|
/**
|
|
9
12
|
* A List of candidates
|
|
@@ -15,7 +18,7 @@ export class Candidates extends APIResource {
|
|
|
15
18
|
query: CandidateListParams | null | undefined = {},
|
|
16
19
|
options?: RequestOptions,
|
|
17
20
|
): PagePromise<CandidateListResponsesPageCursorURL, CandidateListResponse> {
|
|
18
|
-
return this._client.getAPIList('/candidates', PageCursorURL<CandidateListResponse>, {
|
|
21
|
+
return this._client.getAPIList('/candidates/', PageCursorURL<CandidateListResponse>, {
|
|
19
22
|
query,
|
|
20
23
|
...options,
|
|
21
24
|
});
|
|
@@ -6,6 +6,9 @@ import * as Shared from './shared';
|
|
|
6
6
|
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Companies on Rippling
|
|
11
|
+
*/
|
|
9
12
|
export class Companies extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* A List of companies
|
|
@@ -18,7 +21,7 @@ export class Companies extends APIResource {
|
|
|
18
21
|
query: CompanyListParams | null | undefined = {},
|
|
19
22
|
options?: RequestOptions,
|
|
20
23
|
): PagePromise<CompaniesPageCursorURL, Company> {
|
|
21
|
-
return this._client.getAPIList('/companies', PageCursorURL<Company>, { query, ...options });
|
|
24
|
+
return this._client.getAPIList('/companies/', PageCursorURL<Company>, { query, ...options });
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
|
|
@@ -8,6 +8,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
8
8
|
import { RequestOptions } from '../internal/request-options';
|
|
9
9
|
import { path } from '../internal/utils/path';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Compensation bands details associated with workers
|
|
13
|
+
*/
|
|
11
14
|
export class CompensationBandsDetails extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of compensation bands details
|
|
@@ -23,7 +26,7 @@ export class CompensationBandsDetails extends APIResource {
|
|
|
23
26
|
options?: RequestOptions,
|
|
24
27
|
): PagePromise<CompensationBandsDetailListResponsesPageCursorURL, CompensationBandsDetailListResponse> {
|
|
25
28
|
return this._client.getAPIList(
|
|
26
|
-
'/compensation-bands-details',
|
|
29
|
+
'/compensation-bands-details/',
|
|
27
30
|
PageCursorURL<CompensationBandsDetailListResponse>,
|
|
28
31
|
{ query, ...options },
|
|
29
32
|
);
|
|
@@ -37,7 +40,7 @@ export class CompensationBandsDetails extends APIResource {
|
|
|
37
40
|
query: CompensationBandsDetailRetrieveParams | null | undefined = {},
|
|
38
41
|
options?: RequestOptions,
|
|
39
42
|
): APIPromise<CompensationBandsDetailRetrieveResponse> {
|
|
40
|
-
return this._client.get(path`/compensation-bands-details/${id}
|
|
43
|
+
return this._client.get(path`/compensation-bands-details/${id}/`, { query, ...options });
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
|
|
@@ -8,6 +8,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
8
8
|
import { RequestOptions } from '../internal/request-options';
|
|
9
9
|
import { path } from '../internal/utils/path';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Compensation associated with workers
|
|
13
|
+
*/
|
|
11
14
|
export class Compensations extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of compensations
|
|
@@ -20,7 +23,7 @@ export class Compensations extends APIResource {
|
|
|
20
23
|
query: CompensationListParams | null | undefined = {},
|
|
21
24
|
options?: RequestOptions,
|
|
22
25
|
): PagePromise<CompensationsPageCursorURL, Compensation> {
|
|
23
|
-
return this._client.getAPIList('/compensations', PageCursorURL<Compensation>, { query, ...options });
|
|
26
|
+
return this._client.getAPIList('/compensations/', PageCursorURL<Compensation>, { query, ...options });
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
/**
|
|
@@ -31,7 +34,7 @@ export class Compensations extends APIResource {
|
|
|
31
34
|
query: CompensationRetrieveParams | null | undefined = {},
|
|
32
35
|
options?: RequestOptions,
|
|
33
36
|
): APIPromise<CompensationRetrieveResponse> {
|
|
34
|
-
return this._client.get(path`/compensations/${id}
|
|
37
|
+
return this._client.get(path`/compensations/${id}/`, { query, ...options });
|
|
35
38
|
}
|
|
36
39
|
}
|
|
37
40
|
|
|
@@ -0,0 +1,46 @@
|
|
|
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 CreateAppNotification extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Create an in-app notification for the specified recipients.
|
|
13
|
+
*/
|
|
14
|
+
create(
|
|
15
|
+
body: CreateAppNotificationCreateParams,
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): APIPromise<CreateAppNotificationCreateResponse> {
|
|
18
|
+
return this._client.post('/create-app-notification/', { body, ...options });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface CreateAppNotificationCreateResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Result of the create app notification action
|
|
25
|
+
*/
|
|
26
|
+
result: unknown;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface CreateAppNotificationCreateParams {
|
|
30
|
+
description: string;
|
|
31
|
+
|
|
32
|
+
recipients: Array<string>;
|
|
33
|
+
|
|
34
|
+
subject: string;
|
|
35
|
+
|
|
36
|
+
days_from_now?: number | null;
|
|
37
|
+
|
|
38
|
+
due_date?: string | null;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export declare namespace CreateAppNotification {
|
|
42
|
+
export {
|
|
43
|
+
type CreateAppNotificationCreateResponse as CreateAppNotificationCreateResponse,
|
|
44
|
+
type CreateAppNotificationCreateParams as CreateAppNotificationCreateParams,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as BusinessPartnersAPI from './business-partners';
|
|
5
|
+
import { APIPromise } from '../core/api-promise';
|
|
6
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
7
|
+
import { buildHeaders } from '../internal/headers';
|
|
8
|
+
import { RequestOptions } from '../internal/request-options';
|
|
9
|
+
import { path } from '../internal/utils/path';
|
|
10
|
+
|
|
11
|
+
export class CustomApps extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* A List of CustomApp
|
|
14
|
+
*
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
|
+
*/
|
|
17
|
+
list(options?: RequestOptions): PagePromise<CustomAppListResponsesPageCursorURL, CustomAppListResponse> {
|
|
18
|
+
return this._client.getAPIList('/custom-apps/', PageCursorURL<CustomAppListResponse>, options);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Create a new CustomApp
|
|
23
|
+
*/
|
|
24
|
+
create(body: CustomAppCreateParams, options?: RequestOptions): APIPromise<CustomAppCreateResponse> {
|
|
25
|
+
return this._client.post('/custom-apps/', { body, ...options });
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve a specific CustomApp
|
|
30
|
+
*/
|
|
31
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<CustomAppRetrieveResponse> {
|
|
32
|
+
return this._client.get(path`/custom-apps/${id}/`, options);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Updated a specific CustomApp
|
|
37
|
+
*/
|
|
38
|
+
update(
|
|
39
|
+
id: string,
|
|
40
|
+
body: CustomAppUpdateParams,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): APIPromise<CustomAppUpdateResponse> {
|
|
43
|
+
return this._client.patch(path`/custom-apps/${id}/`, { body, ...options });
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Delete a CustomApp
|
|
48
|
+
*/
|
|
49
|
+
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
50
|
+
return this._client.delete(path`/custom-apps/${id}/`, {
|
|
51
|
+
...options,
|
|
52
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type CustomAppListResponsesPageCursorURL = PageCursorURL<CustomAppListResponse>;
|
|
58
|
+
|
|
59
|
+
export interface CustomAppListResponse {
|
|
60
|
+
/**
|
|
61
|
+
* The unique api name of the custom app
|
|
62
|
+
*/
|
|
63
|
+
api_name: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The display name of the custom app
|
|
67
|
+
*/
|
|
68
|
+
name: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Identifier field
|
|
72
|
+
*/
|
|
73
|
+
id?: string;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Record creation date
|
|
77
|
+
*/
|
|
78
|
+
created_at?: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* The description of the custom app
|
|
82
|
+
*/
|
|
83
|
+
description?: string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The icon URL of the custom app
|
|
87
|
+
*/
|
|
88
|
+
icon?: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* The pages of the custom app
|
|
92
|
+
*/
|
|
93
|
+
pages?: Array<CustomAppListResponse.Page>;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Record update date
|
|
97
|
+
*/
|
|
98
|
+
updated_at?: string;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export namespace CustomAppListResponse {
|
|
102
|
+
/**
|
|
103
|
+
* Summary of a page attached to a custom app.
|
|
104
|
+
*/
|
|
105
|
+
export interface Page {
|
|
106
|
+
/**
|
|
107
|
+
* The unique name of the page within the app
|
|
108
|
+
*/
|
|
109
|
+
api_name?: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
113
|
+
*/
|
|
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;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface CustomAppCreateResponse {
|
|
144
|
+
/**
|
|
145
|
+
* The unique api name of the custom app
|
|
146
|
+
*/
|
|
147
|
+
api_name: string;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* The display name of the custom app
|
|
151
|
+
*/
|
|
152
|
+
name: string;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Identifier field
|
|
156
|
+
*/
|
|
157
|
+
id?: string;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Record creation date
|
|
161
|
+
*/
|
|
162
|
+
created_at?: string;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* The description of the custom app
|
|
166
|
+
*/
|
|
167
|
+
description?: string;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* The icon URL of the custom app
|
|
171
|
+
*/
|
|
172
|
+
icon?: string;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* The pages of the custom app
|
|
176
|
+
*/
|
|
177
|
+
pages?: Array<CustomAppCreateResponse.Page>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Record update date
|
|
181
|
+
*/
|
|
182
|
+
updated_at?: string;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export namespace CustomAppCreateResponse {
|
|
186
|
+
/**
|
|
187
|
+
* Summary of a page attached to a custom app.
|
|
188
|
+
*/
|
|
189
|
+
export interface Page {
|
|
190
|
+
/**
|
|
191
|
+
* The unique name of the page within the app
|
|
192
|
+
*/
|
|
193
|
+
api_name?: string;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
197
|
+
*/
|
|
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;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Meta information for the response.
|
|
229
|
+
*/
|
|
230
|
+
export interface CustomAppRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
231
|
+
/**
|
|
232
|
+
* The unique api name of the custom app
|
|
233
|
+
*/
|
|
234
|
+
api_name: string;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* The display name of the custom app
|
|
238
|
+
*/
|
|
239
|
+
name: string;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Identifier field
|
|
243
|
+
*/
|
|
244
|
+
id?: string;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Record creation date
|
|
248
|
+
*/
|
|
249
|
+
created_at?: string;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* The description of the custom app
|
|
253
|
+
*/
|
|
254
|
+
description?: string;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* The icon URL of the custom app
|
|
258
|
+
*/
|
|
259
|
+
icon?: string;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* The pages of the custom app
|
|
263
|
+
*/
|
|
264
|
+
pages?: Array<CustomAppRetrieveResponse.Page>;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Record update date
|
|
268
|
+
*/
|
|
269
|
+
updated_at?: string;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export namespace CustomAppRetrieveResponse {
|
|
273
|
+
/**
|
|
274
|
+
* Summary of a page attached to a custom app.
|
|
275
|
+
*/
|
|
276
|
+
export interface Page {
|
|
277
|
+
/**
|
|
278
|
+
* The unique name of the page within the app
|
|
279
|
+
*/
|
|
280
|
+
api_name?: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
284
|
+
*/
|
|
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;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface CustomAppUpdateResponse {
|
|
315
|
+
/**
|
|
316
|
+
* The unique api name of the custom app
|
|
317
|
+
*/
|
|
318
|
+
api_name: string;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* The display name of the custom app
|
|
322
|
+
*/
|
|
323
|
+
name: string;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Identifier field
|
|
327
|
+
*/
|
|
328
|
+
id?: string;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Record creation date
|
|
332
|
+
*/
|
|
333
|
+
created_at?: string;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* The description of the custom app
|
|
337
|
+
*/
|
|
338
|
+
description?: string;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* The icon URL of the custom app
|
|
342
|
+
*/
|
|
343
|
+
icon?: string;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* The pages of the custom app
|
|
347
|
+
*/
|
|
348
|
+
pages?: Array<CustomAppUpdateResponse.Page>;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Record update date
|
|
352
|
+
*/
|
|
353
|
+
updated_at?: string;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export namespace CustomAppUpdateResponse {
|
|
357
|
+
/**
|
|
358
|
+
* Summary of a page attached to a custom app.
|
|
359
|
+
*/
|
|
360
|
+
export interface Page {
|
|
361
|
+
/**
|
|
362
|
+
* The unique name of the page within the app
|
|
363
|
+
*/
|
|
364
|
+
api_name?: string;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
368
|
+
*/
|
|
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;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export interface CustomAppCreateParams {
|
|
399
|
+
/**
|
|
400
|
+
* The unique api name of the custom app
|
|
401
|
+
*/
|
|
402
|
+
api_name: string;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* The display name of the custom app
|
|
406
|
+
*/
|
|
407
|
+
name: string;
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* The description of the custom app
|
|
411
|
+
*/
|
|
412
|
+
description?: string;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export interface CustomAppUpdateParams {
|
|
416
|
+
/**
|
|
417
|
+
* The unique api name of the custom app
|
|
418
|
+
*/
|
|
419
|
+
api_name: string;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* The display name of the custom app
|
|
423
|
+
*/
|
|
424
|
+
name: string;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* The description of the custom app
|
|
428
|
+
*/
|
|
429
|
+
description?: string;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export declare namespace CustomApps {
|
|
433
|
+
export {
|
|
434
|
+
type CustomAppListResponse as CustomAppListResponse,
|
|
435
|
+
type CustomAppCreateResponse as CustomAppCreateResponse,
|
|
436
|
+
type CustomAppRetrieveResponse as CustomAppRetrieveResponse,
|
|
437
|
+
type CustomAppUpdateResponse as CustomAppUpdateResponse,
|
|
438
|
+
type CustomAppListResponsesPageCursorURL as CustomAppListResponsesPageCursorURL,
|
|
439
|
+
type CustomAppCreateParams as CustomAppCreateParams,
|
|
440
|
+
type CustomAppUpdateParams as CustomAppUpdateParams,
|
|
441
|
+
};
|
|
442
|
+
}
|
|
@@ -4,6 +4,9 @@ import { APIResource } from '../core/resource';
|
|
|
4
4
|
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
5
5
|
import { RequestOptions } from '../internal/request-options';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Custom fields defined by the company
|
|
9
|
+
*/
|
|
7
10
|
export class CustomFields extends APIResource {
|
|
8
11
|
/**
|
|
9
12
|
* A List of custom fields
|
|
@@ -15,7 +18,7 @@ export class CustomFields extends APIResource {
|
|
|
15
18
|
query: CustomFieldListParams | null | undefined = {},
|
|
16
19
|
options?: RequestOptions,
|
|
17
20
|
): PagePromise<CustomFieldListResponsesPageCursorURL, CustomFieldListResponse> {
|
|
18
|
-
return this._client.getAPIList('/custom-fields', PageCursorURL<CustomFieldListResponse>, {
|
|
21
|
+
return this._client.getAPIList('/custom-fields/', PageCursorURL<CustomFieldListResponse>, {
|
|
19
22
|
query,
|
|
20
23
|
...options,
|
|
21
24
|
});
|
|
@@ -32,6 +32,9 @@ import { buildHeaders } from '../../internal/headers';
|
|
|
32
32
|
import { RequestOptions } from '../../internal/request-options';
|
|
33
33
|
import { path } from '../../internal/utils/path';
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Custom objects defined by the company
|
|
37
|
+
*/
|
|
35
38
|
export class CustomObjects extends APIResource {
|
|
36
39
|
fields: FieldsAPI.Fields = new FieldsAPI.Fields(this._client);
|
|
37
40
|
records: RecordsAPI.Records = new RecordsAPI.Records(this._client);
|
|
@@ -7,6 +7,9 @@ import { buildHeaders } from '../../internal/headers';
|
|
|
7
7
|
import { RequestOptions } from '../../internal/request-options';
|
|
8
8
|
import { path } from '../../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Custom object fields defined by the company
|
|
12
|
+
*/
|
|
10
13
|
export class Fields extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of custom object fields
|
|
@@ -7,6 +7,9 @@ import { buildHeaders } from '../../internal/headers';
|
|
|
7
7
|
import { RequestOptions } from '../../internal/request-options';
|
|
8
8
|
import { path } from '../../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Custom object datarows defined by the company
|
|
12
|
+
*/
|
|
10
13
|
export class Records extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of custom object records
|