@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
|
@@ -5,14 +5,6 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
5
5
|
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
6
6
|
import { RequestOptions } from "../internal/request-options.js";
|
|
7
7
|
export declare class BusinessPartnerGroups extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Create a new business partner group
|
|
10
|
-
*/
|
|
11
|
-
create(body: BusinessPartnerGroupCreateParams, options?: RequestOptions): APIPromise<BusinessPartnerGroup>;
|
|
12
|
-
/**
|
|
13
|
-
* Retrieve a specific business partner group
|
|
14
|
-
*/
|
|
15
|
-
retrieve(id: string, query?: BusinessPartnerGroupRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BusinessPartnerGroupRetrieveResponse>;
|
|
16
8
|
/**
|
|
17
9
|
* A List of business partner groups
|
|
18
10
|
*
|
|
@@ -21,6 +13,14 @@ export declare class BusinessPartnerGroups extends APIResource {
|
|
|
21
13
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
22
14
|
*/
|
|
23
15
|
list(query?: BusinessPartnerGroupListParams | null | undefined, options?: RequestOptions): PagePromise<BusinessPartnerGroupsPageCursorURL, BusinessPartnerGroup>;
|
|
16
|
+
/**
|
|
17
|
+
* Create a new business partner group
|
|
18
|
+
*/
|
|
19
|
+
create(body: BusinessPartnerGroupCreateParams, options?: RequestOptions): APIPromise<BusinessPartnerGroup>;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve a specific business partner group
|
|
22
|
+
*/
|
|
23
|
+
retrieve(id: string, query?: BusinessPartnerGroupRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BusinessPartnerGroupRetrieveResponse>;
|
|
24
24
|
/**
|
|
25
25
|
* Delete a business partner group
|
|
26
26
|
*/
|
|
@@ -66,6 +66,10 @@ export interface BusinessPartnerGroup {
|
|
|
66
66
|
*/
|
|
67
67
|
export interface BusinessPartnerGroupRetrieveResponse extends BusinessPartnersAPI.Meta, BusinessPartnerGroup {
|
|
68
68
|
}
|
|
69
|
+
export interface BusinessPartnerGroupListParams {
|
|
70
|
+
expand?: string;
|
|
71
|
+
order_by?: string;
|
|
72
|
+
}
|
|
69
73
|
export interface BusinessPartnerGroupCreateParams {
|
|
70
74
|
/**
|
|
71
75
|
* Name used to identify business partner group
|
|
@@ -84,11 +88,7 @@ export interface BusinessPartnerGroupCreateParams {
|
|
|
84
88
|
export interface BusinessPartnerGroupRetrieveParams {
|
|
85
89
|
expand?: string;
|
|
86
90
|
}
|
|
87
|
-
export interface BusinessPartnerGroupListParams {
|
|
88
|
-
expand?: string;
|
|
89
|
-
order_by?: string;
|
|
90
|
-
}
|
|
91
91
|
export declare namespace BusinessPartnerGroups {
|
|
92
|
-
export { type BusinessPartnerGroup as BusinessPartnerGroup, type BusinessPartnerGroupRetrieveResponse as BusinessPartnerGroupRetrieveResponse, type BusinessPartnerGroupsPageCursorURL as BusinessPartnerGroupsPageCursorURL, type
|
|
92
|
+
export { type BusinessPartnerGroup as BusinessPartnerGroup, type BusinessPartnerGroupRetrieveResponse as BusinessPartnerGroupRetrieveResponse, type BusinessPartnerGroupsPageCursorURL as BusinessPartnerGroupsPageCursorURL, type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams, type BusinessPartnerGroupCreateParams as BusinessPartnerGroupCreateParams, type BusinessPartnerGroupRetrieveParams as BusinessPartnerGroupRetrieveParams, };
|
|
93
93
|
}
|
|
94
94
|
//# sourceMappingURL=business-partner-groups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-partner-groups.d.ts","sourceRoot":"","sources":["../src/resources/business-partner-groups.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,qBAAsB,SAAQ,WAAW;IACpD
|
|
1
|
+
{"version":3,"file":"business-partner-groups.d.ts","sourceRoot":"","sources":["../src/resources/business-partner-groups.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,8BAA8B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,kCAAkC,EAAE,oBAAoB,CAAC;IAOxE;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,gCAAgC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI1G;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,kCAAkC,GAAG,IAAI,GAAG,SAAc,EACjE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;IAInD;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM/D;AAED,MAAM,MAAM,kCAAkC,GAAG,aAAa,CAAC,oBAAoB,CAAC,CAAC;AAErF,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC;IAE7C;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,YAAY,GAAG,OAAO,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,WAAW,oCACf,SAAQ,mBAAmB,CAAC,IAAI,EAC9B,oBAAoB;CAAG;AAE3B,MAAM,WAAW,8BAA8B;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,YAAY,GAAG,OAAO,CAAC;CAC3D;AAED,MAAM,WAAW,kCAAkC;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
|
|
@@ -7,18 +7,6 @@ const pagination_1 = require("../core/pagination.js");
|
|
|
7
7
|
const headers_1 = require("../internal/headers.js");
|
|
8
8
|
const path_1 = require("../internal/utils/path.js");
|
|
9
9
|
class BusinessPartnerGroups extends resource_1.APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Create a new business partner group
|
|
12
|
-
*/
|
|
13
|
-
create(body, options) {
|
|
14
|
-
return this._client.post('/business-partner-groups', { body, ...options });
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Retrieve a specific business partner group
|
|
18
|
-
*/
|
|
19
|
-
retrieve(id, query = {}, options) {
|
|
20
|
-
return this._client.get((0, path_1.path) `/business-partner-groups/${id}`, { query, ...options });
|
|
21
|
-
}
|
|
22
10
|
/**
|
|
23
11
|
* A List of business partner groups
|
|
24
12
|
*
|
|
@@ -32,6 +20,18 @@ class BusinessPartnerGroups extends resource_1.APIResource {
|
|
|
32
20
|
...options,
|
|
33
21
|
});
|
|
34
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Create a new business partner group
|
|
25
|
+
*/
|
|
26
|
+
create(body, options) {
|
|
27
|
+
return this._client.post('/business-partner-groups', { body, ...options });
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Retrieve a specific business partner group
|
|
31
|
+
*/
|
|
32
|
+
retrieve(id, query = {}, options) {
|
|
33
|
+
return this._client.get((0, path_1.path) `/business-partner-groups/${id}`, { query, ...options });
|
|
34
|
+
}
|
|
35
35
|
/**
|
|
36
36
|
* Delete a business partner group
|
|
37
37
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-partner-groups.js","sourceRoot":"","sources":["../src/resources/business-partner-groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,qBAAsB,SAAQ,sBAAW;IACpD
|
|
1
|
+
{"version":3,"file":"business-partner-groups.js","sourceRoot":"","sources":["../src/resources/business-partner-groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;;;;;OAMG;IACH,IAAI,CACF,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAA,0BAAmC,CAAA,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAsC,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA+D,EAAE,EACjE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE;YAC/D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA7CD,sDA6CC"}
|
|
@@ -4,18 +4,6 @@ import { PageCursorURL } from "../core/pagination.mjs";
|
|
|
4
4
|
import { buildHeaders } from "../internal/headers.mjs";
|
|
5
5
|
import { path } from "../internal/utils/path.mjs";
|
|
6
6
|
export class BusinessPartnerGroups extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Create a new business partner group
|
|
9
|
-
*/
|
|
10
|
-
create(body, options) {
|
|
11
|
-
return this._client.post('/business-partner-groups', { body, ...options });
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Retrieve a specific business partner group
|
|
15
|
-
*/
|
|
16
|
-
retrieve(id, query = {}, options) {
|
|
17
|
-
return this._client.get(path `/business-partner-groups/${id}`, { query, ...options });
|
|
18
|
-
}
|
|
19
7
|
/**
|
|
20
8
|
* A List of business partner groups
|
|
21
9
|
*
|
|
@@ -29,6 +17,18 @@ export class BusinessPartnerGroups extends APIResource {
|
|
|
29
17
|
...options,
|
|
30
18
|
});
|
|
31
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Create a new business partner group
|
|
22
|
+
*/
|
|
23
|
+
create(body, options) {
|
|
24
|
+
return this._client.post('/business-partner-groups', { body, ...options });
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Retrieve a specific business partner group
|
|
28
|
+
*/
|
|
29
|
+
retrieve(id, query = {}, options) {
|
|
30
|
+
return this._client.get(path `/business-partner-groups/${id}`, { query, ...options });
|
|
31
|
+
}
|
|
32
32
|
/**
|
|
33
33
|
* Delete a business partner group
|
|
34
34
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-partner-groups.mjs","sourceRoot":"","sources":["../src/resources/business-partner-groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD
|
|
1
|
+
{"version":3,"file":"business-partner-groups.mjs","sourceRoot":"","sources":["../src/resources/business-partner-groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;;;;;OAMG;IACH,IAAI,CACF,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAA,aAAmC,CAAA,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAsC,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA+D,EAAE,EACjE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE;YAC/D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -6,14 +6,6 @@ import { APIPromise } from "../core/api-promise.mjs";
|
|
|
6
6
|
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
7
7
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
8
8
|
export declare class BusinessPartners extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Create a new business partner
|
|
11
|
-
*/
|
|
12
|
-
create(body: BusinessPartnerCreateParams, options?: RequestOptions): APIPromise<BusinessPartner>;
|
|
13
|
-
/**
|
|
14
|
-
* Retrieve a specific business partner
|
|
15
|
-
*/
|
|
16
|
-
retrieve(id: string, query?: BusinessPartnerRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BusinessPartnerRetrieveResponse>;
|
|
17
9
|
/**
|
|
18
10
|
* A List of business partners
|
|
19
11
|
*
|
|
@@ -23,6 +15,14 @@ export declare class BusinessPartners extends APIResource {
|
|
|
23
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
24
16
|
*/
|
|
25
17
|
list(query?: BusinessPartnerListParams | null | undefined, options?: RequestOptions): PagePromise<BusinessPartnersPageCursorURL, BusinessPartner>;
|
|
18
|
+
/**
|
|
19
|
+
* Create a new business partner
|
|
20
|
+
*/
|
|
21
|
+
create(body: BusinessPartnerCreateParams, options?: RequestOptions): APIPromise<BusinessPartner>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve a specific business partner
|
|
24
|
+
*/
|
|
25
|
+
retrieve(id: string, query?: BusinessPartnerRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BusinessPartnerRetrieveResponse>;
|
|
26
26
|
/**
|
|
27
27
|
* Delete a business partner
|
|
28
28
|
*/
|
|
@@ -108,6 +108,11 @@ export declare namespace Meta {
|
|
|
108
108
|
*/
|
|
109
109
|
export interface BusinessPartnerRetrieveResponse extends Meta, BusinessPartner {
|
|
110
110
|
}
|
|
111
|
+
export interface BusinessPartnerListParams {
|
|
112
|
+
expand?: string;
|
|
113
|
+
filter?: string;
|
|
114
|
+
order_by?: string;
|
|
115
|
+
}
|
|
111
116
|
export interface BusinessPartnerCreateParams {
|
|
112
117
|
/**
|
|
113
118
|
* Identifier of business partner group the business parter is a part of
|
|
@@ -121,12 +126,7 @@ export interface BusinessPartnerCreateParams {
|
|
|
121
126
|
export interface BusinessPartnerRetrieveParams {
|
|
122
127
|
expand?: string;
|
|
123
128
|
}
|
|
124
|
-
export interface BusinessPartnerListParams {
|
|
125
|
-
expand?: string;
|
|
126
|
-
filter?: string;
|
|
127
|
-
order_by?: string;
|
|
128
|
-
}
|
|
129
129
|
export declare namespace BusinessPartners {
|
|
130
|
-
export { type BusinessPartner as BusinessPartner, type Meta as Meta, type BusinessPartnerRetrieveResponse as BusinessPartnerRetrieveResponse, type BusinessPartnersPageCursorURL as BusinessPartnersPageCursorURL, type
|
|
130
|
+
export { type BusinessPartner as BusinessPartner, type Meta as Meta, type BusinessPartnerRetrieveResponse as BusinessPartnerRetrieveResponse, type BusinessPartnersPageCursorURL as BusinessPartnersPageCursorURL, type BusinessPartnerListParams as BusinessPartnerListParams, type BusinessPartnerCreateParams as BusinessPartnerCreateParams, type BusinessPartnerRetrieveParams as BusinessPartnerRetrieveParams, };
|
|
131
131
|
}
|
|
132
132
|
//# sourceMappingURL=business-partners.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-partners.d.mts","sourceRoot":"","sources":["../src/resources/business-partners.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,wBAAwB;OAC7B,KAAK,UAAU;OACf,KAAK,cAAc;OACnB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,2BAA2B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIhG;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C
|
|
1
|
+
{"version":3,"file":"business-partners.d.mts","sourceRoot":"","sources":["../src/resources/business-partners.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,wBAAwB;OAC7B,KAAK,UAAU;OACf,KAAK,cAAc;OACnB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6BAA6B,EAAE,eAAe,CAAC;IAO9D;;OAEG;IACH,MAA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,aAAa;YAC5B;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,MAAM,CAAC,EAAE,MAAM,CAAC;SACjB;KACF;CACF;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,IAAI,EAAE,eAAe;CAAG;AAEjF,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,6BAA6B;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -6,14 +6,6 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
6
6
|
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
7
7
|
import { RequestOptions } from "../internal/request-options.js";
|
|
8
8
|
export declare class BusinessPartners extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Create a new business partner
|
|
11
|
-
*/
|
|
12
|
-
create(body: BusinessPartnerCreateParams, options?: RequestOptions): APIPromise<BusinessPartner>;
|
|
13
|
-
/**
|
|
14
|
-
* Retrieve a specific business partner
|
|
15
|
-
*/
|
|
16
|
-
retrieve(id: string, query?: BusinessPartnerRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BusinessPartnerRetrieveResponse>;
|
|
17
9
|
/**
|
|
18
10
|
* A List of business partners
|
|
19
11
|
*
|
|
@@ -23,6 +15,14 @@ export declare class BusinessPartners extends APIResource {
|
|
|
23
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
24
16
|
*/
|
|
25
17
|
list(query?: BusinessPartnerListParams | null | undefined, options?: RequestOptions): PagePromise<BusinessPartnersPageCursorURL, BusinessPartner>;
|
|
18
|
+
/**
|
|
19
|
+
* Create a new business partner
|
|
20
|
+
*/
|
|
21
|
+
create(body: BusinessPartnerCreateParams, options?: RequestOptions): APIPromise<BusinessPartner>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve a specific business partner
|
|
24
|
+
*/
|
|
25
|
+
retrieve(id: string, query?: BusinessPartnerRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BusinessPartnerRetrieveResponse>;
|
|
26
26
|
/**
|
|
27
27
|
* Delete a business partner
|
|
28
28
|
*/
|
|
@@ -108,6 +108,11 @@ export declare namespace Meta {
|
|
|
108
108
|
*/
|
|
109
109
|
export interface BusinessPartnerRetrieveResponse extends Meta, BusinessPartner {
|
|
110
110
|
}
|
|
111
|
+
export interface BusinessPartnerListParams {
|
|
112
|
+
expand?: string;
|
|
113
|
+
filter?: string;
|
|
114
|
+
order_by?: string;
|
|
115
|
+
}
|
|
111
116
|
export interface BusinessPartnerCreateParams {
|
|
112
117
|
/**
|
|
113
118
|
* Identifier of business partner group the business parter is a part of
|
|
@@ -121,12 +126,7 @@ export interface BusinessPartnerCreateParams {
|
|
|
121
126
|
export interface BusinessPartnerRetrieveParams {
|
|
122
127
|
expand?: string;
|
|
123
128
|
}
|
|
124
|
-
export interface BusinessPartnerListParams {
|
|
125
|
-
expand?: string;
|
|
126
|
-
filter?: string;
|
|
127
|
-
order_by?: string;
|
|
128
|
-
}
|
|
129
129
|
export declare namespace BusinessPartners {
|
|
130
|
-
export { type BusinessPartner as BusinessPartner, type Meta as Meta, type BusinessPartnerRetrieveResponse as BusinessPartnerRetrieveResponse, type BusinessPartnersPageCursorURL as BusinessPartnersPageCursorURL, type
|
|
130
|
+
export { type BusinessPartner as BusinessPartner, type Meta as Meta, type BusinessPartnerRetrieveResponse as BusinessPartnerRetrieveResponse, type BusinessPartnersPageCursorURL as BusinessPartnersPageCursorURL, type BusinessPartnerListParams as BusinessPartnerListParams, type BusinessPartnerCreateParams as BusinessPartnerCreateParams, type BusinessPartnerRetrieveParams as BusinessPartnerRetrieveParams, };
|
|
131
131
|
}
|
|
132
132
|
//# sourceMappingURL=business-partners.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-partners.d.ts","sourceRoot":"","sources":["../src/resources/business-partners.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,wBAAwB;OAC7B,KAAK,UAAU;OACf,KAAK,cAAc;OACnB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,2BAA2B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIhG;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C
|
|
1
|
+
{"version":3,"file":"business-partners.d.ts","sourceRoot":"","sources":["../src/resources/business-partners.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,wBAAwB;OAC7B,KAAK,UAAU;OACf,KAAK,cAAc;OACnB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBA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IAAI,CAAC,KAAK,CAAC;CACrB;AAED,yBAAiB,IAAI,CAAC;IACpB,UAAiB,KAAK;QACpB,eAAe,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;KAC9C;IAED,UAAiB,KAAK,CAAC;QACrB;;WAEG;QACH,UAAiB,aAAa;YAC5B;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,MAAM,CAAC,EAAE,MAAM,CAAC;SACjB;KACF;CACF;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,IAAI,EAAE,eAAe;CAAG;AAEjF,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,6BAA6B;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -7,18 +7,6 @@ const pagination_1 = require("../core/pagination.js");
|
|
|
7
7
|
const headers_1 = require("../internal/headers.js");
|
|
8
8
|
const path_1 = require("../internal/utils/path.js");
|
|
9
9
|
class BusinessPartners extends resource_1.APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Create a new business partner
|
|
12
|
-
*/
|
|
13
|
-
create(body, options) {
|
|
14
|
-
return this._client.post('/business-partners', { body, ...options });
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Retrieve a specific business partner
|
|
18
|
-
*/
|
|
19
|
-
retrieve(id, query = {}, options) {
|
|
20
|
-
return this._client.get((0, path_1.path) `/business-partners/${id}`, { query, ...options });
|
|
21
|
-
}
|
|
22
10
|
/**
|
|
23
11
|
* A List of business partners
|
|
24
12
|
*
|
|
@@ -33,6 +21,18 @@ class BusinessPartners extends resource_1.APIResource {
|
|
|
33
21
|
...options,
|
|
34
22
|
});
|
|
35
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* Create a new business partner
|
|
26
|
+
*/
|
|
27
|
+
create(body, options) {
|
|
28
|
+
return this._client.post('/business-partners', { body, ...options });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Retrieve a specific business partner
|
|
32
|
+
*/
|
|
33
|
+
retrieve(id, query = {}, options) {
|
|
34
|
+
return this._client.get((0, path_1.path) `/business-partners/${id}`, { query, ...options });
|
|
35
|
+
}
|
|
36
36
|
/**
|
|
37
37
|
* Delete a business partner
|
|
38
38
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-partners.js","sourceRoot":"","sources":["../src/resources/business-partners.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C
|
|
1
|
+
{"version":3,"file":"business-partners.js","sourceRoot":"","sources":["../src/resources/business-partners.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;OAOG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAA,0BAA8B,CAAA,EAAE;YACnF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAiC,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,sBAAsB,EAAE,EAAE,EAAE;YACzD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA9CD,4CA8CC"}
|
|
@@ -4,18 +4,6 @@ import { PageCursorURL } from "../core/pagination.mjs";
|
|
|
4
4
|
import { buildHeaders } from "../internal/headers.mjs";
|
|
5
5
|
import { path } from "../internal/utils/path.mjs";
|
|
6
6
|
export class BusinessPartners extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Create a new business partner
|
|
9
|
-
*/
|
|
10
|
-
create(body, options) {
|
|
11
|
-
return this._client.post('/business-partners', { body, ...options });
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Retrieve a specific business partner
|
|
15
|
-
*/
|
|
16
|
-
retrieve(id, query = {}, options) {
|
|
17
|
-
return this._client.get(path `/business-partners/${id}`, { query, ...options });
|
|
18
|
-
}
|
|
19
7
|
/**
|
|
20
8
|
* A List of business partners
|
|
21
9
|
*
|
|
@@ -30,6 +18,18 @@ export class BusinessPartners extends APIResource {
|
|
|
30
18
|
...options,
|
|
31
19
|
});
|
|
32
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Create a new business partner
|
|
23
|
+
*/
|
|
24
|
+
create(body, options) {
|
|
25
|
+
return this._client.post('/business-partners', { body, ...options });
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Retrieve a specific business partner
|
|
29
|
+
*/
|
|
30
|
+
retrieve(id, query = {}, options) {
|
|
31
|
+
return this._client.get(path `/business-partners/${id}`, { query, ...options });
|
|
32
|
+
}
|
|
33
33
|
/**
|
|
34
34
|
* Delete a business partner
|
|
35
35
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-partners.mjs","sourceRoot":"","sources":["../src/resources/business-partners.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,aAAa,EAAe;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C
|
|
1
|
+
{"version":3,"file":"business-partners.mjs","sourceRoot":"","sources":["../src/resources/business-partners.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,aAAa,EAAe;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;OAOG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAA,aAA8B,CAAA,EAAE;YACnF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAiC,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,sBAAsB,EAAE,EAAE,EAAE;YACzD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -5,10 +5,6 @@ import { APIPromise } from "../core/api-promise.mjs";
|
|
|
5
5
|
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
6
6
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
7
7
|
export declare class Compensations extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Retrieves the Compensation for the Worker with the ID provided in the URL path.
|
|
10
|
-
*/
|
|
11
|
-
retrieve(id: string, query?: CompensationRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CompensationRetrieveResponse>;
|
|
12
8
|
/**
|
|
13
9
|
* A List of compensations
|
|
14
10
|
*
|
|
@@ -17,6 +13,10 @@ export declare class Compensations extends APIResource {
|
|
|
17
13
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
18
14
|
*/
|
|
19
15
|
list(query?: CompensationListParams | null | undefined, options?: RequestOptions): PagePromise<CompensationsPageCursorURL, Compensation>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves the Compensation for the Worker with the ID provided in the URL path.
|
|
18
|
+
*/
|
|
19
|
+
retrieve(id: string, query?: CompensationRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CompensationRetrieveResponse>;
|
|
20
20
|
}
|
|
21
21
|
export type CompensationsPageCursorURL = PageCursorURL<Compensation>;
|
|
22
22
|
export interface Compensation {
|
|
@@ -237,14 +237,14 @@ export declare namespace Compensation {
|
|
|
237
237
|
*/
|
|
238
238
|
export interface CompensationRetrieveResponse extends BusinessPartnersAPI.Meta, Compensation {
|
|
239
239
|
}
|
|
240
|
-
export interface CompensationRetrieveParams {
|
|
241
|
-
expand?: string;
|
|
242
|
-
}
|
|
243
240
|
export interface CompensationListParams {
|
|
244
241
|
expand?: string;
|
|
245
242
|
order_by?: string;
|
|
246
243
|
}
|
|
244
|
+
export interface CompensationRetrieveParams {
|
|
245
|
+
expand?: string;
|
|
246
|
+
}
|
|
247
247
|
export declare namespace Compensations {
|
|
248
|
-
export { type Compensation as Compensation, type CompensationRetrieveResponse as CompensationRetrieveResponse, type CompensationsPageCursorURL as CompensationsPageCursorURL, type
|
|
248
|
+
export { type Compensation as Compensation, type CompensationRetrieveResponse as CompensationRetrieveResponse, type CompensationsPageCursorURL as CompensationsPageCursorURL, type CompensationListParams as CompensationListParams, type CompensationRetrieveParams as CompensationRetrieveParams, };
|
|
249
249
|
}
|
|
250
250
|
//# sourceMappingURL=compensations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compensations.d.mts","sourceRoot":"","sources":["../src/resources/compensations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"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;IACH,UAAiB,uBAAuB;QACtC;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,YAAY;QAC3B;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,iBAAiB;QAChC;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED;;;OAGG;IACH,UAAiB,kBAAkB;QACjC;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CACF;AAED;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,mBAAmB,CAAC,IAAI,EAAE,YAAY;CAAG;AAE/F,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -5,10 +5,6 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
5
5
|
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
6
6
|
import { RequestOptions } from "../internal/request-options.js";
|
|
7
7
|
export declare class Compensations extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Retrieves the Compensation for the Worker with the ID provided in the URL path.
|
|
10
|
-
*/
|
|
11
|
-
retrieve(id: string, query?: CompensationRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CompensationRetrieveResponse>;
|
|
12
8
|
/**
|
|
13
9
|
* A List of compensations
|
|
14
10
|
*
|
|
@@ -17,6 +13,10 @@ export declare class Compensations extends APIResource {
|
|
|
17
13
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
18
14
|
*/
|
|
19
15
|
list(query?: CompensationListParams | null | undefined, options?: RequestOptions): PagePromise<CompensationsPageCursorURL, Compensation>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves the Compensation for the Worker with the ID provided in the URL path.
|
|
18
|
+
*/
|
|
19
|
+
retrieve(id: string, query?: CompensationRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CompensationRetrieveResponse>;
|
|
20
20
|
}
|
|
21
21
|
export type CompensationsPageCursorURL = PageCursorURL<Compensation>;
|
|
22
22
|
export interface Compensation {
|
|
@@ -237,14 +237,14 @@ export declare namespace Compensation {
|
|
|
237
237
|
*/
|
|
238
238
|
export interface CompensationRetrieveResponse extends BusinessPartnersAPI.Meta, Compensation {
|
|
239
239
|
}
|
|
240
|
-
export interface CompensationRetrieveParams {
|
|
241
|
-
expand?: string;
|
|
242
|
-
}
|
|
243
240
|
export interface CompensationListParams {
|
|
244
241
|
expand?: string;
|
|
245
242
|
order_by?: string;
|
|
246
243
|
}
|
|
244
|
+
export interface CompensationRetrieveParams {
|
|
245
|
+
expand?: string;
|
|
246
|
+
}
|
|
247
247
|
export declare namespace Compensations {
|
|
248
|
-
export { type Compensation as Compensation, type CompensationRetrieveResponse as CompensationRetrieveResponse, type CompensationsPageCursorURL as CompensationsPageCursorURL, type
|
|
248
|
+
export { type Compensation as Compensation, type CompensationRetrieveResponse as CompensationRetrieveResponse, type CompensationsPageCursorURL as CompensationsPageCursorURL, type CompensationListParams as CompensationListParams, type CompensationRetrieveParams as CompensationRetrieveParams, };
|
|
249
249
|
}
|
|
250
250
|
//# sourceMappingURL=compensations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compensations.d.ts","sourceRoot":"","sources":["../src/resources/compensations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"compensations.d.ts","sourceRoot":"","sources":["../src/resources/compensations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,0BAA0B,EAAE,YAAY,CAAC;IAIxD;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;CAG5C;AAED,MAAM,MAAM,0BAA0B,GAAG,aAAa,CAAC,YAAY,CAAC,CAAC;AAErE,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC;IAEtD;;;;OAIG;IACH,wBAA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AY,EACjC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -6,12 +6,6 @@ const resource_1 = require("../core/resource.js");
|
|
|
6
6
|
const pagination_1 = require("../core/pagination.js");
|
|
7
7
|
const path_1 = require("../internal/utils/path.js");
|
|
8
8
|
class Compensations extends resource_1.APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves the Compensation for the Worker with the ID provided in the URL path.
|
|
11
|
-
*/
|
|
12
|
-
retrieve(id, query = {}, options) {
|
|
13
|
-
return this._client.get((0, path_1.path) `/compensations/${id}`, { query, ...options });
|
|
14
|
-
}
|
|
15
9
|
/**
|
|
16
10
|
* A List of compensations
|
|
17
11
|
*
|
|
@@ -22,6 +16,12 @@ class Compensations extends resource_1.APIResource {
|
|
|
22
16
|
list(query = {}, options) {
|
|
23
17
|
return this._client.getAPIList('/compensations', (pagination_1.PageCursorURL), { query, ...options });
|
|
24
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves the Compensation for the Worker with the ID provided in the URL path.
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id, query = {}, options) {
|
|
23
|
+
return this._client.get((0, path_1.path) `/compensations/${id}`, { query, ...options });
|
|
24
|
+
}
|
|
25
25
|
}
|
|
26
26
|
exports.Compensations = Compensations;
|
|
27
27
|
//# sourceMappingURL=compensations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compensations.js","sourceRoot":"","sources":["../src/resources/compensations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,aAAc,SAAQ,sBAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"compensations.js","sourceRoot":"","sources":["../src/resources/compensations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;OAMG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,0BAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AAzBD,sCAyBC"}
|
|
@@ -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 Compensations extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Retrieves the Compensation for the Worker with the ID provided in the URL path.
|
|
8
|
-
*/
|
|
9
|
-
retrieve(id, query = {}, options) {
|
|
10
|
-
return this._client.get(path `/compensations/${id}`, { query, ...options });
|
|
11
|
-
}
|
|
12
6
|
/**
|
|
13
7
|
* A List of compensations
|
|
14
8
|
*
|
|
@@ -19,5 +13,11 @@ export class Compensations extends APIResource {
|
|
|
19
13
|
list(query = {}, options) {
|
|
20
14
|
return this._client.getAPIList('/compensations', (PageCursorURL), { query, ...options });
|
|
21
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves the Compensation for the Worker with the ID provided in the URL path.
|
|
18
|
+
*/
|
|
19
|
+
retrieve(id, query = {}, options) {
|
|
20
|
+
return this._client.get(path `/compensations/${id}`, { query, ...options });
|
|
21
|
+
}
|
|
22
22
|
}
|
|
23
23
|
//# sourceMappingURL=compensations.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compensations.mjs","sourceRoot":"","sources":["../src/resources/compensations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"compensations.mjs","sourceRoot":"","sources":["../src/resources/compensations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;OAMG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAA,aAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAAkB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
|
@@ -9,6 +9,12 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
9
9
|
export declare class CustomObjects extends APIResource {
|
|
10
10
|
fields: FieldsAPI.Fields;
|
|
11
11
|
records: RecordsAPI.Records;
|
|
12
|
+
/**
|
|
13
|
+
* A List of custom objects
|
|
14
|
+
*
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
|
+
*/
|
|
17
|
+
list(options?: RequestOptions): PagePromise<CustomObjectsPageCursorURL, CustomObject>;
|
|
12
18
|
/**
|
|
13
19
|
* Create a new custom object
|
|
14
20
|
*/
|
|
@@ -21,12 +27,6 @@ export declare class CustomObjects extends APIResource {
|
|
|
21
27
|
* Updated a specific custom object
|
|
22
28
|
*/
|
|
23
29
|
update(customObjectAPIName: string, body?: CustomObjectUpdateParams | null | undefined, options?: RequestOptions): APIPromise<CustomObject>;
|
|
24
|
-
/**
|
|
25
|
-
* A List of custom objects
|
|
26
|
-
*
|
|
27
|
-
* - Requires: `API Tier 1`
|
|
28
|
-
*/
|
|
29
|
-
list(options?: RequestOptions): PagePromise<CustomObjectsPageCursorURL, CustomObject>;
|
|
30
30
|
/**
|
|
31
31
|
* Delete a custom object
|
|
32
32
|
*/
|
|
@@ -98,6 +98,6 @@ export interface CustomObjectUpdateParams {
|
|
|
98
98
|
export declare namespace CustomObjects {
|
|
99
99
|
export { type CustomObject as CustomObject, type CustomObjectsPageCursorURL as CustomObjectsPageCursorURL, type CustomObjectCreateParams as CustomObjectCreateParams, type CustomObjectUpdateParams as CustomObjectUpdateParams, };
|
|
100
100
|
export { Fields as Fields, type CustomObjectField as CustomObjectField, type CustomObjectFieldsPageCursorURL as CustomObjectFieldsPageCursorURL, type FieldCreateParams as FieldCreateParams, type FieldUpdateParams as FieldUpdateParams, };
|
|
101
|
-
export { Records as Records, type CustomObjectDataRow as CustomObjectDataRow, type RecordCreateResponse as RecordCreateResponse, type
|
|
101
|
+
export { Records as Records, type CustomObjectDataRow as CustomObjectDataRow, type RecordCreateResponse as RecordCreateResponse, type RecordQueryResponse as RecordQueryResponse, type RecordUpdateResponse as RecordUpdateResponse, type RecordBulkCreateResponse as RecordBulkCreateResponse, type RecordBulkUpdateResponse as RecordBulkUpdateResponse, type CustomObjectDataRowsPageCursorURL as CustomObjectDataRowsPageCursorURL, type RecordCreateParams as RecordCreateParams, type RecordQueryParams as RecordQueryParams, type RecordUpdateParams as RecordUpdateParams, type RecordBulkCreateParams as RecordBulkCreateParams, type RecordBulkUpdateParams as RecordBulkUpdateParams, type RecordBulkDeleteParams as RecordBulkDeleteParams, };
|
|
102
102
|
}
|
|
103
103
|
//# sourceMappingURL=custom-objects.d.mts.map
|