@rippling/rippling-sdk 0.2.0-alpha.21 → 0.2.0-alpha.23
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 +42 -38
- package/client.d.mts.map +1 -1
- package/client.d.ts +42 -38
- 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/to-file.d.mts +1 -1
- package/internal/to-file.d.ts +1 -1
- package/internal/to-file.js +1 -1
- package/internal/to-file.mjs +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 +415 -0
- package/resources/draft-hires.d.mts.map +1 -0
- package/resources/draft-hires.d.ts +415 -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 +154 -12
- package/resources/schedules.d.mts.map +1 -1
- package/resources/schedules.d.ts +154 -12
- package/resources/schedules.d.ts.map +1 -1
- package/resources/schedules.js +12 -6
- package/resources/schedules.js.map +1 -1
- package/resources/schedules.mjs +12 -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 +55 -21
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +55 -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 +11 -11
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +11 -11
- 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 +112 -90
- package/src/internal/to-file.ts +1 -1
- 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 +504 -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 +42 -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 +193 -20
- package/src/resources/shared.ts +1 -0
- package/src/resources/shift-inputs.ts +35 -35
- package/src/resources/shiftassignments.ts +68 -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 +19 -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/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,
|
|
@@ -226,6 +234,8 @@ import {
|
|
|
226
234
|
ObjectCategoryUpdateParams,
|
|
227
235
|
} from './resources/object-categories';
|
|
228
236
|
import {
|
|
237
|
+
ScheduleCreateParams,
|
|
238
|
+
ScheduleCreateResponse,
|
|
229
239
|
ScheduleListParams,
|
|
230
240
|
ScheduleListResponse,
|
|
231
241
|
ScheduleListResponsesPageCursorURL,
|
|
@@ -521,17 +531,9 @@ export class RipplingSDK {
|
|
|
521
531
|
}
|
|
522
532
|
|
|
523
533
|
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
534
|
return buildHeaders([{ Authorization: `Bearer ${this.bearerToken}` }]);
|
|
529
535
|
}
|
|
530
536
|
|
|
531
|
-
protected async oAuth2ProductionAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
|
|
532
|
-
return undefined;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
537
|
/**
|
|
536
538
|
* Basic re-implementation of `qs.stringify` for primitive types.
|
|
537
539
|
*/
|
|
@@ -1055,15 +1057,11 @@ export class RipplingSDK {
|
|
|
1055
1057
|
|
|
1056
1058
|
static toFile = Uploads.toFile;
|
|
1057
1059
|
|
|
1058
|
-
candidates: API.Candidates = new API.Candidates(this);
|
|
1059
|
-
candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
|
|
1060
1060
|
companies: API.Companies = new API.Companies(this);
|
|
1061
1061
|
compensations: API.Compensations = new API.Compensations(this);
|
|
1062
|
-
customFields: API.CustomFields = new API.CustomFields(this);
|
|
1063
1062
|
customObjects: API.CustomObjects = new API.CustomObjects(this);
|
|
1064
1063
|
departments: API.Departments = new API.Departments(this);
|
|
1065
1064
|
employmentTypes: API.EmploymentTypes = new API.EmploymentTypes(this);
|
|
1066
|
-
entitlements: API.Entitlements = new API.Entitlements(this);
|
|
1067
1065
|
jobCodes: API.JobCodes = new API.JobCodes(this);
|
|
1068
1066
|
jobDimensions: API.JobDimensions = new API.JobDimensions(this);
|
|
1069
1067
|
jobRequisitions: API.JobRequisitions = new API.JobRequisitions(this);
|
|
@@ -1089,23 +1087,25 @@ export class RipplingSDK {
|
|
|
1089
1087
|
functions: API.Functions = new API.Functions(this);
|
|
1090
1088
|
jobAssignments: API.JobAssignments = new API.JobAssignments(this);
|
|
1091
1089
|
jobPayRateExceptions: API.JobPayRateExceptions = new API.JobPayRateExceptions(this);
|
|
1092
|
-
|
|
1090
|
+
candidates: API.Candidates = new API.Candidates(this);
|
|
1091
|
+
candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
|
|
1092
|
+
customFields: API.CustomFields = new API.CustomFields(this);
|
|
1093
|
+
draftHires: API.DraftHires = new API.DraftHires(this);
|
|
1094
|
+
entitlements: API.Entitlements = new API.Entitlements(this);
|
|
1093
1095
|
headcountPositions: API.HeadcountPositions = new API.HeadcountPositions(this);
|
|
1094
|
-
shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
|
|
1095
1096
|
headcountPriorities: API.HeadcountPriorities = new API.HeadcountPriorities(this);
|
|
1096
1097
|
jobFunctions: API.JobFunctions = new API.JobFunctions(this);
|
|
1098
|
+
leaveAccruals: API.LeaveAccruals = new API.LeaveAccruals(this);
|
|
1097
1099
|
locationFactors: API.LocationFactors = new API.LocationFactors(this);
|
|
1100
|
+
schedules: API.Schedules = new API.Schedules(this);
|
|
1101
|
+
shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
|
|
1098
1102
|
}
|
|
1099
1103
|
|
|
1100
|
-
RipplingSDK.Candidates = Candidates;
|
|
1101
|
-
RipplingSDK.CandidateApplications = CandidateApplications;
|
|
1102
1104
|
RipplingSDK.Companies = Companies;
|
|
1103
1105
|
RipplingSDK.Compensations = Compensations;
|
|
1104
|
-
RipplingSDK.CustomFields = CustomFields;
|
|
1105
1106
|
RipplingSDK.CustomObjects = CustomObjects;
|
|
1106
1107
|
RipplingSDK.Departments = Departments;
|
|
1107
1108
|
RipplingSDK.EmploymentTypes = EmploymentTypes;
|
|
1108
|
-
RipplingSDK.Entitlements = Entitlements;
|
|
1109
1109
|
RipplingSDK.JobCodes = JobCodes;
|
|
1110
1110
|
RipplingSDK.JobDimensions = JobDimensions;
|
|
1111
1111
|
RipplingSDK.JobRequisitions = JobRequisitions;
|
|
@@ -1131,12 +1131,18 @@ RipplingSDK.BusinessPartnerGroups = BusinessPartnerGroups;
|
|
|
1131
1131
|
RipplingSDK.Functions = Functions;
|
|
1132
1132
|
RipplingSDK.JobAssignments = JobAssignments;
|
|
1133
1133
|
RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
|
|
1134
|
-
RipplingSDK.
|
|
1134
|
+
RipplingSDK.Candidates = Candidates;
|
|
1135
|
+
RipplingSDK.CandidateApplications = CandidateApplications;
|
|
1136
|
+
RipplingSDK.CustomFields = CustomFields;
|
|
1137
|
+
RipplingSDK.DraftHires = DraftHires;
|
|
1138
|
+
RipplingSDK.Entitlements = Entitlements;
|
|
1135
1139
|
RipplingSDK.HeadcountPositions = HeadcountPositions;
|
|
1136
|
-
RipplingSDK.Shiftassignments = Shiftassignments;
|
|
1137
1140
|
RipplingSDK.HeadcountPriorities = HeadcountPriorities;
|
|
1138
1141
|
RipplingSDK.JobFunctions = JobFunctions;
|
|
1142
|
+
RipplingSDK.LeaveAccruals = LeaveAccruals;
|
|
1139
1143
|
RipplingSDK.LocationFactors = LocationFactors;
|
|
1144
|
+
RipplingSDK.Schedules = Schedules;
|
|
1145
|
+
RipplingSDK.Shiftassignments = Shiftassignments;
|
|
1140
1146
|
|
|
1141
1147
|
export declare namespace RipplingSDK {
|
|
1142
1148
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -1144,20 +1150,6 @@ export declare namespace RipplingSDK {
|
|
|
1144
1150
|
export import PageCursorURL = Pagination.PageCursorURL;
|
|
1145
1151
|
export { type PageCursorURLResponse as PageCursorURLResponse };
|
|
1146
1152
|
|
|
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
1153
|
export {
|
|
1162
1154
|
Companies as Companies,
|
|
1163
1155
|
type Company as Company,
|
|
@@ -1170,15 +1162,8 @@ export declare namespace RipplingSDK {
|
|
|
1170
1162
|
type Compensation as Compensation,
|
|
1171
1163
|
type CompensationRetrieveResponse as CompensationRetrieveResponse,
|
|
1172
1164
|
type CompensationsPageCursorURL as CompensationsPageCursorURL,
|
|
1173
|
-
type CompensationRetrieveParams as CompensationRetrieveParams,
|
|
1174
1165
|
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,
|
|
1166
|
+
type CompensationRetrieveParams as CompensationRetrieveParams,
|
|
1182
1167
|
};
|
|
1183
1168
|
|
|
1184
1169
|
export {
|
|
@@ -1194,8 +1179,8 @@ export declare namespace RipplingSDK {
|
|
|
1194
1179
|
type Department as Department,
|
|
1195
1180
|
type DepartmentRetrieveResponse as DepartmentRetrieveResponse,
|
|
1196
1181
|
type DepartmentsPageCursorURL as DepartmentsPageCursorURL,
|
|
1197
|
-
type DepartmentRetrieveParams as DepartmentRetrieveParams,
|
|
1198
1182
|
type DepartmentListParams as DepartmentListParams,
|
|
1183
|
+
type DepartmentRetrieveParams as DepartmentRetrieveParams,
|
|
1199
1184
|
};
|
|
1200
1185
|
|
|
1201
1186
|
export {
|
|
@@ -1206,22 +1191,16 @@ export declare namespace RipplingSDK {
|
|
|
1206
1191
|
type EmploymentTypeListParams as EmploymentTypeListParams,
|
|
1207
1192
|
};
|
|
1208
1193
|
|
|
1209
|
-
export {
|
|
1210
|
-
Entitlements as Entitlements,
|
|
1211
|
-
type EntitlementListResponse as EntitlementListResponse,
|
|
1212
|
-
type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
|
|
1213
|
-
};
|
|
1214
|
-
|
|
1215
1194
|
export {
|
|
1216
1195
|
JobCodes as JobCodes,
|
|
1217
1196
|
type JobCode as JobCode,
|
|
1218
1197
|
type JobCodeRequest as JobCodeRequest,
|
|
1219
1198
|
type JobCodeRetrieveResponse as JobCodeRetrieveResponse,
|
|
1220
1199
|
type JobCodesPageCursorURL as JobCodesPageCursorURL,
|
|
1200
|
+
type JobCodeListParams as JobCodeListParams,
|
|
1221
1201
|
type JobCodeCreateParams as JobCodeCreateParams,
|
|
1222
1202
|
type JobCodeRetrieveParams as JobCodeRetrieveParams,
|
|
1223
1203
|
type JobCodeUpdateParams as JobCodeUpdateParams,
|
|
1224
|
-
type JobCodeListParams as JobCodeListParams,
|
|
1225
1204
|
type JobCodeListChangeLogParams as JobCodeListChangeLogParams,
|
|
1226
1205
|
};
|
|
1227
1206
|
|
|
@@ -1231,9 +1210,9 @@ export declare namespace RipplingSDK {
|
|
|
1231
1210
|
type JobDimensionRequest as JobDimensionRequest,
|
|
1232
1211
|
type JobDimensionRetrieveResponse as JobDimensionRetrieveResponse,
|
|
1233
1212
|
type JobDimensionsPageCursorURL as JobDimensionsPageCursorURL,
|
|
1213
|
+
type JobDimensionListParams as JobDimensionListParams,
|
|
1234
1214
|
type JobDimensionCreateParams as JobDimensionCreateParams,
|
|
1235
1215
|
type JobDimensionUpdateParams as JobDimensionUpdateParams,
|
|
1236
|
-
type JobDimensionListParams as JobDimensionListParams,
|
|
1237
1216
|
};
|
|
1238
1217
|
|
|
1239
1218
|
export {
|
|
@@ -1246,15 +1225,15 @@ export declare namespace RipplingSDK {
|
|
|
1246
1225
|
export {
|
|
1247
1226
|
KioskBadges as KioskBadges,
|
|
1248
1227
|
type TimeKioskBadge as TimeKioskBadge,
|
|
1228
|
+
type KioskBadgeListResponse as KioskBadgeListResponse,
|
|
1249
1229
|
type KioskBadgeCreateResponse as KioskBadgeCreateResponse,
|
|
1250
1230
|
type KioskBadgeRetrieveResponse as KioskBadgeRetrieveResponse,
|
|
1251
1231
|
type KioskBadgeUpdateResponse as KioskBadgeUpdateResponse,
|
|
1252
|
-
type KioskBadgeListResponse as KioskBadgeListResponse,
|
|
1253
1232
|
type KioskBadgeListResponsesPageCursorURL as KioskBadgeListResponsesPageCursorURL,
|
|
1233
|
+
type KioskBadgeListParams as KioskBadgeListParams,
|
|
1254
1234
|
type KioskBadgeCreateParams as KioskBadgeCreateParams,
|
|
1255
1235
|
type KioskBadgeRetrieveParams as KioskBadgeRetrieveParams,
|
|
1256
1236
|
type KioskBadgeUpdateParams as KioskBadgeUpdateParams,
|
|
1257
|
-
type KioskBadgeListParams as KioskBadgeListParams,
|
|
1258
1237
|
};
|
|
1259
1238
|
|
|
1260
1239
|
export {
|
|
@@ -1262,22 +1241,22 @@ export declare namespace RipplingSDK {
|
|
|
1262
1241
|
type LeaveBalance as LeaveBalance,
|
|
1263
1242
|
type LeaveBalanceRetrieveResponse as LeaveBalanceRetrieveResponse,
|
|
1264
1243
|
type LeaveBalancesPageCursorURL as LeaveBalancesPageCursorURL,
|
|
1265
|
-
type LeaveBalanceRetrieveParams as LeaveBalanceRetrieveParams,
|
|
1266
1244
|
type LeaveBalanceListParams as LeaveBalanceListParams,
|
|
1245
|
+
type LeaveBalanceRetrieveParams as LeaveBalanceRetrieveParams,
|
|
1267
1246
|
};
|
|
1268
1247
|
|
|
1269
1248
|
export {
|
|
1270
1249
|
LeaveRequests as LeaveRequests,
|
|
1271
1250
|
type LeaveRequest as LeaveRequest,
|
|
1251
|
+
type LeaveRequestListResponse as LeaveRequestListResponse,
|
|
1272
1252
|
type LeaveRequestCreateResponse as LeaveRequestCreateResponse,
|
|
1273
1253
|
type LeaveRequestRetrieveResponse as LeaveRequestRetrieveResponse,
|
|
1274
1254
|
type LeaveRequestUpdateResponse as LeaveRequestUpdateResponse,
|
|
1275
|
-
type LeaveRequestListResponse as LeaveRequestListResponse,
|
|
1276
1255
|
type LeaveRequestListResponsesPageCursorURL as LeaveRequestListResponsesPageCursorURL,
|
|
1256
|
+
type LeaveRequestListParams as LeaveRequestListParams,
|
|
1277
1257
|
type LeaveRequestCreateParams as LeaveRequestCreateParams,
|
|
1278
1258
|
type LeaveRequestRetrieveParams as LeaveRequestRetrieveParams,
|
|
1279
1259
|
type LeaveRequestUpdateParams as LeaveRequestUpdateParams,
|
|
1280
|
-
type LeaveRequestListParams as LeaveRequestListParams,
|
|
1281
1260
|
};
|
|
1282
1261
|
|
|
1283
1262
|
export {
|
|
@@ -1293,8 +1272,8 @@ export declare namespace RipplingSDK {
|
|
|
1293
1272
|
type LegalEntity as LegalEntity,
|
|
1294
1273
|
type LegalEntityRetrieveResponse as LegalEntityRetrieveResponse,
|
|
1295
1274
|
type LegalEntitiesPageCursorURL as LegalEntitiesPageCursorURL,
|
|
1296
|
-
type LegalEntityRetrieveParams as LegalEntityRetrieveParams,
|
|
1297
1275
|
type LegalEntityListParams as LegalEntityListParams,
|
|
1276
|
+
type LegalEntityRetrieveParams as LegalEntityRetrieveParams,
|
|
1298
1277
|
};
|
|
1299
1278
|
|
|
1300
1279
|
export {
|
|
@@ -1302,8 +1281,8 @@ export declare namespace RipplingSDK {
|
|
|
1302
1281
|
type Level as Level,
|
|
1303
1282
|
type LevelRetrieveResponse as LevelRetrieveResponse,
|
|
1304
1283
|
type LevelsPageCursorURL as LevelsPageCursorURL,
|
|
1305
|
-
type LevelRetrieveParams as LevelRetrieveParams,
|
|
1306
1284
|
type LevelListParams as LevelListParams,
|
|
1285
|
+
type LevelRetrieveParams as LevelRetrieveParams,
|
|
1307
1286
|
};
|
|
1308
1287
|
|
|
1309
1288
|
export {
|
|
@@ -1317,15 +1296,15 @@ export declare namespace RipplingSDK {
|
|
|
1317
1296
|
export {
|
|
1318
1297
|
ShiftInputs as ShiftInputs,
|
|
1319
1298
|
type ShiftInput as ShiftInput,
|
|
1299
|
+
type ShiftInputListResponse as ShiftInputListResponse,
|
|
1320
1300
|
type ShiftInputCreateResponse as ShiftInputCreateResponse,
|
|
1321
1301
|
type ShiftInputRetrieveResponse as ShiftInputRetrieveResponse,
|
|
1322
1302
|
type ShiftInputUpdateResponse as ShiftInputUpdateResponse,
|
|
1323
|
-
type ShiftInputListResponse as ShiftInputListResponse,
|
|
1324
1303
|
type ShiftInputListResponsesPageCursorURL as ShiftInputListResponsesPageCursorURL,
|
|
1304
|
+
type ShiftInputListParams as ShiftInputListParams,
|
|
1325
1305
|
type ShiftInputCreateParams as ShiftInputCreateParams,
|
|
1326
1306
|
type ShiftInputRetrieveParams as ShiftInputRetrieveParams,
|
|
1327
1307
|
type ShiftInputUpdateParams as ShiftInputUpdateParams,
|
|
1328
|
-
type ShiftInputListParams as ShiftInputListParams,
|
|
1329
1308
|
};
|
|
1330
1309
|
|
|
1331
1310
|
export {
|
|
@@ -1347,8 +1326,8 @@ export declare namespace RipplingSDK {
|
|
|
1347
1326
|
type Team as Team,
|
|
1348
1327
|
type TeamRetrieveResponse as TeamRetrieveResponse,
|
|
1349
1328
|
type TeamsPageCursorURL as TeamsPageCursorURL,
|
|
1350
|
-
type TeamRetrieveParams as TeamRetrieveParams,
|
|
1351
1329
|
type TeamListParams as TeamListParams,
|
|
1330
|
+
type TeamRetrieveParams as TeamRetrieveParams,
|
|
1352
1331
|
};
|
|
1353
1332
|
|
|
1354
1333
|
export {
|
|
@@ -1357,22 +1336,22 @@ export declare namespace RipplingSDK {
|
|
|
1357
1336
|
type TimeCard as TimeCard,
|
|
1358
1337
|
type TimeCardRetrieveResponse as TimeCardRetrieveResponse,
|
|
1359
1338
|
type TimeCardsPageCursorURL as TimeCardsPageCursorURL,
|
|
1360
|
-
type TimeCardRetrieveParams as TimeCardRetrieveParams,
|
|
1361
1339
|
type TimeCardListParams as TimeCardListParams,
|
|
1340
|
+
type TimeCardRetrieveParams as TimeCardRetrieveParams,
|
|
1362
1341
|
};
|
|
1363
1342
|
|
|
1364
1343
|
export {
|
|
1365
1344
|
TimeEntries as TimeEntries,
|
|
1366
1345
|
type TimeEntry as TimeEntry,
|
|
1346
|
+
type TimeEntryListResponse as TimeEntryListResponse,
|
|
1367
1347
|
type TimeEntryCreateResponse as TimeEntryCreateResponse,
|
|
1368
1348
|
type TimeEntryRetrieveResponse as TimeEntryRetrieveResponse,
|
|
1369
1349
|
type TimeEntryUpdateResponse as TimeEntryUpdateResponse,
|
|
1370
|
-
type TimeEntryListResponse as TimeEntryListResponse,
|
|
1371
1350
|
type TimeEntryListResponsesPageCursorURL as TimeEntryListResponsesPageCursorURL,
|
|
1351
|
+
type TimeEntryListParams as TimeEntryListParams,
|
|
1372
1352
|
type TimeEntryCreateParams as TimeEntryCreateParams,
|
|
1373
1353
|
type TimeEntryRetrieveParams as TimeEntryRetrieveParams,
|
|
1374
1354
|
type TimeEntryUpdateParams as TimeEntryUpdateParams,
|
|
1375
|
-
type TimeEntryListParams as TimeEntryListParams,
|
|
1376
1355
|
};
|
|
1377
1356
|
|
|
1378
1357
|
export {
|
|
@@ -1404,8 +1383,8 @@ export declare namespace RipplingSDK {
|
|
|
1404
1383
|
type Worker as Worker,
|
|
1405
1384
|
type WorkerRetrieveResponse as WorkerRetrieveResponse,
|
|
1406
1385
|
type WorkersPageCursorURL as WorkersPageCursorURL,
|
|
1407
|
-
type WorkerRetrieveParams as WorkerRetrieveParams,
|
|
1408
1386
|
type WorkerListParams as WorkerListParams,
|
|
1387
|
+
type WorkerRetrieveParams as WorkerRetrieveParams,
|
|
1409
1388
|
};
|
|
1410
1389
|
|
|
1411
1390
|
export {
|
|
@@ -1414,9 +1393,9 @@ export declare namespace RipplingSDK {
|
|
|
1414
1393
|
type Meta as Meta,
|
|
1415
1394
|
type BusinessPartnerRetrieveResponse as BusinessPartnerRetrieveResponse,
|
|
1416
1395
|
type BusinessPartnersPageCursorURL as BusinessPartnersPageCursorURL,
|
|
1396
|
+
type BusinessPartnerListParams as BusinessPartnerListParams,
|
|
1417
1397
|
type BusinessPartnerCreateParams as BusinessPartnerCreateParams,
|
|
1418
1398
|
type BusinessPartnerRetrieveParams as BusinessPartnerRetrieveParams,
|
|
1419
|
-
type BusinessPartnerListParams as BusinessPartnerListParams,
|
|
1420
1399
|
};
|
|
1421
1400
|
|
|
1422
1401
|
export {
|
|
@@ -1424,9 +1403,9 @@ export declare namespace RipplingSDK {
|
|
|
1424
1403
|
type BusinessPartnerGroup as BusinessPartnerGroup,
|
|
1425
1404
|
type BusinessPartnerGroupRetrieveResponse as BusinessPartnerGroupRetrieveResponse,
|
|
1426
1405
|
type BusinessPartnerGroupsPageCursorURL as BusinessPartnerGroupsPageCursorURL,
|
|
1406
|
+
type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
|
|
1427
1407
|
type BusinessPartnerGroupCreateParams as BusinessPartnerGroupCreateParams,
|
|
1428
1408
|
type BusinessPartnerGroupRetrieveParams as BusinessPartnerGroupRetrieveParams,
|
|
1429
|
-
type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
|
|
1430
1409
|
};
|
|
1431
1410
|
|
|
1432
1411
|
export {
|
|
@@ -1434,9 +1413,9 @@ export declare namespace RipplingSDK {
|
|
|
1434
1413
|
type Function as Function,
|
|
1435
1414
|
type FunctionCreateDevBundleResponse as FunctionCreateDevBundleResponse,
|
|
1436
1415
|
type FunctionsPageCursorURL as FunctionsPageCursorURL,
|
|
1416
|
+
type FunctionListParams as FunctionListParams,
|
|
1437
1417
|
type FunctionCreateParams as FunctionCreateParams,
|
|
1438
1418
|
type FunctionUpdateParams as FunctionUpdateParams,
|
|
1439
|
-
type FunctionListParams as FunctionListParams,
|
|
1440
1419
|
};
|
|
1441
1420
|
|
|
1442
1421
|
export {
|
|
@@ -1446,8 +1425,8 @@ export declare namespace RipplingSDK {
|
|
|
1446
1425
|
type JobAssignmentRetrieveResponse as JobAssignmentRetrieveResponse,
|
|
1447
1426
|
type JobAssignmentsPageCursorURL as JobAssignmentsPageCursorURL,
|
|
1448
1427
|
type AttributeChangeDetailsPageCursorURL as AttributeChangeDetailsPageCursorURL,
|
|
1449
|
-
type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
|
|
1450
1428
|
type JobAssignmentListParams as JobAssignmentListParams,
|
|
1429
|
+
type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
|
|
1451
1430
|
type JobAssignmentListChangeLogParams as JobAssignmentListChangeLogParams,
|
|
1452
1431
|
};
|
|
1453
1432
|
|
|
@@ -1456,62 +1435,105 @@ export declare namespace RipplingSDK {
|
|
|
1456
1435
|
type JobPayRateException as JobPayRateException,
|
|
1457
1436
|
type JobPayRateExceptionRetrieveResponse as JobPayRateExceptionRetrieveResponse,
|
|
1458
1437
|
type JobPayRateExceptionsPageCursorURL as JobPayRateExceptionsPageCursorURL,
|
|
1459
|
-
type JobPayRateExceptionRetrieveParams as JobPayRateExceptionRetrieveParams,
|
|
1460
1438
|
type JobPayRateExceptionListParams as JobPayRateExceptionListParams,
|
|
1439
|
+
type JobPayRateExceptionRetrieveParams as JobPayRateExceptionRetrieveParams,
|
|
1461
1440
|
type JobPayRateExceptionListChangeLogParams as JobPayRateExceptionListChangeLogParams,
|
|
1462
1441
|
};
|
|
1463
1442
|
|
|
1464
1443
|
export {
|
|
1465
|
-
|
|
1466
|
-
type
|
|
1467
|
-
type
|
|
1468
|
-
type
|
|
1469
|
-
|
|
1470
|
-
|
|
1444
|
+
Candidates as Candidates,
|
|
1445
|
+
type CandidateListResponse as CandidateListResponse,
|
|
1446
|
+
type CandidateListResponsesPageCursorURL as CandidateListResponsesPageCursorURL,
|
|
1447
|
+
type CandidateListParams as CandidateListParams,
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1450
|
+
export {
|
|
1451
|
+
CandidateApplications as CandidateApplications,
|
|
1452
|
+
type CandidateApplicationListResponse as CandidateApplicationListResponse,
|
|
1453
|
+
type CandidateApplicationListResponsesPageCursorURL as CandidateApplicationListResponsesPageCursorURL,
|
|
1454
|
+
type CandidateApplicationListParams as CandidateApplicationListParams,
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1457
|
+
export {
|
|
1458
|
+
CustomFields as CustomFields,
|
|
1459
|
+
type CustomFieldListResponse as CustomFieldListResponse,
|
|
1460
|
+
type CustomFieldListResponsesPageCursorURL as CustomFieldListResponsesPageCursorURL,
|
|
1461
|
+
type CustomFieldListParams as CustomFieldListParams,
|
|
1462
|
+
};
|
|
1463
|
+
|
|
1464
|
+
export {
|
|
1465
|
+
DraftHires as DraftHires,
|
|
1466
|
+
type DraftHireCreateResponse as DraftHireCreateResponse,
|
|
1467
|
+
type DraftHireCreateParams as DraftHireCreateParams,
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1470
|
+
export {
|
|
1471
|
+
Entitlements as Entitlements,
|
|
1472
|
+
type EntitlementListResponse as EntitlementListResponse,
|
|
1473
|
+
type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
|
|
1471
1474
|
};
|
|
1472
1475
|
|
|
1473
1476
|
export {
|
|
1474
1477
|
HeadcountPositions as HeadcountPositions,
|
|
1475
|
-
type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
|
|
1476
1478
|
type HeadcountPositionListResponse as HeadcountPositionListResponse,
|
|
1479
|
+
type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
|
|
1477
1480
|
type HeadcountPositionListResponsesPageCursorURL as HeadcountPositionListResponsesPageCursorURL,
|
|
1478
|
-
type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
|
|
1479
1481
|
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,
|
|
1482
|
+
type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
|
|
1489
1483
|
};
|
|
1490
1484
|
|
|
1491
1485
|
export {
|
|
1492
1486
|
HeadcountPriorities as HeadcountPriorities,
|
|
1493
|
-
type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
|
|
1494
1487
|
type HeadcountPriorityListResponse as HeadcountPriorityListResponse,
|
|
1488
|
+
type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
|
|
1495
1489
|
type HeadcountPriorityListResponsesPageCursorURL as HeadcountPriorityListResponsesPageCursorURL,
|
|
1496
1490
|
type HeadcountPriorityListParams as HeadcountPriorityListParams,
|
|
1497
1491
|
};
|
|
1498
1492
|
|
|
1499
1493
|
export {
|
|
1500
1494
|
JobFunctions as JobFunctions,
|
|
1501
|
-
type JobFunctionRetrieveResponse as JobFunctionRetrieveResponse,
|
|
1502
1495
|
type JobFunctionListResponse as JobFunctionListResponse,
|
|
1496
|
+
type JobFunctionRetrieveResponse as JobFunctionRetrieveResponse,
|
|
1503
1497
|
type JobFunctionListResponsesPageCursorURL as JobFunctionListResponsesPageCursorURL,
|
|
1504
1498
|
type JobFunctionListParams as JobFunctionListParams,
|
|
1505
1499
|
};
|
|
1506
1500
|
|
|
1501
|
+
export {
|
|
1502
|
+
LeaveAccruals as LeaveAccruals,
|
|
1503
|
+
type LeaveAccrualRetrieveResponse as LeaveAccrualRetrieveResponse,
|
|
1504
|
+
type LeaveAccrualCreateResponse as LeaveAccrualCreateResponse,
|
|
1505
|
+
type LeaveAccrualRetrieveParams as LeaveAccrualRetrieveParams,
|
|
1506
|
+
type LeaveAccrualCreateParams as LeaveAccrualCreateParams,
|
|
1507
|
+
};
|
|
1508
|
+
|
|
1507
1509
|
export {
|
|
1508
1510
|
LocationFactors as LocationFactors,
|
|
1509
|
-
type LocationFactorRetrieveResponse as LocationFactorRetrieveResponse,
|
|
1510
1511
|
type LocationFactorListResponse as LocationFactorListResponse,
|
|
1512
|
+
type LocationFactorRetrieveResponse as LocationFactorRetrieveResponse,
|
|
1511
1513
|
type LocationFactorListResponsesPageCursorURL as LocationFactorListResponsesPageCursorURL,
|
|
1512
1514
|
type LocationFactorListParams as LocationFactorListParams,
|
|
1513
1515
|
};
|
|
1514
1516
|
|
|
1517
|
+
export {
|
|
1518
|
+
Schedules as Schedules,
|
|
1519
|
+
type ScheduleListResponse as ScheduleListResponse,
|
|
1520
|
+
type ScheduleCreateResponse as ScheduleCreateResponse,
|
|
1521
|
+
type ScheduleRetrieveResponse as ScheduleRetrieveResponse,
|
|
1522
|
+
type ScheduleListResponsesPageCursorURL as ScheduleListResponsesPageCursorURL,
|
|
1523
|
+
type ScheduleListParams as ScheduleListParams,
|
|
1524
|
+
type ScheduleCreateParams as ScheduleCreateParams,
|
|
1525
|
+
type ScheduleRetrieveParams as ScheduleRetrieveParams,
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
export {
|
|
1529
|
+
Shiftassignments as Shiftassignments,
|
|
1530
|
+
type ShiftassignmentListResponse as ShiftassignmentListResponse,
|
|
1531
|
+
type ShiftassignmentRetrieveResponse as ShiftassignmentRetrieveResponse,
|
|
1532
|
+
type ShiftassignmentListResponsesPageCursorURL as ShiftassignmentListResponsesPageCursorURL,
|
|
1533
|
+
type ShiftassignmentListParams as ShiftassignmentListParams,
|
|
1534
|
+
type ShiftassignmentRetrieveParams as ShiftassignmentRetrieveParams,
|
|
1535
|
+
};
|
|
1536
|
+
|
|
1515
1537
|
export type Address = API.Address;
|
|
1516
1538
|
export type CountryCode = API.CountryCode;
|
|
1517
1539
|
export type RedactedFields = API.RedactedFields;
|
package/src/internal/to-file.ts
CHANGED
|
@@ -73,7 +73,7 @@ export type ToFileInput =
|
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats
|
|
76
|
-
* @param value the raw content of the file.
|
|
76
|
+
* @param value the raw content of the file. Can be an {@link Uploadable}, BlobLikePart, or AsyncIterable of BlobLikeParts
|
|
77
77
|
* @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible
|
|
78
78
|
* @param {Object=} options additional properties
|
|
79
79
|
* @param {string=} options.type the MIME type of the content
|
|
@@ -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
|
}
|