@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reports.mjs","sourceRoot":"","sources":["../src/resources/reports.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Schedules extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of schedules.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Expandable fields: `managers`, `observers`, `members`
|
|
@@ -25,7 +25,7 @@ export declare class Schedules extends APIResource {
|
|
|
25
25
|
*/
|
|
26
26
|
retrieve(id: string, query?: ScheduleRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ScheduleRetrieveResponse>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Update a specific schedule.
|
|
29
29
|
*/
|
|
30
30
|
update(id: string, body?: ScheduleUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ScheduleUpdateResponse>;
|
|
31
31
|
}
|
package/resources/schedules.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Schedules extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of schedules.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Expandable fields: `managers`, `observers`, `members`
|
|
@@ -25,7 +25,7 @@ export declare class Schedules extends APIResource {
|
|
|
25
25
|
*/
|
|
26
26
|
retrieve(id: string, query?: ScheduleRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ScheduleRetrieveResponse>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Update a specific schedule.
|
|
29
29
|
*/
|
|
30
30
|
update(id: string, body?: ScheduleUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ScheduleUpdateResponse>;
|
|
31
31
|
}
|
package/resources/schedules.js
CHANGED
|
@@ -10,7 +10,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class Schedules extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of schedules.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 2`
|
|
16
16
|
* - Expandable fields: `managers`, `observers`, `members`
|
|
@@ -32,7 +32,7 @@ class Schedules extends resource_1.APIResource {
|
|
|
32
32
|
return this._client.get((0, path_1.path) `/schedules/${id}/`, { query, ...options });
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Update a specific schedule.
|
|
36
36
|
*/
|
|
37
37
|
update(id, body = {}, options) {
|
|
38
38
|
return this._client.patch((0, path_1.path) `/schedules/${id}/`, { body, ...options });
|
package/resources/schedules.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class Schedules extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* A
|
|
10
|
+
* A list of schedules.
|
|
11
11
|
*
|
|
12
12
|
* - Requires: `API Tier 2`
|
|
13
13
|
* - Expandable fields: `managers`, `observers`, `members`
|
|
@@ -29,7 +29,7 @@ export class Schedules extends APIResource {
|
|
|
29
29
|
return this._client.get(path `/schedules/${id}/`, { query, ...options });
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Update a specific schedule.
|
|
33
33
|
*/
|
|
34
34
|
update(id, body = {}, options) {
|
|
35
35
|
return this._client.patch(path `/schedules/${id}/`, { body, ...options });
|
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class ShiftInputs extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of shift inputs.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Filterable fields: `name`
|
|
@@ -26,7 +26,7 @@ export declare class ShiftInputs extends APIResource {
|
|
|
26
26
|
*/
|
|
27
27
|
retrieve(id: string, query?: ShiftInputRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ShiftInputRetrieveResponse>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Update a specific shift input.
|
|
30
30
|
*/
|
|
31
31
|
update(id: string, body: ShiftInputUpdateParams, options?: RequestOptions): APIPromise<ShiftInputUpdateResponse>;
|
|
32
32
|
/**
|
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class ShiftInputs extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of shift inputs.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Filterable fields: `name`
|
|
@@ -26,7 +26,7 @@ export declare class ShiftInputs extends APIResource {
|
|
|
26
26
|
*/
|
|
27
27
|
retrieve(id: string, query?: ShiftInputRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ShiftInputRetrieveResponse>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Update a specific shift input.
|
|
30
30
|
*/
|
|
31
31
|
update(id: string, body: ShiftInputUpdateParams, options?: RequestOptions): APIPromise<ShiftInputUpdateResponse>;
|
|
32
32
|
/**
|
|
@@ -11,7 +11,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
11
11
|
*/
|
|
12
12
|
class ShiftInputs extends resource_1.APIResource {
|
|
13
13
|
/**
|
|
14
|
-
* A
|
|
14
|
+
* A list of shift inputs.
|
|
15
15
|
*
|
|
16
16
|
* - Requires: `API Tier 2`
|
|
17
17
|
* - Filterable fields: `name`
|
|
@@ -37,7 +37,7 @@ class ShiftInputs extends resource_1.APIResource {
|
|
|
37
37
|
return this._client.get((0, path_1.path) `/shift-inputs/${id}/`, { query, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Update a specific shift input.
|
|
41
41
|
*/
|
|
42
42
|
update(id, body, options) {
|
|
43
43
|
return this._client.patch((0, path_1.path) `/shift-inputs/${id}/`, { body, ...options });
|
|
@@ -8,7 +8,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export class ShiftInputs extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* A
|
|
11
|
+
* A list of shift inputs.
|
|
12
12
|
*
|
|
13
13
|
* - Requires: `API Tier 2`
|
|
14
14
|
* - Filterable fields: `name`
|
|
@@ -34,7 +34,7 @@ export class ShiftInputs extends APIResource {
|
|
|
34
34
|
return this._client.get(path `/shift-inputs/${id}/`, { query, ...options });
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Update a specific shift input.
|
|
38
38
|
*/
|
|
39
39
|
update(id, body, options) {
|
|
40
40
|
return this._client.patch(path `/shift-inputs/${id}/`, { body, ...options });
|
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Shiftassignments extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of shift assignments.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Filterable fields: `worker_id`, `schedule_id`, `shift_data.start_time`,
|
|
@@ -27,7 +27,7 @@ export declare class Shiftassignments extends APIResource {
|
|
|
27
27
|
*/
|
|
28
28
|
retrieve(id: string, query?: ShiftassignmentRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ShiftassignmentRetrieveResponse>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Update a specific shift assignment.
|
|
31
31
|
*/
|
|
32
32
|
update(id: string, body: ShiftassignmentUpdateParams, options?: RequestOptions): APIPromise<ShiftassignmentUpdateResponse>;
|
|
33
33
|
}
|
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Shiftassignments extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of shift assignments.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Filterable fields: `worker_id`, `schedule_id`, `shift_data.start_time`,
|
|
@@ -27,7 +27,7 @@ export declare class Shiftassignments extends APIResource {
|
|
|
27
27
|
*/
|
|
28
28
|
retrieve(id: string, query?: ShiftassignmentRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ShiftassignmentRetrieveResponse>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Update a specific shift assignment.
|
|
31
31
|
*/
|
|
32
32
|
update(id: string, body: ShiftassignmentUpdateParams, options?: RequestOptions): APIPromise<ShiftassignmentUpdateResponse>;
|
|
33
33
|
}
|
|
@@ -10,7 +10,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class Shiftassignments extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of shift assignments.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 2`
|
|
16
16
|
* - Filterable fields: `worker_id`, `schedule_id`, `shift_data.start_time`,
|
|
@@ -37,7 +37,7 @@ class Shiftassignments extends resource_1.APIResource {
|
|
|
37
37
|
return this._client.get((0, path_1.path) `/shiftassignments/${id}/`, { query, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Update a specific shift assignment.
|
|
41
41
|
*/
|
|
42
42
|
update(id, body, options) {
|
|
43
43
|
return this._client.patch((0, path_1.path) `/shiftassignments/${id}/`, { body, ...options });
|
|
@@ -7,7 +7,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class Shiftassignments extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* A
|
|
10
|
+
* A list of shift assignments.
|
|
11
11
|
*
|
|
12
12
|
* - Requires: `API Tier 2`
|
|
13
13
|
* - Filterable fields: `worker_id`, `schedule_id`, `shift_data.start_time`,
|
|
@@ -34,7 +34,7 @@ export class Shiftassignments extends APIResource {
|
|
|
34
34
|
return this._client.get(path `/shiftassignments/${id}/`, { query, ...options });
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Update a specific shift assignment.
|
|
38
38
|
*/
|
|
39
39
|
update(id, body, options) {
|
|
40
40
|
return this._client.patch(path `/shiftassignments/${id}/`, { body, ...options });
|
package/resources/teams.d.mts
CHANGED
package/resources/teams.d.ts
CHANGED
package/resources/teams.js
CHANGED
package/resources/teams.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class TimeCards extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of time cards.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Filterable fields: `pay_period.start_date`, `worker_id`
|
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class TimeCards extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of time cards.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Filterable fields: `pay_period.start_date`, `worker_id`
|
package/resources/time-cards.js
CHANGED
|
@@ -10,7 +10,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class TimeCards extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of time cards.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 2`
|
|
16
16
|
* - Filterable fields: `pay_period.start_date`, `worker_id`
|
package/resources/time-cards.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class TimeEntries extends APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of time entries.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 2`
|
|
16
16
|
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date`,
|
|
@@ -28,7 +28,7 @@ export declare class TimeEntries extends APIResource {
|
|
|
28
28
|
*/
|
|
29
29
|
retrieve(id: string, query?: TimeEntryRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<TimeEntryRetrieveResponse>;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Update a specific time entry.
|
|
32
32
|
*/
|
|
33
33
|
update(id: string, body: TimeEntryUpdateParams, options?: RequestOptions): APIPromise<TimeEntryUpdateResponse>;
|
|
34
34
|
/**
|
|
@@ -10,7 +10,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class TimeEntries extends APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of time entries.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 2`
|
|
16
16
|
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date`,
|
|
@@ -28,7 +28,7 @@ export declare class TimeEntries extends APIResource {
|
|
|
28
28
|
*/
|
|
29
29
|
retrieve(id: string, query?: TimeEntryRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<TimeEntryRetrieveResponse>;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Update a specific time entry.
|
|
32
32
|
*/
|
|
33
33
|
update(id: string, body: TimeEntryUpdateParams, options?: RequestOptions): APIPromise<TimeEntryUpdateResponse>;
|
|
34
34
|
/**
|
|
@@ -11,7 +11,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
11
11
|
*/
|
|
12
12
|
class TimeEntries extends resource_1.APIResource {
|
|
13
13
|
/**
|
|
14
|
-
* A
|
|
14
|
+
* A list of time entries.
|
|
15
15
|
*
|
|
16
16
|
* - Requires: `API Tier 2`
|
|
17
17
|
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date`,
|
|
@@ -38,7 +38,7 @@ class TimeEntries extends resource_1.APIResource {
|
|
|
38
38
|
return this._client.get((0, path_1.path) `/time-entries/${id}/`, { query, ...options });
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Update a specific time entry.
|
|
42
42
|
*/
|
|
43
43
|
update(id, body, options) {
|
|
44
44
|
return this._client.patch((0, path_1.path) `/time-entries/${id}/`, { body, ...options });
|
|
@@ -8,7 +8,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export class TimeEntries extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* A
|
|
11
|
+
* A list of time entries.
|
|
12
12
|
*
|
|
13
13
|
* - Requires: `API Tier 2`
|
|
14
14
|
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date`,
|
|
@@ -35,7 +35,7 @@ export class TimeEntries extends APIResource {
|
|
|
35
35
|
return this._client.get(path `/time-entries/${id}/`, { query, ...options });
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Update a specific time entry.
|
|
39
39
|
*/
|
|
40
40
|
update(id, body, options) {
|
|
41
41
|
return this._client.patch(path `/time-entries/${id}/`, { body, ...options });
|
package/resources/titles.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Titles extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* A
|
|
11
|
+
* A list of titles.
|
|
12
12
|
*
|
|
13
13
|
* - Requires: `API Tier 1`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -23,7 +23,7 @@ export declare class Titles extends APIResource {
|
|
|
23
23
|
*/
|
|
24
24
|
retrieve(id: string, options?: RequestOptions): APIPromise<TitleRetrieveResponse>;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Update a specific title.
|
|
27
27
|
*/
|
|
28
28
|
update(id: string, body: TitleUpdateParams, options?: RequestOptions): APIPromise<TitleUpdateResponse>;
|
|
29
29
|
/**
|
package/resources/titles.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Titles extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* A
|
|
11
|
+
* A list of titles.
|
|
12
12
|
*
|
|
13
13
|
* - Requires: `API Tier 1`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -23,7 +23,7 @@ export declare class Titles extends APIResource {
|
|
|
23
23
|
*/
|
|
24
24
|
retrieve(id: string, options?: RequestOptions): APIPromise<TitleRetrieveResponse>;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Update a specific title.
|
|
27
27
|
*/
|
|
28
28
|
update(id: string, body: TitleUpdateParams, options?: RequestOptions): APIPromise<TitleUpdateResponse>;
|
|
29
29
|
/**
|
package/resources/titles.js
CHANGED
|
@@ -11,7 +11,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
11
11
|
*/
|
|
12
12
|
class Titles extends resource_1.APIResource {
|
|
13
13
|
/**
|
|
14
|
-
* A
|
|
14
|
+
* A list of titles.
|
|
15
15
|
*
|
|
16
16
|
* - Requires: `API Tier 1`
|
|
17
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -32,7 +32,7 @@ class Titles extends resource_1.APIResource {
|
|
|
32
32
|
return this._client.get((0, path_1.path) `/titles/${id}/`, options);
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Update a specific title.
|
|
36
36
|
*/
|
|
37
37
|
update(id, body, options) {
|
|
38
38
|
return this._client.patch((0, path_1.path) `/titles/${id}/`, { body, ...options });
|
package/resources/titles.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export class Titles extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* A
|
|
11
|
+
* A list of titles.
|
|
12
12
|
*
|
|
13
13
|
* - Requires: `API Tier 1`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -29,7 +29,7 @@ export class Titles extends APIResource {
|
|
|
29
29
|
return this._client.get(path `/titles/${id}/`, options);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Update a specific title.
|
|
33
33
|
*/
|
|
34
34
|
update(id, body, options) {
|
|
35
35
|
return this._client.patch(path `/titles/${id}/`, { body, ...options });
|
package/resources/tracks.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Tracks extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* A
|
|
11
|
+
* A list of tracks.
|
|
12
12
|
*
|
|
13
13
|
* - Requires: `API Tier 2`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
package/resources/tracks.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Tracks extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* A
|
|
11
|
+
* A list of tracks.
|
|
12
12
|
*
|
|
13
13
|
* - Requires: `API Tier 2`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
package/resources/tracks.js
CHANGED
package/resources/tracks.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Unassignedshifts extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of unassigned shifts.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Filterable fields: `schedule_id`, `shift_data.start_time`,
|
|
@@ -27,7 +27,7 @@ export declare class Unassignedshifts extends APIResource {
|
|
|
27
27
|
*/
|
|
28
28
|
retrieve(id: string, query?: UnassignedshiftRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<UnassignedshiftRetrieveResponse>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Update a specific unassigned shift.
|
|
31
31
|
*/
|
|
32
32
|
update(id: string, body: UnassignedshiftUpdateParams, options?: RequestOptions): APIPromise<UnassignedshiftUpdateResponse>;
|
|
33
33
|
}
|
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Unassignedshifts extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of unassigned shifts.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 2`
|
|
15
15
|
* - Filterable fields: `schedule_id`, `shift_data.start_time`,
|
|
@@ -27,7 +27,7 @@ export declare class Unassignedshifts extends APIResource {
|
|
|
27
27
|
*/
|
|
28
28
|
retrieve(id: string, query?: UnassignedshiftRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<UnassignedshiftRetrieveResponse>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Update a specific unassigned shift.
|
|
31
31
|
*/
|
|
32
32
|
update(id: string, body: UnassignedshiftUpdateParams, options?: RequestOptions): APIPromise<UnassignedshiftUpdateResponse>;
|
|
33
33
|
}
|
|
@@ -10,7 +10,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class Unassignedshifts extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of unassigned shifts.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 2`
|
|
16
16
|
* - Filterable fields: `schedule_id`, `shift_data.start_time`,
|
|
@@ -37,7 +37,7 @@ class Unassignedshifts extends resource_1.APIResource {
|
|
|
37
37
|
return this._client.get((0, path_1.path) `/unassignedshifts/${id}/`, { query, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Update a specific unassigned shift.
|
|
41
41
|
*/
|
|
42
42
|
update(id, body, options) {
|
|
43
43
|
return this._client.patch((0, path_1.path) `/unassignedshifts/${id}/`, { body, ...options });
|
|
@@ -7,7 +7,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class Unassignedshifts extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* A
|
|
10
|
+
* A list of unassigned shifts.
|
|
11
11
|
*
|
|
12
12
|
* - Requires: `API Tier 2`
|
|
13
13
|
* - Filterable fields: `schedule_id`, `shift_data.start_time`,
|
|
@@ -34,7 +34,7 @@ export class Unassignedshifts extends APIResource {
|
|
|
34
34
|
return this._client.get(path `/unassignedshifts/${id}/`, { query, ...options });
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Update a specific unassigned shift.
|
|
38
38
|
*/
|
|
39
39
|
update(id, body, options) {
|
|
40
40
|
return this._client.patch(path `/unassignedshifts/${id}/`, { body, ...options });
|
package/resources/users.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Users extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of users.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 1`
|
|
15
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
package/resources/users.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Users extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of users.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 1`
|
|
15
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
package/resources/users.js
CHANGED
package/resources/users.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class WorkLocations extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of work locations.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 1`
|
|
15
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -24,7 +24,7 @@ export declare class WorkLocations extends APIResource {
|
|
|
24
24
|
*/
|
|
25
25
|
retrieve(id: string, options?: RequestOptions): APIPromise<WorkLocationRetrieveResponse>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Update a specific work location.
|
|
28
28
|
*/
|
|
29
29
|
update(id: string, body: WorkLocationUpdateParams, options?: RequestOptions): APIPromise<WorkLocation>;
|
|
30
30
|
/**
|