@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
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.30'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.30";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.30";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.2.0-alpha.
|
|
4
|
+
exports.VERSION = '0.2.0-alpha.30'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.30'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1,29 +0,0 @@
|
|
|
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 CreateAppNotification extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Create an in-app notification for the specified recipients.
|
|
10
|
-
*/
|
|
11
|
-
create(body: CreateAppNotificationCreateParams, options?: RequestOptions): APIPromise<CreateAppNotificationCreateResponse>;
|
|
12
|
-
}
|
|
13
|
-
export interface CreateAppNotificationCreateResponse {
|
|
14
|
-
/**
|
|
15
|
-
* Result of the create app notification action
|
|
16
|
-
*/
|
|
17
|
-
result: unknown;
|
|
18
|
-
}
|
|
19
|
-
export interface CreateAppNotificationCreateParams {
|
|
20
|
-
description: string;
|
|
21
|
-
recipients: Array<string>;
|
|
22
|
-
subject: string;
|
|
23
|
-
days_from_now?: number | null;
|
|
24
|
-
due_date?: string | null;
|
|
25
|
-
}
|
|
26
|
-
export declare namespace CreateAppNotification {
|
|
27
|
-
export { type CreateAppNotificationCreateResponse as CreateAppNotificationCreateResponse, type CreateAppNotificationCreateParams as CreateAppNotificationCreateParams, };
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=create-app-notification.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-app-notification.d.mts","sourceRoot":"","sources":["../src/resources/create-app-notification.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,iCAAiC;IAChD,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B,OAAO,EAAE,MAAM,CAAC;IAEhB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;CACH"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
-
/**
|
|
5
|
-
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
-
*/
|
|
7
|
-
export declare class CreateAppNotification extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Create an in-app notification for the specified recipients.
|
|
10
|
-
*/
|
|
11
|
-
create(body: CreateAppNotificationCreateParams, options?: RequestOptions): APIPromise<CreateAppNotificationCreateResponse>;
|
|
12
|
-
}
|
|
13
|
-
export interface CreateAppNotificationCreateResponse {
|
|
14
|
-
/**
|
|
15
|
-
* Result of the create app notification action
|
|
16
|
-
*/
|
|
17
|
-
result: unknown;
|
|
18
|
-
}
|
|
19
|
-
export interface CreateAppNotificationCreateParams {
|
|
20
|
-
description: string;
|
|
21
|
-
recipients: Array<string>;
|
|
22
|
-
subject: string;
|
|
23
|
-
days_from_now?: number | null;
|
|
24
|
-
due_date?: string | null;
|
|
25
|
-
}
|
|
26
|
-
export declare namespace CreateAppNotification {
|
|
27
|
-
export { type CreateAppNotificationCreateResponse as CreateAppNotificationCreateResponse, type CreateAppNotificationCreateParams as CreateAppNotificationCreateParams, };
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=create-app-notification.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-app-notification.d.ts","sourceRoot":"","sources":["../src/resources/create-app-notification.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,iCAAiC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,iCAAiC;IAChD,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B,OAAO,EAAE,MAAM,CAAC;IAEhB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;CACH"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.CreateAppNotification = void 0;
|
|
5
|
-
const resource_1 = require("../core/resource.js");
|
|
6
|
-
/**
|
|
7
|
-
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
8
|
-
*/
|
|
9
|
-
class CreateAppNotification extends resource_1.APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Create an in-app notification for the specified recipients.
|
|
12
|
-
*/
|
|
13
|
-
create(body, options) {
|
|
14
|
-
return this._client.post('/create-app-notification/', { body, ...options });
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.CreateAppNotification = CreateAppNotification;
|
|
18
|
-
//# sourceMappingURL=create-app-notification.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-app-notification.js","sourceRoot":"","sources":["../src/resources/create-app-notification.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;OAEG;IACH,MAAM,CACJ,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAVD,sDAUC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
5
|
-
*/
|
|
6
|
-
export class CreateAppNotification extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Create an in-app notification for the specified recipients.
|
|
9
|
-
*/
|
|
10
|
-
create(body, options) {
|
|
11
|
-
return this._client.post('/create-app-notification/', { body, ...options });
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=create-app-notification.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-app-notification.mjs","sourceRoot":"","sources":["../src/resources/create-app-notification.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;OAEG;IACH,MAAM,CACJ,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF"}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 SQL queries and manage transformations
|
|
6
|
-
*/
|
|
7
|
-
export declare class RunQuery extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Execute a SQL query (Trino dialect) against Data Cloud transformations. Returns
|
|
10
|
-
* result rows as dictionaries and column metadata (api_name, display_name,
|
|
11
|
-
* data_type). Permission checks and blocked source validation are enforced
|
|
12
|
-
* server-side.
|
|
13
|
-
*/
|
|
14
|
-
create(body: RunQueryCreateParams, options?: RequestOptions): APIPromise<RunQueryCreateResponse>;
|
|
15
|
-
}
|
|
16
|
-
export interface RunQueryCreateResponse {
|
|
17
|
-
/**
|
|
18
|
-
* Query result rows, each row is a dictionary of column name to value
|
|
19
|
-
*/
|
|
20
|
-
data: unknown;
|
|
21
|
-
/**
|
|
22
|
-
* Column metadata including api_name, display_name, and data_type
|
|
23
|
-
*/
|
|
24
|
-
derived_columns: unknown;
|
|
25
|
-
}
|
|
26
|
-
export interface RunQueryCreateParams {
|
|
27
|
-
/**
|
|
28
|
-
* SQL query to execute in Trino dialect.
|
|
29
|
-
*/
|
|
30
|
-
query: string;
|
|
31
|
-
/**
|
|
32
|
-
* Optional product name for request attribution and tracking
|
|
33
|
-
*/
|
|
34
|
-
product_name?: string | null;
|
|
35
|
-
}
|
|
36
|
-
export declare namespace RunQuery {
|
|
37
|
-
export { type RunQueryCreateResponse as RunQueryCreateResponse, type RunQueryCreateParams as RunQueryCreateParams, };
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=run-query.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-query.d.mts","sourceRoot":"","sources":["../src/resources/run-query.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGjG;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/run-query.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
-
/**
|
|
5
|
-
* Execute SQL queries and manage transformations
|
|
6
|
-
*/
|
|
7
|
-
export declare class RunQuery extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Execute a SQL query (Trino dialect) against Data Cloud transformations. Returns
|
|
10
|
-
* result rows as dictionaries and column metadata (api_name, display_name,
|
|
11
|
-
* data_type). Permission checks and blocked source validation are enforced
|
|
12
|
-
* server-side.
|
|
13
|
-
*/
|
|
14
|
-
create(body: RunQueryCreateParams, options?: RequestOptions): APIPromise<RunQueryCreateResponse>;
|
|
15
|
-
}
|
|
16
|
-
export interface RunQueryCreateResponse {
|
|
17
|
-
/**
|
|
18
|
-
* Query result rows, each row is a dictionary of column name to value
|
|
19
|
-
*/
|
|
20
|
-
data: unknown;
|
|
21
|
-
/**
|
|
22
|
-
* Column metadata including api_name, display_name, and data_type
|
|
23
|
-
*/
|
|
24
|
-
derived_columns: unknown;
|
|
25
|
-
}
|
|
26
|
-
export interface RunQueryCreateParams {
|
|
27
|
-
/**
|
|
28
|
-
* SQL query to execute in Trino dialect.
|
|
29
|
-
*/
|
|
30
|
-
query: string;
|
|
31
|
-
/**
|
|
32
|
-
* Optional product name for request attribution and tracking
|
|
33
|
-
*/
|
|
34
|
-
product_name?: string | null;
|
|
35
|
-
}
|
|
36
|
-
export declare namespace RunQuery {
|
|
37
|
-
export { type RunQueryCreateResponse as RunQueryCreateResponse, type RunQueryCreateParams as RunQueryCreateParams, };
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=run-query.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-query.d.ts","sourceRoot":"","sources":["../src/resources/run-query.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGjG;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/run-query.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.RunQuery = void 0;
|
|
5
|
-
const resource_1 = require("../core/resource.js");
|
|
6
|
-
/**
|
|
7
|
-
* Execute SQL queries and manage transformations
|
|
8
|
-
*/
|
|
9
|
-
class RunQuery extends resource_1.APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Execute a SQL query (Trino dialect) against Data Cloud transformations. Returns
|
|
12
|
-
* result rows as dictionaries and column metadata (api_name, display_name,
|
|
13
|
-
* data_type). Permission checks and blocked source validation are enforced
|
|
14
|
-
* server-side.
|
|
15
|
-
*/
|
|
16
|
-
create(body, options) {
|
|
17
|
-
return this._client.post('/run-query/', { body, ...options });
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.RunQuery = RunQuery;
|
|
21
|
-
//# sourceMappingURL=run-query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-query.js","sourceRoot":"","sources":["../src/resources/run-query.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;OAKG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;CACF;AAVD,4BAUC"}
|
package/resources/run-query.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* Execute SQL queries and manage transformations
|
|
5
|
-
*/
|
|
6
|
-
export class RunQuery extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Execute a SQL query (Trino dialect) against Data Cloud transformations. Returns
|
|
9
|
-
* result rows as dictionaries and column metadata (api_name, display_name,
|
|
10
|
-
* data_type). Permission checks and blocked source validation are enforced
|
|
11
|
-
* server-side.
|
|
12
|
-
*/
|
|
13
|
-
create(body, options) {
|
|
14
|
-
return this._client.post('/run-query/', { body, ...options });
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=run-query.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-query.mjs","sourceRoot":"","sources":["../src/resources/run-query.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;OAKG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;CACF"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 SendEmail extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Send an email to the specified recipients with the given subject and body.
|
|
10
|
-
*/
|
|
11
|
-
create(body: SendEmailCreateParams, options?: RequestOptions): APIPromise<SendEmailCreateResponse>;
|
|
12
|
-
}
|
|
13
|
-
export interface SendEmailCreateResponse {
|
|
14
|
-
/**
|
|
15
|
-
* Result of the send email action
|
|
16
|
-
*/
|
|
17
|
-
result: unknown;
|
|
18
|
-
}
|
|
19
|
-
export interface SendEmailCreateParams {
|
|
20
|
-
/**
|
|
21
|
-
* An enumeration.
|
|
22
|
-
*/
|
|
23
|
-
action_type: 'INDIVIDUAL_EMAILS' | 'GROUP_EMAIL';
|
|
24
|
-
body: string;
|
|
25
|
-
recipients: Array<string>;
|
|
26
|
-
subject: string;
|
|
27
|
-
bcc?: Array<string> | null;
|
|
28
|
-
cc?: Array<string> | null;
|
|
29
|
-
}
|
|
30
|
-
export declare namespace SendEmail {
|
|
31
|
-
export { type SendEmailCreateResponse as SendEmailCreateResponse, type SendEmailCreateParams as SendEmailCreateParams, };
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=send-email.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-email.d.mts","sourceRoot":"","sources":["../src/resources/send-email.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGnG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,WAAW,EAAE,mBAAmB,GAAG,aAAa,CAAC;IAEjD,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B,OAAO,EAAE,MAAM,CAAC;IAEhB,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAE3B,EAAE,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
-
/**
|
|
5
|
-
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
-
*/
|
|
7
|
-
export declare class SendEmail extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Send an email to the specified recipients with the given subject and body.
|
|
10
|
-
*/
|
|
11
|
-
create(body: SendEmailCreateParams, options?: RequestOptions): APIPromise<SendEmailCreateResponse>;
|
|
12
|
-
}
|
|
13
|
-
export interface SendEmailCreateResponse {
|
|
14
|
-
/**
|
|
15
|
-
* Result of the send email action
|
|
16
|
-
*/
|
|
17
|
-
result: unknown;
|
|
18
|
-
}
|
|
19
|
-
export interface SendEmailCreateParams {
|
|
20
|
-
/**
|
|
21
|
-
* An enumeration.
|
|
22
|
-
*/
|
|
23
|
-
action_type: 'INDIVIDUAL_EMAILS' | 'GROUP_EMAIL';
|
|
24
|
-
body: string;
|
|
25
|
-
recipients: Array<string>;
|
|
26
|
-
subject: string;
|
|
27
|
-
bcc?: Array<string> | null;
|
|
28
|
-
cc?: Array<string> | null;
|
|
29
|
-
}
|
|
30
|
-
export declare namespace SendEmail {
|
|
31
|
-
export { type SendEmailCreateResponse as SendEmailCreateResponse, type SendEmailCreateParams as SendEmailCreateParams, };
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=send-email.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-email.d.ts","sourceRoot":"","sources":["../src/resources/send-email.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGnG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,WAAW,EAAE,mBAAmB,GAAG,aAAa,CAAC;IAEjD,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B,OAAO,EAAE,MAAM,CAAC;IAEhB,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAE3B,EAAE,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-email.js","sourceRoot":"","sources":["../src/resources/send-email.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF;AAPD,8BAOC"}
|
package/resources/send-email.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
5
|
-
*/
|
|
6
|
-
export class SendEmail extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Send an email to the specified recipients with the given subject and body.
|
|
9
|
-
*/
|
|
10
|
-
create(body, options) {
|
|
11
|
-
return this._client.post('/send-email/', { body, ...options });
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=send-email.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-email.mjs","sourceRoot":"","sources":["../src/resources/send-email.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF"}
|
|
@@ -1,30 +0,0 @@
|
|
|
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 SendSlack extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Send a Slack message to the specified recipients.
|
|
10
|
-
*/
|
|
11
|
-
create(body: SendSlackCreateParams, options?: RequestOptions): APIPromise<SendSlackCreateResponse>;
|
|
12
|
-
}
|
|
13
|
-
export interface SendSlackCreateResponse {
|
|
14
|
-
/**
|
|
15
|
-
* Result of the send Slack message action
|
|
16
|
-
*/
|
|
17
|
-
result: unknown;
|
|
18
|
-
}
|
|
19
|
-
export interface SendSlackCreateParams {
|
|
20
|
-
/**
|
|
21
|
-
* An enumeration.
|
|
22
|
-
*/
|
|
23
|
-
action_type: 'SINGLE_DIRECT_MESSAGE' | 'GROUP_DIRECT_MESSAGE' | 'PUBLIC_CHANNEL_MESSAGE';
|
|
24
|
-
body: string;
|
|
25
|
-
recipients: Array<string>;
|
|
26
|
-
}
|
|
27
|
-
export declare namespace SendSlack {
|
|
28
|
-
export { type SendSlackCreateResponse as SendSlackCreateResponse, type SendSlackCreateParams as SendSlackCreateParams, };
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=send-slack.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-slack.d.mts","sourceRoot":"","sources":["../src/resources/send-slack.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGnG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,WAAW,EAAE,uBAAuB,GAAG,sBAAsB,GAAG,wBAAwB,CAAC;IAEzF,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
-
/**
|
|
5
|
-
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
-
*/
|
|
7
|
-
export declare class SendSlack extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Send a Slack message to the specified recipients.
|
|
10
|
-
*/
|
|
11
|
-
create(body: SendSlackCreateParams, options?: RequestOptions): APIPromise<SendSlackCreateResponse>;
|
|
12
|
-
}
|
|
13
|
-
export interface SendSlackCreateResponse {
|
|
14
|
-
/**
|
|
15
|
-
* Result of the send Slack message action
|
|
16
|
-
*/
|
|
17
|
-
result: unknown;
|
|
18
|
-
}
|
|
19
|
-
export interface SendSlackCreateParams {
|
|
20
|
-
/**
|
|
21
|
-
* An enumeration.
|
|
22
|
-
*/
|
|
23
|
-
action_type: 'SINGLE_DIRECT_MESSAGE' | 'GROUP_DIRECT_MESSAGE' | 'PUBLIC_CHANNEL_MESSAGE';
|
|
24
|
-
body: string;
|
|
25
|
-
recipients: Array<string>;
|
|
26
|
-
}
|
|
27
|
-
export declare namespace SendSlack {
|
|
28
|
-
export { type SendSlackCreateResponse as SendSlackCreateResponse, type SendSlackCreateParams as SendSlackCreateParams, };
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=send-slack.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-slack.d.ts","sourceRoot":"","sources":["../src/resources/send-slack.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGnG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,WAAW,EAAE,uBAAuB,GAAG,sBAAsB,GAAG,wBAAwB,CAAC;IAEzF,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
package/resources/send-slack.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.SendSlack = void 0;
|
|
5
|
-
const resource_1 = require("../core/resource.js");
|
|
6
|
-
/**
|
|
7
|
-
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
8
|
-
*/
|
|
9
|
-
class SendSlack extends resource_1.APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Send a Slack message to the specified recipients.
|
|
12
|
-
*/
|
|
13
|
-
create(body, options) {
|
|
14
|
-
return this._client.post('/send-slack/', { body, ...options });
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.SendSlack = SendSlack;
|
|
18
|
-
//# sourceMappingURL=send-slack.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-slack.js","sourceRoot":"","sources":["../src/resources/send-slack.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF;AAPD,8BAOC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"send-slack.mjs","sourceRoot":"","sources":["../src/resources/send-slack.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../core/resource';
|
|
4
|
-
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../internal/request-options';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
9
|
-
*/
|
|
10
|
-
export class CreateAppNotification extends APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* Create an in-app notification for the specified recipients.
|
|
13
|
-
*/
|
|
14
|
-
create(
|
|
15
|
-
body: CreateAppNotificationCreateParams,
|
|
16
|
-
options?: RequestOptions,
|
|
17
|
-
): APIPromise<CreateAppNotificationCreateResponse> {
|
|
18
|
-
return this._client.post('/create-app-notification/', { body, ...options });
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface CreateAppNotificationCreateResponse {
|
|
23
|
-
/**
|
|
24
|
-
* Result of the create app notification action
|
|
25
|
-
*/
|
|
26
|
-
result: unknown;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface CreateAppNotificationCreateParams {
|
|
30
|
-
description: string;
|
|
31
|
-
|
|
32
|
-
recipients: Array<string>;
|
|
33
|
-
|
|
34
|
-
subject: string;
|
|
35
|
-
|
|
36
|
-
days_from_now?: number | null;
|
|
37
|
-
|
|
38
|
-
due_date?: string | null;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export declare namespace CreateAppNotification {
|
|
42
|
-
export {
|
|
43
|
-
type CreateAppNotificationCreateResponse as CreateAppNotificationCreateResponse,
|
|
44
|
-
type CreateAppNotificationCreateParams as CreateAppNotificationCreateParams,
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../core/resource';
|
|
4
|
-
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../internal/request-options';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Execute SQL queries and manage transformations
|
|
9
|
-
*/
|
|
10
|
-
export class RunQuery extends APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* Execute a SQL query (Trino dialect) against Data Cloud transformations. Returns
|
|
13
|
-
* result rows as dictionaries and column metadata (api_name, display_name,
|
|
14
|
-
* data_type). Permission checks and blocked source validation are enforced
|
|
15
|
-
* server-side.
|
|
16
|
-
*/
|
|
17
|
-
create(body: RunQueryCreateParams, options?: RequestOptions): APIPromise<RunQueryCreateResponse> {
|
|
18
|
-
return this._client.post('/run-query/', { body, ...options });
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface RunQueryCreateResponse {
|
|
23
|
-
/**
|
|
24
|
-
* Query result rows, each row is a dictionary of column name to value
|
|
25
|
-
*/
|
|
26
|
-
data: unknown;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Column metadata including api_name, display_name, and data_type
|
|
30
|
-
*/
|
|
31
|
-
derived_columns: unknown;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface RunQueryCreateParams {
|
|
35
|
-
/**
|
|
36
|
-
* SQL query to execute in Trino dialect.
|
|
37
|
-
*/
|
|
38
|
-
query: string;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Optional product name for request attribution and tracking
|
|
42
|
-
*/
|
|
43
|
-
product_name?: string | null;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export declare namespace RunQuery {
|
|
47
|
-
export {
|
|
48
|
-
type RunQueryCreateResponse as RunQueryCreateResponse,
|
|
49
|
-
type RunQueryCreateParams as RunQueryCreateParams,
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../core/resource';
|
|
4
|
-
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../internal/request-options';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
9
|
-
*/
|
|
10
|
-
export class SendEmail extends APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* Send an email to the specified recipients with the given subject and body.
|
|
13
|
-
*/
|
|
14
|
-
create(body: SendEmailCreateParams, options?: RequestOptions): APIPromise<SendEmailCreateResponse> {
|
|
15
|
-
return this._client.post('/send-email/', { body, ...options });
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface SendEmailCreateResponse {
|
|
20
|
-
/**
|
|
21
|
-
* Result of the send email action
|
|
22
|
-
*/
|
|
23
|
-
result: unknown;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface SendEmailCreateParams {
|
|
27
|
-
/**
|
|
28
|
-
* An enumeration.
|
|
29
|
-
*/
|
|
30
|
-
action_type: 'INDIVIDUAL_EMAILS' | 'GROUP_EMAIL';
|
|
31
|
-
|
|
32
|
-
body: string;
|
|
33
|
-
|
|
34
|
-
recipients: Array<string>;
|
|
35
|
-
|
|
36
|
-
subject: string;
|
|
37
|
-
|
|
38
|
-
bcc?: Array<string> | null;
|
|
39
|
-
|
|
40
|
-
cc?: Array<string> | null;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export declare namespace SendEmail {
|
|
44
|
-
export {
|
|
45
|
-
type SendEmailCreateResponse as SendEmailCreateResponse,
|
|
46
|
-
type SendEmailCreateParams as SendEmailCreateParams,
|
|
47
|
-
};
|
|
48
|
-
}
|