@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
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as Shared from './shared';
|
|
5
|
+
import { APIPromise } from '../core/api-promise';
|
|
6
|
+
import { RequestOptions } from '../internal/request-options';
|
|
7
|
+
|
|
8
|
+
export class DraftHires extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Create bulk draft hire
|
|
11
|
+
*/
|
|
12
|
+
create(body: DraftHireCreateParams, options?: RequestOptions): APIPromise<DraftHireCreateResponse> {
|
|
13
|
+
return this._client.post('/draft-hires/', { body, ...options });
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Response model for bulk draft hire creation.
|
|
19
|
+
*/
|
|
20
|
+
export interface DraftHireCreateResponse {
|
|
21
|
+
/**
|
|
22
|
+
* List of invalid draft hire requests
|
|
23
|
+
*/
|
|
24
|
+
invalid_items?: Array<DraftHireCreateResponse.InvalidItem>;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Detailed results for each draft hire item
|
|
28
|
+
*/
|
|
29
|
+
successful_results?: Array<DraftHireCreateResponse.SuccessfulResult>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export namespace DraftHireCreateResponse {
|
|
33
|
+
/**
|
|
34
|
+
* Result for an individual draft hire creation.
|
|
35
|
+
*/
|
|
36
|
+
export interface InvalidItem {
|
|
37
|
+
/**
|
|
38
|
+
* External reference ID from the request
|
|
39
|
+
*/
|
|
40
|
+
reference_id: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Status of the creation (success, error, warning)
|
|
44
|
+
*/
|
|
45
|
+
status: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Generated draft hire ID if successful
|
|
49
|
+
*/
|
|
50
|
+
draft_hire_id?: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* List of validation errors if any
|
|
54
|
+
*/
|
|
55
|
+
errors?: Array<string>;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Success or error message
|
|
59
|
+
*/
|
|
60
|
+
message?: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Result for an individual draft hire creation.
|
|
65
|
+
*/
|
|
66
|
+
export interface SuccessfulResult {
|
|
67
|
+
/**
|
|
68
|
+
* External reference ID from the request
|
|
69
|
+
*/
|
|
70
|
+
reference_id: string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Status of the creation (success, error, warning)
|
|
74
|
+
*/
|
|
75
|
+
status: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Generated draft hire ID if successful
|
|
79
|
+
*/
|
|
80
|
+
draft_hire_id?: string;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* List of validation errors if any
|
|
84
|
+
*/
|
|
85
|
+
errors?: Array<string>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Success or error message
|
|
89
|
+
*/
|
|
90
|
+
message?: string;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface DraftHireCreateParams {
|
|
95
|
+
/**
|
|
96
|
+
* List of draft hires
|
|
97
|
+
*/
|
|
98
|
+
draft_hires: Array<DraftHireCreateParams.DraftHire>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export namespace DraftHireCreateParams {
|
|
102
|
+
/**
|
|
103
|
+
* A draft hire represents a candidate who has been offered a position but hasn't started yet.
|
|
104
|
+
*
|
|
105
|
+
* This class provides Platform API access to draft hire data stored as RoleWithCompany instances
|
|
106
|
+
* in a candidate state, allowing external systems to create and manage draft hires.
|
|
107
|
+
*/
|
|
108
|
+
export interface DraftHire {
|
|
109
|
+
/**
|
|
110
|
+
* Employment information for the draft hire position
|
|
111
|
+
*/
|
|
112
|
+
employment_info: DraftHire.EmploymentInfo;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Personal information for the draft hire candidate
|
|
116
|
+
*/
|
|
117
|
+
personal_info: DraftHire.PersonalInfo;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* External reference ID for tracking purposes
|
|
121
|
+
*/
|
|
122
|
+
reference_id: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Work location information
|
|
126
|
+
*/
|
|
127
|
+
work_location_info: DraftHire.WorkLocationInfo;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Custom fields for the draft hire
|
|
131
|
+
*/
|
|
132
|
+
custom_fields?: Array<DraftHire.CustomField>;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export namespace DraftHire {
|
|
136
|
+
/**
|
|
137
|
+
* Employment information for the draft hire position
|
|
138
|
+
*/
|
|
139
|
+
export interface EmploymentInfo {
|
|
140
|
+
/**
|
|
141
|
+
* Employment type ID
|
|
142
|
+
*/
|
|
143
|
+
employment_type_id: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Contract end date
|
|
147
|
+
*/
|
|
148
|
+
contract_end_date?: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Currency
|
|
152
|
+
*/
|
|
153
|
+
currency?: string;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Department ID
|
|
157
|
+
*/
|
|
158
|
+
department_id?: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Duties
|
|
162
|
+
*/
|
|
163
|
+
duties?: string;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Equity number of shares
|
|
167
|
+
*/
|
|
168
|
+
equity_num_shares?: number;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Equity value
|
|
172
|
+
*/
|
|
173
|
+
equity_value?: number;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Equity vesting schedule
|
|
177
|
+
*/
|
|
178
|
+
equity_vesting_schedule?: EmploymentInfo.EquityVestingSchedule;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Job title
|
|
182
|
+
*/
|
|
183
|
+
job_title?: string;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Legal entity ID
|
|
187
|
+
*/
|
|
188
|
+
legal_entity_id?: string;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Level ID
|
|
192
|
+
*/
|
|
193
|
+
level_id?: string;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Manager ID
|
|
197
|
+
*/
|
|
198
|
+
manager_id?: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Offer expiration date
|
|
202
|
+
*/
|
|
203
|
+
offer_expiration_date?: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* On target commission
|
|
207
|
+
*/
|
|
208
|
+
on_target_commission?: number;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Overtime exemption
|
|
212
|
+
*/
|
|
213
|
+
overtime_exemption?: 'exempt' | 'non-exempt';
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Probation end date
|
|
217
|
+
*/
|
|
218
|
+
probation_end_date?: string;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Relocation reimbursement
|
|
222
|
+
*/
|
|
223
|
+
relocation_reimbursement?: number;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Salary per unit
|
|
227
|
+
*/
|
|
228
|
+
salary_per_unit?: number;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Salary unit
|
|
232
|
+
*/
|
|
233
|
+
salary_unit?: string;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Signing bonus
|
|
237
|
+
*/
|
|
238
|
+
signing_bonus?: number;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Start date
|
|
242
|
+
*/
|
|
243
|
+
start_date?: string;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Target annual bonus
|
|
247
|
+
*/
|
|
248
|
+
target_annual_bonus?: number;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Teams IDs
|
|
252
|
+
*/
|
|
253
|
+
teams_ids?: Array<string>;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Title
|
|
257
|
+
*/
|
|
258
|
+
title?: string;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Weekly hours
|
|
262
|
+
*/
|
|
263
|
+
weekly_hours?: number;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Work email
|
|
267
|
+
*/
|
|
268
|
+
work_email?: string;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export namespace EmploymentInfo {
|
|
272
|
+
/**
|
|
273
|
+
* Equity vesting schedule
|
|
274
|
+
*/
|
|
275
|
+
export interface EquityVestingSchedule {
|
|
276
|
+
/**
|
|
277
|
+
* Required company ID for the vesting schedule
|
|
278
|
+
*/
|
|
279
|
+
company_id: string;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Name of the vesting schedule
|
|
283
|
+
*/
|
|
284
|
+
_name?: string;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Number of cliff months before vesting begins
|
|
288
|
+
*/
|
|
289
|
+
cliffMonths?: number;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Number of continuous vesting months
|
|
293
|
+
*/
|
|
294
|
+
continuousVestingMonths?: number;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Percentage of initial vesting as decimal
|
|
298
|
+
*/
|
|
299
|
+
percentageInitialVesting?: number;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Spoke ID for the vesting schedule
|
|
303
|
+
*/
|
|
304
|
+
spokeId?: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Total number of vesting months
|
|
308
|
+
*/
|
|
309
|
+
totalVestingMonths?: number;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Total number of vesting years
|
|
313
|
+
*/
|
|
314
|
+
totalVestingYears?: number;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Type of vesting schedule
|
|
318
|
+
*/
|
|
319
|
+
vestingType?: string;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Personal information for the draft hire candidate
|
|
325
|
+
*/
|
|
326
|
+
export interface PersonalInfo {
|
|
327
|
+
/**
|
|
328
|
+
* Invite email of the candidate
|
|
329
|
+
*/
|
|
330
|
+
invite_email: string;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Name of the candidate
|
|
334
|
+
*/
|
|
335
|
+
name: PersonalInfo.Name;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Citizenship of the candidate
|
|
339
|
+
*/
|
|
340
|
+
citizenship?: string;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Date of birth
|
|
344
|
+
*/
|
|
345
|
+
date_of_birth?: string;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Emergency contact name
|
|
349
|
+
*/
|
|
350
|
+
emergency_contact_name?: string;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Emergency contact phone
|
|
354
|
+
*/
|
|
355
|
+
emergency_contact_phone?: PersonalInfo.EmergencyContactPhone;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Ethnicity of the candidate
|
|
359
|
+
*/
|
|
360
|
+
ethnicity?: string;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Gender of the candidate
|
|
364
|
+
*/
|
|
365
|
+
gender?: string;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Home address of the candidate
|
|
369
|
+
*/
|
|
370
|
+
home_address?: Shared.Address;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Locale of the candidate
|
|
374
|
+
*/
|
|
375
|
+
locale?: PersonalInfo.Locale;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Race of the candidate
|
|
379
|
+
*/
|
|
380
|
+
race?: string;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Social security number of the candidate
|
|
384
|
+
*/
|
|
385
|
+
ssn?: string;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export namespace PersonalInfo {
|
|
389
|
+
/**
|
|
390
|
+
* Name of the candidate
|
|
391
|
+
*/
|
|
392
|
+
export interface Name {
|
|
393
|
+
/**
|
|
394
|
+
* First name or given name
|
|
395
|
+
*/
|
|
396
|
+
first?: string;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Last name or family name
|
|
400
|
+
*/
|
|
401
|
+
last?: string;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Middle name(s)
|
|
405
|
+
*/
|
|
406
|
+
middle?: string;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Preferred nickname or informal name
|
|
410
|
+
*/
|
|
411
|
+
nickname?: string;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Name suffix (e.g., Jr., Sr., III)
|
|
415
|
+
*/
|
|
416
|
+
suffix?: string;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Title or honorific (e.g., Mr., Ms., Dr.)
|
|
420
|
+
*/
|
|
421
|
+
title?: string;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Emergency contact phone
|
|
426
|
+
*/
|
|
427
|
+
export interface EmergencyContactPhone {
|
|
428
|
+
/**
|
|
429
|
+
* Country code for the phone number
|
|
430
|
+
*/
|
|
431
|
+
country_code?: string;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Phone number extension
|
|
435
|
+
*/
|
|
436
|
+
extension?: string;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* National phone number without country code
|
|
440
|
+
*/
|
|
441
|
+
national_number?: string;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Locale of the candidate
|
|
446
|
+
*/
|
|
447
|
+
export interface Locale {
|
|
448
|
+
/**
|
|
449
|
+
* The primary language code
|
|
450
|
+
*/
|
|
451
|
+
language_code?: string;
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Additional language inspection data
|
|
455
|
+
*/
|
|
456
|
+
language_inspection?: Array<string>;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* The locale code for formatting
|
|
460
|
+
*/
|
|
461
|
+
locale_code?: string;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* The region code
|
|
465
|
+
*/
|
|
466
|
+
region_code?: string;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* The user's timezone
|
|
470
|
+
*/
|
|
471
|
+
timezone?: string;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Work location information
|
|
477
|
+
*/
|
|
478
|
+
export interface WorkLocationInfo {
|
|
479
|
+
/**
|
|
480
|
+
* Country code of the work location
|
|
481
|
+
*/
|
|
482
|
+
country_code?: string;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Whether the work location is remote
|
|
486
|
+
*/
|
|
487
|
+
is_remote?: boolean;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Work location ID
|
|
491
|
+
*/
|
|
492
|
+
location_id?: string;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Custom field information for a draft hire.
|
|
497
|
+
*
|
|
498
|
+
* Custom fields are associated with RoleWithCompany model.
|
|
499
|
+
*/
|
|
500
|
+
export interface CustomField {
|
|
501
|
+
/**
|
|
502
|
+
* Name of the custom field
|
|
503
|
+
*/
|
|
504
|
+
field_name: string;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Value of the custom field
|
|
508
|
+
*/
|
|
509
|
+
field_value: unknown;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export declare namespace DraftHires {
|
|
515
|
+
export {
|
|
516
|
+
type DraftHireCreateResponse as DraftHireCreateResponse,
|
|
517
|
+
type DraftHireCreateParams as DraftHireCreateParams,
|
|
518
|
+
};
|
|
519
|
+
}
|
|
@@ -8,13 +8,6 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
10
|
export class EmploymentTypes extends APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* Retrieve a specific employment type
|
|
13
|
-
*/
|
|
14
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<EmploymentTypeRetrieveResponse> {
|
|
15
|
-
return this._client.get(path`/employment-types/${id}`, options);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
11
|
/**
|
|
19
12
|
* A List of employment types
|
|
20
13
|
*
|
|
@@ -30,6 +23,13 @@ export class EmploymentTypes extends APIResource {
|
|
|
30
23
|
...options,
|
|
31
24
|
});
|
|
32
25
|
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Retrieve a specific employment type
|
|
29
|
+
*/
|
|
30
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<EmploymentTypeRetrieveResponse> {
|
|
31
|
+
return this._client.get(path`/employment-types/${id}`, options);
|
|
32
|
+
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export type CompanyEmploymentTypesPageCursorURL = PageCursorURL<CompanyEmploymentType>;
|
|
@@ -6,6 +6,15 @@ import { RequestOptions } from '../../internal/request-options';
|
|
|
6
6
|
import { path } from '../../internal/utils/path';
|
|
7
7
|
|
|
8
8
|
export class Deployments extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* A List of function deployments
|
|
11
|
+
*
|
|
12
|
+
* - Requires: `API Tier 2`
|
|
13
|
+
*/
|
|
14
|
+
list(functionAPIName: string, options?: RequestOptions): APIPromise<DeploymentListResponse> {
|
|
15
|
+
return this._client.get(path`/functions/${functionAPIName}/deployments/`, options);
|
|
16
|
+
}
|
|
17
|
+
|
|
9
18
|
/**
|
|
10
19
|
* Create a new function deployment
|
|
11
20
|
*/
|
|
@@ -29,19 +38,10 @@ export class Deployments extends APIResource {
|
|
|
29
38
|
return this._client.get(path`/functions/${function_api_name}/deployments/${deploymentID}/`, options);
|
|
30
39
|
}
|
|
31
40
|
|
|
32
|
-
/**
|
|
33
|
-
* A List of function deployments
|
|
34
|
-
*
|
|
35
|
-
* - Requires: `Functions API`
|
|
36
|
-
*/
|
|
37
|
-
list(functionAPIName: string, options?: RequestOptions): APIPromise<DeploymentListResponse> {
|
|
38
|
-
return this._client.get(path`/functions/${functionAPIName}/deployments/`, options);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
41
|
/**
|
|
42
42
|
* A List of function deployment logs
|
|
43
43
|
*
|
|
44
|
-
* - Requires: `
|
|
44
|
+
* - Requires: `API Tier 2`
|
|
45
45
|
*/
|
|
46
46
|
listLogs(
|
|
47
47
|
deploymentID: string,
|
|
@@ -7,6 +7,24 @@ import { RequestOptions } from '../../internal/request-options';
|
|
|
7
7
|
import { path } from '../../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
export class Executions extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* A List of function executions
|
|
12
|
+
*
|
|
13
|
+
* - Requires: `API Tier 2`
|
|
14
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
|
+
*/
|
|
16
|
+
list(
|
|
17
|
+
functionAPIName: string,
|
|
18
|
+
query: ExecutionListParams | null | undefined = {},
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): PagePromise<ExecutionListResponsesPageCursorURL, ExecutionListResponse> {
|
|
21
|
+
return this._client.getAPIList(
|
|
22
|
+
path`/functions/${functionAPIName}/executions/`,
|
|
23
|
+
PageCursorURL<ExecutionListResponse>,
|
|
24
|
+
{ query, ...options },
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
10
28
|
/**
|
|
11
29
|
* Create a new function execution
|
|
12
30
|
*/
|
|
@@ -30,28 +48,10 @@ export class Executions extends APIResource {
|
|
|
30
48
|
return this._client.get(path`/functions/${function_api_name}/executions/${executionID}/`, options);
|
|
31
49
|
}
|
|
32
50
|
|
|
33
|
-
/**
|
|
34
|
-
* A List of function executions
|
|
35
|
-
*
|
|
36
|
-
* - Requires: `Functions API`
|
|
37
|
-
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
38
|
-
*/
|
|
39
|
-
list(
|
|
40
|
-
functionAPIName: string,
|
|
41
|
-
query: ExecutionListParams | null | undefined = {},
|
|
42
|
-
options?: RequestOptions,
|
|
43
|
-
): PagePromise<ExecutionListResponsesPageCursorURL, ExecutionListResponse> {
|
|
44
|
-
return this._client.getAPIList(
|
|
45
|
-
path`/functions/${functionAPIName}/executions/`,
|
|
46
|
-
PageCursorURL<ExecutionListResponse>,
|
|
47
|
-
{ query, ...options },
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
51
|
/**
|
|
52
52
|
* A List of function execution logs
|
|
53
53
|
*
|
|
54
|
-
* - Requires: `
|
|
54
|
+
* - Requires: `API Tier 2`
|
|
55
55
|
*/
|
|
56
56
|
listLogs(
|
|
57
57
|
executionID: string,
|
|
@@ -65,7 +65,7 @@ export class Executions extends APIResource {
|
|
|
65
65
|
|
|
66
66
|
export type ExecutionListResponsesPageCursorURL = PageCursorURL<ExecutionListResponse>;
|
|
67
67
|
|
|
68
|
-
export interface
|
|
68
|
+
export interface ExecutionListResponse {
|
|
69
69
|
/**
|
|
70
70
|
* Identifier field
|
|
71
71
|
*/
|
|
@@ -112,7 +112,7 @@ export interface ExecutionCreateResponse {
|
|
|
112
112
|
status?: string;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
export interface
|
|
115
|
+
export interface ExecutionCreateResponse {
|
|
116
116
|
/**
|
|
117
117
|
* Identifier field
|
|
118
118
|
*/
|
|
@@ -159,7 +159,7 @@ export interface ExecutionRetrieveResponse {
|
|
|
159
159
|
status?: string;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
export interface
|
|
162
|
+
export interface ExecutionRetrieveResponse {
|
|
163
163
|
/**
|
|
164
164
|
* Identifier field
|
|
165
165
|
*/
|
|
@@ -239,6 +239,10 @@ export namespace ExecutionListLogsResponse {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
+
export interface ExecutionListParams {
|
|
243
|
+
order_by?: string;
|
|
244
|
+
}
|
|
245
|
+
|
|
242
246
|
export interface ExecutionCreateParams {
|
|
243
247
|
/**
|
|
244
248
|
* The inputs of the execution
|
|
@@ -250,24 +254,20 @@ export interface ExecutionRetrieveParams {
|
|
|
250
254
|
function_api_name: string;
|
|
251
255
|
}
|
|
252
256
|
|
|
253
|
-
export interface ExecutionListParams {
|
|
254
|
-
order_by?: string;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
257
|
export interface ExecutionListLogsParams {
|
|
258
258
|
function_api_name: string;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
export declare namespace Executions {
|
|
262
262
|
export {
|
|
263
|
+
type ExecutionListResponse as ExecutionListResponse,
|
|
263
264
|
type ExecutionCreateResponse as ExecutionCreateResponse,
|
|
264
265
|
type ExecutionRetrieveResponse as ExecutionRetrieveResponse,
|
|
265
|
-
type ExecutionListResponse as ExecutionListResponse,
|
|
266
266
|
type ExecutionListLogsResponse as ExecutionListLogsResponse,
|
|
267
267
|
type ExecutionListResponsesPageCursorURL as ExecutionListResponsesPageCursorURL,
|
|
268
|
+
type ExecutionListParams as ExecutionListParams,
|
|
268
269
|
type ExecutionCreateParams as ExecutionCreateParams,
|
|
269
270
|
type ExecutionRetrieveParams as ExecutionRetrieveParams,
|
|
270
|
-
type ExecutionListParams as ExecutionListParams,
|
|
271
271
|
type ExecutionListLogsParams as ExecutionListLogsParams,
|
|
272
272
|
};
|
|
273
273
|
}
|