@rippling/rippling-sdk 0.2.0-alpha.28 → 0.2.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +25 -25
- package/client.d.mts.map +1 -1
- package/client.d.ts +25 -25
- package/client.d.ts.map +1 -1
- package/client.js +23 -23
- package/client.js.map +1 -1
- package/client.mjs +23 -23
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/business-partner-groups.d.mts +1 -1
- package/resources/business-partner-groups.d.ts +1 -1
- package/resources/business-partner-groups.js +1 -1
- package/resources/business-partner-groups.mjs +1 -1
- package/resources/business-partners.d.mts +1 -1
- package/resources/business-partners.d.ts +1 -1
- package/resources/business-partners.js +1 -1
- package/resources/business-partners.mjs +1 -1
- package/resources/candidate-applications.d.mts +1 -1
- package/resources/candidate-applications.d.ts +1 -1
- package/resources/candidate-applications.js +1 -1
- package/resources/candidate-applications.mjs +1 -1
- package/resources/candidates.d.mts +1 -1
- package/resources/candidates.d.ts +1 -1
- package/resources/candidates.js +1 -1
- package/resources/candidates.mjs +1 -1
- package/resources/companies.d.mts +1 -1
- package/resources/companies.d.ts +1 -1
- package/resources/companies.js +1 -1
- package/resources/companies.mjs +1 -1
- package/resources/compensation-bands-details.d.mts +1 -1
- package/resources/compensation-bands-details.d.ts +1 -1
- package/resources/compensation-bands-details.js +1 -1
- package/resources/compensation-bands-details.mjs +1 -1
- package/resources/compensations.d.mts +1 -1
- package/resources/compensations.d.ts +1 -1
- package/resources/compensations.js +1 -1
- package/resources/compensations.mjs +1 -1
- package/resources/custom-apps.d.mts +3 -3
- package/resources/custom-apps.d.ts +3 -3
- package/resources/custom-apps.js +3 -3
- package/resources/custom-apps.mjs +3 -3
- package/resources/custom-fields.d.mts +1 -1
- package/resources/custom-fields.d.ts +1 -1
- package/resources/custom-fields.js +1 -1
- package/resources/custom-fields.mjs +1 -1
- package/resources/custom-objects/custom-objects.d.mts +29 -5
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +29 -5
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +5 -5
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +5 -5
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +71 -5
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +71 -5
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +5 -5
- package/resources/custom-objects/fields.mjs +5 -5
- package/resources/custom-objects/records.d.mts +68 -11
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +68 -11
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +10 -10
- package/resources/custom-objects/records.mjs +10 -10
- package/resources/custom-pages.d.mts +3 -3
- package/resources/custom-pages.d.ts +3 -3
- package/resources/custom-pages.js +3 -3
- package/resources/custom-pages.mjs +3 -3
- package/resources/custom-settings.d.mts +2 -2
- package/resources/custom-settings.d.ts +2 -2
- package/resources/custom-settings.js +2 -2
- package/resources/custom-settings.mjs +2 -2
- package/resources/departments.d.mts +2 -2
- package/resources/departments.d.ts +2 -2
- package/resources/departments.js +2 -2
- package/resources/departments.mjs +2 -2
- package/resources/draft-hires.d.mts +8 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +8 -0
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/earning-types.d.mts +48 -0
- package/resources/earning-types.d.mts.map +1 -0
- package/resources/earning-types.d.ts +48 -0
- package/resources/earning-types.d.ts.map +1 -0
- package/resources/earning-types.js +21 -0
- package/resources/earning-types.js.map +1 -0
- package/resources/earning-types.mjs +17 -0
- package/resources/earning-types.mjs.map +1 -0
- package/resources/employment-types.d.mts +1 -1
- package/resources/employment-types.d.ts +1 -1
- package/resources/employment-types.js +1 -1
- package/resources/employment-types.mjs +1 -1
- package/resources/entitlements.d.mts +1 -1
- package/resources/entitlements.d.ts +1 -1
- package/resources/entitlements.js +1 -1
- package/resources/entitlements.mjs +1 -1
- package/resources/functions/deployments.d.mts +10 -4
- package/resources/functions/deployments.d.mts.map +1 -1
- package/resources/functions/deployments.d.ts +10 -4
- package/resources/functions/deployments.d.ts.map +1 -1
- package/resources/functions/deployments.js +4 -4
- package/resources/functions/deployments.mjs +4 -4
- package/resources/functions/executions.d.mts +10 -4
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +10 -4
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +4 -4
- package/resources/functions/executions.mjs +4 -4
- package/resources/functions/functions.d.mts +8 -14
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +8 -14
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +6 -6
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +6 -6
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/index.d.mts +1 -1
- package/resources/functions/index.d.mts.map +1 -1
- package/resources/functions/index.d.ts +1 -1
- package/resources/functions/index.d.ts.map +1 -1
- package/resources/functions/index.js.map +1 -1
- package/resources/functions/index.mjs.map +1 -1
- package/resources/headcount-positions.d.mts +1 -1
- package/resources/headcount-positions.d.ts +1 -1
- package/resources/headcount-positions.js +1 -1
- package/resources/headcount-positions.mjs +1 -1
- package/resources/headcount-priorities.d.mts +1 -1
- package/resources/headcount-priorities.d.ts +1 -1
- package/resources/headcount-priorities.js +1 -1
- package/resources/headcount-priorities.mjs +1 -1
- package/resources/index.d.mts +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -10
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -4
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +3 -3
- package/resources/job-assignments.d.ts +3 -3
- package/resources/job-assignments.js +3 -3
- package/resources/job-assignments.mjs +3 -3
- package/resources/job-codes.d.mts +3 -3
- package/resources/job-codes.d.ts +3 -3
- package/resources/job-codes.js +3 -3
- package/resources/job-codes.mjs +3 -3
- package/resources/job-dimensions.d.mts +2 -2
- package/resources/job-dimensions.d.ts +2 -2
- package/resources/job-dimensions.js +2 -2
- package/resources/job-dimensions.mjs +2 -2
- package/resources/job-functions.d.mts +1 -1
- package/resources/job-functions.d.ts +1 -1
- package/resources/job-functions.js +1 -1
- package/resources/job-functions.mjs +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +2 -2
- package/resources/job-pay-rate-exceptions.d.ts +2 -2
- package/resources/job-pay-rate-exceptions.js +2 -2
- package/resources/job-pay-rate-exceptions.mjs +2 -2
- package/resources/job-requisitions.d.mts +1 -1
- package/resources/job-requisitions.d.ts +1 -1
- package/resources/job-requisitions.js +1 -1
- package/resources/job-requisitions.mjs +1 -1
- package/resources/kiosk-badges.d.mts +2 -2
- package/resources/kiosk-badges.d.ts +2 -2
- package/resources/kiosk-badges.js +2 -2
- package/resources/kiosk-badges.mjs +2 -2
- package/resources/leave-accruals.d.mts +1 -1
- package/resources/leave-accruals.d.ts +1 -1
- package/resources/leave-accruals.js +1 -1
- package/resources/leave-accruals.mjs +1 -1
- package/resources/leave-balances.d.mts +1 -1
- package/resources/leave-balances.d.ts +1 -1
- package/resources/leave-balances.js +1 -1
- package/resources/leave-balances.mjs +1 -1
- package/resources/leave-requests.d.mts +2 -2
- package/resources/leave-requests.d.ts +2 -2
- package/resources/leave-requests.js +2 -2
- package/resources/leave-requests.mjs +2 -2
- package/resources/leave-types.d.mts +1 -1
- package/resources/leave-types.d.ts +1 -1
- package/resources/leave-types.js +1 -1
- package/resources/leave-types.mjs +1 -1
- package/resources/legal-entities.d.mts +1 -1
- package/resources/legal-entities.d.ts +1 -1
- package/resources/legal-entities.js +1 -1
- package/resources/legal-entities.mjs +1 -1
- package/resources/levels.d.mts +1 -1
- package/resources/levels.d.ts +1 -1
- package/resources/levels.js +1 -1
- package/resources/levels.mjs +1 -1
- package/resources/location-factors.d.mts +1 -1
- package/resources/location-factors.d.ts +1 -1
- package/resources/location-factors.js +1 -1
- package/resources/location-factors.mjs +1 -1
- package/resources/metadata/components.d.mts +2 -2
- package/resources/metadata/components.d.ts +2 -2
- package/resources/metadata/components.js +2 -2
- package/resources/metadata/components.mjs +2 -2
- package/resources/metadata/metadata.d.mts +2 -2
- package/resources/metadata/metadata.d.ts +2 -2
- package/resources/metadata/metadata.js +2 -2
- package/resources/metadata/metadata.mjs +2 -2
- package/resources/metadata/summary.d.mts +2 -2
- package/resources/metadata/summary.d.ts +2 -2
- package/resources/metadata/summary.js +2 -2
- package/resources/metadata/summary.mjs +2 -2
- package/resources/metadata/types.d.mts +2 -2
- package/resources/metadata/types.d.ts +2 -2
- package/resources/metadata/types.js +2 -2
- package/resources/metadata/types.mjs +2 -2
- package/resources/object-categories.d.mts +17 -5
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +17 -5
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +5 -5
- package/resources/object-categories.mjs +5 -5
- package/resources/payroll-runs.d.mts +195 -0
- package/resources/payroll-runs.d.mts.map +1 -0
- package/resources/payroll-runs.d.ts +195 -0
- package/resources/payroll-runs.d.ts.map +1 -0
- package/resources/payroll-runs.js +32 -0
- package/resources/payroll-runs.js.map +1 -0
- package/resources/payroll-runs.mjs +28 -0
- package/resources/payroll-runs.mjs.map +1 -0
- package/resources/platform-capabilities.d.mts +2 -2
- package/resources/platform-capabilities.d.ts +2 -2
- package/resources/platform-capabilities.js +2 -2
- package/resources/platform-capabilities.mjs +2 -2
- package/resources/report-runs.d.mts +60 -0
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +60 -0
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/reports/available-filters.d.mts +49 -0
- package/resources/reports/available-filters.d.mts.map +1 -0
- package/resources/reports/available-filters.d.ts +49 -0
- package/resources/reports/available-filters.d.ts.map +1 -0
- package/resources/reports/available-filters.js +20 -0
- package/resources/reports/available-filters.js.map +1 -0
- package/resources/reports/available-filters.mjs +16 -0
- package/resources/reports/available-filters.mjs.map +1 -0
- package/resources/reports/index.d.mts +3 -0
- package/resources/reports/index.d.mts.map +1 -0
- package/resources/reports/index.d.ts +3 -0
- package/resources/reports/index.d.ts.map +1 -0
- package/resources/reports/index.js +9 -0
- package/resources/reports/index.js.map +1 -0
- package/resources/reports/index.mjs +4 -0
- package/resources/reports/index.mjs.map +1 -0
- package/resources/reports/reports.d.mts +85 -0
- package/resources/reports/reports.d.mts.map +1 -0
- package/resources/reports/reports.d.ts +85 -0
- package/resources/reports/reports.d.ts.map +1 -0
- package/resources/reports/reports.js +27 -0
- package/resources/reports/reports.js.map +1 -0
- package/resources/reports/reports.mjs +22 -0
- package/resources/reports/reports.mjs.map +1 -0
- package/resources/reports.d.mts +2 -0
- package/resources/reports.d.mts.map +1 -0
- package/resources/reports.d.ts +2 -0
- package/resources/reports.d.ts.map +1 -0
- package/resources/reports.js +6 -0
- package/resources/reports.js.map +1 -0
- package/resources/reports.mjs +3 -0
- package/resources/reports.mjs.map +1 -0
- package/resources/schedules.d.mts +2 -2
- package/resources/schedules.d.ts +2 -2
- package/resources/schedules.js +2 -2
- package/resources/schedules.mjs +2 -2
- package/resources/shift-inputs.d.mts +2 -2
- package/resources/shift-inputs.d.ts +2 -2
- package/resources/shift-inputs.js +2 -2
- package/resources/shift-inputs.mjs +2 -2
- package/resources/shiftassignments.d.mts +2 -2
- package/resources/shiftassignments.d.ts +2 -2
- package/resources/shiftassignments.js +2 -2
- package/resources/shiftassignments.mjs +2 -2
- package/resources/teams.d.mts +1 -1
- package/resources/teams.d.ts +1 -1
- package/resources/teams.js +1 -1
- package/resources/teams.mjs +1 -1
- package/resources/time-cards.d.mts +1 -1
- package/resources/time-cards.d.ts +1 -1
- package/resources/time-cards.js +1 -1
- package/resources/time-cards.mjs +1 -1
- package/resources/time-entries.d.mts +2 -2
- package/resources/time-entries.d.ts +2 -2
- package/resources/time-entries.js +2 -2
- package/resources/time-entries.mjs +2 -2
- package/resources/titles.d.mts +2 -2
- package/resources/titles.d.ts +2 -2
- package/resources/titles.js +2 -2
- package/resources/titles.mjs +2 -2
- package/resources/tracks.d.mts +1 -1
- package/resources/tracks.d.ts +1 -1
- package/resources/tracks.js +1 -1
- package/resources/tracks.mjs +1 -1
- package/resources/unassignedshifts.d.mts +2 -2
- package/resources/unassignedshifts.d.ts +2 -2
- package/resources/unassignedshifts.js +2 -2
- package/resources/unassignedshifts.mjs +2 -2
- package/resources/users.d.mts +1 -1
- package/resources/users.d.ts +1 -1
- package/resources/users.js +1 -1
- package/resources/users.mjs +1 -1
- package/resources/work-locations.d.mts +2 -2
- package/resources/work-locations.d.ts +2 -2
- package/resources/work-locations.js +2 -2
- package/resources/work-locations.mjs +2 -2
- package/resources/workers.d.mts +1 -1
- package/resources/workers.d.ts +1 -1
- package/resources/workers.js +1 -1
- package/resources/workers.mjs +1 -1
- package/resources/workflow-action-executions.d.mts +572 -0
- package/resources/workflow-action-executions.d.mts.map +1 -0
- package/resources/workflow-action-executions.d.ts +572 -0
- package/resources/workflow-action-executions.d.ts.map +1 -0
- package/resources/{send-email.js → workflow-action-executions.js} +6 -6
- package/resources/workflow-action-executions.js.map +1 -0
- package/resources/{send-slack.mjs → workflow-action-executions.mjs} +4 -4
- package/resources/workflow-action-executions.mjs.map +1 -0
- package/src/client.ts +61 -51
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/business-partner-groups.ts +1 -1
- package/src/resources/business-partners.ts +1 -1
- package/src/resources/candidate-applications.ts +1 -1
- package/src/resources/candidates.ts +1 -1
- package/src/resources/companies.ts +1 -1
- package/src/resources/compensation-bands-details.ts +1 -1
- package/src/resources/compensations.ts +1 -1
- package/src/resources/custom-apps.ts +3 -3
- package/src/resources/custom-fields.ts +1 -1
- package/src/resources/custom-objects/custom-objects.ts +29 -5
- package/src/resources/custom-objects/fields.ts +71 -5
- package/src/resources/custom-objects/records.ts +68 -11
- package/src/resources/custom-pages.ts +3 -3
- package/src/resources/custom-settings.ts +2 -2
- package/src/resources/departments.ts +2 -2
- package/src/resources/draft-hires.ts +10 -0
- package/src/resources/earning-types.ts +64 -0
- package/src/resources/employment-types.ts +1 -1
- package/src/resources/entitlements.ts +1 -1
- package/src/resources/functions/deployments.ts +10 -4
- package/src/resources/functions/executions.ts +10 -4
- package/src/resources/functions/functions.ts +9 -15
- package/src/resources/functions/index.ts +1 -0
- package/src/resources/headcount-positions.ts +1 -1
- package/src/resources/headcount-priorities.ts +1 -1
- package/src/resources/index.ts +19 -8
- package/src/resources/job-assignments.ts +3 -3
- package/src/resources/job-codes.ts +3 -3
- package/src/resources/job-dimensions.ts +2 -2
- package/src/resources/job-functions.ts +1 -1
- package/src/resources/job-pay-rate-exceptions.ts +2 -2
- package/src/resources/job-requisitions.ts +1 -1
- package/src/resources/kiosk-badges.ts +2 -2
- package/src/resources/leave-accruals.ts +1 -1
- package/src/resources/leave-balances.ts +1 -1
- package/src/resources/leave-requests.ts +2 -2
- package/src/resources/leave-types.ts +1 -1
- package/src/resources/legal-entities.ts +1 -1
- package/src/resources/levels.ts +1 -1
- package/src/resources/location-factors.ts +1 -1
- package/src/resources/metadata/components.ts +2 -2
- package/src/resources/metadata/metadata.ts +2 -2
- package/src/resources/metadata/summary.ts +2 -2
- package/src/resources/metadata/types.ts +2 -2
- package/src/resources/object-categories.ts +17 -5
- package/src/resources/payroll-runs.ts +251 -0
- package/src/resources/platform-capabilities.ts +2 -2
- package/src/resources/report-runs.ts +90 -0
- package/src/resources/reports/available-filters.ts +60 -0
- package/src/resources/reports/index.ts +4 -0
- package/src/resources/reports/reports.ts +112 -0
- package/src/resources/reports.ts +3 -0
- package/src/resources/schedules.ts +2 -2
- package/src/resources/shift-inputs.ts +2 -2
- package/src/resources/shiftassignments.ts +2 -2
- package/src/resources/teams.ts +1 -1
- package/src/resources/time-cards.ts +1 -1
- package/src/resources/time-entries.ts +2 -2
- package/src/resources/titles.ts +2 -2
- package/src/resources/tracks.ts +1 -1
- package/src/resources/unassignedshifts.ts +2 -2
- package/src/resources/users.ts +1 -1
- package/src/resources/work-locations.ts +2 -2
- package/src/resources/workers.ts +1 -1
- package/src/resources/workflow-action-executions.ts +925 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/create-app-notification.d.mts +0 -29
- package/resources/create-app-notification.d.mts.map +0 -1
- package/resources/create-app-notification.d.ts +0 -29
- package/resources/create-app-notification.d.ts.map +0 -1
- package/resources/create-app-notification.js +0 -18
- package/resources/create-app-notification.js.map +0 -1
- package/resources/create-app-notification.mjs +0 -14
- package/resources/create-app-notification.mjs.map +0 -1
- package/resources/run-query.d.mts +0 -39
- package/resources/run-query.d.mts.map +0 -1
- package/resources/run-query.d.ts +0 -39
- package/resources/run-query.d.ts.map +0 -1
- package/resources/run-query.js +0 -21
- package/resources/run-query.js.map +0 -1
- package/resources/run-query.mjs +0 -17
- package/resources/run-query.mjs.map +0 -1
- package/resources/send-email.d.mts +0 -33
- package/resources/send-email.d.mts.map +0 -1
- package/resources/send-email.d.ts +0 -33
- package/resources/send-email.d.ts.map +0 -1
- package/resources/send-email.js.map +0 -1
- package/resources/send-email.mjs +0 -14
- package/resources/send-email.mjs.map +0 -1
- package/resources/send-slack.d.mts +0 -30
- package/resources/send-slack.d.mts.map +0 -1
- package/resources/send-slack.d.ts +0 -30
- package/resources/send-slack.d.ts.map +0 -1
- package/resources/send-slack.js +0 -18
- package/resources/send-slack.js.map +0 -1
- package/resources/send-slack.mjs.map +0 -1
- package/src/resources/create-app-notification.ts +0 -46
- package/src/resources/run-query.ts +0 -51
- package/src/resources/send-email.ts +0 -48
- package/src/resources/send-slack.ts +0 -42
|
@@ -7,25 +7,25 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class ObjectCategories extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* A
|
|
10
|
+
* A list of object categories.
|
|
11
11
|
*
|
|
12
12
|
* - Requires: `API Tier 1`
|
|
13
13
|
*/
|
|
14
14
|
list(options?: RequestOptions): PagePromise<ObjectCategoriesPageCursorURL, ObjectCategory>;
|
|
15
15
|
/**
|
|
16
|
-
* Create a new object category
|
|
16
|
+
* Create a new object category.
|
|
17
17
|
*/
|
|
18
18
|
create(body?: ObjectCategoryCreateParams | null | undefined, options?: RequestOptions): APIPromise<ObjectCategory>;
|
|
19
19
|
/**
|
|
20
|
-
* Retrieve a specific object category
|
|
20
|
+
* Retrieve a specific object category.
|
|
21
21
|
*/
|
|
22
22
|
retrieve(id: string, options?: RequestOptions): APIPromise<ObjectCategory>;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Update a specific object category.
|
|
25
25
|
*/
|
|
26
26
|
update(id: string, body?: ObjectCategoryUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ObjectCategory>;
|
|
27
27
|
/**
|
|
28
|
-
* Delete a object category
|
|
28
|
+
* Delete a object category.
|
|
29
29
|
*/
|
|
30
30
|
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
31
31
|
}
|
|
@@ -53,11 +53,23 @@ export interface ObjectCategory {
|
|
|
53
53
|
description?: string;
|
|
54
54
|
}
|
|
55
55
|
export interface ObjectCategoryCreateParams {
|
|
56
|
+
/**
|
|
57
|
+
* A description of the category.
|
|
58
|
+
*/
|
|
56
59
|
description?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the category.
|
|
62
|
+
*/
|
|
57
63
|
name?: string;
|
|
58
64
|
}
|
|
59
65
|
export interface ObjectCategoryUpdateParams {
|
|
66
|
+
/**
|
|
67
|
+
* A description of the category.
|
|
68
|
+
*/
|
|
60
69
|
description?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the category.
|
|
72
|
+
*/
|
|
61
73
|
name?: string;
|
|
62
74
|
}
|
|
63
75
|
export declare namespace ObjectCategories {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object-categories.d.ts","sourceRoot":"","sources":["../src/resources/object-categories.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,6BAA6B,EAAE,cAAc,CAAC;IAI1F;;OAEG;IACH,MAAM,CACJ,IAAI,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC;IAI7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAI1E;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC;IAI7B;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM/D;AAED,MAAM,MAAM,6BAA6B,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;AAE1E,MAAM,WAAW,cAAc;IAC7B;;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;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,0BAA0B;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,0BAA0B;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"object-categories.d.ts","sourceRoot":"","sources":["../src/resources/object-categories.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,6BAA6B,EAAE,cAAc,CAAC;IAI1F;;OAEG;IACH,MAAM,CACJ,IAAI,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC;IAI7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAI1E;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC;IAI7B;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM/D;AAED,MAAM,MAAM,6BAA6B,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;AAE1E,MAAM,WAAW,cAAc;IAC7B;;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;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -11,7 +11,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
11
11
|
*/
|
|
12
12
|
class ObjectCategories extends resource_1.APIResource {
|
|
13
13
|
/**
|
|
14
|
-
* A
|
|
14
|
+
* A list of object categories.
|
|
15
15
|
*
|
|
16
16
|
* - Requires: `API Tier 1`
|
|
17
17
|
*/
|
|
@@ -19,25 +19,25 @@ class ObjectCategories extends resource_1.APIResource {
|
|
|
19
19
|
return this._client.getAPIList('/object-categories/', (pagination_1.PageCursorURL), options);
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* Create a new object category
|
|
22
|
+
* Create a new object category.
|
|
23
23
|
*/
|
|
24
24
|
create(body = {}, options) {
|
|
25
25
|
return this._client.post('/object-categories/', { body, ...options });
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* Retrieve a specific object category
|
|
28
|
+
* Retrieve a specific object category.
|
|
29
29
|
*/
|
|
30
30
|
retrieve(id, options) {
|
|
31
31
|
return this._client.get((0, path_1.path) `/object-categories/${id}/`, options);
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Update a specific object category.
|
|
35
35
|
*/
|
|
36
36
|
update(id, body = {}, options) {
|
|
37
37
|
return this._client.patch((0, path_1.path) `/object-categories/${id}/`, { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
|
-
* Delete a object category
|
|
40
|
+
* Delete a object category.
|
|
41
41
|
*/
|
|
42
42
|
delete(id, options) {
|
|
43
43
|
return this._client.delete((0, path_1.path) `/object-categories/${id}/`, {
|
|
@@ -8,7 +8,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export class ObjectCategories extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* A
|
|
11
|
+
* A list of object categories.
|
|
12
12
|
*
|
|
13
13
|
* - Requires: `API Tier 1`
|
|
14
14
|
*/
|
|
@@ -16,25 +16,25 @@ export class ObjectCategories extends APIResource {
|
|
|
16
16
|
return this._client.getAPIList('/object-categories/', (PageCursorURL), options);
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Create a new object category
|
|
19
|
+
* Create a new object category.
|
|
20
20
|
*/
|
|
21
21
|
create(body = {}, options) {
|
|
22
22
|
return this._client.post('/object-categories/', { body, ...options });
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* Retrieve a specific object category
|
|
25
|
+
* Retrieve a specific object category.
|
|
26
26
|
*/
|
|
27
27
|
retrieve(id, options) {
|
|
28
28
|
return this._client.get(path `/object-categories/${id}/`, options);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Update a specific object category.
|
|
32
32
|
*/
|
|
33
33
|
update(id, body = {}, options) {
|
|
34
34
|
return this._client.patch(path `/object-categories/${id}/`, { body, ...options });
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Delete a object category
|
|
37
|
+
* Delete a object category.
|
|
38
38
|
*/
|
|
39
39
|
delete(id, options) {
|
|
40
40
|
return this._client.delete(path `/object-categories/${id}/`, {
|
|
@@ -0,0 +1,195 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* Payroll runs for the company
|
|
8
|
+
*/
|
|
9
|
+
export declare class PayrollRuns extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* A list of payroll-runs.
|
|
12
|
+
*
|
|
13
|
+
* - Requires: `Payroll API`
|
|
14
|
+
* - Sortable fields: `check_date`
|
|
15
|
+
*/
|
|
16
|
+
list(query?: PayrollRunListParams | null | undefined, options?: RequestOptions): PagePromise<PayrollRunListResponsesPageCursorURL, PayrollRunListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieve a specific payroll-run
|
|
19
|
+
*/
|
|
20
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<PayrollRunRetrieveResponse>;
|
|
21
|
+
}
|
|
22
|
+
export type PayrollRunListResponsesPageCursorURL = PageCursorURL<PayrollRunListResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* V2 DTO representing a single payroll run.
|
|
25
|
+
*
|
|
26
|
+
* Used by:
|
|
27
|
+
* - GET /payroll-runs/ (list)
|
|
28
|
+
* - GET /payroll-runs/{id} (retrieve)
|
|
29
|
+
*/
|
|
30
|
+
export interface PayrollRunListResponse {
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the payroll run.
|
|
33
|
+
*/
|
|
34
|
+
id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Deadline for approving the payroll run.
|
|
37
|
+
*/
|
|
38
|
+
approval_deadline?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Timestamp when the run was approved.
|
|
41
|
+
*/
|
|
42
|
+
approved_at?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Date the paycheck is issued.
|
|
45
|
+
*/
|
|
46
|
+
check_date?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Identifier linking this payroll run to the company's legal entity in the HRIS
|
|
49
|
+
* system.
|
|
50
|
+
*/
|
|
51
|
+
company_entity_id?: string;
|
|
52
|
+
/**
|
|
53
|
+
* ISO country code where the payroll run applies.
|
|
54
|
+
*/
|
|
55
|
+
country_code?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Date funds are debited from the company's account.
|
|
58
|
+
*/
|
|
59
|
+
debit_date?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Deadline after which the run is locked for changes.
|
|
62
|
+
*/
|
|
63
|
+
lock_deadline?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Timestamp when the run was marked as paid.
|
|
66
|
+
*/
|
|
67
|
+
paid_at?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Pay period details for this run.
|
|
70
|
+
*/
|
|
71
|
+
pay_period?: PayrollRunListResponse.PayPeriod;
|
|
72
|
+
/**
|
|
73
|
+
* Payment method used (e.g. WIRE, ACH).
|
|
74
|
+
*/
|
|
75
|
+
payment_type?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Current state of the run (e.g. DRAFT, PAID, APPROVED).
|
|
78
|
+
*/
|
|
79
|
+
run_state?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Type of the run (e.g. REGULAR, OFF_CYCLE, CORRECTION).
|
|
82
|
+
*/
|
|
83
|
+
run_type?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Human-readable title of the payroll run.
|
|
86
|
+
*/
|
|
87
|
+
title?: string;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace PayrollRunListResponse {
|
|
90
|
+
/**
|
|
91
|
+
* Pay period details for this run.
|
|
92
|
+
*/
|
|
93
|
+
interface PayPeriod {
|
|
94
|
+
/**
|
|
95
|
+
* End date of the pay period.
|
|
96
|
+
*/
|
|
97
|
+
end_date?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Pay frequency for this period (e.g. BI_WEEKLY, SEMI_MONTHLY, MONTHLY, WEEKLY).
|
|
100
|
+
*/
|
|
101
|
+
pay_frequency?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Start date of the pay period.
|
|
104
|
+
*/
|
|
105
|
+
start_date?: string;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Meta information for the response.
|
|
110
|
+
*/
|
|
111
|
+
export interface PayrollRunRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
112
|
+
/**
|
|
113
|
+
* Unique identifier for the payroll run.
|
|
114
|
+
*/
|
|
115
|
+
id?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Deadline for approving the payroll run.
|
|
118
|
+
*/
|
|
119
|
+
approval_deadline?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Timestamp when the run was approved.
|
|
122
|
+
*/
|
|
123
|
+
approved_at?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Date the paycheck is issued.
|
|
126
|
+
*/
|
|
127
|
+
check_date?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Identifier linking this payroll run to the company's legal entity in the HRIS
|
|
130
|
+
* system.
|
|
131
|
+
*/
|
|
132
|
+
company_entity_id?: string;
|
|
133
|
+
/**
|
|
134
|
+
* ISO country code where the payroll run applies.
|
|
135
|
+
*/
|
|
136
|
+
country_code?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Date funds are debited from the company's account.
|
|
139
|
+
*/
|
|
140
|
+
debit_date?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Deadline after which the run is locked for changes.
|
|
143
|
+
*/
|
|
144
|
+
lock_deadline?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Timestamp when the run was marked as paid.
|
|
147
|
+
*/
|
|
148
|
+
paid_at?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Pay period details for this run.
|
|
151
|
+
*/
|
|
152
|
+
pay_period?: PayrollRunRetrieveResponse.PayPeriod;
|
|
153
|
+
/**
|
|
154
|
+
* Payment method used (e.g. WIRE, ACH).
|
|
155
|
+
*/
|
|
156
|
+
payment_type?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Current state of the run (e.g. DRAFT, PAID, APPROVED).
|
|
159
|
+
*/
|
|
160
|
+
run_state?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Type of the run (e.g. REGULAR, OFF_CYCLE, CORRECTION).
|
|
163
|
+
*/
|
|
164
|
+
run_type?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Human-readable title of the payroll run.
|
|
167
|
+
*/
|
|
168
|
+
title?: string;
|
|
169
|
+
}
|
|
170
|
+
export declare namespace PayrollRunRetrieveResponse {
|
|
171
|
+
/**
|
|
172
|
+
* Pay period details for this run.
|
|
173
|
+
*/
|
|
174
|
+
interface PayPeriod {
|
|
175
|
+
/**
|
|
176
|
+
* End date of the pay period.
|
|
177
|
+
*/
|
|
178
|
+
end_date?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Pay frequency for this period (e.g. BI_WEEKLY, SEMI_MONTHLY, MONTHLY, WEEKLY).
|
|
181
|
+
*/
|
|
182
|
+
pay_frequency?: string;
|
|
183
|
+
/**
|
|
184
|
+
* Start date of the pay period.
|
|
185
|
+
*/
|
|
186
|
+
start_date?: string;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
export interface PayrollRunListParams {
|
|
190
|
+
order_by?: string;
|
|
191
|
+
}
|
|
192
|
+
export declare namespace PayrollRuns {
|
|
193
|
+
export { type PayrollRunListResponse as PayrollRunListResponse, type PayrollRunRetrieveResponse as PayrollRunRetrieveResponse, type PayrollRunListResponsesPageCursorURL as PayrollRunListResponsesPageCursorURL, type PayrollRunListParams as PayrollRunListParams, };
|
|
194
|
+
}
|
|
195
|
+
//# sourceMappingURL=payroll-runs.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payroll-runs.d.mts","sourceRoot":"","sources":["../src/resources/payroll-runs.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,195 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* Payroll runs for the company
|
|
8
|
+
*/
|
|
9
|
+
export declare class PayrollRuns extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* A list of payroll-runs.
|
|
12
|
+
*
|
|
13
|
+
* - Requires: `Payroll API`
|
|
14
|
+
* - Sortable fields: `check_date`
|
|
15
|
+
*/
|
|
16
|
+
list(query?: PayrollRunListParams | null | undefined, options?: RequestOptions): PagePromise<PayrollRunListResponsesPageCursorURL, PayrollRunListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieve a specific payroll-run
|
|
19
|
+
*/
|
|
20
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<PayrollRunRetrieveResponse>;
|
|
21
|
+
}
|
|
22
|
+
export type PayrollRunListResponsesPageCursorURL = PageCursorURL<PayrollRunListResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* V2 DTO representing a single payroll run.
|
|
25
|
+
*
|
|
26
|
+
* Used by:
|
|
27
|
+
* - GET /payroll-runs/ (list)
|
|
28
|
+
* - GET /payroll-runs/{id} (retrieve)
|
|
29
|
+
*/
|
|
30
|
+
export interface PayrollRunListResponse {
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the payroll run.
|
|
33
|
+
*/
|
|
34
|
+
id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Deadline for approving the payroll run.
|
|
37
|
+
*/
|
|
38
|
+
approval_deadline?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Timestamp when the run was approved.
|
|
41
|
+
*/
|
|
42
|
+
approved_at?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Date the paycheck is issued.
|
|
45
|
+
*/
|
|
46
|
+
check_date?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Identifier linking this payroll run to the company's legal entity in the HRIS
|
|
49
|
+
* system.
|
|
50
|
+
*/
|
|
51
|
+
company_entity_id?: string;
|
|
52
|
+
/**
|
|
53
|
+
* ISO country code where the payroll run applies.
|
|
54
|
+
*/
|
|
55
|
+
country_code?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Date funds are debited from the company's account.
|
|
58
|
+
*/
|
|
59
|
+
debit_date?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Deadline after which the run is locked for changes.
|
|
62
|
+
*/
|
|
63
|
+
lock_deadline?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Timestamp when the run was marked as paid.
|
|
66
|
+
*/
|
|
67
|
+
paid_at?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Pay period details for this run.
|
|
70
|
+
*/
|
|
71
|
+
pay_period?: PayrollRunListResponse.PayPeriod;
|
|
72
|
+
/**
|
|
73
|
+
* Payment method used (e.g. WIRE, ACH).
|
|
74
|
+
*/
|
|
75
|
+
payment_type?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Current state of the run (e.g. DRAFT, PAID, APPROVED).
|
|
78
|
+
*/
|
|
79
|
+
run_state?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Type of the run (e.g. REGULAR, OFF_CYCLE, CORRECTION).
|
|
82
|
+
*/
|
|
83
|
+
run_type?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Human-readable title of the payroll run.
|
|
86
|
+
*/
|
|
87
|
+
title?: string;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace PayrollRunListResponse {
|
|
90
|
+
/**
|
|
91
|
+
* Pay period details for this run.
|
|
92
|
+
*/
|
|
93
|
+
interface PayPeriod {
|
|
94
|
+
/**
|
|
95
|
+
* End date of the pay period.
|
|
96
|
+
*/
|
|
97
|
+
end_date?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Pay frequency for this period (e.g. BI_WEEKLY, SEMI_MONTHLY, MONTHLY, WEEKLY).
|
|
100
|
+
*/
|
|
101
|
+
pay_frequency?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Start date of the pay period.
|
|
104
|
+
*/
|
|
105
|
+
start_date?: string;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Meta information for the response.
|
|
110
|
+
*/
|
|
111
|
+
export interface PayrollRunRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
112
|
+
/**
|
|
113
|
+
* Unique identifier for the payroll run.
|
|
114
|
+
*/
|
|
115
|
+
id?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Deadline for approving the payroll run.
|
|
118
|
+
*/
|
|
119
|
+
approval_deadline?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Timestamp when the run was approved.
|
|
122
|
+
*/
|
|
123
|
+
approved_at?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Date the paycheck is issued.
|
|
126
|
+
*/
|
|
127
|
+
check_date?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Identifier linking this payroll run to the company's legal entity in the HRIS
|
|
130
|
+
* system.
|
|
131
|
+
*/
|
|
132
|
+
company_entity_id?: string;
|
|
133
|
+
/**
|
|
134
|
+
* ISO country code where the payroll run applies.
|
|
135
|
+
*/
|
|
136
|
+
country_code?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Date funds are debited from the company's account.
|
|
139
|
+
*/
|
|
140
|
+
debit_date?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Deadline after which the run is locked for changes.
|
|
143
|
+
*/
|
|
144
|
+
lock_deadline?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Timestamp when the run was marked as paid.
|
|
147
|
+
*/
|
|
148
|
+
paid_at?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Pay period details for this run.
|
|
151
|
+
*/
|
|
152
|
+
pay_period?: PayrollRunRetrieveResponse.PayPeriod;
|
|
153
|
+
/**
|
|
154
|
+
* Payment method used (e.g. WIRE, ACH).
|
|
155
|
+
*/
|
|
156
|
+
payment_type?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Current state of the run (e.g. DRAFT, PAID, APPROVED).
|
|
159
|
+
*/
|
|
160
|
+
run_state?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Type of the run (e.g. REGULAR, OFF_CYCLE, CORRECTION).
|
|
163
|
+
*/
|
|
164
|
+
run_type?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Human-readable title of the payroll run.
|
|
167
|
+
*/
|
|
168
|
+
title?: string;
|
|
169
|
+
}
|
|
170
|
+
export declare namespace PayrollRunRetrieveResponse {
|
|
171
|
+
/**
|
|
172
|
+
* Pay period details for this run.
|
|
173
|
+
*/
|
|
174
|
+
interface PayPeriod {
|
|
175
|
+
/**
|
|
176
|
+
* End date of the pay period.
|
|
177
|
+
*/
|
|
178
|
+
end_date?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Pay frequency for this period (e.g. BI_WEEKLY, SEMI_MONTHLY, MONTHLY, WEEKLY).
|
|
181
|
+
*/
|
|
182
|
+
pay_frequency?: string;
|
|
183
|
+
/**
|
|
184
|
+
* Start date of the pay period.
|
|
185
|
+
*/
|
|
186
|
+
start_date?: string;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
export interface PayrollRunListParams {
|
|
190
|
+
order_by?: string;
|
|
191
|
+
}
|
|
192
|
+
export declare namespace PayrollRuns {
|
|
193
|
+
export { type PayrollRunListResponse as PayrollRunListResponse, type PayrollRunRetrieveResponse as PayrollRunRetrieveResponse, type PayrollRunListResponsesPageCursorURL as PayrollRunListResponsesPageCursorURL, type PayrollRunListParams as PayrollRunListParams, };
|
|
194
|
+
}
|
|
195
|
+
//# sourceMappingURL=payroll-runs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payroll-runs.d.ts","sourceRoot":"","sources":["../src/resources/payroll-runs.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.PayrollRuns = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Payroll runs for the company
|
|
10
|
+
*/
|
|
11
|
+
class PayrollRuns extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* A list of payroll-runs.
|
|
14
|
+
*
|
|
15
|
+
* - Requires: `Payroll API`
|
|
16
|
+
* - Sortable fields: `check_date`
|
|
17
|
+
*/
|
|
18
|
+
list(query = {}, options) {
|
|
19
|
+
return this._client.getAPIList('/payroll-runs/', (pagination_1.PageCursorURL), {
|
|
20
|
+
query,
|
|
21
|
+
...options,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Retrieve a specific payroll-run
|
|
26
|
+
*/
|
|
27
|
+
retrieve(id, options) {
|
|
28
|
+
return this._client.get((0, path_1.path) `/payroll-runs/${id}/`, options);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.PayrollRuns = PayrollRuns;
|
|
32
|
+
//# sourceMappingURL=payroll-runs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payroll-runs.js","sourceRoot":"","sources":["../src/resources/payroll-runs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;OAKG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,0BAAqC,CAAA,EAAE;YACtF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,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;CACF;AAvBD,kCAuBC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Payroll runs for the company
|
|
7
|
+
*/
|
|
8
|
+
export class PayrollRuns extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* A list of payroll-runs.
|
|
11
|
+
*
|
|
12
|
+
* - Requires: `Payroll API`
|
|
13
|
+
* - Sortable fields: `check_date`
|
|
14
|
+
*/
|
|
15
|
+
list(query = {}, options) {
|
|
16
|
+
return this._client.getAPIList('/payroll-runs/', (PageCursorURL), {
|
|
17
|
+
query,
|
|
18
|
+
...options,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Retrieve a specific payroll-run
|
|
23
|
+
*/
|
|
24
|
+
retrieve(id, options) {
|
|
25
|
+
return this._client.get(path `/payroll-runs/${id}/`, options);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=payroll-runs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payroll-runs.mjs","sourceRoot":"","sources":["../src/resources/payroll-runs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;OAKG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,aAAqC,CAAA,EAAE;YACtF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,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;CACF"}
|
|
@@ -6,9 +6,9 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class PlatformCapabilities extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* A
|
|
9
|
+
* A list of platform capabilities.
|
|
10
10
|
*
|
|
11
|
-
* - Requires: `
|
|
11
|
+
* - Requires: `Platform Capabilities API`
|
|
12
12
|
*/
|
|
13
13
|
list(options?: RequestOptions): PagePromise<PlatformCapabilityListResponsesPageCursorURL, PlatformCapabilityListResponse>;
|
|
14
14
|
}
|
|
@@ -6,9 +6,9 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class PlatformCapabilities extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* A
|
|
9
|
+
* A list of platform capabilities.
|
|
10
10
|
*
|
|
11
|
-
* - Requires: `
|
|
11
|
+
* - Requires: `Platform Capabilities API`
|
|
12
12
|
*/
|
|
13
13
|
list(options?: RequestOptions): PagePromise<PlatformCapabilityListResponsesPageCursorURL, PlatformCapabilityListResponse>;
|
|
14
14
|
}
|
|
@@ -9,9 +9,9 @@ const pagination_1 = require("../core/pagination.js");
|
|
|
9
9
|
*/
|
|
10
10
|
class PlatformCapabilities extends resource_1.APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of platform capabilities.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `
|
|
14
|
+
* - Requires: `Platform Capabilities API`
|
|
15
15
|
*/
|
|
16
16
|
list(options) {
|
|
17
17
|
return this._client.getAPIList('/platform-capabilities/', (pagination_1.PageCursorURL), options);
|
|
@@ -6,9 +6,9 @@ import { PageCursorURL } from "../core/pagination.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export class PlatformCapabilities extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* A
|
|
9
|
+
* A list of platform capabilities.
|
|
10
10
|
*
|
|
11
|
-
* - Requires: `
|
|
11
|
+
* - Requires: `Platform Capabilities API`
|
|
12
12
|
*/
|
|
13
13
|
list(options) {
|
|
14
14
|
return this._client.getAPIList('/platform-capabilities/', (PageCursorURL), options);
|