@rippling/rippling-sdk 0.2.0-alpha.21 → 0.2.0-alpha.22
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 +41 -37
- package/client.d.mts.map +1 -1
- package/client.d.ts +41 -37
- package/client.d.ts.map +1 -1
- package/client.js +18 -18
- package/client.js.map +1 -1
- package/client.mjs +18 -18
- package/client.mjs.map +1 -1
- package/internal/utils/values.js +3 -3
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +3 -3
- package/internal/utils/values.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/business-partner-groups.d.mts +13 -13
- package/resources/business-partner-groups.d.mts.map +1 -1
- package/resources/business-partner-groups.d.ts +13 -13
- package/resources/business-partner-groups.d.ts.map +1 -1
- package/resources/business-partner-groups.js +12 -12
- package/resources/business-partner-groups.js.map +1 -1
- package/resources/business-partner-groups.mjs +12 -12
- package/resources/business-partner-groups.mjs.map +1 -1
- package/resources/business-partners.d.mts +14 -14
- package/resources/business-partners.d.mts.map +1 -1
- package/resources/business-partners.d.ts +14 -14
- package/resources/business-partners.d.ts.map +1 -1
- package/resources/business-partners.js +12 -12
- package/resources/business-partners.js.map +1 -1
- package/resources/business-partners.mjs +12 -12
- package/resources/business-partners.mjs.map +1 -1
- package/resources/compensations.d.mts +8 -8
- package/resources/compensations.d.mts.map +1 -1
- package/resources/compensations.d.ts +8 -8
- package/resources/compensations.d.ts.map +1 -1
- package/resources/compensations.js +6 -6
- package/resources/compensations.js.map +1 -1
- package/resources/compensations.mjs +6 -6
- package/resources/compensations.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +7 -7
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +7 -7
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +8 -8
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +8 -8
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +6 -6
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +6 -6
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +8 -8
- package/resources/custom-objects/fields.js.map +1 -1
- package/resources/custom-objects/fields.mjs +8 -8
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts +1 -1
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts +1 -1
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/records.d.mts +32 -32
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +32 -32
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +27 -27
- package/resources/custom-objects/records.js.map +1 -1
- package/resources/custom-objects/records.mjs +27 -27
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/departments.d.mts +8 -8
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts +8 -8
- package/resources/departments.d.ts.map +1 -1
- package/resources/departments.js +6 -6
- package/resources/departments.js.map +1 -1
- package/resources/departments.mjs +6 -6
- package/resources/departments.mjs.map +1 -1
- package/resources/draft-hires.d.mts +427 -0
- package/resources/draft-hires.d.mts.map +1 -0
- package/resources/draft-hires.d.ts +427 -0
- package/resources/draft-hires.d.ts.map +1 -0
- package/resources/draft-hires.js +15 -0
- package/resources/draft-hires.js.map +1 -0
- package/resources/draft-hires.mjs +11 -0
- package/resources/draft-hires.mjs.map +1 -0
- package/resources/employment-types.d.mts +4 -4
- package/resources/employment-types.d.mts.map +1 -1
- package/resources/employment-types.d.ts +4 -4
- package/resources/employment-types.d.ts.map +1 -1
- package/resources/employment-types.js +6 -6
- package/resources/employment-types.js.map +1 -1
- package/resources/employment-types.mjs +6 -6
- package/resources/employment-types.mjs.map +1 -1
- package/resources/functions/deployments.d.mts +7 -7
- package/resources/functions/deployments.d.mts.map +1 -1
- package/resources/functions/deployments.d.ts +7 -7
- package/resources/functions/deployments.d.ts.map +1 -1
- package/resources/functions/deployments.js +9 -9
- package/resources/functions/deployments.js.map +1 -1
- package/resources/functions/deployments.mjs +9 -9
- package/resources/functions/deployments.mjs.map +1 -1
- package/resources/functions/executions.d.mts +15 -15
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +15 -15
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +10 -10
- package/resources/functions/executions.js.map +1 -1
- package/resources/functions/executions.mjs +10 -10
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts +12 -12
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +12 -12
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +9 -9
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +9 -9
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/index.d.mts +2 -2
- package/resources/functions/index.d.mts.map +1 -1
- package/resources/functions/index.d.ts +2 -2
- package/resources/functions/index.d.ts.map +1 -1
- package/resources/headcount-positions.d.mts +74 -44
- package/resources/headcount-positions.d.mts.map +1 -1
- package/resources/headcount-positions.d.ts +74 -44
- package/resources/headcount-positions.d.ts.map +1 -1
- package/resources/headcount-positions.js +7 -7
- package/resources/headcount-positions.js.map +1 -1
- package/resources/headcount-positions.mjs +7 -7
- package/resources/headcount-positions.mjs.map +1 -1
- package/resources/headcount-priorities.d.mts +11 -11
- package/resources/headcount-priorities.d.mts.map +1 -1
- package/resources/headcount-priorities.d.ts +11 -11
- package/resources/headcount-priorities.d.ts.map +1 -1
- package/resources/headcount-priorities.js +7 -7
- package/resources/headcount-priorities.js.map +1 -1
- package/resources/headcount-priorities.mjs +7 -7
- package/resources/headcount-priorities.mjs.map +1 -1
- package/resources/index.d.mts +27 -25
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +27 -25
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +8 -8
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +8 -8
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-assignments.js +6 -6
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +6 -6
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.d.mts +16 -16
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +16 -16
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-codes.js +12 -12
- package/resources/job-codes.js.map +1 -1
- package/resources/job-codes.mjs +12 -12
- package/resources/job-codes.mjs.map +1 -1
- package/resources/job-dimensions.d.mts +13 -13
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts +13 -13
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-dimensions.js +10 -10
- package/resources/job-dimensions.js.map +1 -1
- package/resources/job-dimensions.mjs +10 -10
- package/resources/job-dimensions.mjs.map +1 -1
- package/resources/job-functions.d.mts +11 -11
- package/resources/job-functions.d.mts.map +1 -1
- package/resources/job-functions.d.ts +11 -11
- package/resources/job-functions.d.ts.map +1 -1
- package/resources/job-functions.js +7 -7
- package/resources/job-functions.js.map +1 -1
- package/resources/job-functions.mjs +7 -7
- package/resources/job-functions.mjs.map +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +8 -8
- package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
- package/resources/job-pay-rate-exceptions.d.ts +8 -8
- package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
- package/resources/job-pay-rate-exceptions.js +6 -6
- package/resources/job-pay-rate-exceptions.js.map +1 -1
- package/resources/job-pay-rate-exceptions.mjs +6 -6
- package/resources/job-pay-rate-exceptions.mjs.map +1 -1
- package/resources/kiosk-badges.d.mts +22 -22
- package/resources/kiosk-badges.d.mts.map +1 -1
- package/resources/kiosk-badges.d.ts +22 -22
- package/resources/kiosk-badges.d.ts.map +1 -1
- package/resources/kiosk-badges.js +14 -14
- package/resources/kiosk-badges.js.map +1 -1
- package/resources/kiosk-badges.mjs +14 -14
- package/resources/kiosk-badges.mjs.map +1 -1
- package/resources/leave-accruals.d.mts +205 -0
- package/resources/leave-accruals.d.mts.map +1 -0
- package/resources/leave-accruals.d.ts +205 -0
- package/resources/leave-accruals.d.ts.map +1 -0
- package/resources/leave-accruals.js +22 -0
- package/resources/leave-accruals.js.map +1 -0
- package/resources/leave-accruals.mjs +18 -0
- package/resources/leave-accruals.mjs.map +1 -0
- package/resources/leave-balances.d.mts +8 -8
- package/resources/leave-balances.d.mts.map +1 -1
- package/resources/leave-balances.d.ts +8 -8
- package/resources/leave-balances.d.ts.map +1 -1
- package/resources/leave-balances.js +6 -6
- package/resources/leave-balances.js.map +1 -1
- package/resources/leave-balances.mjs +6 -6
- package/resources/leave-balances.mjs.map +1 -1
- package/resources/leave-requests.d.mts +31 -31
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +31 -31
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.js +15 -15
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +15 -15
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/leave-types.d.mts +4 -4
- package/resources/leave-types.d.mts.map +1 -1
- package/resources/leave-types.d.ts +4 -4
- package/resources/leave-types.d.ts.map +1 -1
- package/resources/leave-types.js +6 -6
- package/resources/leave-types.js.map +1 -1
- package/resources/leave-types.mjs +6 -6
- package/resources/leave-types.mjs.map +1 -1
- package/resources/legal-entities.d.mts +9 -9
- package/resources/legal-entities.d.mts.map +1 -1
- package/resources/legal-entities.d.ts +9 -9
- package/resources/legal-entities.d.ts.map +1 -1
- package/resources/legal-entities.js +6 -6
- package/resources/legal-entities.js.map +1 -1
- package/resources/legal-entities.mjs +6 -6
- package/resources/legal-entities.mjs.map +1 -1
- package/resources/levels.d.mts +8 -8
- package/resources/levels.d.mts.map +1 -1
- package/resources/levels.d.ts +8 -8
- package/resources/levels.d.ts.map +1 -1
- package/resources/levels.js +6 -6
- package/resources/levels.js.map +1 -1
- package/resources/levels.mjs +6 -6
- package/resources/levels.mjs.map +1 -1
- package/resources/location-factors.d.mts +17 -17
- package/resources/location-factors.d.mts.map +1 -1
- package/resources/location-factors.d.ts +17 -17
- package/resources/location-factors.d.ts.map +1 -1
- package/resources/location-factors.js +7 -7
- package/resources/location-factors.js.map +1 -1
- package/resources/location-factors.mjs +7 -7
- package/resources/location-factors.mjs.map +1 -1
- package/resources/object-categories.d.mts +6 -6
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +6 -6
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +8 -8
- package/resources/object-categories.js.map +1 -1
- package/resources/object-categories.mjs +8 -8
- package/resources/object-categories.mjs.map +1 -1
- package/resources/schedules.d.mts +13 -13
- package/resources/schedules.d.mts.map +1 -1
- package/resources/schedules.d.ts +13 -13
- package/resources/schedules.d.ts.map +1 -1
- package/resources/schedules.js +6 -6
- package/resources/schedules.js.map +1 -1
- package/resources/schedules.mjs +6 -6
- package/resources/schedules.mjs.map +1 -1
- package/resources/shared.d.mts +1 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/shift-inputs.d.mts +22 -22
- package/resources/shift-inputs.d.mts.map +1 -1
- package/resources/shift-inputs.d.ts +22 -22
- package/resources/shift-inputs.d.ts.map +1 -1
- package/resources/shift-inputs.js +14 -14
- package/resources/shift-inputs.js.map +1 -1
- package/resources/shift-inputs.mjs +14 -14
- package/resources/shift-inputs.mjs.map +1 -1
- package/resources/shiftassignments.d.mts +21 -21
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +21 -21
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/shiftassignments.js +6 -6
- package/resources/shiftassignments.js.map +1 -1
- package/resources/shiftassignments.mjs +6 -6
- package/resources/shiftassignments.mjs.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts +8 -8
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts +8 -8
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.js +6 -6
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs +6 -6
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts +8 -8
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts +8 -8
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.js +6 -6
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs +6 -6
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/index.d.mts +2 -2
- package/resources/supergroups/index.d.mts.map +1 -1
- package/resources/supergroups/index.d.ts +2 -2
- package/resources/supergroups/index.d.ts.map +1 -1
- package/resources/supergroups/supergroups.d.mts +6 -6
- package/resources/supergroups/supergroups.d.mts.map +1 -1
- package/resources/supergroups/supergroups.d.ts +6 -6
- package/resources/supergroups/supergroups.d.ts.map +1 -1
- package/resources/supergroups/supergroups.js +6 -6
- package/resources/supergroups/supergroups.js.map +1 -1
- package/resources/supergroups/supergroups.mjs +6 -6
- package/resources/supergroups/supergroups.mjs.map +1 -1
- package/resources/teams.d.mts +8 -8
- package/resources/teams.d.mts.map +1 -1
- package/resources/teams.d.ts +8 -8
- package/resources/teams.d.ts.map +1 -1
- package/resources/teams.js +6 -6
- package/resources/teams.js.map +1 -1
- package/resources/teams.mjs +6 -6
- package/resources/teams.mjs.map +1 -1
- package/resources/time-cards.d.mts +8 -8
- package/resources/time-cards.d.mts.map +1 -1
- package/resources/time-cards.d.ts +8 -8
- package/resources/time-cards.d.ts.map +1 -1
- package/resources/time-cards.js +6 -6
- package/resources/time-cards.js.map +1 -1
- package/resources/time-cards.mjs +6 -6
- package/resources/time-cards.mjs.map +1 -1
- package/resources/time-entries.d.mts +58 -58
- package/resources/time-entries.d.mts.map +1 -1
- package/resources/time-entries.d.ts +58 -58
- package/resources/time-entries.d.ts.map +1 -1
- package/resources/time-entries.js +14 -14
- package/resources/time-entries.js.map +1 -1
- package/resources/time-entries.mjs +14 -14
- package/resources/time-entries.mjs.map +1 -1
- package/resources/tracks.d.mts +4 -4
- package/resources/tracks.d.mts.map +1 -1
- package/resources/tracks.d.ts +4 -4
- package/resources/tracks.d.ts.map +1 -1
- package/resources/tracks.js +6 -6
- package/resources/tracks.js.map +1 -1
- package/resources/tracks.mjs +6 -6
- package/resources/tracks.mjs.map +1 -1
- package/resources/users.d.mts +4 -4
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +4 -4
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +6 -6
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +6 -6
- package/resources/users.mjs.map +1 -1
- package/resources/work-locations.d.mts +4 -4
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts +4 -4
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/work-locations.js +6 -6
- package/resources/work-locations.js.map +1 -1
- package/resources/work-locations.mjs +6 -6
- package/resources/work-locations.mjs.map +1 -1
- package/resources/workers.d.mts +10 -10
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +10 -10
- package/resources/workers.d.ts.map +1 -1
- package/resources/workers.js +6 -6
- package/resources/workers.js.map +1 -1
- package/resources/workers.mjs +6 -6
- package/resources/workers.mjs.map +1 -1
- package/src/client.ts +108 -90
- package/src/internal/utils/values.ts +3 -3
- package/src/resources/business-partner-groups.ts +24 -24
- package/src/resources/business-partners.ts +27 -27
- package/src/resources/compensations.ts +16 -16
- package/src/resources/custom-objects/custom-objects.ts +12 -12
- package/src/resources/custom-objects/fields.ts +16 -16
- package/src/resources/custom-objects/index.ts +3 -3
- package/src/resources/custom-objects/records.ts +70 -70
- package/src/resources/departments.ts +16 -16
- package/src/resources/draft-hires.ts +519 -0
- package/src/resources/employment-types.ts +7 -7
- package/src/resources/functions/deployments.ts +10 -10
- package/src/resources/functions/executions.ts +28 -28
- package/src/resources/functions/functions.ts +20 -20
- package/src/resources/functions/index.ts +3 -3
- package/src/resources/headcount-positions.ts +103 -53
- package/src/resources/headcount-priorities.ts +14 -14
- package/src/resources/index.ts +40 -32
- package/src/resources/job-assignments.ts +16 -16
- package/src/resources/job-codes.ts +25 -25
- package/src/resources/job-dimensions.ts +21 -21
- package/src/resources/job-functions.ts +14 -14
- package/src/resources/job-pay-rate-exceptions.ts +16 -16
- package/src/resources/kiosk-badges.ts +35 -35
- package/src/resources/leave-accruals.ts +261 -0
- package/src/resources/leave-balances.ts +16 -16
- package/src/resources/leave-requests.ts +44 -44
- package/src/resources/leave-types.ts +7 -7
- package/src/resources/legal-entities.ts +17 -16
- package/src/resources/levels.ts +16 -16
- package/src/resources/location-factors.ts +20 -18
- package/src/resources/object-categories.ts +9 -9
- package/src/resources/schedules.ts +22 -22
- package/src/resources/shared.ts +1 -0
- package/src/resources/shift-inputs.ts +35 -35
- package/src/resources/shiftassignments.ts +30 -30
- package/src/resources/supergroups/exclusion-members.ts +16 -16
- package/src/resources/supergroups/inclusion-members.ts +16 -16
- package/src/resources/supergroups/index.ts +2 -2
- package/src/resources/supergroups/supergroups.ts +9 -9
- package/src/resources/teams.ts +16 -16
- package/src/resources/time-cards.ts +16 -16
- package/src/resources/time-entries.ts +71 -71
- package/src/resources/tracks.ts +7 -7
- package/src/resources/users.ts +7 -7
- package/src/resources/work-locations.ts +7 -7
- package/src/resources/workers.ts +18 -16
- 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/workers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workers.js","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAU/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC
|
|
1
|
+
{"version":3,"file":"workers.js","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAU/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,0BAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF;AA7BD,0BA6BC"}
|
package/resources/workers.mjs
CHANGED
|
@@ -3,12 +3,6 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
3
3
|
import { PageCursorURL } from "../core/pagination.mjs";
|
|
4
4
|
import { path } from "../internal/utils/path.mjs";
|
|
5
5
|
export class Workers extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Retrieve a specific worker
|
|
8
|
-
*/
|
|
9
|
-
retrieve(id, query = {}, options) {
|
|
10
|
-
return this._client.get(path `/workers/${id}`, { query, ...options });
|
|
11
|
-
}
|
|
12
6
|
/**
|
|
13
7
|
* A List of workers
|
|
14
8
|
*
|
|
@@ -23,5 +17,11 @@ export class Workers extends APIResource {
|
|
|
23
17
|
list(query = {}, options) {
|
|
24
18
|
return this._client.getAPIList('/workers', (PageCursorURL), { query, ...options });
|
|
25
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve a specific worker
|
|
22
|
+
*/
|
|
23
|
+
retrieve(id, query = {}, options) {
|
|
24
|
+
return this._client.get(path `/workers/${id}`, { query, ...options });
|
|
25
|
+
}
|
|
26
26
|
}
|
|
27
27
|
//# sourceMappingURL=workers.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workers.mjs","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAUf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"workers.mjs","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAUf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,aAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -72,6 +72,7 @@ import {
|
|
|
72
72
|
Departments,
|
|
73
73
|
DepartmentsPageCursorURL,
|
|
74
74
|
} from './resources/departments';
|
|
75
|
+
import { DraftHireCreateParams, DraftHireCreateResponse, DraftHires } from './resources/draft-hires';
|
|
75
76
|
import {
|
|
76
77
|
CompanyEmploymentType,
|
|
77
78
|
CompanyEmploymentTypesPageCursorURL,
|
|
@@ -167,6 +168,13 @@ import {
|
|
|
167
168
|
KioskBadges,
|
|
168
169
|
TimeKioskBadge,
|
|
169
170
|
} from './resources/kiosk-badges';
|
|
171
|
+
import {
|
|
172
|
+
LeaveAccrualCreateParams,
|
|
173
|
+
LeaveAccrualCreateResponse,
|
|
174
|
+
LeaveAccrualRetrieveParams,
|
|
175
|
+
LeaveAccrualRetrieveResponse,
|
|
176
|
+
LeaveAccruals,
|
|
177
|
+
} from './resources/leave-accruals';
|
|
170
178
|
import {
|
|
171
179
|
LeaveBalance,
|
|
172
180
|
LeaveBalanceListParams,
|
|
@@ -521,17 +529,9 @@ export class RipplingSDK {
|
|
|
521
529
|
}
|
|
522
530
|
|
|
523
531
|
protected async authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
|
|
524
|
-
return buildHeaders([await this.bearerTokenProductionAuth(opts), await this.oAuth2ProductionAuth(opts)]);
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
protected async bearerTokenProductionAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
|
|
528
532
|
return buildHeaders([{ Authorization: `Bearer ${this.bearerToken}` }]);
|
|
529
533
|
}
|
|
530
534
|
|
|
531
|
-
protected async oAuth2ProductionAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
|
|
532
|
-
return undefined;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
535
|
/**
|
|
536
536
|
* Basic re-implementation of `qs.stringify` for primitive types.
|
|
537
537
|
*/
|
|
@@ -1055,15 +1055,11 @@ export class RipplingSDK {
|
|
|
1055
1055
|
|
|
1056
1056
|
static toFile = Uploads.toFile;
|
|
1057
1057
|
|
|
1058
|
-
candidates: API.Candidates = new API.Candidates(this);
|
|
1059
|
-
candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
|
|
1060
1058
|
companies: API.Companies = new API.Companies(this);
|
|
1061
1059
|
compensations: API.Compensations = new API.Compensations(this);
|
|
1062
|
-
customFields: API.CustomFields = new API.CustomFields(this);
|
|
1063
1060
|
customObjects: API.CustomObjects = new API.CustomObjects(this);
|
|
1064
1061
|
departments: API.Departments = new API.Departments(this);
|
|
1065
1062
|
employmentTypes: API.EmploymentTypes = new API.EmploymentTypes(this);
|
|
1066
|
-
entitlements: API.Entitlements = new API.Entitlements(this);
|
|
1067
1063
|
jobCodes: API.JobCodes = new API.JobCodes(this);
|
|
1068
1064
|
jobDimensions: API.JobDimensions = new API.JobDimensions(this);
|
|
1069
1065
|
jobRequisitions: API.JobRequisitions = new API.JobRequisitions(this);
|
|
@@ -1089,23 +1085,25 @@ export class RipplingSDK {
|
|
|
1089
1085
|
functions: API.Functions = new API.Functions(this);
|
|
1090
1086
|
jobAssignments: API.JobAssignments = new API.JobAssignments(this);
|
|
1091
1087
|
jobPayRateExceptions: API.JobPayRateExceptions = new API.JobPayRateExceptions(this);
|
|
1092
|
-
|
|
1088
|
+
candidates: API.Candidates = new API.Candidates(this);
|
|
1089
|
+
candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
|
|
1090
|
+
customFields: API.CustomFields = new API.CustomFields(this);
|
|
1091
|
+
draftHires: API.DraftHires = new API.DraftHires(this);
|
|
1092
|
+
entitlements: API.Entitlements = new API.Entitlements(this);
|
|
1093
1093
|
headcountPositions: API.HeadcountPositions = new API.HeadcountPositions(this);
|
|
1094
|
-
shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
|
|
1095
1094
|
headcountPriorities: API.HeadcountPriorities = new API.HeadcountPriorities(this);
|
|
1096
1095
|
jobFunctions: API.JobFunctions = new API.JobFunctions(this);
|
|
1096
|
+
leaveAccruals: API.LeaveAccruals = new API.LeaveAccruals(this);
|
|
1097
1097
|
locationFactors: API.LocationFactors = new API.LocationFactors(this);
|
|
1098
|
+
schedules: API.Schedules = new API.Schedules(this);
|
|
1099
|
+
shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
|
|
1098
1100
|
}
|
|
1099
1101
|
|
|
1100
|
-
RipplingSDK.Candidates = Candidates;
|
|
1101
|
-
RipplingSDK.CandidateApplications = CandidateApplications;
|
|
1102
1102
|
RipplingSDK.Companies = Companies;
|
|
1103
1103
|
RipplingSDK.Compensations = Compensations;
|
|
1104
|
-
RipplingSDK.CustomFields = CustomFields;
|
|
1105
1104
|
RipplingSDK.CustomObjects = CustomObjects;
|
|
1106
1105
|
RipplingSDK.Departments = Departments;
|
|
1107
1106
|
RipplingSDK.EmploymentTypes = EmploymentTypes;
|
|
1108
|
-
RipplingSDK.Entitlements = Entitlements;
|
|
1109
1107
|
RipplingSDK.JobCodes = JobCodes;
|
|
1110
1108
|
RipplingSDK.JobDimensions = JobDimensions;
|
|
1111
1109
|
RipplingSDK.JobRequisitions = JobRequisitions;
|
|
@@ -1131,12 +1129,18 @@ RipplingSDK.BusinessPartnerGroups = BusinessPartnerGroups;
|
|
|
1131
1129
|
RipplingSDK.Functions = Functions;
|
|
1132
1130
|
RipplingSDK.JobAssignments = JobAssignments;
|
|
1133
1131
|
RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
|
|
1134
|
-
RipplingSDK.
|
|
1132
|
+
RipplingSDK.Candidates = Candidates;
|
|
1133
|
+
RipplingSDK.CandidateApplications = CandidateApplications;
|
|
1134
|
+
RipplingSDK.CustomFields = CustomFields;
|
|
1135
|
+
RipplingSDK.DraftHires = DraftHires;
|
|
1136
|
+
RipplingSDK.Entitlements = Entitlements;
|
|
1135
1137
|
RipplingSDK.HeadcountPositions = HeadcountPositions;
|
|
1136
|
-
RipplingSDK.Shiftassignments = Shiftassignments;
|
|
1137
1138
|
RipplingSDK.HeadcountPriorities = HeadcountPriorities;
|
|
1138
1139
|
RipplingSDK.JobFunctions = JobFunctions;
|
|
1140
|
+
RipplingSDK.LeaveAccruals = LeaveAccruals;
|
|
1139
1141
|
RipplingSDK.LocationFactors = LocationFactors;
|
|
1142
|
+
RipplingSDK.Schedules = Schedules;
|
|
1143
|
+
RipplingSDK.Shiftassignments = Shiftassignments;
|
|
1140
1144
|
|
|
1141
1145
|
export declare namespace RipplingSDK {
|
|
1142
1146
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -1144,20 +1148,6 @@ export declare namespace RipplingSDK {
|
|
|
1144
1148
|
export import PageCursorURL = Pagination.PageCursorURL;
|
|
1145
1149
|
export { type PageCursorURLResponse as PageCursorURLResponse };
|
|
1146
1150
|
|
|
1147
|
-
export {
|
|
1148
|
-
Candidates as Candidates,
|
|
1149
|
-
type CandidateListResponse as CandidateListResponse,
|
|
1150
|
-
type CandidateListResponsesPageCursorURL as CandidateListResponsesPageCursorURL,
|
|
1151
|
-
type CandidateListParams as CandidateListParams,
|
|
1152
|
-
};
|
|
1153
|
-
|
|
1154
|
-
export {
|
|
1155
|
-
CandidateApplications as CandidateApplications,
|
|
1156
|
-
type CandidateApplicationListResponse as CandidateApplicationListResponse,
|
|
1157
|
-
type CandidateApplicationListResponsesPageCursorURL as CandidateApplicationListResponsesPageCursorURL,
|
|
1158
|
-
type CandidateApplicationListParams as CandidateApplicationListParams,
|
|
1159
|
-
};
|
|
1160
|
-
|
|
1161
1151
|
export {
|
|
1162
1152
|
Companies as Companies,
|
|
1163
1153
|
type Company as Company,
|
|
@@ -1170,15 +1160,8 @@ export declare namespace RipplingSDK {
|
|
|
1170
1160
|
type Compensation as Compensation,
|
|
1171
1161
|
type CompensationRetrieveResponse as CompensationRetrieveResponse,
|
|
1172
1162
|
type CompensationsPageCursorURL as CompensationsPageCursorURL,
|
|
1173
|
-
type CompensationRetrieveParams as CompensationRetrieveParams,
|
|
1174
1163
|
type CompensationListParams as CompensationListParams,
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
export {
|
|
1178
|
-
CustomFields as CustomFields,
|
|
1179
|
-
type CustomFieldListResponse as CustomFieldListResponse,
|
|
1180
|
-
type CustomFieldListResponsesPageCursorURL as CustomFieldListResponsesPageCursorURL,
|
|
1181
|
-
type CustomFieldListParams as CustomFieldListParams,
|
|
1164
|
+
type CompensationRetrieveParams as CompensationRetrieveParams,
|
|
1182
1165
|
};
|
|
1183
1166
|
|
|
1184
1167
|
export {
|
|
@@ -1194,8 +1177,8 @@ export declare namespace RipplingSDK {
|
|
|
1194
1177
|
type Department as Department,
|
|
1195
1178
|
type DepartmentRetrieveResponse as DepartmentRetrieveResponse,
|
|
1196
1179
|
type DepartmentsPageCursorURL as DepartmentsPageCursorURL,
|
|
1197
|
-
type DepartmentRetrieveParams as DepartmentRetrieveParams,
|
|
1198
1180
|
type DepartmentListParams as DepartmentListParams,
|
|
1181
|
+
type DepartmentRetrieveParams as DepartmentRetrieveParams,
|
|
1199
1182
|
};
|
|
1200
1183
|
|
|
1201
1184
|
export {
|
|
@@ -1206,22 +1189,16 @@ export declare namespace RipplingSDK {
|
|
|
1206
1189
|
type EmploymentTypeListParams as EmploymentTypeListParams,
|
|
1207
1190
|
};
|
|
1208
1191
|
|
|
1209
|
-
export {
|
|
1210
|
-
Entitlements as Entitlements,
|
|
1211
|
-
type EntitlementListResponse as EntitlementListResponse,
|
|
1212
|
-
type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
|
|
1213
|
-
};
|
|
1214
|
-
|
|
1215
1192
|
export {
|
|
1216
1193
|
JobCodes as JobCodes,
|
|
1217
1194
|
type JobCode as JobCode,
|
|
1218
1195
|
type JobCodeRequest as JobCodeRequest,
|
|
1219
1196
|
type JobCodeRetrieveResponse as JobCodeRetrieveResponse,
|
|
1220
1197
|
type JobCodesPageCursorURL as JobCodesPageCursorURL,
|
|
1198
|
+
type JobCodeListParams as JobCodeListParams,
|
|
1221
1199
|
type JobCodeCreateParams as JobCodeCreateParams,
|
|
1222
1200
|
type JobCodeRetrieveParams as JobCodeRetrieveParams,
|
|
1223
1201
|
type JobCodeUpdateParams as JobCodeUpdateParams,
|
|
1224
|
-
type JobCodeListParams as JobCodeListParams,
|
|
1225
1202
|
type JobCodeListChangeLogParams as JobCodeListChangeLogParams,
|
|
1226
1203
|
};
|
|
1227
1204
|
|
|
@@ -1231,9 +1208,9 @@ export declare namespace RipplingSDK {
|
|
|
1231
1208
|
type JobDimensionRequest as JobDimensionRequest,
|
|
1232
1209
|
type JobDimensionRetrieveResponse as JobDimensionRetrieveResponse,
|
|
1233
1210
|
type JobDimensionsPageCursorURL as JobDimensionsPageCursorURL,
|
|
1211
|
+
type JobDimensionListParams as JobDimensionListParams,
|
|
1234
1212
|
type JobDimensionCreateParams as JobDimensionCreateParams,
|
|
1235
1213
|
type JobDimensionUpdateParams as JobDimensionUpdateParams,
|
|
1236
|
-
type JobDimensionListParams as JobDimensionListParams,
|
|
1237
1214
|
};
|
|
1238
1215
|
|
|
1239
1216
|
export {
|
|
@@ -1246,15 +1223,15 @@ export declare namespace RipplingSDK {
|
|
|
1246
1223
|
export {
|
|
1247
1224
|
KioskBadges as KioskBadges,
|
|
1248
1225
|
type TimeKioskBadge as TimeKioskBadge,
|
|
1226
|
+
type KioskBadgeListResponse as KioskBadgeListResponse,
|
|
1249
1227
|
type KioskBadgeCreateResponse as KioskBadgeCreateResponse,
|
|
1250
1228
|
type KioskBadgeRetrieveResponse as KioskBadgeRetrieveResponse,
|
|
1251
1229
|
type KioskBadgeUpdateResponse as KioskBadgeUpdateResponse,
|
|
1252
|
-
type KioskBadgeListResponse as KioskBadgeListResponse,
|
|
1253
1230
|
type KioskBadgeListResponsesPageCursorURL as KioskBadgeListResponsesPageCursorURL,
|
|
1231
|
+
type KioskBadgeListParams as KioskBadgeListParams,
|
|
1254
1232
|
type KioskBadgeCreateParams as KioskBadgeCreateParams,
|
|
1255
1233
|
type KioskBadgeRetrieveParams as KioskBadgeRetrieveParams,
|
|
1256
1234
|
type KioskBadgeUpdateParams as KioskBadgeUpdateParams,
|
|
1257
|
-
type KioskBadgeListParams as KioskBadgeListParams,
|
|
1258
1235
|
};
|
|
1259
1236
|
|
|
1260
1237
|
export {
|
|
@@ -1262,22 +1239,22 @@ export declare namespace RipplingSDK {
|
|
|
1262
1239
|
type LeaveBalance as LeaveBalance,
|
|
1263
1240
|
type LeaveBalanceRetrieveResponse as LeaveBalanceRetrieveResponse,
|
|
1264
1241
|
type LeaveBalancesPageCursorURL as LeaveBalancesPageCursorURL,
|
|
1265
|
-
type LeaveBalanceRetrieveParams as LeaveBalanceRetrieveParams,
|
|
1266
1242
|
type LeaveBalanceListParams as LeaveBalanceListParams,
|
|
1243
|
+
type LeaveBalanceRetrieveParams as LeaveBalanceRetrieveParams,
|
|
1267
1244
|
};
|
|
1268
1245
|
|
|
1269
1246
|
export {
|
|
1270
1247
|
LeaveRequests as LeaveRequests,
|
|
1271
1248
|
type LeaveRequest as LeaveRequest,
|
|
1249
|
+
type LeaveRequestListResponse as LeaveRequestListResponse,
|
|
1272
1250
|
type LeaveRequestCreateResponse as LeaveRequestCreateResponse,
|
|
1273
1251
|
type LeaveRequestRetrieveResponse as LeaveRequestRetrieveResponse,
|
|
1274
1252
|
type LeaveRequestUpdateResponse as LeaveRequestUpdateResponse,
|
|
1275
|
-
type LeaveRequestListResponse as LeaveRequestListResponse,
|
|
1276
1253
|
type LeaveRequestListResponsesPageCursorURL as LeaveRequestListResponsesPageCursorURL,
|
|
1254
|
+
type LeaveRequestListParams as LeaveRequestListParams,
|
|
1277
1255
|
type LeaveRequestCreateParams as LeaveRequestCreateParams,
|
|
1278
1256
|
type LeaveRequestRetrieveParams as LeaveRequestRetrieveParams,
|
|
1279
1257
|
type LeaveRequestUpdateParams as LeaveRequestUpdateParams,
|
|
1280
|
-
type LeaveRequestListParams as LeaveRequestListParams,
|
|
1281
1258
|
};
|
|
1282
1259
|
|
|
1283
1260
|
export {
|
|
@@ -1293,8 +1270,8 @@ export declare namespace RipplingSDK {
|
|
|
1293
1270
|
type LegalEntity as LegalEntity,
|
|
1294
1271
|
type LegalEntityRetrieveResponse as LegalEntityRetrieveResponse,
|
|
1295
1272
|
type LegalEntitiesPageCursorURL as LegalEntitiesPageCursorURL,
|
|
1296
|
-
type LegalEntityRetrieveParams as LegalEntityRetrieveParams,
|
|
1297
1273
|
type LegalEntityListParams as LegalEntityListParams,
|
|
1274
|
+
type LegalEntityRetrieveParams as LegalEntityRetrieveParams,
|
|
1298
1275
|
};
|
|
1299
1276
|
|
|
1300
1277
|
export {
|
|
@@ -1302,8 +1279,8 @@ export declare namespace RipplingSDK {
|
|
|
1302
1279
|
type Level as Level,
|
|
1303
1280
|
type LevelRetrieveResponse as LevelRetrieveResponse,
|
|
1304
1281
|
type LevelsPageCursorURL as LevelsPageCursorURL,
|
|
1305
|
-
type LevelRetrieveParams as LevelRetrieveParams,
|
|
1306
1282
|
type LevelListParams as LevelListParams,
|
|
1283
|
+
type LevelRetrieveParams as LevelRetrieveParams,
|
|
1307
1284
|
};
|
|
1308
1285
|
|
|
1309
1286
|
export {
|
|
@@ -1317,15 +1294,15 @@ export declare namespace RipplingSDK {
|
|
|
1317
1294
|
export {
|
|
1318
1295
|
ShiftInputs as ShiftInputs,
|
|
1319
1296
|
type ShiftInput as ShiftInput,
|
|
1297
|
+
type ShiftInputListResponse as ShiftInputListResponse,
|
|
1320
1298
|
type ShiftInputCreateResponse as ShiftInputCreateResponse,
|
|
1321
1299
|
type ShiftInputRetrieveResponse as ShiftInputRetrieveResponse,
|
|
1322
1300
|
type ShiftInputUpdateResponse as ShiftInputUpdateResponse,
|
|
1323
|
-
type ShiftInputListResponse as ShiftInputListResponse,
|
|
1324
1301
|
type ShiftInputListResponsesPageCursorURL as ShiftInputListResponsesPageCursorURL,
|
|
1302
|
+
type ShiftInputListParams as ShiftInputListParams,
|
|
1325
1303
|
type ShiftInputCreateParams as ShiftInputCreateParams,
|
|
1326
1304
|
type ShiftInputRetrieveParams as ShiftInputRetrieveParams,
|
|
1327
1305
|
type ShiftInputUpdateParams as ShiftInputUpdateParams,
|
|
1328
|
-
type ShiftInputListParams as ShiftInputListParams,
|
|
1329
1306
|
};
|
|
1330
1307
|
|
|
1331
1308
|
export {
|
|
@@ -1347,8 +1324,8 @@ export declare namespace RipplingSDK {
|
|
|
1347
1324
|
type Team as Team,
|
|
1348
1325
|
type TeamRetrieveResponse as TeamRetrieveResponse,
|
|
1349
1326
|
type TeamsPageCursorURL as TeamsPageCursorURL,
|
|
1350
|
-
type TeamRetrieveParams as TeamRetrieveParams,
|
|
1351
1327
|
type TeamListParams as TeamListParams,
|
|
1328
|
+
type TeamRetrieveParams as TeamRetrieveParams,
|
|
1352
1329
|
};
|
|
1353
1330
|
|
|
1354
1331
|
export {
|
|
@@ -1357,22 +1334,22 @@ export declare namespace RipplingSDK {
|
|
|
1357
1334
|
type TimeCard as TimeCard,
|
|
1358
1335
|
type TimeCardRetrieveResponse as TimeCardRetrieveResponse,
|
|
1359
1336
|
type TimeCardsPageCursorURL as TimeCardsPageCursorURL,
|
|
1360
|
-
type TimeCardRetrieveParams as TimeCardRetrieveParams,
|
|
1361
1337
|
type TimeCardListParams as TimeCardListParams,
|
|
1338
|
+
type TimeCardRetrieveParams as TimeCardRetrieveParams,
|
|
1362
1339
|
};
|
|
1363
1340
|
|
|
1364
1341
|
export {
|
|
1365
1342
|
TimeEntries as TimeEntries,
|
|
1366
1343
|
type TimeEntry as TimeEntry,
|
|
1344
|
+
type TimeEntryListResponse as TimeEntryListResponse,
|
|
1367
1345
|
type TimeEntryCreateResponse as TimeEntryCreateResponse,
|
|
1368
1346
|
type TimeEntryRetrieveResponse as TimeEntryRetrieveResponse,
|
|
1369
1347
|
type TimeEntryUpdateResponse as TimeEntryUpdateResponse,
|
|
1370
|
-
type TimeEntryListResponse as TimeEntryListResponse,
|
|
1371
1348
|
type TimeEntryListResponsesPageCursorURL as TimeEntryListResponsesPageCursorURL,
|
|
1349
|
+
type TimeEntryListParams as TimeEntryListParams,
|
|
1372
1350
|
type TimeEntryCreateParams as TimeEntryCreateParams,
|
|
1373
1351
|
type TimeEntryRetrieveParams as TimeEntryRetrieveParams,
|
|
1374
1352
|
type TimeEntryUpdateParams as TimeEntryUpdateParams,
|
|
1375
|
-
type TimeEntryListParams as TimeEntryListParams,
|
|
1376
1353
|
};
|
|
1377
1354
|
|
|
1378
1355
|
export {
|
|
@@ -1404,8 +1381,8 @@ export declare namespace RipplingSDK {
|
|
|
1404
1381
|
type Worker as Worker,
|
|
1405
1382
|
type WorkerRetrieveResponse as WorkerRetrieveResponse,
|
|
1406
1383
|
type WorkersPageCursorURL as WorkersPageCursorURL,
|
|
1407
|
-
type WorkerRetrieveParams as WorkerRetrieveParams,
|
|
1408
1384
|
type WorkerListParams as WorkerListParams,
|
|
1385
|
+
type WorkerRetrieveParams as WorkerRetrieveParams,
|
|
1409
1386
|
};
|
|
1410
1387
|
|
|
1411
1388
|
export {
|
|
@@ -1414,9 +1391,9 @@ export declare namespace RipplingSDK {
|
|
|
1414
1391
|
type Meta as Meta,
|
|
1415
1392
|
type BusinessPartnerRetrieveResponse as BusinessPartnerRetrieveResponse,
|
|
1416
1393
|
type BusinessPartnersPageCursorURL as BusinessPartnersPageCursorURL,
|
|
1394
|
+
type BusinessPartnerListParams as BusinessPartnerListParams,
|
|
1417
1395
|
type BusinessPartnerCreateParams as BusinessPartnerCreateParams,
|
|
1418
1396
|
type BusinessPartnerRetrieveParams as BusinessPartnerRetrieveParams,
|
|
1419
|
-
type BusinessPartnerListParams as BusinessPartnerListParams,
|
|
1420
1397
|
};
|
|
1421
1398
|
|
|
1422
1399
|
export {
|
|
@@ -1424,9 +1401,9 @@ export declare namespace RipplingSDK {
|
|
|
1424
1401
|
type BusinessPartnerGroup as BusinessPartnerGroup,
|
|
1425
1402
|
type BusinessPartnerGroupRetrieveResponse as BusinessPartnerGroupRetrieveResponse,
|
|
1426
1403
|
type BusinessPartnerGroupsPageCursorURL as BusinessPartnerGroupsPageCursorURL,
|
|
1404
|
+
type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
|
|
1427
1405
|
type BusinessPartnerGroupCreateParams as BusinessPartnerGroupCreateParams,
|
|
1428
1406
|
type BusinessPartnerGroupRetrieveParams as BusinessPartnerGroupRetrieveParams,
|
|
1429
|
-
type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
|
|
1430
1407
|
};
|
|
1431
1408
|
|
|
1432
1409
|
export {
|
|
@@ -1434,9 +1411,9 @@ export declare namespace RipplingSDK {
|
|
|
1434
1411
|
type Function as Function,
|
|
1435
1412
|
type FunctionCreateDevBundleResponse as FunctionCreateDevBundleResponse,
|
|
1436
1413
|
type FunctionsPageCursorURL as FunctionsPageCursorURL,
|
|
1414
|
+
type FunctionListParams as FunctionListParams,
|
|
1437
1415
|
type FunctionCreateParams as FunctionCreateParams,
|
|
1438
1416
|
type FunctionUpdateParams as FunctionUpdateParams,
|
|
1439
|
-
type FunctionListParams as FunctionListParams,
|
|
1440
1417
|
};
|
|
1441
1418
|
|
|
1442
1419
|
export {
|
|
@@ -1446,8 +1423,8 @@ export declare namespace RipplingSDK {
|
|
|
1446
1423
|
type JobAssignmentRetrieveResponse as JobAssignmentRetrieveResponse,
|
|
1447
1424
|
type JobAssignmentsPageCursorURL as JobAssignmentsPageCursorURL,
|
|
1448
1425
|
type AttributeChangeDetailsPageCursorURL as AttributeChangeDetailsPageCursorURL,
|
|
1449
|
-
type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
|
|
1450
1426
|
type JobAssignmentListParams as JobAssignmentListParams,
|
|
1427
|
+
type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
|
|
1451
1428
|
type JobAssignmentListChangeLogParams as JobAssignmentListChangeLogParams,
|
|
1452
1429
|
};
|
|
1453
1430
|
|
|
@@ -1456,62 +1433,103 @@ export declare namespace RipplingSDK {
|
|
|
1456
1433
|
type JobPayRateException as JobPayRateException,
|
|
1457
1434
|
type JobPayRateExceptionRetrieveResponse as JobPayRateExceptionRetrieveResponse,
|
|
1458
1435
|
type JobPayRateExceptionsPageCursorURL as JobPayRateExceptionsPageCursorURL,
|
|
1459
|
-
type JobPayRateExceptionRetrieveParams as JobPayRateExceptionRetrieveParams,
|
|
1460
1436
|
type JobPayRateExceptionListParams as JobPayRateExceptionListParams,
|
|
1437
|
+
type JobPayRateExceptionRetrieveParams as JobPayRateExceptionRetrieveParams,
|
|
1461
1438
|
type JobPayRateExceptionListChangeLogParams as JobPayRateExceptionListChangeLogParams,
|
|
1462
1439
|
};
|
|
1463
1440
|
|
|
1464
1441
|
export {
|
|
1465
|
-
|
|
1466
|
-
type
|
|
1467
|
-
type
|
|
1468
|
-
type
|
|
1469
|
-
|
|
1470
|
-
|
|
1442
|
+
Candidates as Candidates,
|
|
1443
|
+
type CandidateListResponse as CandidateListResponse,
|
|
1444
|
+
type CandidateListResponsesPageCursorURL as CandidateListResponsesPageCursorURL,
|
|
1445
|
+
type CandidateListParams as CandidateListParams,
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
export {
|
|
1449
|
+
CandidateApplications as CandidateApplications,
|
|
1450
|
+
type CandidateApplicationListResponse as CandidateApplicationListResponse,
|
|
1451
|
+
type CandidateApplicationListResponsesPageCursorURL as CandidateApplicationListResponsesPageCursorURL,
|
|
1452
|
+
type CandidateApplicationListParams as CandidateApplicationListParams,
|
|
1453
|
+
};
|
|
1454
|
+
|
|
1455
|
+
export {
|
|
1456
|
+
CustomFields as CustomFields,
|
|
1457
|
+
type CustomFieldListResponse as CustomFieldListResponse,
|
|
1458
|
+
type CustomFieldListResponsesPageCursorURL as CustomFieldListResponsesPageCursorURL,
|
|
1459
|
+
type CustomFieldListParams as CustomFieldListParams,
|
|
1460
|
+
};
|
|
1461
|
+
|
|
1462
|
+
export {
|
|
1463
|
+
DraftHires as DraftHires,
|
|
1464
|
+
type DraftHireCreateResponse as DraftHireCreateResponse,
|
|
1465
|
+
type DraftHireCreateParams as DraftHireCreateParams,
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
export {
|
|
1469
|
+
Entitlements as Entitlements,
|
|
1470
|
+
type EntitlementListResponse as EntitlementListResponse,
|
|
1471
|
+
type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
|
|
1471
1472
|
};
|
|
1472
1473
|
|
|
1473
1474
|
export {
|
|
1474
1475
|
HeadcountPositions as HeadcountPositions,
|
|
1475
|
-
type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
|
|
1476
1476
|
type HeadcountPositionListResponse as HeadcountPositionListResponse,
|
|
1477
|
+
type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
|
|
1477
1478
|
type HeadcountPositionListResponsesPageCursorURL as HeadcountPositionListResponsesPageCursorURL,
|
|
1478
|
-
type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
|
|
1479
1479
|
type HeadcountPositionListParams as HeadcountPositionListParams,
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
export {
|
|
1483
|
-
Shiftassignments as Shiftassignments,
|
|
1484
|
-
type ShiftassignmentRetrieveResponse as ShiftassignmentRetrieveResponse,
|
|
1485
|
-
type ShiftassignmentListResponse as ShiftassignmentListResponse,
|
|
1486
|
-
type ShiftassignmentListResponsesPageCursorURL as ShiftassignmentListResponsesPageCursorURL,
|
|
1487
|
-
type ShiftassignmentRetrieveParams as ShiftassignmentRetrieveParams,
|
|
1488
|
-
type ShiftassignmentListParams as ShiftassignmentListParams,
|
|
1480
|
+
type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
|
|
1489
1481
|
};
|
|
1490
1482
|
|
|
1491
1483
|
export {
|
|
1492
1484
|
HeadcountPriorities as HeadcountPriorities,
|
|
1493
|
-
type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
|
|
1494
1485
|
type HeadcountPriorityListResponse as HeadcountPriorityListResponse,
|
|
1486
|
+
type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
|
|
1495
1487
|
type HeadcountPriorityListResponsesPageCursorURL as HeadcountPriorityListResponsesPageCursorURL,
|
|
1496
1488
|
type HeadcountPriorityListParams as HeadcountPriorityListParams,
|
|
1497
1489
|
};
|
|
1498
1490
|
|
|
1499
1491
|
export {
|
|
1500
1492
|
JobFunctions as JobFunctions,
|
|
1501
|
-
type JobFunctionRetrieveResponse as JobFunctionRetrieveResponse,
|
|
1502
1493
|
type JobFunctionListResponse as JobFunctionListResponse,
|
|
1494
|
+
type JobFunctionRetrieveResponse as JobFunctionRetrieveResponse,
|
|
1503
1495
|
type JobFunctionListResponsesPageCursorURL as JobFunctionListResponsesPageCursorURL,
|
|
1504
1496
|
type JobFunctionListParams as JobFunctionListParams,
|
|
1505
1497
|
};
|
|
1506
1498
|
|
|
1499
|
+
export {
|
|
1500
|
+
LeaveAccruals as LeaveAccruals,
|
|
1501
|
+
type LeaveAccrualRetrieveResponse as LeaveAccrualRetrieveResponse,
|
|
1502
|
+
type LeaveAccrualCreateResponse as LeaveAccrualCreateResponse,
|
|
1503
|
+
type LeaveAccrualRetrieveParams as LeaveAccrualRetrieveParams,
|
|
1504
|
+
type LeaveAccrualCreateParams as LeaveAccrualCreateParams,
|
|
1505
|
+
};
|
|
1506
|
+
|
|
1507
1507
|
export {
|
|
1508
1508
|
LocationFactors as LocationFactors,
|
|
1509
|
-
type LocationFactorRetrieveResponse as LocationFactorRetrieveResponse,
|
|
1510
1509
|
type LocationFactorListResponse as LocationFactorListResponse,
|
|
1510
|
+
type LocationFactorRetrieveResponse as LocationFactorRetrieveResponse,
|
|
1511
1511
|
type LocationFactorListResponsesPageCursorURL as LocationFactorListResponsesPageCursorURL,
|
|
1512
1512
|
type LocationFactorListParams as LocationFactorListParams,
|
|
1513
1513
|
};
|
|
1514
1514
|
|
|
1515
|
+
export {
|
|
1516
|
+
Schedules as Schedules,
|
|
1517
|
+
type ScheduleListResponse as ScheduleListResponse,
|
|
1518
|
+
type ScheduleRetrieveResponse as ScheduleRetrieveResponse,
|
|
1519
|
+
type ScheduleListResponsesPageCursorURL as ScheduleListResponsesPageCursorURL,
|
|
1520
|
+
type ScheduleListParams as ScheduleListParams,
|
|
1521
|
+
type ScheduleRetrieveParams as ScheduleRetrieveParams,
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
export {
|
|
1525
|
+
Shiftassignments as Shiftassignments,
|
|
1526
|
+
type ShiftassignmentListResponse as ShiftassignmentListResponse,
|
|
1527
|
+
type ShiftassignmentRetrieveResponse as ShiftassignmentRetrieveResponse,
|
|
1528
|
+
type ShiftassignmentListResponsesPageCursorURL as ShiftassignmentListResponsesPageCursorURL,
|
|
1529
|
+
type ShiftassignmentListParams as ShiftassignmentListParams,
|
|
1530
|
+
type ShiftassignmentRetrieveParams as ShiftassignmentRetrieveParams,
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1515
1533
|
export type Address = API.Address;
|
|
1516
1534
|
export type CountryCode = API.CountryCode;
|
|
1517
1535
|
export type RedactedFields = API.RedactedFields;
|
|
@@ -76,21 +76,21 @@ export const coerceBoolean = (value: unknown): boolean => {
|
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
export const maybeCoerceInteger = (value: unknown): number | undefined => {
|
|
79
|
-
if (value
|
|
79
|
+
if (value == null) {
|
|
80
80
|
return undefined;
|
|
81
81
|
}
|
|
82
82
|
return coerceInteger(value);
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
export const maybeCoerceFloat = (value: unknown): number | undefined => {
|
|
86
|
-
if (value
|
|
86
|
+
if (value == null) {
|
|
87
87
|
return undefined;
|
|
88
88
|
}
|
|
89
89
|
return coerceFloat(value);
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
export const maybeCoerceBoolean = (value: unknown): boolean | undefined => {
|
|
93
|
-
if (value
|
|
93
|
+
if (value == null) {
|
|
94
94
|
return undefined;
|
|
95
95
|
}
|
|
96
96
|
return coerceBoolean(value);
|
|
@@ -10,6 +10,23 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
10
10
|
import { path } from '../internal/utils/path';
|
|
11
11
|
|
|
12
12
|
export class BusinessPartnerGroups extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* A List of business partner groups
|
|
15
|
+
*
|
|
16
|
+
* - Requires: `API Tier 1`
|
|
17
|
+
* - Expandable fields: `default_business_partner`
|
|
18
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
19
|
+
*/
|
|
20
|
+
list(
|
|
21
|
+
query: BusinessPartnerGroupListParams | null | undefined = {},
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): PagePromise<BusinessPartnerGroupsPageCursorURL, BusinessPartnerGroup> {
|
|
24
|
+
return this._client.getAPIList('/business-partner-groups', PageCursorURL<BusinessPartnerGroup>, {
|
|
25
|
+
query,
|
|
26
|
+
...options,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
13
30
|
/**
|
|
14
31
|
* Create a new business partner group
|
|
15
32
|
*/
|
|
@@ -28,23 +45,6 @@ export class BusinessPartnerGroups extends APIResource {
|
|
|
28
45
|
return this._client.get(path`/business-partner-groups/${id}`, { query, ...options });
|
|
29
46
|
}
|
|
30
47
|
|
|
31
|
-
/**
|
|
32
|
-
* A List of business partner groups
|
|
33
|
-
*
|
|
34
|
-
* - Requires: `API Tier 1`
|
|
35
|
-
* - Expandable fields: `default_business_partner`
|
|
36
|
-
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
37
|
-
*/
|
|
38
|
-
list(
|
|
39
|
-
query: BusinessPartnerGroupListParams | null | undefined = {},
|
|
40
|
-
options?: RequestOptions,
|
|
41
|
-
): PagePromise<BusinessPartnerGroupsPageCursorURL, BusinessPartnerGroup> {
|
|
42
|
-
return this._client.getAPIList('/business-partner-groups', PageCursorURL<BusinessPartnerGroup>, {
|
|
43
|
-
query,
|
|
44
|
-
...options,
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
|
|
48
48
|
/**
|
|
49
49
|
* Delete a business partner group
|
|
50
50
|
*/
|
|
@@ -106,6 +106,12 @@ export interface BusinessPartnerGroupRetrieveResponse
|
|
|
106
106
|
extends BusinessPartnersAPI.Meta,
|
|
107
107
|
BusinessPartnerGroup {}
|
|
108
108
|
|
|
109
|
+
export interface BusinessPartnerGroupListParams {
|
|
110
|
+
expand?: string;
|
|
111
|
+
|
|
112
|
+
order_by?: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
109
115
|
export interface BusinessPartnerGroupCreateParams {
|
|
110
116
|
/**
|
|
111
117
|
* Name used to identify business partner group
|
|
@@ -128,19 +134,13 @@ export interface BusinessPartnerGroupRetrieveParams {
|
|
|
128
134
|
expand?: string;
|
|
129
135
|
}
|
|
130
136
|
|
|
131
|
-
export interface BusinessPartnerGroupListParams {
|
|
132
|
-
expand?: string;
|
|
133
|
-
|
|
134
|
-
order_by?: string;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
137
|
export declare namespace BusinessPartnerGroups {
|
|
138
138
|
export {
|
|
139
139
|
type BusinessPartnerGroup as BusinessPartnerGroup,
|
|
140
140
|
type BusinessPartnerGroupRetrieveResponse as BusinessPartnerGroupRetrieveResponse,
|
|
141
141
|
type BusinessPartnerGroupsPageCursorURL as BusinessPartnerGroupsPageCursorURL,
|
|
142
|
+
type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
|
|
142
143
|
type BusinessPartnerGroupCreateParams as BusinessPartnerGroupCreateParams,
|
|
143
144
|
type BusinessPartnerGroupRetrieveParams as BusinessPartnerGroupRetrieveParams,
|
|
144
|
-
type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
|
|
145
145
|
};
|
|
146
146
|
}
|