@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
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
* Custom objects defined by the company
|
|
9
|
+
*/
|
|
10
|
+
export class Summary extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A List of metadata summary
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
|
+
*/
|
|
16
|
+
list(options?: RequestOptions): PagePromise<SummaryListResponsesPageCursorURL, SummaryListResponse> {
|
|
17
|
+
return this._client.getAPIList('/metadata/summary/', PageCursorURL<SummaryListResponse>, options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type SummaryListResponsesPageCursorURL = PageCursorURL<SummaryListResponse>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Base DTO model shared across metadata endpoints.
|
|
25
|
+
*/
|
|
26
|
+
export interface SummaryListResponse {
|
|
27
|
+
/**
|
|
28
|
+
* Status of the operation
|
|
29
|
+
*/
|
|
30
|
+
status?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export declare namespace Summary {
|
|
34
|
+
export {
|
|
35
|
+
type SummaryListResponse as SummaryListResponse,
|
|
36
|
+
type SummaryListResponsesPageCursorURL as SummaryListResponsesPageCursorURL,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
* Custom objects defined by the company
|
|
9
|
+
*/
|
|
10
|
+
export class Types extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A List of metadata types
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
|
+
*/
|
|
16
|
+
list(options?: RequestOptions): PagePromise<TypeListResponsesPageCursorURL, TypeListResponse> {
|
|
17
|
+
return this._client.getAPIList('/metadata/types/', PageCursorURL<TypeListResponse>, options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type TypeListResponsesPageCursorURL = PageCursorURL<TypeListResponse>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Base DTO model shared across metadata endpoints.
|
|
25
|
+
*/
|
|
26
|
+
export interface TypeListResponse {
|
|
27
|
+
/**
|
|
28
|
+
* Status of the operation
|
|
29
|
+
*/
|
|
30
|
+
status?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export declare namespace Types {
|
|
34
|
+
export {
|
|
35
|
+
type TypeListResponse as TypeListResponse,
|
|
36
|
+
type TypeListResponsesPageCursorURL as TypeListResponsesPageCursorURL,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -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
|
+
* Object Categories defined by the company
|
|
12
|
+
*/
|
|
10
13
|
export class ObjectCategories extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of object categories
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
* Custom objects defined by the company
|
|
9
|
+
*/
|
|
10
|
+
export class PlatformCapabilities extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A List of platform capabilities
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
|
+
*/
|
|
16
|
+
list(
|
|
17
|
+
options?: RequestOptions,
|
|
18
|
+
): PagePromise<PlatformCapabilityListResponsesPageCursorURL, PlatformCapabilityListResponse> {
|
|
19
|
+
return this._client.getAPIList(
|
|
20
|
+
'/platform-capabilities/',
|
|
21
|
+
PageCursorURL<PlatformCapabilityListResponse>,
|
|
22
|
+
options,
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type PlatformCapabilityListResponsesPageCursorURL = PageCursorURL<PlatformCapabilityListResponse>;
|
|
28
|
+
|
|
29
|
+
export interface PlatformCapabilityListResponse {
|
|
30
|
+
/**
|
|
31
|
+
* Schema version
|
|
32
|
+
*/
|
|
33
|
+
version: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export declare namespace PlatformCapabilities {
|
|
37
|
+
export {
|
|
38
|
+
type PlatformCapabilityListResponse as PlatformCapabilityListResponse,
|
|
39
|
+
type PlatformCapabilityListResponsesPageCursorURL as PlatformCapabilityListResponsesPageCursorURL,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -6,19 +6,22 @@ import { APIPromise } from '../core/api-promise';
|
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
import { path } from '../internal/utils/path';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Report data for company
|
|
11
|
+
*/
|
|
9
12
|
export class ReportRuns extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* Trigger a new report run
|
|
12
15
|
*/
|
|
13
16
|
create(body: ReportRunCreateParams, options?: RequestOptions): APIPromise<ReportRunCreateResponse> {
|
|
14
|
-
return this._client.post('/report-runs', { body, ...options });
|
|
17
|
+
return this._client.post('/report-runs/', { body, ...options });
|
|
15
18
|
}
|
|
16
19
|
|
|
17
20
|
/**
|
|
18
21
|
* Retrieve the status and data for a specific report run
|
|
19
22
|
*/
|
|
20
23
|
retrieve(runID: string, options?: RequestOptions): APIPromise<ReportRunRetrieveResponse> {
|
|
21
|
-
return this._client.get(path`/report-runs/${runID}
|
|
24
|
+
return this._client.get(path`/report-runs/${runID}/`, options);
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
|
|
@@ -115,34 +118,41 @@ export namespace ReportRunRetrieveResponse {
|
|
|
115
118
|
|
|
116
119
|
export interface ReportRunCreateParams {
|
|
117
120
|
/**
|
|
118
|
-
*
|
|
121
|
+
* The ID of the report to run
|
|
119
122
|
*/
|
|
120
|
-
|
|
123
|
+
report_id: string;
|
|
121
124
|
|
|
122
125
|
/**
|
|
123
|
-
*
|
|
126
|
+
* Formatting options for currency fields
|
|
124
127
|
*/
|
|
125
|
-
|
|
128
|
+
format_currency_fields?: ReportRunCreateParams.FormatCurrencyFields | null;
|
|
126
129
|
|
|
127
130
|
/**
|
|
128
|
-
*
|
|
131
|
+
* Formatting options for date fields
|
|
129
132
|
*/
|
|
130
|
-
|
|
133
|
+
format_date_fields?: ReportRunCreateParams.FormatDateFields | null;
|
|
131
134
|
|
|
132
135
|
/**
|
|
133
|
-
*
|
|
136
|
+
* Whether to include object IDs in the report output
|
|
134
137
|
*/
|
|
135
|
-
|
|
138
|
+
include_object_ids?: boolean;
|
|
136
139
|
|
|
137
140
|
/**
|
|
138
|
-
*
|
|
141
|
+
* Whether to include total row count in the report output
|
|
139
142
|
*/
|
|
140
|
-
|
|
143
|
+
include_total_rows?: boolean;
|
|
141
144
|
|
|
142
145
|
/**
|
|
143
|
-
*
|
|
146
|
+
* Output format for the report data
|
|
144
147
|
*/
|
|
145
|
-
|
|
148
|
+
output_type?: 'JSON' | 'CSV';
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Controls whose permissions are used when running the report. VIEWER (default)
|
|
152
|
+
* uses the API token owner's own permissions. OWNER uses the report owner's
|
|
153
|
+
* permissions (requires owner-level access to the report).
|
|
154
|
+
*/
|
|
155
|
+
view_as?: 'VIEWER' | 'OWNER';
|
|
146
156
|
}
|
|
147
157
|
|
|
148
158
|
export namespace ReportRunCreateParams {
|
|
@@ -0,0 +1,51 @@
|
|
|
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 SQL queries and manage transformations
|
|
9
|
+
*/
|
|
10
|
+
export class RunQuery extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Execute a SQL query (Trino dialect) against Data Cloud transformations. Returns
|
|
13
|
+
* result rows as dictionaries and column metadata (api_name, display_name,
|
|
14
|
+
* data_type). Permission checks and blocked source validation are enforced
|
|
15
|
+
* server-side.
|
|
16
|
+
*/
|
|
17
|
+
create(body: RunQueryCreateParams, options?: RequestOptions): APIPromise<RunQueryCreateResponse> {
|
|
18
|
+
return this._client.post('/run-query/', { body, ...options });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface RunQueryCreateResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Query result rows, each row is a dictionary of column name to value
|
|
25
|
+
*/
|
|
26
|
+
data: unknown;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Column metadata including api_name, display_name, and data_type
|
|
30
|
+
*/
|
|
31
|
+
derived_columns: unknown;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface RunQueryCreateParams {
|
|
35
|
+
/**
|
|
36
|
+
* SQL query to execute in Trino dialect.
|
|
37
|
+
*/
|
|
38
|
+
query: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Optional product name for request attribution and tracking
|
|
42
|
+
*/
|
|
43
|
+
product_name?: string | null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export declare namespace RunQuery {
|
|
47
|
+
export {
|
|
48
|
+
type RunQueryCreateResponse as RunQueryCreateResponse,
|
|
49
|
+
type RunQueryCreateParams as RunQueryCreateParams,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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
|
+
* Schedules used by the company
|
|
13
|
+
*/
|
|
11
14
|
export class Schedules extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of schedules
|
|
@@ -20,7 +23,7 @@ export class Schedules extends APIResource {
|
|
|
20
23
|
query: ScheduleListParams | null | undefined = {},
|
|
21
24
|
options?: RequestOptions,
|
|
22
25
|
): PagePromise<ScheduleListResponsesPageCursorURL, ScheduleListResponse> {
|
|
23
|
-
return this._client.getAPIList('/schedules', PageCursorURL<ScheduleListResponse>, { query, ...options });
|
|
26
|
+
return this._client.getAPIList('/schedules/', PageCursorURL<ScheduleListResponse>, { query, ...options });
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
/**
|
|
@@ -30,7 +33,7 @@ export class Schedules extends APIResource {
|
|
|
30
33
|
body: ScheduleCreateParams | null | undefined = {},
|
|
31
34
|
options?: RequestOptions,
|
|
32
35
|
): APIPromise<ScheduleCreateResponse> {
|
|
33
|
-
return this._client.post('/schedules', { body, ...options });
|
|
36
|
+
return this._client.post('/schedules/', { body, ...options });
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
/**
|
|
@@ -41,7 +44,7 @@ export class Schedules extends APIResource {
|
|
|
41
44
|
query: ScheduleRetrieveParams | null | undefined = {},
|
|
42
45
|
options?: RequestOptions,
|
|
43
46
|
): APIPromise<ScheduleRetrieveResponse> {
|
|
44
|
-
return this._client.get(path`/schedules/${id}
|
|
47
|
+
return this._client.get(path`/schedules/${id}/`, { query, ...options });
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
/**
|
|
@@ -52,7 +55,7 @@ export class Schedules extends APIResource {
|
|
|
52
55
|
body: ScheduleUpdateParams | null | undefined = {},
|
|
53
56
|
options?: RequestOptions,
|
|
54
57
|
): APIPromise<ScheduleUpdateResponse> {
|
|
55
|
-
return this._client.patch(path`/schedules/${id}
|
|
58
|
+
return this._client.patch(path`/schedules/${id}/`, { body, ...options });
|
|
56
59
|
}
|
|
57
60
|
}
|
|
58
61
|
|
|
@@ -0,0 +1,48 @@
|
|
|
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 SendEmail extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Send an email to the specified recipients with the given subject and body.
|
|
13
|
+
*/
|
|
14
|
+
create(body: SendEmailCreateParams, options?: RequestOptions): APIPromise<SendEmailCreateResponse> {
|
|
15
|
+
return this._client.post('/send-email/', { body, ...options });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface SendEmailCreateResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Result of the send email action
|
|
22
|
+
*/
|
|
23
|
+
result: unknown;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface SendEmailCreateParams {
|
|
27
|
+
/**
|
|
28
|
+
* An enumeration.
|
|
29
|
+
*/
|
|
30
|
+
action_type: 'INDIVIDUAL_EMAILS' | 'GROUP_EMAIL';
|
|
31
|
+
|
|
32
|
+
body: string;
|
|
33
|
+
|
|
34
|
+
recipients: Array<string>;
|
|
35
|
+
|
|
36
|
+
subject: string;
|
|
37
|
+
|
|
38
|
+
bcc?: Array<string> | null;
|
|
39
|
+
|
|
40
|
+
cc?: Array<string> | null;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export declare namespace SendEmail {
|
|
44
|
+
export {
|
|
45
|
+
type SendEmailCreateResponse as SendEmailCreateResponse,
|
|
46
|
+
type SendEmailCreateParams as SendEmailCreateParams,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
9
|
+
*/
|
|
10
|
+
export class SendSlack extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Send a Slack message to the specified recipients.
|
|
13
|
+
*/
|
|
14
|
+
create(body: SendSlackCreateParams, options?: RequestOptions): APIPromise<SendSlackCreateResponse> {
|
|
15
|
+
return this._client.post('/send-slack/', { body, ...options });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface SendSlackCreateResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Result of the send Slack message action
|
|
22
|
+
*/
|
|
23
|
+
result: unknown;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface SendSlackCreateParams {
|
|
27
|
+
/**
|
|
28
|
+
* An enumeration.
|
|
29
|
+
*/
|
|
30
|
+
action_type: 'SINGLE_DIRECT_MESSAGE' | 'GROUP_DIRECT_MESSAGE' | 'PUBLIC_CHANNEL_MESSAGE';
|
|
31
|
+
|
|
32
|
+
body: string;
|
|
33
|
+
|
|
34
|
+
recipients: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export declare namespace SendSlack {
|
|
38
|
+
export {
|
|
39
|
+
type SendSlackCreateResponse as SendSlackCreateResponse,
|
|
40
|
+
type SendSlackCreateParams as SendSlackCreateParams,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -7,6 +7,9 @@ import { APIPromise } from '../core/api-promise';
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Shift assignments assigned to workers
|
|
12
|
+
*/
|
|
10
13
|
export class ShiftAssignments extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Update custom fields for a shift assignment. The request body should contain a
|
|
@@ -25,7 +28,7 @@ export class ShiftAssignments extends APIResource {
|
|
|
25
28
|
body: ShiftAssignmentUpdateCustomfieldsParams,
|
|
26
29
|
options?: RequestOptions,
|
|
27
30
|
): APIPromise<ShiftAssignmentUpdateCustomfieldsResponse> {
|
|
28
|
-
return this._client.patch(path`/shiftassignments/${id}/customfields
|
|
31
|
+
return this._client.patch(path`/shiftassignments/${id}/customfields/`, { body, ...options });
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -9,6 +9,9 @@ import { buildHeaders } from '../internal/headers';
|
|
|
9
9
|
import { RequestOptions } from '../internal/request-options';
|
|
10
10
|
import { path } from '../internal/utils/path';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Shift inputs used by the company
|
|
14
|
+
*/
|
|
12
15
|
export class ShiftInputs extends APIResource {
|
|
13
16
|
/**
|
|
14
17
|
* A List of shift inputs
|
|
@@ -22,7 +25,7 @@ export class ShiftInputs extends APIResource {
|
|
|
22
25
|
query: ShiftInputListParams | null | undefined = {},
|
|
23
26
|
options?: RequestOptions,
|
|
24
27
|
): PagePromise<ShiftInputListResponsesPageCursorURL, ShiftInputListResponse> {
|
|
25
|
-
return this._client.getAPIList('/shift-inputs', PageCursorURL<ShiftInputListResponse>, {
|
|
28
|
+
return this._client.getAPIList('/shift-inputs/', PageCursorURL<ShiftInputListResponse>, {
|
|
26
29
|
query,
|
|
27
30
|
...options,
|
|
28
31
|
});
|
|
@@ -32,7 +35,7 @@ export class ShiftInputs extends APIResource {
|
|
|
32
35
|
* Create a new shift input
|
|
33
36
|
*/
|
|
34
37
|
create(body: ShiftInputCreateParams, options?: RequestOptions): APIPromise<ShiftInputCreateResponse> {
|
|
35
|
-
return this._client.post('/shift-inputs', { body, ...options });
|
|
38
|
+
return this._client.post('/shift-inputs/', { body, ...options });
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
/**
|
|
@@ -43,7 +46,7 @@ export class ShiftInputs extends APIResource {
|
|
|
43
46
|
query: ShiftInputRetrieveParams | null | undefined = {},
|
|
44
47
|
options?: RequestOptions,
|
|
45
48
|
): APIPromise<ShiftInputRetrieveResponse> {
|
|
46
|
-
return this._client.get(path`/shift-inputs/${id}
|
|
49
|
+
return this._client.get(path`/shift-inputs/${id}/`, { query, ...options });
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
/**
|
|
@@ -54,14 +57,14 @@ export class ShiftInputs extends APIResource {
|
|
|
54
57
|
body: ShiftInputUpdateParams,
|
|
55
58
|
options?: RequestOptions,
|
|
56
59
|
): APIPromise<ShiftInputUpdateResponse> {
|
|
57
|
-
return this._client.patch(path`/shift-inputs/${id}
|
|
60
|
+
return this._client.patch(path`/shift-inputs/${id}/`, { body, ...options });
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
/**
|
|
61
64
|
* Delete a shift input
|
|
62
65
|
*/
|
|
63
66
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
64
|
-
return this._client.delete(path`/shift-inputs/${id}
|
|
67
|
+
return this._client.delete(path`/shift-inputs/${id}/`, {
|
|
65
68
|
...options,
|
|
66
69
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
67
70
|
});
|
|
@@ -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
|
+
* Shift assignments assigned to workers
|
|
13
|
+
*/
|
|
11
14
|
export class Shiftassignments extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of shift assignments
|
|
@@ -22,7 +25,7 @@ export class Shiftassignments extends APIResource {
|
|
|
22
25
|
query: ShiftassignmentListParams | null | undefined = {},
|
|
23
26
|
options?: RequestOptions,
|
|
24
27
|
): PagePromise<ShiftassignmentListResponsesPageCursorURL, ShiftassignmentListResponse> {
|
|
25
|
-
return this._client.getAPIList('/shiftassignments', PageCursorURL<ShiftassignmentListResponse>, {
|
|
28
|
+
return this._client.getAPIList('/shiftassignments/', PageCursorURL<ShiftassignmentListResponse>, {
|
|
26
29
|
query,
|
|
27
30
|
...options,
|
|
28
31
|
});
|
|
@@ -35,7 +38,7 @@ export class Shiftassignments extends APIResource {
|
|
|
35
38
|
body: ShiftassignmentCreateParams,
|
|
36
39
|
options?: RequestOptions,
|
|
37
40
|
): APIPromise<ShiftassignmentCreateResponse> {
|
|
38
|
-
return this._client.post('/shiftassignments', { body, ...options });
|
|
41
|
+
return this._client.post('/shiftassignments/', { body, ...options });
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
/**
|
|
@@ -46,7 +49,7 @@ export class Shiftassignments extends APIResource {
|
|
|
46
49
|
query: ShiftassignmentRetrieveParams | null | undefined = {},
|
|
47
50
|
options?: RequestOptions,
|
|
48
51
|
): APIPromise<ShiftassignmentRetrieveResponse> {
|
|
49
|
-
return this._client.get(path`/shiftassignments/${id}
|
|
52
|
+
return this._client.get(path`/shiftassignments/${id}/`, { query, ...options });
|
|
50
53
|
}
|
|
51
54
|
|
|
52
55
|
/**
|
|
@@ -57,7 +60,7 @@ export class Shiftassignments extends APIResource {
|
|
|
57
60
|
body: ShiftassignmentUpdateParams,
|
|
58
61
|
options?: RequestOptions,
|
|
59
62
|
): APIPromise<ShiftassignmentUpdateResponse> {
|
|
60
|
-
return this._client.patch(path`/shiftassignments/${id}
|
|
63
|
+
return this._client.patch(path`/shiftassignments/${id}/`, { body, ...options });
|
|
61
64
|
}
|
|
62
65
|
}
|
|
63
66
|
|
package/src/resources/sso-me.ts
CHANGED
|
@@ -5,6 +5,9 @@ import * as CompaniesAPI from './companies';
|
|
|
5
5
|
import { APIPromise } from '../core/api-promise';
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Provides the user's SSO information
|
|
10
|
+
*/
|
|
8
11
|
export class SSOMeResource extends APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* SSO information of the current user
|
|
@@ -12,8 +15,8 @@ export class SSOMeResource extends APIResource {
|
|
|
12
15
|
* - Requires: `API Tier 1`
|
|
13
16
|
* - Expandable fields: `company`
|
|
14
17
|
*/
|
|
15
|
-
|
|
16
|
-
return this._client.get('/sso-me', { query, ...options });
|
|
18
|
+
list(query: SSOMeListParams | null | undefined = {}, options?: RequestOptions): APIPromise<SSOMe> {
|
|
19
|
+
return this._client.get('/sso-me/', { query, ...options });
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
|
|
@@ -51,12 +54,12 @@ export interface SSOMe {
|
|
|
51
54
|
work_email?: string;
|
|
52
55
|
}
|
|
53
56
|
|
|
54
|
-
export interface
|
|
57
|
+
export interface SSOMeListParams {
|
|
55
58
|
cursor?: string;
|
|
56
59
|
|
|
57
60
|
expand?: string;
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
export declare namespace SSOMeResource {
|
|
61
|
-
export { type SSOMe as SSOMe, type
|
|
64
|
+
export { type SSOMe as SSOMe, type SSOMeListParams as SSOMeListParams };
|
|
62
65
|
}
|
|
@@ -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
|
+
* Supergroups used by the company
|
|
13
|
+
*/
|
|
11
14
|
export class ExclusionMembers extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* Retrieve supergroup exclusion members matching the input parameters.
|
|
@@ -22,7 +25,7 @@ export class ExclusionMembers extends APIResource {
|
|
|
22
25
|
options?: RequestOptions,
|
|
23
26
|
): PagePromise<GroupMembersPageCursorURL, Shared.GroupMember> {
|
|
24
27
|
return this._client.getAPIList(
|
|
25
|
-
path`/supergroups/${groupID}/exclusion-members
|
|
28
|
+
path`/supergroups/${groupID}/exclusion-members/`,
|
|
26
29
|
PageCursorURL<Shared.GroupMember>,
|
|
27
30
|
{ query, ...options },
|
|
28
31
|
);
|
|
@@ -36,7 +39,7 @@ export class ExclusionMembers extends APIResource {
|
|
|
36
39
|
body: ExclusionMemberUpdateParams | null | undefined = {},
|
|
37
40
|
options?: RequestOptions,
|
|
38
41
|
): APIPromise<ExclusionMemberUpdateResponse> {
|
|
39
|
-
return this._client.patch(path`/supergroups/${groupID}/exclusion-members
|
|
42
|
+
return this._client.patch(path`/supergroups/${groupID}/exclusion-members/`, { body, ...options });
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
|
|
@@ -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
|
+
* Supergroups used by the company
|
|
13
|
+
*/
|
|
11
14
|
export class InclusionMembers extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* Retrieve supergroup inclusion members matching the input parameters.
|
|
@@ -22,7 +25,7 @@ export class InclusionMembers extends APIResource {
|
|
|
22
25
|
options?: RequestOptions,
|
|
23
26
|
): PagePromise<GroupMembersPageCursorURL, Shared.GroupMember> {
|
|
24
27
|
return this._client.getAPIList(
|
|
25
|
-
path`/supergroups/${groupID}/inclusion-members
|
|
28
|
+
path`/supergroups/${groupID}/inclusion-members/`,
|
|
26
29
|
PageCursorURL<Shared.GroupMember>,
|
|
27
30
|
{ query, ...options },
|
|
28
31
|
);
|
|
@@ -36,7 +39,7 @@ export class InclusionMembers extends APIResource {
|
|
|
36
39
|
body: InclusionMemberUpdateParams | null | undefined = {},
|
|
37
40
|
options?: RequestOptions,
|
|
38
41
|
): APIPromise<InclusionMemberUpdateResponse> {
|
|
39
|
-
return this._client.patch(path`/supergroups/${groupID}/inclusion-members
|
|
42
|
+
return this._client.patch(path`/supergroups/${groupID}/inclusion-members/`, { body, ...options });
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
|
|
@@ -7,6 +7,9 @@ import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
|
7
7
|
import { RequestOptions } from '../../internal/request-options';
|
|
8
8
|
import { path } from '../../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Supergroups used by the company
|
|
12
|
+
*/
|
|
10
13
|
export class Members extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Retrieve supergroup members matching the input parameters.
|
|
@@ -20,10 +23,11 @@ export class Members extends APIResource {
|
|
|
20
23
|
query: MemberListParams | null | undefined = {},
|
|
21
24
|
options?: RequestOptions,
|
|
22
25
|
): PagePromise<GroupMembersPageCursorURL, Shared.GroupMember> {
|
|
23
|
-
return this._client.getAPIList(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
return this._client.getAPIList(
|
|
27
|
+
path`/supergroups/${groupID}/members/`,
|
|
28
|
+
PageCursorURL<Shared.GroupMember>,
|
|
29
|
+
{ query, ...options },
|
|
30
|
+
);
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
33
|
|
|
@@ -23,6 +23,9 @@ import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
|
23
23
|
import { RequestOptions } from '../../internal/request-options';
|
|
24
24
|
import { path } from '../../internal/utils/path';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Supergroups used by the company
|
|
28
|
+
*/
|
|
26
29
|
export class Supergroups extends APIResource {
|
|
27
30
|
members: MembersAPI.Members = new MembersAPI.Members(this._client);
|
|
28
31
|
inclusionMembers: InclusionMembersAPI.InclusionMembers = new InclusionMembersAPI.InclusionMembers(
|
|
@@ -43,14 +46,14 @@ export class Supergroups extends APIResource {
|
|
|
43
46
|
query: SupergroupListParams | null | undefined = {},
|
|
44
47
|
options?: RequestOptions,
|
|
45
48
|
): PagePromise<SupergroupsPageCursorURL, Supergroup> {
|
|
46
|
-
return this._client.getAPIList('/supergroups', PageCursorURL<Supergroup>, { query, ...options });
|
|
49
|
+
return this._client.getAPIList('/supergroups/', PageCursorURL<Supergroup>, { query, ...options });
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
/**
|
|
50
53
|
* Retrieve a specific supergroup.
|
|
51
54
|
*/
|
|
52
55
|
retrieve(id: string, options?: RequestOptions): APIPromise<SupergroupRetrieveResponse> {
|
|
53
|
-
return this._client.get(path`/supergroups/${id}
|
|
56
|
+
return this._client.get(path`/supergroups/${id}/`, options);
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
|