@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,177 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.mjs";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
|
+
export declare class CustomPages extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* A List of CustomPage
|
|
9
|
+
*
|
|
10
|
+
* - Requires: `API Tier 1`
|
|
11
|
+
*/
|
|
12
|
+
list(options?: RequestOptions): PagePromise<CustomPageListResponsesPageCursorURL, CustomPageListResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Create a new CustomPage
|
|
15
|
+
*/
|
|
16
|
+
create(body?: CustomPageCreateParams | null | undefined, options?: RequestOptions): APIPromise<CustomPageCreateResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieve a specific CustomPage
|
|
19
|
+
*/
|
|
20
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<CustomPageRetrieveResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Updated a specific CustomPage
|
|
23
|
+
*/
|
|
24
|
+
update(id: string, body?: CustomPageUpdateParams | null | undefined, options?: RequestOptions): APIPromise<CustomPageUpdateResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Delete a CustomPage
|
|
27
|
+
*/
|
|
28
|
+
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
29
|
+
}
|
|
30
|
+
export type CustomPageListResponsesPageCursorURL = PageCursorURL<CustomPageListResponse>;
|
|
31
|
+
export interface CustomPageListResponse {
|
|
32
|
+
/**
|
|
33
|
+
* Identifier field
|
|
34
|
+
*/
|
|
35
|
+
id?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Record creation date
|
|
38
|
+
*/
|
|
39
|
+
created_at?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The ID of the role that created the page
|
|
42
|
+
*/
|
|
43
|
+
created_by?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the Rippling Function that renders this page
|
|
46
|
+
*/
|
|
47
|
+
function_id?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The display name of the custom page
|
|
50
|
+
*/
|
|
51
|
+
name?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Record update date
|
|
54
|
+
*/
|
|
55
|
+
updated_at?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the role that last modified the page
|
|
58
|
+
*/
|
|
59
|
+
updated_by?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface CustomPageCreateResponse {
|
|
62
|
+
/**
|
|
63
|
+
* Identifier field
|
|
64
|
+
*/
|
|
65
|
+
id?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Record creation date
|
|
68
|
+
*/
|
|
69
|
+
created_at?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The ID of the role that created the page
|
|
72
|
+
*/
|
|
73
|
+
created_by?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the Rippling Function that renders this page
|
|
76
|
+
*/
|
|
77
|
+
function_id?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The display name of the custom page
|
|
80
|
+
*/
|
|
81
|
+
name?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Record update date
|
|
84
|
+
*/
|
|
85
|
+
updated_at?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The ID of the role that last modified the page
|
|
88
|
+
*/
|
|
89
|
+
updated_by?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Meta information for the response.
|
|
93
|
+
*/
|
|
94
|
+
export interface CustomPageRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
95
|
+
/**
|
|
96
|
+
* Identifier field
|
|
97
|
+
*/
|
|
98
|
+
id?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Record creation date
|
|
101
|
+
*/
|
|
102
|
+
created_at?: string;
|
|
103
|
+
/**
|
|
104
|
+
* The ID of the role that created the page
|
|
105
|
+
*/
|
|
106
|
+
created_by?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the Rippling Function that renders this page
|
|
109
|
+
*/
|
|
110
|
+
function_id?: string;
|
|
111
|
+
/**
|
|
112
|
+
* The display name of the custom page
|
|
113
|
+
*/
|
|
114
|
+
name?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Record update date
|
|
117
|
+
*/
|
|
118
|
+
updated_at?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the role that last modified the page
|
|
121
|
+
*/
|
|
122
|
+
updated_by?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface CustomPageUpdateResponse {
|
|
125
|
+
/**
|
|
126
|
+
* Identifier field
|
|
127
|
+
*/
|
|
128
|
+
id?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Record creation date
|
|
131
|
+
*/
|
|
132
|
+
created_at?: string;
|
|
133
|
+
/**
|
|
134
|
+
* The ID of the role that created the page
|
|
135
|
+
*/
|
|
136
|
+
created_by?: string;
|
|
137
|
+
/**
|
|
138
|
+
* The ID of the Rippling Function that renders this page
|
|
139
|
+
*/
|
|
140
|
+
function_id?: string;
|
|
141
|
+
/**
|
|
142
|
+
* The display name of the custom page
|
|
143
|
+
*/
|
|
144
|
+
name?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Record update date
|
|
147
|
+
*/
|
|
148
|
+
updated_at?: string;
|
|
149
|
+
/**
|
|
150
|
+
* The ID of the role that last modified the page
|
|
151
|
+
*/
|
|
152
|
+
updated_by?: string;
|
|
153
|
+
}
|
|
154
|
+
export interface CustomPageCreateParams {
|
|
155
|
+
/**
|
|
156
|
+
* The ID of the Rippling Function that renders this page
|
|
157
|
+
*/
|
|
158
|
+
function_id?: string;
|
|
159
|
+
/**
|
|
160
|
+
* The display name of the custom page
|
|
161
|
+
*/
|
|
162
|
+
name?: string;
|
|
163
|
+
}
|
|
164
|
+
export interface CustomPageUpdateParams {
|
|
165
|
+
/**
|
|
166
|
+
* The ID of the Rippling Function that renders this page
|
|
167
|
+
*/
|
|
168
|
+
function_id?: string;
|
|
169
|
+
/**
|
|
170
|
+
* The display name of the custom page
|
|
171
|
+
*/
|
|
172
|
+
name?: string;
|
|
173
|
+
}
|
|
174
|
+
export declare namespace CustomPages {
|
|
175
|
+
export { type CustomPageListResponse as CustomPageListResponse, type CustomPageCreateResponse as CustomPageCreateResponse, type CustomPageRetrieveResponse as CustomPageRetrieveResponse, type CustomPageUpdateResponse as CustomPageUpdateResponse, type CustomPageListResponsesPageCursorURL as CustomPageListResponsesPageCursorURL, type CustomPageCreateParams as CustomPageCreateParams, type CustomPageUpdateParams as CustomPageUpdateParams, };
|
|
176
|
+
}
|
|
177
|
+
//# sourceMappingURL=custom-pages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-pages.d.mts","sourceRoot":"","sources":["../src/resources/custom-pages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;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,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.js";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
6
|
+
export declare class CustomPages extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* A List of CustomPage
|
|
9
|
+
*
|
|
10
|
+
* - Requires: `API Tier 1`
|
|
11
|
+
*/
|
|
12
|
+
list(options?: RequestOptions): PagePromise<CustomPageListResponsesPageCursorURL, CustomPageListResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Create a new CustomPage
|
|
15
|
+
*/
|
|
16
|
+
create(body?: CustomPageCreateParams | null | undefined, options?: RequestOptions): APIPromise<CustomPageCreateResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieve a specific CustomPage
|
|
19
|
+
*/
|
|
20
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<CustomPageRetrieveResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Updated a specific CustomPage
|
|
23
|
+
*/
|
|
24
|
+
update(id: string, body?: CustomPageUpdateParams | null | undefined, options?: RequestOptions): APIPromise<CustomPageUpdateResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Delete a CustomPage
|
|
27
|
+
*/
|
|
28
|
+
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
29
|
+
}
|
|
30
|
+
export type CustomPageListResponsesPageCursorURL = PageCursorURL<CustomPageListResponse>;
|
|
31
|
+
export interface CustomPageListResponse {
|
|
32
|
+
/**
|
|
33
|
+
* Identifier field
|
|
34
|
+
*/
|
|
35
|
+
id?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Record creation date
|
|
38
|
+
*/
|
|
39
|
+
created_at?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The ID of the role that created the page
|
|
42
|
+
*/
|
|
43
|
+
created_by?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the Rippling Function that renders this page
|
|
46
|
+
*/
|
|
47
|
+
function_id?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The display name of the custom page
|
|
50
|
+
*/
|
|
51
|
+
name?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Record update date
|
|
54
|
+
*/
|
|
55
|
+
updated_at?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the role that last modified the page
|
|
58
|
+
*/
|
|
59
|
+
updated_by?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface CustomPageCreateResponse {
|
|
62
|
+
/**
|
|
63
|
+
* Identifier field
|
|
64
|
+
*/
|
|
65
|
+
id?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Record creation date
|
|
68
|
+
*/
|
|
69
|
+
created_at?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The ID of the role that created the page
|
|
72
|
+
*/
|
|
73
|
+
created_by?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the Rippling Function that renders this page
|
|
76
|
+
*/
|
|
77
|
+
function_id?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The display name of the custom page
|
|
80
|
+
*/
|
|
81
|
+
name?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Record update date
|
|
84
|
+
*/
|
|
85
|
+
updated_at?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The ID of the role that last modified the page
|
|
88
|
+
*/
|
|
89
|
+
updated_by?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Meta information for the response.
|
|
93
|
+
*/
|
|
94
|
+
export interface CustomPageRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
95
|
+
/**
|
|
96
|
+
* Identifier field
|
|
97
|
+
*/
|
|
98
|
+
id?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Record creation date
|
|
101
|
+
*/
|
|
102
|
+
created_at?: string;
|
|
103
|
+
/**
|
|
104
|
+
* The ID of the role that created the page
|
|
105
|
+
*/
|
|
106
|
+
created_by?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the Rippling Function that renders this page
|
|
109
|
+
*/
|
|
110
|
+
function_id?: string;
|
|
111
|
+
/**
|
|
112
|
+
* The display name of the custom page
|
|
113
|
+
*/
|
|
114
|
+
name?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Record update date
|
|
117
|
+
*/
|
|
118
|
+
updated_at?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the role that last modified the page
|
|
121
|
+
*/
|
|
122
|
+
updated_by?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface CustomPageUpdateResponse {
|
|
125
|
+
/**
|
|
126
|
+
* Identifier field
|
|
127
|
+
*/
|
|
128
|
+
id?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Record creation date
|
|
131
|
+
*/
|
|
132
|
+
created_at?: string;
|
|
133
|
+
/**
|
|
134
|
+
* The ID of the role that created the page
|
|
135
|
+
*/
|
|
136
|
+
created_by?: string;
|
|
137
|
+
/**
|
|
138
|
+
* The ID of the Rippling Function that renders this page
|
|
139
|
+
*/
|
|
140
|
+
function_id?: string;
|
|
141
|
+
/**
|
|
142
|
+
* The display name of the custom page
|
|
143
|
+
*/
|
|
144
|
+
name?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Record update date
|
|
147
|
+
*/
|
|
148
|
+
updated_at?: string;
|
|
149
|
+
/**
|
|
150
|
+
* The ID of the role that last modified the page
|
|
151
|
+
*/
|
|
152
|
+
updated_by?: string;
|
|
153
|
+
}
|
|
154
|
+
export interface CustomPageCreateParams {
|
|
155
|
+
/**
|
|
156
|
+
* The ID of the Rippling Function that renders this page
|
|
157
|
+
*/
|
|
158
|
+
function_id?: string;
|
|
159
|
+
/**
|
|
160
|
+
* The display name of the custom page
|
|
161
|
+
*/
|
|
162
|
+
name?: string;
|
|
163
|
+
}
|
|
164
|
+
export interface CustomPageUpdateParams {
|
|
165
|
+
/**
|
|
166
|
+
* The ID of the Rippling Function that renders this page
|
|
167
|
+
*/
|
|
168
|
+
function_id?: string;
|
|
169
|
+
/**
|
|
170
|
+
* The display name of the custom page
|
|
171
|
+
*/
|
|
172
|
+
name?: string;
|
|
173
|
+
}
|
|
174
|
+
export declare namespace CustomPages {
|
|
175
|
+
export { type CustomPageListResponse as CustomPageListResponse, type CustomPageCreateResponse as CustomPageCreateResponse, type CustomPageRetrieveResponse as CustomPageRetrieveResponse, type CustomPageUpdateResponse as CustomPageUpdateResponse, type CustomPageListResponsesPageCursorURL as CustomPageListResponsesPageCursorURL, type CustomPageCreateParams as CustomPageCreateParams, type CustomPageUpdateParams as CustomPageUpdateParams, };
|
|
176
|
+
}
|
|
177
|
+
//# sourceMappingURL=custom-pages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-pages.d.ts","sourceRoot":"","sources":["../src/resources/custom-pages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAA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WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CustomPages = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const headers_1 = require("../internal/headers.js");
|
|
8
|
+
const path_1 = require("../internal/utils/path.js");
|
|
9
|
+
class CustomPages extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* A List of CustomPage
|
|
12
|
+
*
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
|
+
*/
|
|
15
|
+
list(options) {
|
|
16
|
+
return this._client.getAPIList('/custom-pages/', (pagination_1.PageCursorURL), options);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Create a new CustomPage
|
|
20
|
+
*/
|
|
21
|
+
create(body = {}, options) {
|
|
22
|
+
return this._client.post('/custom-pages/', { body, ...options });
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Retrieve a specific CustomPage
|
|
26
|
+
*/
|
|
27
|
+
retrieve(id, options) {
|
|
28
|
+
return this._client.get((0, path_1.path) `/custom-pages/${id}/`, options);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Updated a specific CustomPage
|
|
32
|
+
*/
|
|
33
|
+
update(id, body = {}, options) {
|
|
34
|
+
return this._client.patch((0, path_1.path) `/custom-pages/${id}/`, { body, ...options });
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Delete a CustomPage
|
|
38
|
+
*/
|
|
39
|
+
delete(id, options) {
|
|
40
|
+
return this._client.delete((0, path_1.path) `/custom-pages/${id}/`, {
|
|
41
|
+
...options,
|
|
42
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CustomPages = CustomPages;
|
|
47
|
+
//# sourceMappingURL=custom-pages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-pages.js","sourceRoot":"","sources":["../src/resources/custom-pages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,0BAAqC,CAAA,EAAE,OAAO,CAAC,CAAC;IACnG,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,GAAG,EAAE;YACrD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA/CD,kCA+CC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { PageCursorURL } from "../core/pagination.mjs";
|
|
4
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
5
|
+
import { path } from "../internal/utils/path.mjs";
|
|
6
|
+
export class CustomPages extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* A List of CustomPage
|
|
9
|
+
*
|
|
10
|
+
* - Requires: `API Tier 1`
|
|
11
|
+
*/
|
|
12
|
+
list(options) {
|
|
13
|
+
return this._client.getAPIList('/custom-pages/', (PageCursorURL), options);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Create a new CustomPage
|
|
17
|
+
*/
|
|
18
|
+
create(body = {}, options) {
|
|
19
|
+
return this._client.post('/custom-pages/', { body, ...options });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Retrieve a specific CustomPage
|
|
23
|
+
*/
|
|
24
|
+
retrieve(id, options) {
|
|
25
|
+
return this._client.get(path `/custom-pages/${id}/`, options);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Updated a specific CustomPage
|
|
29
|
+
*/
|
|
30
|
+
update(id, body = {}, options) {
|
|
31
|
+
return this._client.patch(path `/custom-pages/${id}/`, { body, ...options });
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Delete a CustomPage
|
|
35
|
+
*/
|
|
36
|
+
delete(id, options) {
|
|
37
|
+
return this._client.delete(path `/custom-pages/${id}/`, {
|
|
38
|
+
...options,
|
|
39
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=custom-pages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-pages.mjs","sourceRoot":"","sources":["../src/resources/custom-pages.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,aAAa,EAAe;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,aAAqC,CAAA,EAAE,OAAO,CAAC,CAAC;IACnG,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,iBAAiB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,iBAAiB,EAAE,GAAG,EAAE;YACrD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -14,7 +14,7 @@ class CustomSettings extends resource_1.APIResource {
|
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
15
|
*/
|
|
16
16
|
list(query = {}, options) {
|
|
17
|
-
return this._client.getAPIList('/custom-settings', (pagination_1.PageCursorURL), {
|
|
17
|
+
return this._client.getAPIList('/custom-settings/', (pagination_1.PageCursorURL), {
|
|
18
18
|
query,
|
|
19
19
|
...options,
|
|
20
20
|
});
|
|
@@ -23,25 +23,25 @@ class CustomSettings extends resource_1.APIResource {
|
|
|
23
23
|
* Create a new Setting
|
|
24
24
|
*/
|
|
25
25
|
create(body = {}, options) {
|
|
26
|
-
return this._client.post('/custom-settings', { body, ...options });
|
|
26
|
+
return this._client.post('/custom-settings/', { body, ...options });
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Retrieve a specific Setting
|
|
30
30
|
*/
|
|
31
31
|
retrieve(id, options) {
|
|
32
|
-
return this._client.get((0, path_1.path) `/custom-settings/${id}
|
|
32
|
+
return this._client.get((0, path_1.path) `/custom-settings/${id}/`, options);
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Updated a specific Setting
|
|
36
36
|
*/
|
|
37
37
|
update(id, body = {}, options) {
|
|
38
|
-
return this._client.patch((0, path_1.path) `/custom-settings/${id}
|
|
38
|
+
return this._client.patch((0, path_1.path) `/custom-settings/${id}/`, { body, ...options });
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Delete a Setting
|
|
42
42
|
*/
|
|
43
43
|
delete(id, options) {
|
|
44
|
-
return this._client.delete((0, path_1.path) `/custom-settings/${id}
|
|
44
|
+
return this._client.delete((0, path_1.path) `/custom-settings/${id}/`, {
|
|
45
45
|
...options,
|
|
46
46
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
47
47
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-settings.js","sourceRoot":"","sources":["../src/resources/custom-settings.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"custom-settings.js","sourceRoot":"","sources":["../src/resources/custom-settings.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,0BAAwC,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,OAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,GAAG,EAAE;YACxD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAtDD,wCAsDC"}
|
|
@@ -11,7 +11,7 @@ export class CustomSettings extends APIResource {
|
|
|
11
11
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
12
12
|
*/
|
|
13
13
|
list(query = {}, options) {
|
|
14
|
-
return this._client.getAPIList('/custom-settings', (PageCursorURL), {
|
|
14
|
+
return this._client.getAPIList('/custom-settings/', (PageCursorURL), {
|
|
15
15
|
query,
|
|
16
16
|
...options,
|
|
17
17
|
});
|
|
@@ -20,25 +20,25 @@ export class CustomSettings extends APIResource {
|
|
|
20
20
|
* Create a new Setting
|
|
21
21
|
*/
|
|
22
22
|
create(body = {}, options) {
|
|
23
|
-
return this._client.post('/custom-settings', { body, ...options });
|
|
23
|
+
return this._client.post('/custom-settings/', { body, ...options });
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Retrieve a specific Setting
|
|
27
27
|
*/
|
|
28
28
|
retrieve(id, options) {
|
|
29
|
-
return this._client.get(path `/custom-settings/${id}
|
|
29
|
+
return this._client.get(path `/custom-settings/${id}/`, options);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Updated a specific Setting
|
|
33
33
|
*/
|
|
34
34
|
update(id, body = {}, options) {
|
|
35
|
-
return this._client.patch(path `/custom-settings/${id}
|
|
35
|
+
return this._client.patch(path `/custom-settings/${id}/`, { body, ...options });
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Delete a Setting
|
|
39
39
|
*/
|
|
40
40
|
delete(id, options) {
|
|
41
|
-
return this._client.delete(path `/custom-settings/${id}
|
|
41
|
+
return this._client.delete(path `/custom-settings/${id}/`, {
|
|
42
42
|
...options,
|
|
43
43
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
44
44
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-settings.mjs","sourceRoot":"","sources":["../src/resources/custom-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,aAAa,EAAe;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"custom-settings.mjs","sourceRoot":"","sources":["../src/resources/custom-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,aAAa,EAAe;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,aAAwC,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,OAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,oBAAoB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,oBAAoB,EAAE,GAAG,EAAE;YACxD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -3,6 +3,9 @@ import * as BusinessPartnersAPI from "./business-partners.mjs";
|
|
|
3
3
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
4
|
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
5
5
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* Departments used by the company
|
|
8
|
+
*/
|
|
6
9
|
export declare class Departments extends APIResource {
|
|
7
10
|
/**
|
|
8
11
|
* A List of departments
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"departments.d.mts","sourceRoot":"","sources":["../src/resources/departments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wBAAwB,EAAE,UAAU,CAAC;IAIpD;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAItF;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;CAGnG;AAED,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAEjE,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAEzC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,MAAM,C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AAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,mBAAmB,CAAC,IAAI,EAAE,UAAU;CAAG;AAE3F,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -3,6 +3,9 @@ import * as BusinessPartnersAPI from "./business-partners.js";
|
|
|
3
3
|
import { APIPromise } from "../core/api-promise.js";
|
|
4
4
|
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
5
5
|
import { RequestOptions } from "../internal/request-options.js";
|
|
6
|
+
/**
|
|
7
|
+
* Departments used by the company
|
|
8
|
+
*/
|
|
6
9
|
export declare class Departments extends APIResource {
|
|
7
10
|
/**
|
|
8
11
|
* A List of departments
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"departments.d.ts","sourceRoot":"","sources":["../src/resources/departments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wBAAwB,EAAE,UAAU,CAAC;IAIpD;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAItF;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;CAGnG;AAED,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAEjE,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAEzC;;;OAGG;IACH,uBAAu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,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,mBAAmB,CAAC,IAAI,EAAE,UAAU;CAAG;AAE3F,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
package/resources/departments.js
CHANGED
|
@@ -5,6 +5,9 @@ exports.Departments = void 0;
|
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
const pagination_1 = require("../core/pagination.js");
|
|
7
7
|
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Departments used by the company
|
|
10
|
+
*/
|
|
8
11
|
class Departments extends resource_1.APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* A List of departments
|
|
@@ -14,25 +17,25 @@ class Departments extends resource_1.APIResource {
|
|
|
14
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
18
|
*/
|
|
16
19
|
list(query = {}, options) {
|
|
17
|
-
return this._client.getAPIList('/departments', (pagination_1.PageCursorURL), { query, ...options });
|
|
20
|
+
return this._client.getAPIList('/departments/', (pagination_1.PageCursorURL), { query, ...options });
|
|
18
21
|
}
|
|
19
22
|
/**
|
|
20
23
|
* Create a new department
|
|
21
24
|
*/
|
|
22
25
|
create(body, options) {
|
|
23
|
-
return this._client.post('/departments', { body, ...options });
|
|
26
|
+
return this._client.post('/departments/', { body, ...options });
|
|
24
27
|
}
|
|
25
28
|
/**
|
|
26
29
|
* Retrieve a specific department
|
|
27
30
|
*/
|
|
28
31
|
retrieve(id, query = {}, options) {
|
|
29
|
-
return this._client.get((0, path_1.path) `/departments/${id}
|
|
32
|
+
return this._client.get((0, path_1.path) `/departments/${id}/`, { query, ...options });
|
|
30
33
|
}
|
|
31
34
|
/**
|
|
32
35
|
* Updated a specific department
|
|
33
36
|
*/
|
|
34
37
|
update(id, body, options) {
|
|
35
|
-
return this._client.patch((0, path_1.path) `/departments/${id}
|
|
38
|
+
return this._client.patch((0, path_1.path) `/departments/${id}/`, { body, ...options });
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
exports.Departments = Departments;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"departments.js","sourceRoot":"","sources":["../src/resources/departments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;OAMG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+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