@rippling/rippling-sdk 0.2.0-alpha.28 → 0.2.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +25 -25
- package/client.d.mts.map +1 -1
- package/client.d.ts +25 -25
- package/client.d.ts.map +1 -1
- package/client.js +23 -23
- package/client.js.map +1 -1
- package/client.mjs +23 -23
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/business-partner-groups.d.mts +1 -1
- package/resources/business-partner-groups.d.ts +1 -1
- package/resources/business-partner-groups.js +1 -1
- package/resources/business-partner-groups.mjs +1 -1
- package/resources/business-partners.d.mts +1 -1
- package/resources/business-partners.d.ts +1 -1
- package/resources/business-partners.js +1 -1
- package/resources/business-partners.mjs +1 -1
- package/resources/candidate-applications.d.mts +1 -1
- package/resources/candidate-applications.d.ts +1 -1
- package/resources/candidate-applications.js +1 -1
- package/resources/candidate-applications.mjs +1 -1
- package/resources/candidates.d.mts +1 -1
- package/resources/candidates.d.ts +1 -1
- package/resources/candidates.js +1 -1
- package/resources/candidates.mjs +1 -1
- package/resources/companies.d.mts +1 -1
- package/resources/companies.d.ts +1 -1
- package/resources/companies.js +1 -1
- package/resources/companies.mjs +1 -1
- package/resources/compensation-bands-details.d.mts +1 -1
- package/resources/compensation-bands-details.d.ts +1 -1
- package/resources/compensation-bands-details.js +1 -1
- package/resources/compensation-bands-details.mjs +1 -1
- package/resources/compensations.d.mts +1 -1
- package/resources/compensations.d.ts +1 -1
- package/resources/compensations.js +1 -1
- package/resources/compensations.mjs +1 -1
- package/resources/custom-apps.d.mts +3 -3
- package/resources/custom-apps.d.ts +3 -3
- package/resources/custom-apps.js +3 -3
- package/resources/custom-apps.mjs +3 -3
- package/resources/custom-fields.d.mts +1 -1
- package/resources/custom-fields.d.ts +1 -1
- package/resources/custom-fields.js +1 -1
- package/resources/custom-fields.mjs +1 -1
- package/resources/custom-objects/custom-objects.d.mts +29 -5
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +29 -5
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +5 -5
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +5 -5
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +71 -5
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +71 -5
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +5 -5
- package/resources/custom-objects/fields.mjs +5 -5
- package/resources/custom-objects/records.d.mts +68 -11
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +68 -11
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +10 -10
- package/resources/custom-objects/records.mjs +10 -10
- package/resources/custom-pages.d.mts +3 -3
- package/resources/custom-pages.d.ts +3 -3
- package/resources/custom-pages.js +3 -3
- package/resources/custom-pages.mjs +3 -3
- package/resources/custom-settings.d.mts +2 -2
- package/resources/custom-settings.d.ts +2 -2
- package/resources/custom-settings.js +2 -2
- package/resources/custom-settings.mjs +2 -2
- package/resources/departments.d.mts +2 -2
- package/resources/departments.d.ts +2 -2
- package/resources/departments.js +2 -2
- package/resources/departments.mjs +2 -2
- package/resources/draft-hires.d.mts +8 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +8 -0
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/earning-types.d.mts +48 -0
- package/resources/earning-types.d.mts.map +1 -0
- package/resources/earning-types.d.ts +48 -0
- package/resources/earning-types.d.ts.map +1 -0
- package/resources/earning-types.js +21 -0
- package/resources/earning-types.js.map +1 -0
- package/resources/earning-types.mjs +17 -0
- package/resources/earning-types.mjs.map +1 -0
- package/resources/employment-types.d.mts +1 -1
- package/resources/employment-types.d.ts +1 -1
- package/resources/employment-types.js +1 -1
- package/resources/employment-types.mjs +1 -1
- package/resources/entitlements.d.mts +1 -1
- package/resources/entitlements.d.ts +1 -1
- package/resources/entitlements.js +1 -1
- package/resources/entitlements.mjs +1 -1
- package/resources/functions/deployments.d.mts +10 -4
- package/resources/functions/deployments.d.mts.map +1 -1
- package/resources/functions/deployments.d.ts +10 -4
- package/resources/functions/deployments.d.ts.map +1 -1
- package/resources/functions/deployments.js +4 -4
- package/resources/functions/deployments.mjs +4 -4
- package/resources/functions/executions.d.mts +10 -4
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +10 -4
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +4 -4
- package/resources/functions/executions.mjs +4 -4
- package/resources/functions/functions.d.mts +8 -14
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +8 -14
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +6 -6
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +6 -6
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/index.d.mts +1 -1
- package/resources/functions/index.d.mts.map +1 -1
- package/resources/functions/index.d.ts +1 -1
- package/resources/functions/index.d.ts.map +1 -1
- package/resources/functions/index.js.map +1 -1
- package/resources/functions/index.mjs.map +1 -1
- package/resources/headcount-positions.d.mts +1 -1
- package/resources/headcount-positions.d.ts +1 -1
- package/resources/headcount-positions.js +1 -1
- package/resources/headcount-positions.mjs +1 -1
- package/resources/headcount-priorities.d.mts +1 -1
- package/resources/headcount-priorities.d.ts +1 -1
- package/resources/headcount-priorities.js +1 -1
- package/resources/headcount-priorities.mjs +1 -1
- package/resources/index.d.mts +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -10
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -4
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +3 -3
- package/resources/job-assignments.d.ts +3 -3
- package/resources/job-assignments.js +3 -3
- package/resources/job-assignments.mjs +3 -3
- package/resources/job-codes.d.mts +3 -3
- package/resources/job-codes.d.ts +3 -3
- package/resources/job-codes.js +3 -3
- package/resources/job-codes.mjs +3 -3
- package/resources/job-dimensions.d.mts +2 -2
- package/resources/job-dimensions.d.ts +2 -2
- package/resources/job-dimensions.js +2 -2
- package/resources/job-dimensions.mjs +2 -2
- package/resources/job-functions.d.mts +1 -1
- package/resources/job-functions.d.ts +1 -1
- package/resources/job-functions.js +1 -1
- package/resources/job-functions.mjs +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +2 -2
- package/resources/job-pay-rate-exceptions.d.ts +2 -2
- package/resources/job-pay-rate-exceptions.js +2 -2
- package/resources/job-pay-rate-exceptions.mjs +2 -2
- package/resources/job-requisitions.d.mts +1 -1
- package/resources/job-requisitions.d.ts +1 -1
- package/resources/job-requisitions.js +1 -1
- package/resources/job-requisitions.mjs +1 -1
- package/resources/kiosk-badges.d.mts +2 -2
- package/resources/kiosk-badges.d.ts +2 -2
- package/resources/kiosk-badges.js +2 -2
- package/resources/kiosk-badges.mjs +2 -2
- package/resources/leave-accruals.d.mts +1 -1
- package/resources/leave-accruals.d.ts +1 -1
- package/resources/leave-accruals.js +1 -1
- package/resources/leave-accruals.mjs +1 -1
- package/resources/leave-balances.d.mts +1 -1
- package/resources/leave-balances.d.ts +1 -1
- package/resources/leave-balances.js +1 -1
- package/resources/leave-balances.mjs +1 -1
- package/resources/leave-requests.d.mts +2 -2
- package/resources/leave-requests.d.ts +2 -2
- package/resources/leave-requests.js +2 -2
- package/resources/leave-requests.mjs +2 -2
- package/resources/leave-types.d.mts +1 -1
- package/resources/leave-types.d.ts +1 -1
- package/resources/leave-types.js +1 -1
- package/resources/leave-types.mjs +1 -1
- package/resources/legal-entities.d.mts +1 -1
- package/resources/legal-entities.d.ts +1 -1
- package/resources/legal-entities.js +1 -1
- package/resources/legal-entities.mjs +1 -1
- package/resources/levels.d.mts +1 -1
- package/resources/levels.d.ts +1 -1
- package/resources/levels.js +1 -1
- package/resources/levels.mjs +1 -1
- package/resources/location-factors.d.mts +1 -1
- package/resources/location-factors.d.ts +1 -1
- package/resources/location-factors.js +1 -1
- package/resources/location-factors.mjs +1 -1
- package/resources/metadata/components.d.mts +2 -2
- package/resources/metadata/components.d.ts +2 -2
- package/resources/metadata/components.js +2 -2
- package/resources/metadata/components.mjs +2 -2
- package/resources/metadata/metadata.d.mts +2 -2
- package/resources/metadata/metadata.d.ts +2 -2
- package/resources/metadata/metadata.js +2 -2
- package/resources/metadata/metadata.mjs +2 -2
- package/resources/metadata/summary.d.mts +2 -2
- package/resources/metadata/summary.d.ts +2 -2
- package/resources/metadata/summary.js +2 -2
- package/resources/metadata/summary.mjs +2 -2
- package/resources/metadata/types.d.mts +2 -2
- package/resources/metadata/types.d.ts +2 -2
- package/resources/metadata/types.js +2 -2
- package/resources/metadata/types.mjs +2 -2
- package/resources/object-categories.d.mts +17 -5
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +17 -5
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +5 -5
- package/resources/object-categories.mjs +5 -5
- package/resources/payroll-runs.d.mts +195 -0
- package/resources/payroll-runs.d.mts.map +1 -0
- package/resources/payroll-runs.d.ts +195 -0
- package/resources/payroll-runs.d.ts.map +1 -0
- package/resources/payroll-runs.js +32 -0
- package/resources/payroll-runs.js.map +1 -0
- package/resources/payroll-runs.mjs +28 -0
- package/resources/payroll-runs.mjs.map +1 -0
- package/resources/platform-capabilities.d.mts +2 -2
- package/resources/platform-capabilities.d.ts +2 -2
- package/resources/platform-capabilities.js +2 -2
- package/resources/platform-capabilities.mjs +2 -2
- package/resources/report-runs.d.mts +60 -0
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +60 -0
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/reports/available-filters.d.mts +49 -0
- package/resources/reports/available-filters.d.mts.map +1 -0
- package/resources/reports/available-filters.d.ts +49 -0
- package/resources/reports/available-filters.d.ts.map +1 -0
- package/resources/reports/available-filters.js +20 -0
- package/resources/reports/available-filters.js.map +1 -0
- package/resources/reports/available-filters.mjs +16 -0
- package/resources/reports/available-filters.mjs.map +1 -0
- package/resources/reports/index.d.mts +3 -0
- package/resources/reports/index.d.mts.map +1 -0
- package/resources/reports/index.d.ts +3 -0
- package/resources/reports/index.d.ts.map +1 -0
- package/resources/reports/index.js +9 -0
- package/resources/reports/index.js.map +1 -0
- package/resources/reports/index.mjs +4 -0
- package/resources/reports/index.mjs.map +1 -0
- package/resources/reports/reports.d.mts +85 -0
- package/resources/reports/reports.d.mts.map +1 -0
- package/resources/reports/reports.d.ts +85 -0
- package/resources/reports/reports.d.ts.map +1 -0
- package/resources/reports/reports.js +27 -0
- package/resources/reports/reports.js.map +1 -0
- package/resources/reports/reports.mjs +22 -0
- package/resources/reports/reports.mjs.map +1 -0
- package/resources/reports.d.mts +2 -0
- package/resources/reports.d.mts.map +1 -0
- package/resources/reports.d.ts +2 -0
- package/resources/reports.d.ts.map +1 -0
- package/resources/reports.js +6 -0
- package/resources/reports.js.map +1 -0
- package/resources/reports.mjs +3 -0
- package/resources/reports.mjs.map +1 -0
- package/resources/schedules.d.mts +2 -2
- package/resources/schedules.d.ts +2 -2
- package/resources/schedules.js +2 -2
- package/resources/schedules.mjs +2 -2
- package/resources/shift-inputs.d.mts +2 -2
- package/resources/shift-inputs.d.ts +2 -2
- package/resources/shift-inputs.js +2 -2
- package/resources/shift-inputs.mjs +2 -2
- package/resources/shiftassignments.d.mts +2 -2
- package/resources/shiftassignments.d.ts +2 -2
- package/resources/shiftassignments.js +2 -2
- package/resources/shiftassignments.mjs +2 -2
- package/resources/teams.d.mts +1 -1
- package/resources/teams.d.ts +1 -1
- package/resources/teams.js +1 -1
- package/resources/teams.mjs +1 -1
- package/resources/time-cards.d.mts +1 -1
- package/resources/time-cards.d.ts +1 -1
- package/resources/time-cards.js +1 -1
- package/resources/time-cards.mjs +1 -1
- package/resources/time-entries.d.mts +2 -2
- package/resources/time-entries.d.ts +2 -2
- package/resources/time-entries.js +2 -2
- package/resources/time-entries.mjs +2 -2
- package/resources/titles.d.mts +2 -2
- package/resources/titles.d.ts +2 -2
- package/resources/titles.js +2 -2
- package/resources/titles.mjs +2 -2
- package/resources/tracks.d.mts +1 -1
- package/resources/tracks.d.ts +1 -1
- package/resources/tracks.js +1 -1
- package/resources/tracks.mjs +1 -1
- package/resources/unassignedshifts.d.mts +2 -2
- package/resources/unassignedshifts.d.ts +2 -2
- package/resources/unassignedshifts.js +2 -2
- package/resources/unassignedshifts.mjs +2 -2
- package/resources/users.d.mts +1 -1
- package/resources/users.d.ts +1 -1
- package/resources/users.js +1 -1
- package/resources/users.mjs +1 -1
- package/resources/work-locations.d.mts +2 -2
- package/resources/work-locations.d.ts +2 -2
- package/resources/work-locations.js +2 -2
- package/resources/work-locations.mjs +2 -2
- package/resources/workers.d.mts +1 -1
- package/resources/workers.d.ts +1 -1
- package/resources/workers.js +1 -1
- package/resources/workers.mjs +1 -1
- package/resources/workflow-action-executions.d.mts +572 -0
- package/resources/workflow-action-executions.d.mts.map +1 -0
- package/resources/workflow-action-executions.d.ts +572 -0
- package/resources/workflow-action-executions.d.ts.map +1 -0
- package/resources/{send-email.js → workflow-action-executions.js} +6 -6
- package/resources/workflow-action-executions.js.map +1 -0
- package/resources/{send-slack.mjs → workflow-action-executions.mjs} +4 -4
- package/resources/workflow-action-executions.mjs.map +1 -0
- package/src/client.ts +61 -51
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/business-partner-groups.ts +1 -1
- package/src/resources/business-partners.ts +1 -1
- package/src/resources/candidate-applications.ts +1 -1
- package/src/resources/candidates.ts +1 -1
- package/src/resources/companies.ts +1 -1
- package/src/resources/compensation-bands-details.ts +1 -1
- package/src/resources/compensations.ts +1 -1
- package/src/resources/custom-apps.ts +3 -3
- package/src/resources/custom-fields.ts +1 -1
- package/src/resources/custom-objects/custom-objects.ts +29 -5
- package/src/resources/custom-objects/fields.ts +71 -5
- package/src/resources/custom-objects/records.ts +68 -11
- package/src/resources/custom-pages.ts +3 -3
- package/src/resources/custom-settings.ts +2 -2
- package/src/resources/departments.ts +2 -2
- package/src/resources/draft-hires.ts +10 -0
- package/src/resources/earning-types.ts +64 -0
- package/src/resources/employment-types.ts +1 -1
- package/src/resources/entitlements.ts +1 -1
- package/src/resources/functions/deployments.ts +10 -4
- package/src/resources/functions/executions.ts +10 -4
- package/src/resources/functions/functions.ts +9 -15
- package/src/resources/functions/index.ts +1 -0
- package/src/resources/headcount-positions.ts +1 -1
- package/src/resources/headcount-priorities.ts +1 -1
- package/src/resources/index.ts +19 -8
- package/src/resources/job-assignments.ts +3 -3
- package/src/resources/job-codes.ts +3 -3
- package/src/resources/job-dimensions.ts +2 -2
- package/src/resources/job-functions.ts +1 -1
- package/src/resources/job-pay-rate-exceptions.ts +2 -2
- package/src/resources/job-requisitions.ts +1 -1
- package/src/resources/kiosk-badges.ts +2 -2
- package/src/resources/leave-accruals.ts +1 -1
- package/src/resources/leave-balances.ts +1 -1
- package/src/resources/leave-requests.ts +2 -2
- package/src/resources/leave-types.ts +1 -1
- package/src/resources/legal-entities.ts +1 -1
- package/src/resources/levels.ts +1 -1
- package/src/resources/location-factors.ts +1 -1
- package/src/resources/metadata/components.ts +2 -2
- package/src/resources/metadata/metadata.ts +2 -2
- package/src/resources/metadata/summary.ts +2 -2
- package/src/resources/metadata/types.ts +2 -2
- package/src/resources/object-categories.ts +17 -5
- package/src/resources/payroll-runs.ts +251 -0
- package/src/resources/platform-capabilities.ts +2 -2
- package/src/resources/report-runs.ts +90 -0
- package/src/resources/reports/available-filters.ts +60 -0
- package/src/resources/reports/index.ts +4 -0
- package/src/resources/reports/reports.ts +112 -0
- package/src/resources/reports.ts +3 -0
- package/src/resources/schedules.ts +2 -2
- package/src/resources/shift-inputs.ts +2 -2
- package/src/resources/shiftassignments.ts +2 -2
- package/src/resources/teams.ts +1 -1
- package/src/resources/time-cards.ts +1 -1
- package/src/resources/time-entries.ts +2 -2
- package/src/resources/titles.ts +2 -2
- package/src/resources/tracks.ts +1 -1
- package/src/resources/unassignedshifts.ts +2 -2
- package/src/resources/users.ts +1 -1
- package/src/resources/work-locations.ts +2 -2
- package/src/resources/workers.ts +1 -1
- package/src/resources/workflow-action-executions.ts +925 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/create-app-notification.d.mts +0 -29
- package/resources/create-app-notification.d.mts.map +0 -1
- package/resources/create-app-notification.d.ts +0 -29
- package/resources/create-app-notification.d.ts.map +0 -1
- package/resources/create-app-notification.js +0 -18
- package/resources/create-app-notification.js.map +0 -1
- package/resources/create-app-notification.mjs +0 -14
- package/resources/create-app-notification.mjs.map +0 -1
- package/resources/run-query.d.mts +0 -39
- package/resources/run-query.d.mts.map +0 -1
- package/resources/run-query.d.ts +0 -39
- package/resources/run-query.d.ts.map +0 -1
- package/resources/run-query.js +0 -21
- package/resources/run-query.js.map +0 -1
- package/resources/run-query.mjs +0 -17
- package/resources/run-query.mjs.map +0 -1
- package/resources/send-email.d.mts +0 -33
- package/resources/send-email.d.mts.map +0 -1
- package/resources/send-email.d.ts +0 -33
- package/resources/send-email.d.ts.map +0 -1
- package/resources/send-email.js.map +0 -1
- package/resources/send-email.mjs +0 -14
- package/resources/send-email.mjs.map +0 -1
- package/resources/send-slack.d.mts +0 -30
- package/resources/send-slack.d.mts.map +0 -1
- package/resources/send-slack.d.ts +0 -30
- package/resources/send-slack.d.ts.map +0 -1
- package/resources/send-slack.js +0 -18
- package/resources/send-slack.js.map +0 -1
- package/resources/send-slack.mjs.map +0 -1
- package/src/resources/create-app-notification.ts +0 -46
- package/src/resources/run-query.ts +0 -51
- package/src/resources/send-email.ts +0 -48
- package/src/resources/send-slack.ts +0 -42
|
@@ -9,7 +9,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class WorkLocations extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A list of work locations.
|
|
13
13
|
*
|
|
14
14
|
* - Requires: `API Tier 1`
|
|
15
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -24,7 +24,7 @@ export declare class WorkLocations extends APIResource {
|
|
|
24
24
|
*/
|
|
25
25
|
retrieve(id: string, options?: RequestOptions): APIPromise<WorkLocationRetrieveResponse>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Update a specific work location.
|
|
28
28
|
*/
|
|
29
29
|
update(id: string, body: WorkLocationUpdateParams, options?: RequestOptions): APIPromise<WorkLocation>;
|
|
30
30
|
/**
|
|
@@ -11,7 +11,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
11
11
|
*/
|
|
12
12
|
class WorkLocations extends resource_1.APIResource {
|
|
13
13
|
/**
|
|
14
|
-
* A
|
|
14
|
+
* A list of work locations.
|
|
15
15
|
*
|
|
16
16
|
* - Requires: `API Tier 1`
|
|
17
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -32,7 +32,7 @@ class WorkLocations extends resource_1.APIResource {
|
|
|
32
32
|
return this._client.get((0, path_1.path) `/work-locations/${id}/`, options);
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Update a specific work location.
|
|
36
36
|
*/
|
|
37
37
|
update(id, body, options) {
|
|
38
38
|
return this._client.patch((0, path_1.path) `/work-locations/${id}/`, { body, ...options });
|
|
@@ -8,7 +8,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export class WorkLocations extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* A
|
|
11
|
+
* A list of work locations.
|
|
12
12
|
*
|
|
13
13
|
* - Requires: `API Tier 1`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -29,7 +29,7 @@ export class WorkLocations extends APIResource {
|
|
|
29
29
|
return this._client.get(path `/work-locations/${id}/`, options);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Update a specific work location.
|
|
33
33
|
*/
|
|
34
34
|
update(id, body, options) {
|
|
35
35
|
return this._client.patch(path `/work-locations/${id}/`, { body, ...options });
|
package/resources/workers.d.mts
CHANGED
|
@@ -15,7 +15,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class Workers extends APIResource {
|
|
17
17
|
/**
|
|
18
|
-
* A
|
|
18
|
+
* A list of workers.
|
|
19
19
|
*
|
|
20
20
|
* - Requires: `API Tier 1`
|
|
21
21
|
* - Filterable fields: `status`, `work_email`, `user_id`, `created_at`,
|
package/resources/workers.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class Workers extends APIResource {
|
|
17
17
|
/**
|
|
18
|
-
* A
|
|
18
|
+
* A list of workers.
|
|
19
19
|
*
|
|
20
20
|
* - Requires: `API Tier 1`
|
|
21
21
|
* - Filterable fields: `status`, `work_email`, `user_id`, `created_at`,
|
package/resources/workers.js
CHANGED
|
@@ -10,7 +10,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class Workers extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* A
|
|
13
|
+
* A list of workers.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `status`, `work_email`, `user_id`, `created_at`,
|
package/resources/workers.mjs
CHANGED
|
@@ -0,0 +1,572 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class WorkflowActionExecutions extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute a workflow action
|
|
10
|
+
*/
|
|
11
|
+
create(body: WorkflowActionExecutionCreateParams, options?: RequestOptions): APIPromise<WorkflowActionExecutionCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface WorkflowActionExecutionCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the workflow action execution
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface WorkflowActionExecutionCreateParams {
|
|
20
|
+
action_type: 'send_email' | 'send_slack' | 'create_app_notification' | 'send_sms' | 'send_push_notification' | 'send_http_request' | 'delete_custom_object_record' | 'send_survey' | 'evaluate_rql' | 'upsert_custom_object' | 'update_custom_object_record' | 'create_gcal_event' | 'send_teams' | 'assign_review' | 'send_report_sftp' | 'run_query';
|
|
21
|
+
/**
|
|
22
|
+
* An action that sends an email.
|
|
23
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=69745350310'>Help
|
|
24
|
+
* docs</helpdocslink>
|
|
25
|
+
*/
|
|
26
|
+
payload: WorkflowActionExecutionCreateParams.SendEmailPayload | WorkflowActionExecutionCreateParams.SendSlackSingleDirectMessagePayload | WorkflowActionExecutionCreateParams.SendSlackGroupDirectMessagePayload | WorkflowActionExecutionCreateParams.SendSlackPublicChannelMessagePayload | WorkflowActionExecutionCreateParams.SendSlackPrivateChannelMessagePayload | WorkflowActionExecutionCreateParams.CreateAppNotificationPayload | WorkflowActionExecutionCreateParams.SendSMSPayload | WorkflowActionExecutionCreateParams.SendPushNotificationPayload | WorkflowActionExecutionCreateParams.SendHTTPRequestPayload | WorkflowActionExecutionCreateParams.DeleteCustomObjectRecordPayload | WorkflowActionExecutionCreateParams.SendSurveyPayload | WorkflowActionExecutionCreateParams.EvaluateRqlSelectionPayload | WorkflowActionExecutionCreateParams.EvaluateRqlQueryPayload | WorkflowActionExecutionCreateParams.UpsertCustomObjectPayload | WorkflowActionExecutionCreateParams.UpdateCustomObjectRecordPayload | WorkflowActionExecutionCreateParams.CreateGcalEventWorkflowOwnerNullPayload | WorkflowActionExecutionCreateParams.CreateGcalEventWorkflowOwnerDailyPayload | WorkflowActionExecutionCreateParams.CreateGcalEventWorkflowOwnerWeeklyPayload | WorkflowActionExecutionCreateParams.CreateGcalEventWorkflowOwnerMonthlyPayload | WorkflowActionExecutionCreateParams.CreateGcalEventWorkflowOwnerYearlyPayload | WorkflowActionExecutionCreateParams.CreateGcalEventSupergroupNullPayload | WorkflowActionExecutionCreateParams.CreateGcalEventSupergroupDailyPayload | WorkflowActionExecutionCreateParams.CreateGcalEventSupergroupWeeklyPayload | WorkflowActionExecutionCreateParams.CreateGcalEventSupergroupMonthlyPayload | WorkflowActionExecutionCreateParams.CreateGcalEventSupergroupYearlyPayload | WorkflowActionExecutionCreateParams.SendTeamsPublicChannelMessagePayload | WorkflowActionExecutionCreateParams.SendTeamsSingleDirectMessagePayload | WorkflowActionExecutionCreateParams.AssignReviewReviewerRelativeToRevieweePayload | WorkflowActionExecutionCreateParams.AssignReviewReviewerRelativeToTriggerPayload | WorkflowActionExecutionCreateParams.SendReportSftpPasswordExcelPayload | WorkflowActionExecutionCreateParams.SendReportSftpPasswordCsvPayload | WorkflowActionExecutionCreateParams.SendReportSftpSSHKeyExcelPayload | WorkflowActionExecutionCreateParams.SendReportSftpSSHKeyCsvPayload | WorkflowActionExecutionCreateParams.RunQueryPayload;
|
|
27
|
+
workflow_definition_id?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace WorkflowActionExecutionCreateParams {
|
|
30
|
+
/**
|
|
31
|
+
* An action that sends an email.
|
|
32
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=69745350310'>Help
|
|
33
|
+
* docs</helpdocslink>
|
|
34
|
+
*/
|
|
35
|
+
interface SendEmailPayload {
|
|
36
|
+
action_type: 'INDIVIDUAL_EMAILS' | 'GROUP_EMAIL';
|
|
37
|
+
body: string;
|
|
38
|
+
send_to: unknown;
|
|
39
|
+
subject: string;
|
|
40
|
+
attachments?: Array<unknown> | null;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* An action that sends a slack message
|
|
44
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=921068789043'>Help
|
|
45
|
+
* docs</helpdocslink>
|
|
46
|
+
*/
|
|
47
|
+
interface SendSlackSingleDirectMessagePayload {
|
|
48
|
+
action_type: 'SINGLE_DIRECT_MESSAGE';
|
|
49
|
+
body: string;
|
|
50
|
+
recipients: Array<string>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* An action that sends a slack message
|
|
54
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=921068789043'>Help
|
|
55
|
+
* docs</helpdocslink>
|
|
56
|
+
*/
|
|
57
|
+
interface SendSlackGroupDirectMessagePayload {
|
|
58
|
+
action_type: 'GROUP_DIRECT_MESSAGE';
|
|
59
|
+
body: string;
|
|
60
|
+
recipients: Array<string>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* An action that sends a slack message
|
|
64
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=921068789043'>Help
|
|
65
|
+
* docs</helpdocslink>
|
|
66
|
+
*/
|
|
67
|
+
interface SendSlackPublicChannelMessagePayload {
|
|
68
|
+
action_type: 'PUBLIC_CHANNEL_MESSAGE';
|
|
69
|
+
body: string;
|
|
70
|
+
channel: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* An action that sends a slack message
|
|
74
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=921068789043'>Help
|
|
75
|
+
* docs</helpdocslink>
|
|
76
|
+
*/
|
|
77
|
+
interface SendSlackPrivateChannelMessagePayload {
|
|
78
|
+
action_type: 'PRIVATE_CHANNEL_MESSAGE';
|
|
79
|
+
body: string;
|
|
80
|
+
channel: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Assign tasks to configurable recipients
|
|
84
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=31954759021'>Help
|
|
85
|
+
* docs</helpdocslink>
|
|
86
|
+
*/
|
|
87
|
+
interface CreateAppNotificationPayload {
|
|
88
|
+
description: string;
|
|
89
|
+
recipients: Array<string>;
|
|
90
|
+
subject: string;
|
|
91
|
+
dueDate?: unknown | null;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* An action that sends a text message.
|
|
95
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=750790843425'>Help
|
|
96
|
+
* docs</helpdocslink>
|
|
97
|
+
*/
|
|
98
|
+
interface SendSMSPayload {
|
|
99
|
+
message: string;
|
|
100
|
+
recipients: Array<string>;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Sends a push notification to mobile devices. Recipients require the Rippling
|
|
104
|
+
* mobile app to receive this notification.
|
|
105
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=778925762874'>Help
|
|
106
|
+
* docs</helpdocslink>
|
|
107
|
+
*/
|
|
108
|
+
interface SendPushNotificationPayload {
|
|
109
|
+
header: string;
|
|
110
|
+
message: string;
|
|
111
|
+
recipients: Array<string>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* An action that sends an HTTP request with a JSON payload. The following keys -
|
|
115
|
+
* Authorization, Api-Key, and Token - in URL query parameters and custom headers
|
|
116
|
+
* are masked due to their sensitive nature
|
|
117
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=441988386018'>Help
|
|
118
|
+
* docs</helpdocslink>
|
|
119
|
+
*/
|
|
120
|
+
interface SendHTTPRequestPayload {
|
|
121
|
+
url: string;
|
|
122
|
+
customHTTPHeaders?: unknown | null;
|
|
123
|
+
expectedResponseSchema?: unknown | null;
|
|
124
|
+
method?: 'POST' | 'GET' | 'PUT' | 'PATCH' | 'DELETE' | null;
|
|
125
|
+
payload?: unknown | null;
|
|
126
|
+
queryParams?: unknown | null;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* An action that deletes a custom object record.
|
|
130
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=226426887042'>Help
|
|
131
|
+
* docs</helpdocslink>
|
|
132
|
+
*/
|
|
133
|
+
interface DeleteCustomObjectRecordPayload {
|
|
134
|
+
customObjectAPIName: string;
|
|
135
|
+
recordID: string;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* An action that sends a survey.
|
|
139
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=942946267690'>Help
|
|
140
|
+
* docs</helpdocslink>
|
|
141
|
+
*/
|
|
142
|
+
interface SendSurveyPayload {
|
|
143
|
+
body: string;
|
|
144
|
+
recipients: Array<string>;
|
|
145
|
+
subject: string;
|
|
146
|
+
surveyID: string;
|
|
147
|
+
expiryDays?: number | null;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Query and retrieve specific records from Rippling
|
|
151
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=104232871210'>Help
|
|
152
|
+
* docs</helpdocslink>
|
|
153
|
+
*/
|
|
154
|
+
interface EvaluateRqlSelectionPayload {
|
|
155
|
+
queryType: 'SELECTION';
|
|
156
|
+
rqlModelName?: string | null;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Query and retrieve specific records from Rippling
|
|
160
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=104232871210'>Help
|
|
161
|
+
* docs</helpdocslink>
|
|
162
|
+
*/
|
|
163
|
+
interface EvaluateRqlQueryPayload {
|
|
164
|
+
queryType: 'QUERY';
|
|
165
|
+
dataType?: 'STRING' | 'NUMBER' | 'BOOLEAN' | 'OBJECT_ID' | 'DATE' | 'DATETIME' | null;
|
|
166
|
+
isAList?: boolean | null;
|
|
167
|
+
rqlFormula?: unknown | null;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* An action that creates a custom object record.
|
|
171
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=226426887042'>Help
|
|
172
|
+
* docs</helpdocslink>
|
|
173
|
+
*/
|
|
174
|
+
interface UpsertCustomObjectPayload {
|
|
175
|
+
customObjectAPIName: string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* An action that updates a custom object record.
|
|
179
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=226426887042'>Help
|
|
180
|
+
* docs</helpdocslink>
|
|
181
|
+
*/
|
|
182
|
+
interface UpdateCustomObjectRecordPayload {
|
|
183
|
+
customObjectAPIName: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
187
|
+
* attendees
|
|
188
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
189
|
+
* docs</helpdocslink>
|
|
190
|
+
*/
|
|
191
|
+
interface CreateGcalEventWorkflowOwnerNullPayload {
|
|
192
|
+
attendees: Array<string>;
|
|
193
|
+
description: string;
|
|
194
|
+
end: unknown;
|
|
195
|
+
organizer_type: 'WORKFLOW_OWNER';
|
|
196
|
+
recurrence_frequency: 'null';
|
|
197
|
+
spoke_owner: string;
|
|
198
|
+
start: unknown;
|
|
199
|
+
timezone: string;
|
|
200
|
+
title: string;
|
|
201
|
+
all_day_event?: boolean | null;
|
|
202
|
+
guestsCanInviteOthers?: boolean | null;
|
|
203
|
+
guestsCanModify?: boolean | null;
|
|
204
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
205
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
206
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
210
|
+
* attendees
|
|
211
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
212
|
+
* docs</helpdocslink>
|
|
213
|
+
*/
|
|
214
|
+
interface CreateGcalEventWorkflowOwnerDailyPayload {
|
|
215
|
+
attendees: Array<string>;
|
|
216
|
+
description: string;
|
|
217
|
+
end: unknown;
|
|
218
|
+
organizer_type: 'WORKFLOW_OWNER';
|
|
219
|
+
recurrence_frequency: 'DAILY';
|
|
220
|
+
spoke_owner: string;
|
|
221
|
+
start: unknown;
|
|
222
|
+
timezone: string;
|
|
223
|
+
title: string;
|
|
224
|
+
all_day_event?: boolean | null;
|
|
225
|
+
guestsCanInviteOthers?: boolean | null;
|
|
226
|
+
guestsCanModify?: boolean | null;
|
|
227
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
228
|
+
recurrence_has_end?: boolean | null;
|
|
229
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
230
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
234
|
+
* attendees
|
|
235
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
236
|
+
* docs</helpdocslink>
|
|
237
|
+
*/
|
|
238
|
+
interface CreateGcalEventWorkflowOwnerWeeklyPayload {
|
|
239
|
+
attendees: Array<string>;
|
|
240
|
+
description: string;
|
|
241
|
+
end: unknown;
|
|
242
|
+
organizer_type: 'WORKFLOW_OWNER';
|
|
243
|
+
recurrence_frequency: 'WEEKLY';
|
|
244
|
+
spoke_owner: string;
|
|
245
|
+
start: unknown;
|
|
246
|
+
timezone: string;
|
|
247
|
+
title: string;
|
|
248
|
+
all_day_event?: boolean | null;
|
|
249
|
+
guestsCanInviteOthers?: boolean | null;
|
|
250
|
+
guestsCanModify?: boolean | null;
|
|
251
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
252
|
+
recurrence_has_end?: boolean | null;
|
|
253
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
254
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
258
|
+
* attendees
|
|
259
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
260
|
+
* docs</helpdocslink>
|
|
261
|
+
*/
|
|
262
|
+
interface CreateGcalEventWorkflowOwnerMonthlyPayload {
|
|
263
|
+
attendees: Array<string>;
|
|
264
|
+
description: string;
|
|
265
|
+
end: unknown;
|
|
266
|
+
organizer_type: 'WORKFLOW_OWNER';
|
|
267
|
+
recurrence_frequency: 'MONTHLY';
|
|
268
|
+
spoke_owner: string;
|
|
269
|
+
start: unknown;
|
|
270
|
+
timezone: string;
|
|
271
|
+
title: string;
|
|
272
|
+
all_day_event?: boolean | null;
|
|
273
|
+
guestsCanInviteOthers?: boolean | null;
|
|
274
|
+
guestsCanModify?: boolean | null;
|
|
275
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
276
|
+
recurrence_has_end?: boolean | null;
|
|
277
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
278
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
282
|
+
* attendees
|
|
283
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
284
|
+
* docs</helpdocslink>
|
|
285
|
+
*/
|
|
286
|
+
interface CreateGcalEventWorkflowOwnerYearlyPayload {
|
|
287
|
+
attendees: Array<string>;
|
|
288
|
+
description: string;
|
|
289
|
+
end: unknown;
|
|
290
|
+
organizer_type: 'WORKFLOW_OWNER';
|
|
291
|
+
recurrence_frequency: 'YEARLY';
|
|
292
|
+
spoke_owner: string;
|
|
293
|
+
start: unknown;
|
|
294
|
+
timezone: string;
|
|
295
|
+
title: string;
|
|
296
|
+
all_day_event?: boolean | null;
|
|
297
|
+
guestsCanInviteOthers?: boolean | null;
|
|
298
|
+
guestsCanModify?: boolean | null;
|
|
299
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
300
|
+
recurrence_has_end?: boolean | null;
|
|
301
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
302
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
306
|
+
* attendees
|
|
307
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
308
|
+
* docs</helpdocslink>
|
|
309
|
+
*/
|
|
310
|
+
interface CreateGcalEventSupergroupNullPayload {
|
|
311
|
+
attendees: Array<string>;
|
|
312
|
+
description: string;
|
|
313
|
+
end: unknown;
|
|
314
|
+
organizer: Array<string>;
|
|
315
|
+
organizer_type: 'SUPERGROUP';
|
|
316
|
+
recurrence_frequency: 'null';
|
|
317
|
+
spoke_owner: string;
|
|
318
|
+
start: unknown;
|
|
319
|
+
timezone: string;
|
|
320
|
+
title: string;
|
|
321
|
+
all_day_event?: boolean | null;
|
|
322
|
+
guestsCanInviteOthers?: boolean | null;
|
|
323
|
+
guestsCanModify?: boolean | null;
|
|
324
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
325
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
326
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
330
|
+
* attendees
|
|
331
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
332
|
+
* docs</helpdocslink>
|
|
333
|
+
*/
|
|
334
|
+
interface CreateGcalEventSupergroupDailyPayload {
|
|
335
|
+
attendees: Array<string>;
|
|
336
|
+
description: string;
|
|
337
|
+
end: unknown;
|
|
338
|
+
organizer: Array<string>;
|
|
339
|
+
organizer_type: 'SUPERGROUP';
|
|
340
|
+
recurrence_frequency: 'DAILY';
|
|
341
|
+
spoke_owner: string;
|
|
342
|
+
start: unknown;
|
|
343
|
+
timezone: string;
|
|
344
|
+
title: string;
|
|
345
|
+
all_day_event?: boolean | null;
|
|
346
|
+
guestsCanInviteOthers?: boolean | null;
|
|
347
|
+
guestsCanModify?: boolean | null;
|
|
348
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
349
|
+
recurrence_has_end?: boolean | null;
|
|
350
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
351
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
355
|
+
* attendees
|
|
356
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
357
|
+
* docs</helpdocslink>
|
|
358
|
+
*/
|
|
359
|
+
interface CreateGcalEventSupergroupWeeklyPayload {
|
|
360
|
+
attendees: Array<string>;
|
|
361
|
+
description: string;
|
|
362
|
+
end: unknown;
|
|
363
|
+
organizer: Array<string>;
|
|
364
|
+
organizer_type: 'SUPERGROUP';
|
|
365
|
+
recurrence_frequency: 'WEEKLY';
|
|
366
|
+
spoke_owner: string;
|
|
367
|
+
start: unknown;
|
|
368
|
+
timezone: string;
|
|
369
|
+
title: string;
|
|
370
|
+
all_day_event?: boolean | null;
|
|
371
|
+
guestsCanInviteOthers?: boolean | null;
|
|
372
|
+
guestsCanModify?: boolean | null;
|
|
373
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
374
|
+
recurrence_has_end?: boolean | null;
|
|
375
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
376
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
380
|
+
* attendees
|
|
381
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
382
|
+
* docs</helpdocslink>
|
|
383
|
+
*/
|
|
384
|
+
interface CreateGcalEventSupergroupMonthlyPayload {
|
|
385
|
+
attendees: Array<string>;
|
|
386
|
+
description: string;
|
|
387
|
+
end: unknown;
|
|
388
|
+
organizer: Array<string>;
|
|
389
|
+
organizer_type: 'SUPERGROUP';
|
|
390
|
+
recurrence_frequency: 'MONTHLY';
|
|
391
|
+
spoke_owner: string;
|
|
392
|
+
start: unknown;
|
|
393
|
+
timezone: string;
|
|
394
|
+
title: string;
|
|
395
|
+
all_day_event?: boolean | null;
|
|
396
|
+
guestsCanInviteOthers?: boolean | null;
|
|
397
|
+
guestsCanModify?: boolean | null;
|
|
398
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
399
|
+
recurrence_has_end?: boolean | null;
|
|
400
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
401
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* This action will create a Google Calendar event with the specified organizer and
|
|
405
|
+
* attendees
|
|
406
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=838646138324'>Help
|
|
407
|
+
* docs</helpdocslink>
|
|
408
|
+
*/
|
|
409
|
+
interface CreateGcalEventSupergroupYearlyPayload {
|
|
410
|
+
attendees: Array<string>;
|
|
411
|
+
description: string;
|
|
412
|
+
end: unknown;
|
|
413
|
+
organizer: Array<string>;
|
|
414
|
+
organizer_type: 'SUPERGROUP';
|
|
415
|
+
recurrence_frequency: 'YEARLY';
|
|
416
|
+
spoke_owner: string;
|
|
417
|
+
start: unknown;
|
|
418
|
+
timezone: string;
|
|
419
|
+
title: string;
|
|
420
|
+
all_day_event?: boolean | null;
|
|
421
|
+
guestsCanInviteOthers?: boolean | null;
|
|
422
|
+
guestsCanModify?: boolean | null;
|
|
423
|
+
guestsCanSeeOtherGuests?: boolean | null;
|
|
424
|
+
recurrence_has_end?: boolean | null;
|
|
425
|
+
transparency?: 'opaque' | 'transparent' | null;
|
|
426
|
+
visibility?: 'default' | 'public' | 'private' | null;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* An action that sends a teams message
|
|
430
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=558988438231'>Help
|
|
431
|
+
* docs</helpdocslink>
|
|
432
|
+
*/
|
|
433
|
+
interface SendTeamsPublicChannelMessagePayload {
|
|
434
|
+
action_type: 'PUBLIC_CHANNEL_MESSAGE';
|
|
435
|
+
message: string;
|
|
436
|
+
team_id?: string | null;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* An action that sends a teams message
|
|
440
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=558988438231'>Help
|
|
441
|
+
* docs</helpdocslink>
|
|
442
|
+
*/
|
|
443
|
+
interface SendTeamsSingleDirectMessagePayload {
|
|
444
|
+
action_type: 'SINGLE_DIRECT_MESSAGE';
|
|
445
|
+
message: string;
|
|
446
|
+
recipients?: Array<string> | null;
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Select a cycle and reviewers for the employee that triggered the workflow
|
|
450
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=3VFYAFaak1JPA70SmmvUiI'>Help
|
|
451
|
+
* docs</helpdocslink>
|
|
452
|
+
*/
|
|
453
|
+
interface AssignReviewReviewerRelativeToRevieweePayload {
|
|
454
|
+
cycle_id: string;
|
|
455
|
+
is_reviewer_relative_to_reviewee: 'REVIEWER_RELATIVE_TO_REVIEWEE';
|
|
456
|
+
reviewees: Array<string>;
|
|
457
|
+
reviewers: Array<string>;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* Select a cycle and reviewers for the employee that triggered the workflow
|
|
461
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=3VFYAFaak1JPA70SmmvUiI'>Help
|
|
462
|
+
* docs</helpdocslink>
|
|
463
|
+
*/
|
|
464
|
+
interface AssignReviewReviewerRelativeToTriggerPayload {
|
|
465
|
+
cycle_id: string;
|
|
466
|
+
is_reviewer_relative_to_reviewee: 'REVIEWER_RELATIVE_TO_TRIGGER';
|
|
467
|
+
reviewees: Array<string>;
|
|
468
|
+
reviewers: Array<string>;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* Automatically generates a scheduled report and transfers it securely to a
|
|
472
|
+
* specified SFTP server
|
|
473
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=770718269869'>Help
|
|
474
|
+
* docs</helpdocslink>
|
|
475
|
+
*/
|
|
476
|
+
interface SendReportSftpPasswordExcelPayload {
|
|
477
|
+
authentication_type: 'PASSWORD';
|
|
478
|
+
file_path: string;
|
|
479
|
+
file_type: 'EXCEL';
|
|
480
|
+
host_name: string;
|
|
481
|
+
report_id: string;
|
|
482
|
+
user_name: string;
|
|
483
|
+
add_role_referenced_id_column?: boolean | null;
|
|
484
|
+
csv_quoting?: '1' | '0' | '2' | '3' | null;
|
|
485
|
+
currency_fields?: 'WITH_CURRENCY_TYPE' | 'WITHOUT_CURRENCY_TYPE' | null;
|
|
486
|
+
date_and_time_formatting?: 'ISO_FORMAT' | 'LOCALE_FORMAT' | null;
|
|
487
|
+
file_name?: string | null;
|
|
488
|
+
file_suffix?: 'DEFAULT_FORMAT' | 'EPOCH_FORMAT' | 'NO_SUFFIX' | null;
|
|
489
|
+
port?: number | null;
|
|
490
|
+
show_sub_totals?: boolean | null;
|
|
491
|
+
time_zones?: 'UTC' | 'PRESERVE_TZ' | 'VIEWER_LOCALE' | null;
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Automatically generates a scheduled report and transfers it securely to a
|
|
495
|
+
* specified SFTP server
|
|
496
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=770718269869'>Help
|
|
497
|
+
* docs</helpdocslink>
|
|
498
|
+
*/
|
|
499
|
+
interface SendReportSftpPasswordCsvPayload {
|
|
500
|
+
authentication_type: 'PASSWORD';
|
|
501
|
+
file_path: string;
|
|
502
|
+
file_type: 'CSV';
|
|
503
|
+
host_name: string;
|
|
504
|
+
report_id: string;
|
|
505
|
+
user_name: string;
|
|
506
|
+
add_role_referenced_id_column?: boolean | null;
|
|
507
|
+
csv_quoting?: '1' | '0' | '2' | '3' | null;
|
|
508
|
+
csv_separator?: ',' | ';' | '\t' | '|' | null;
|
|
509
|
+
currency_fields?: 'WITH_CURRENCY_TYPE' | 'WITHOUT_CURRENCY_TYPE' | null;
|
|
510
|
+
date_and_time_formatting?: 'ISO_FORMAT' | 'LOCALE_FORMAT' | null;
|
|
511
|
+
file_name?: string | null;
|
|
512
|
+
file_suffix?: 'DEFAULT_FORMAT' | 'EPOCH_FORMAT' | 'NO_SUFFIX' | null;
|
|
513
|
+
port?: number | null;
|
|
514
|
+
show_sub_totals?: boolean | null;
|
|
515
|
+
time_zones?: 'UTC' | 'PRESERVE_TZ' | 'VIEWER_LOCALE' | null;
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* Automatically generates a scheduled report and transfers it securely to a
|
|
519
|
+
* specified SFTP server
|
|
520
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=770718269869'>Help
|
|
521
|
+
* docs</helpdocslink>
|
|
522
|
+
*/
|
|
523
|
+
interface SendReportSftpSSHKeyExcelPayload {
|
|
524
|
+
authentication_type: 'SSH_KEY';
|
|
525
|
+
file_path: string;
|
|
526
|
+
file_type: 'EXCEL';
|
|
527
|
+
host_name: string;
|
|
528
|
+
report_id: string;
|
|
529
|
+
user_name: string;
|
|
530
|
+
add_role_referenced_id_column?: boolean | null;
|
|
531
|
+
csv_quoting?: '1' | '0' | '2' | '3' | null;
|
|
532
|
+
currency_fields?: 'WITH_CURRENCY_TYPE' | 'WITHOUT_CURRENCY_TYPE' | null;
|
|
533
|
+
date_and_time_formatting?: 'ISO_FORMAT' | 'LOCALE_FORMAT' | null;
|
|
534
|
+
file_name?: string | null;
|
|
535
|
+
file_suffix?: 'DEFAULT_FORMAT' | 'EPOCH_FORMAT' | 'NO_SUFFIX' | null;
|
|
536
|
+
port?: number | null;
|
|
537
|
+
show_sub_totals?: boolean | null;
|
|
538
|
+
time_zones?: 'UTC' | 'PRESERVE_TZ' | 'VIEWER_LOCALE' | null;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Automatically generates a scheduled report and transfers it securely to a
|
|
542
|
+
* specified SFTP server
|
|
543
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=770718269869'>Help
|
|
544
|
+
* docs</helpdocslink>
|
|
545
|
+
*/
|
|
546
|
+
interface SendReportSftpSSHKeyCsvPayload {
|
|
547
|
+
authentication_type: 'SSH_KEY';
|
|
548
|
+
file_path: string;
|
|
549
|
+
file_type: 'CSV';
|
|
550
|
+
host_name: string;
|
|
551
|
+
report_id: string;
|
|
552
|
+
user_name: string;
|
|
553
|
+
add_role_referenced_id_column?: boolean | null;
|
|
554
|
+
csv_quoting?: '1' | '0' | '2' | '3' | null;
|
|
555
|
+
csv_separator?: ',' | ';' | '\t' | '|' | null;
|
|
556
|
+
currency_fields?: 'WITH_CURRENCY_TYPE' | 'WITHOUT_CURRENCY_TYPE' | null;
|
|
557
|
+
date_and_time_formatting?: 'ISO_FORMAT' | 'LOCALE_FORMAT' | null;
|
|
558
|
+
file_name?: string | null;
|
|
559
|
+
file_suffix?: 'DEFAULT_FORMAT' | 'EPOCH_FORMAT' | 'NO_SUFFIX' | null;
|
|
560
|
+
port?: number | null;
|
|
561
|
+
show_sub_totals?: boolean | null;
|
|
562
|
+
time_zones?: 'UTC' | 'PRESERVE_TZ' | 'VIEWER_LOCALE' | null;
|
|
563
|
+
}
|
|
564
|
+
interface RunQueryPayload {
|
|
565
|
+
query: string;
|
|
566
|
+
product_name?: string | null;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
export declare namespace WorkflowActionExecutions {
|
|
570
|
+
export { type WorkflowActionExecutionCreateResponse as WorkflowActionExecutionCreateResponse, type WorkflowActionExecutionCreateParams as WorkflowActionExecutionCreateParams, };
|
|
571
|
+
}
|
|
572
|
+
//# sourceMappingURL=workflow-action-executions.d.mts.map
|