@rippling/rippling-sdk 0.2.0-alpha.103 → 0.2.0-alpha.104
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/examples/manifest/workflow-creation/workflow-creation.ts +142 -0
- package/lib/manifest/index.d.mts +2 -1
- package/lib/manifest/index.d.mts.map +1 -1
- package/lib/manifest/index.d.ts +2 -1
- package/lib/manifest/index.d.ts.map +1 -1
- package/lib/manifest/index.js +5 -2
- package/lib/manifest/index.js.map +1 -1
- package/lib/manifest/index.mjs +2 -1
- package/lib/manifest/index.mjs.map +1 -1
- package/lib/manifest/workflow/actions/index.d.mts +365 -0
- package/lib/manifest/workflow/actions/index.d.mts.map +1 -0
- package/lib/manifest/workflow/actions/index.d.ts +365 -0
- package/lib/manifest/workflow/actions/index.d.ts.map +1 -0
- package/lib/manifest/workflow/actions/index.js +47 -0
- package/lib/manifest/workflow/actions/index.js.map +1 -0
- package/lib/manifest/workflow/actions/index.mjs +44 -0
- package/lib/manifest/workflow/actions/index.mjs.map +1 -0
- package/lib/manifest/workflow/index.d.mts +384 -0
- package/lib/manifest/workflow/index.d.mts.map +1 -0
- package/lib/manifest/workflow/index.d.ts +384 -0
- package/lib/manifest/workflow/index.d.ts.map +1 -0
- package/lib/manifest/workflow/index.js +447 -0
- package/lib/manifest/workflow/index.js.map +1 -0
- package/lib/manifest/workflow/index.mjs +442 -0
- package/lib/manifest/workflow/index.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/departments.d.mts +3 -5
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts +3 -5
- package/resources/departments.d.ts.map +1 -1
- package/resources/departments.js +2 -4
- package/resources/departments.js.map +1 -1
- package/resources/departments.mjs +2 -4
- package/resources/departments.mjs.map +1 -1
- package/resources/hires.d.mts +4 -8
- package/resources/hires.d.mts.map +1 -1
- package/resources/hires.d.ts +4 -8
- package/resources/hires.d.ts.map +1 -1
- package/resources/hires.js +4 -4
- package/resources/hires.mjs +4 -4
- package/resources/job-assignments.d.mts +10 -13
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +10 -13
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-assignments.js +2 -5
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +2 -5
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.d.mts +10 -13
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +10 -13
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-codes.js +2 -5
- package/resources/job-codes.js.map +1 -1
- package/resources/job-codes.mjs +2 -5
- package/resources/job-codes.mjs.map +1 -1
- package/resources/job-dimensions.d.mts +6 -8
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts +6 -8
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-dimensions.js +2 -4
- package/resources/job-dimensions.js.map +1 -1
- package/resources/job-dimensions.mjs +2 -4
- package/resources/job-dimensions.mjs.map +1 -1
- package/resources/kiosk-badges.d.mts +3 -5
- package/resources/kiosk-badges.d.mts.map +1 -1
- package/resources/kiosk-badges.d.ts +3 -5
- package/resources/kiosk-badges.d.ts.map +1 -1
- package/resources/kiosk-badges.js +2 -4
- package/resources/kiosk-badges.js.map +1 -1
- package/resources/kiosk-badges.mjs +2 -4
- package/resources/kiosk-badges.mjs.map +1 -1
- package/resources/leave-accruals.d.mts +4 -4
- package/resources/leave-accruals.d.mts.map +1 -1
- package/resources/leave-accruals.d.ts +4 -4
- package/resources/leave-accruals.d.ts.map +1 -1
- package/resources/leave-requests.d.mts +18 -23
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +18 -23
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.js +2 -7
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +2 -7
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/packages/packages.d.mts +17 -17
- package/resources/packages/packages.d.mts.map +1 -1
- package/resources/packages/packages.d.ts +17 -17
- package/resources/packages/packages.d.ts.map +1 -1
- package/resources/packages/packages.js +5 -5
- package/resources/packages/packages.mjs +5 -5
- package/resources/sandboxes.d.mts +7 -5
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +7 -5
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +3 -1
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +3 -1
- package/resources/sandboxes.mjs.map +1 -1
- package/resources/shift-assignments.d.mts +11 -6
- package/resources/shift-assignments.d.mts.map +1 -1
- package/resources/shift-assignments.d.ts +11 -6
- package/resources/shift-assignments.d.ts.map +1 -1
- package/resources/shift-assignments.js +8 -4
- package/resources/shift-assignments.js.map +1 -1
- package/resources/shift-assignments.mjs +8 -4
- package/resources/shift-assignments.mjs.map +1 -1
- package/resources/shift-inputs.d.mts +10 -15
- package/resources/shift-inputs.d.mts.map +1 -1
- package/resources/shift-inputs.d.ts +10 -15
- package/resources/shift-inputs.d.ts.map +1 -1
- package/resources/shift-inputs.js +2 -7
- package/resources/shift-inputs.js.map +1 -1
- package/resources/shift-inputs.mjs +2 -7
- package/resources/shift-inputs.mjs.map +1 -1
- package/resources/sites.d.mts +19 -6
- package/resources/sites.d.mts.map +1 -1
- package/resources/sites.d.ts +19 -6
- package/resources/sites.d.ts.map +1 -1
- package/resources/software-deployments.d.mts +6 -8
- package/resources/software-deployments.d.mts.map +1 -1
- package/resources/software-deployments.d.ts +6 -8
- package/resources/software-deployments.d.ts.map +1 -1
- package/resources/software-deployments.js +2 -4
- package/resources/software-deployments.js.map +1 -1
- package/resources/software-deployments.mjs +2 -4
- package/resources/software-deployments.mjs.map +1 -1
- package/resources/unassigned-shifts.d.mts +11 -6
- package/resources/unassigned-shifts.d.mts.map +1 -1
- package/resources/unassigned-shifts.d.ts +11 -6
- package/resources/unassigned-shifts.d.ts.map +1 -1
- package/resources/unassigned-shifts.js +8 -4
- package/resources/unassigned-shifts.js.map +1 -1
- package/resources/unassigned-shifts.mjs +8 -4
- package/resources/unassigned-shifts.mjs.map +1 -1
- package/resources/variable-compensation-payouts.d.mts +4 -4
- package/resources/variable-compensation-payouts.d.mts.map +1 -1
- package/resources/variable-compensation-payouts.d.ts +4 -4
- package/resources/variable-compensation-payouts.d.ts.map +1 -1
- package/resources/work-locations.d.mts +4 -7
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts +4 -7
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/work-locations.js +2 -5
- package/resources/work-locations.js.map +1 -1
- package/resources/work-locations.mjs +2 -5
- package/resources/work-locations.mjs.map +1 -1
- package/src/lib/manifest/index.ts +40 -0
- package/src/lib/manifest/workflow/actions/index.ts +338 -0
- package/src/lib/manifest/workflow/index.ts +953 -0
- package/src/resources/departments.ts +7 -5
- package/src/resources/hires.ts +4 -9
- package/src/resources/job-assignments.ts +16 -15
- package/src/resources/job-codes.ts +16 -15
- package/src/resources/job-dimensions.ts +11 -9
- package/src/resources/kiosk-badges.ts +3 -5
- package/src/resources/leave-accruals.ts +8 -4
- package/src/resources/leave-requests.ts +21 -26
- package/src/resources/packages/packages.ts +17 -17
- package/src/resources/sandboxes.ts +7 -5
- package/src/resources/shift-assignments.ts +11 -8
- package/src/resources/shift-inputs.ts +11 -16
- package/src/resources/sites.ts +19 -6
- package/src/resources/software-deployments.ts +7 -9
- package/src/resources/unassigned-shifts.ts +11 -8
- package/src/resources/variable-compensation-payouts.ts +0 -4
- package/src/resources/work-locations.ts +8 -7
- 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/lib/manifest/workflow.d.mts +0 -158
- package/lib/manifest/workflow.d.mts.map +0 -1
- package/lib/manifest/workflow.d.ts +0 -158
- package/lib/manifest/workflow.d.ts.map +0 -1
- package/lib/manifest/workflow.js +0 -51
- package/lib/manifest/workflow.js.map +0 -1
- package/lib/manifest/workflow.mjs +0 -47
- package/lib/manifest/workflow.mjs.map +0 -1
- package/src/lib/manifest/workflow.ts +0 -248
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
// GENERATED from rippling-main/app/hub_platform/automation/action_registry/static_actions/registry.py.
|
|
2
|
+
// Registry SHA-256: c8580394a9614e51d073c021f8ef1b4656795cb607379e787961493635de4ac9
|
|
3
|
+
// Regenerate with: node scripts/generate-workflow-actions.cjs [path/to/rippling-main]
|
|
4
|
+
// These are snapshot authoring hints; runtime availability and payload validity remain role/company-scoped.
|
|
5
|
+
|
|
6
|
+
export interface WorkflowActionPayloads {
|
|
7
|
+
AccrueLeave: {
|
|
8
|
+
balance_action_type: 'ADD_BALANCE' | 'DEDUCT_BALANCE';
|
|
9
|
+
balance_increment: number;
|
|
10
|
+
balance_unit: 'HOURS' | 'DAYS' | 'WEEKS';
|
|
11
|
+
pto_type: 'LEAVE_POLICY' | 'COMPANY_LEAVE_TYPE' | (string & {});
|
|
12
|
+
recipients: Array<string>;
|
|
13
|
+
leave_policy?: unknown;
|
|
14
|
+
company_leave_type?: unknown;
|
|
15
|
+
};
|
|
16
|
+
AssignQueuedTicket: {
|
|
17
|
+
strategy?: 'ROUND_ROBIN';
|
|
18
|
+
ticket: Record<string, unknown> & {
|
|
19
|
+
type?: { elementType: 'OBJECT_ID'; iterableType?: 'OBJECT'; objectRqlModelName?: string };
|
|
20
|
+
variable?: string;
|
|
21
|
+
};
|
|
22
|
+
timeout?: number;
|
|
23
|
+
};
|
|
24
|
+
AssignReview: {
|
|
25
|
+
cycle_id: string;
|
|
26
|
+
reviewees: Array<string>;
|
|
27
|
+
reviewers: Array<string>;
|
|
28
|
+
is_reviewer_relative_to_reviewee?: unknown;
|
|
29
|
+
};
|
|
30
|
+
AssignVariable: { value: { rqlFormula: string; rqlLabelMap?: {} }; variable: string };
|
|
31
|
+
CreateAppNotification: {
|
|
32
|
+
description: string;
|
|
33
|
+
dueDate: null | { date: string } | { daysFromNow: number };
|
|
34
|
+
recipients: Array<string>;
|
|
35
|
+
subject: string;
|
|
36
|
+
task_configuration?: 'ASSIGN_SEPARATE_TASKS' | 'ASSIGN_SHARED_TASK';
|
|
37
|
+
};
|
|
38
|
+
CreateGcalEvent: {
|
|
39
|
+
all_day_event?: boolean;
|
|
40
|
+
attendees: Array<string>;
|
|
41
|
+
description: string;
|
|
42
|
+
end: { date: string; time: string };
|
|
43
|
+
guestsCanInviteOthers?: boolean;
|
|
44
|
+
guestsCanModify?: boolean;
|
|
45
|
+
guestsCanSeeOtherGuests?: boolean;
|
|
46
|
+
organizer: Array<string>;
|
|
47
|
+
organizer_type: 'WORKFLOW_OWNER' | 'SUPERGROUP' | (string & {});
|
|
48
|
+
recurrence_count?: number;
|
|
49
|
+
recurrence_frequency?: 'null' | 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY' | (string & {});
|
|
50
|
+
recurrence_has_end?: boolean;
|
|
51
|
+
spoke_owner?: string;
|
|
52
|
+
start: { date: string; time: string };
|
|
53
|
+
timezone: string;
|
|
54
|
+
title: string;
|
|
55
|
+
transparency?: 'opaque' | 'transparent';
|
|
56
|
+
visibility?: 'default' | 'public' | 'private';
|
|
57
|
+
};
|
|
58
|
+
CreateTicket: { ticket_api_name: string };
|
|
59
|
+
CustomCode: { code: string; output_schema?: {}; parameters?: {} };
|
|
60
|
+
DeleteCustomObjectRecord: { customObjectAPIName: string; recordID: string };
|
|
61
|
+
DirectTransformationRefreshAction: { include_upstream?: boolean; transformation_api_names: Array<string> };
|
|
62
|
+
EvaluateRQL: {
|
|
63
|
+
queryType: 'SELECTION' | 'QUERY' | (string & {});
|
|
64
|
+
rqlModelName?: unknown;
|
|
65
|
+
rqlCondition?: unknown;
|
|
66
|
+
dataType?: unknown;
|
|
67
|
+
};
|
|
68
|
+
ExecuteAITask: {
|
|
69
|
+
attachments?: Array<
|
|
70
|
+
| { fileName: string; mimeType: string; s3URL: string; sizeBytes?: number; source: 'uploaded_file' }
|
|
71
|
+
| { source: 'workflow_variable'; value: string }
|
|
72
|
+
>;
|
|
73
|
+
output_schema?: {};
|
|
74
|
+
prompt: string;
|
|
75
|
+
reply_in_slack_thread?: boolean;
|
|
76
|
+
};
|
|
77
|
+
ForLoop: { loopType: 'ITERATIONS' | 'LIST' | (string & {}); list?: unknown };
|
|
78
|
+
HoldAccountTargetBalance: {
|
|
79
|
+
deficit_source_account_id: string;
|
|
80
|
+
deficit_source_account_type: 'RBK_FIN_ACCOUNT' | 'CONNECTED_BANK_ACCOUNT';
|
|
81
|
+
description?: string | null;
|
|
82
|
+
target_balance_currency_code: string;
|
|
83
|
+
target_balance_value: number;
|
|
84
|
+
target_fin_account_id: string;
|
|
85
|
+
};
|
|
86
|
+
IfElse: {
|
|
87
|
+
condition: { baseObject?: string; conditionBuildingMode?: string; conditionsTree?: {}; rql?: string };
|
|
88
|
+
};
|
|
89
|
+
MakePayment: {
|
|
90
|
+
apply_cap: boolean;
|
|
91
|
+
description: string;
|
|
92
|
+
payment_amount: number;
|
|
93
|
+
recipients: Array<string>;
|
|
94
|
+
earning_type?: unknown;
|
|
95
|
+
};
|
|
96
|
+
PushStartDate: {
|
|
97
|
+
daysToPush: number;
|
|
98
|
+
recipients: Array<string>;
|
|
99
|
+
trigger?: unknown;
|
|
100
|
+
qualifying_conditions_rql?: unknown;
|
|
101
|
+
};
|
|
102
|
+
RouteToQueue: {
|
|
103
|
+
routing: Array<{
|
|
104
|
+
condition?: { baseObject?: string; conditionBuildingMode?: string; conditionsTree?: {}; rql?: string };
|
|
105
|
+
description?: string;
|
|
106
|
+
name?: string;
|
|
107
|
+
target?: string;
|
|
108
|
+
}>;
|
|
109
|
+
ticket: Record<string, unknown> & {
|
|
110
|
+
type?: { elementType: 'OBJECT_ID'; iterableType?: 'OBJECT'; objectRqlModelName?: string };
|
|
111
|
+
variable?: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
RunAgent: {
|
|
115
|
+
agent_id?: string | null;
|
|
116
|
+
agent_type?: 'REGISTERED_AGENT' | 'RIPPLING_AI';
|
|
117
|
+
mode?: 'NEW_SESSION' | 'EXISTING_SESSION';
|
|
118
|
+
prompt: string;
|
|
119
|
+
role_id?: string | null;
|
|
120
|
+
session_id?: string | null;
|
|
121
|
+
};
|
|
122
|
+
RunAsyncFunction: {
|
|
123
|
+
function_code?: string;
|
|
124
|
+
function_id: string;
|
|
125
|
+
function_step_mock_configuration?: {
|
|
126
|
+
egress_mocks?: Array<{
|
|
127
|
+
method?: string;
|
|
128
|
+
response?: { body?: string; headers?: Record<string, string>; status?: number };
|
|
129
|
+
url: string;
|
|
130
|
+
}>;
|
|
131
|
+
enabled?: boolean;
|
|
132
|
+
unmatched_request_policy?: string;
|
|
133
|
+
} | null;
|
|
134
|
+
output_schema: Record<string, unknown>;
|
|
135
|
+
parameters: Record<string, unknown>;
|
|
136
|
+
};
|
|
137
|
+
RunFunction: {
|
|
138
|
+
function_code?: string;
|
|
139
|
+
function_id: string;
|
|
140
|
+
function_step_mock_configuration?: {
|
|
141
|
+
egress_mocks?: Array<{
|
|
142
|
+
method?: string;
|
|
143
|
+
response?: { body?: string; headers?: Record<string, string>; status?: number };
|
|
144
|
+
url: string;
|
|
145
|
+
}>;
|
|
146
|
+
enabled?: boolean;
|
|
147
|
+
unmatched_request_policy?: string;
|
|
148
|
+
} | null;
|
|
149
|
+
output_schema: Record<string, unknown>;
|
|
150
|
+
parameters: Record<string, unknown>;
|
|
151
|
+
};
|
|
152
|
+
SendDigestEmail: {
|
|
153
|
+
body: string;
|
|
154
|
+
intro_message: string;
|
|
155
|
+
schedule_day: 'MON' | 'TUE' | 'WED' | 'THU' | 'FRI' | 'SAT' | 'SUN';
|
|
156
|
+
schedule_time: string;
|
|
157
|
+
schedule_type: 'DAILY' | 'WEEKLY' | (string & {});
|
|
158
|
+
send_to: {
|
|
159
|
+
to?: {
|
|
160
|
+
emailType?:
|
|
161
|
+
| 'work_or_personal_email'
|
|
162
|
+
| 'work_email_only'
|
|
163
|
+
| 'personal_email_only'
|
|
164
|
+
| 'work_and_personal_email';
|
|
165
|
+
externalEmails?: Array<string>;
|
|
166
|
+
supergroup?: Array<string>;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
subject: string;
|
|
170
|
+
timezone: string;
|
|
171
|
+
};
|
|
172
|
+
SendDocument: { document: string; recipients: Array<string> };
|
|
173
|
+
SendEmail: {
|
|
174
|
+
action_type: 'INDIVIDUAL_EMAILS' | 'GROUP_EMAIL';
|
|
175
|
+
attachments?: Array<{ fileName: string; mimeType: string; s3URL: string }>;
|
|
176
|
+
body: string;
|
|
177
|
+
send_to: {
|
|
178
|
+
bcc?: {
|
|
179
|
+
emailType?:
|
|
180
|
+
| 'work_or_personal_email'
|
|
181
|
+
| 'work_email_only'
|
|
182
|
+
| 'personal_email_only'
|
|
183
|
+
| 'work_and_personal_email';
|
|
184
|
+
externalEmails?: Array<string>;
|
|
185
|
+
supergroup?: Array<string>;
|
|
186
|
+
};
|
|
187
|
+
cc?: {
|
|
188
|
+
emailType?:
|
|
189
|
+
| 'work_or_personal_email'
|
|
190
|
+
| 'work_email_only'
|
|
191
|
+
| 'personal_email_only'
|
|
192
|
+
| 'work_and_personal_email';
|
|
193
|
+
externalEmails?: Array<string>;
|
|
194
|
+
supergroup?: Array<string>;
|
|
195
|
+
};
|
|
196
|
+
to?: {
|
|
197
|
+
emailType?:
|
|
198
|
+
| 'work_or_personal_email'
|
|
199
|
+
| 'work_email_only'
|
|
200
|
+
| 'personal_email_only'
|
|
201
|
+
| 'work_and_personal_email';
|
|
202
|
+
externalEmails?: Array<string>;
|
|
203
|
+
supergroup?: Array<string>;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
subject: string;
|
|
207
|
+
};
|
|
208
|
+
SendHTTPRequest: {
|
|
209
|
+
customHTTPHeaders?: Record<string, unknown>;
|
|
210
|
+
expectedResponseSchema?: {};
|
|
211
|
+
method?: 'POST' | 'GET' | 'PUT' | 'PATCH' | 'DELETE';
|
|
212
|
+
payload?: Record<string, unknown>;
|
|
213
|
+
queryParams?: Record<string, unknown>;
|
|
214
|
+
url: string;
|
|
215
|
+
};
|
|
216
|
+
SendPushNotification: { header: string; message: string; recipients: Array<string> };
|
|
217
|
+
SendReportEmail: {
|
|
218
|
+
add_role_referenced_id_column?: boolean;
|
|
219
|
+
csv_quoting?: 1 | 0 | 2 | 3;
|
|
220
|
+
currency_fields?: 'WITH_CURRENCY_TYPE' | 'WITHOUT_CURRENCY_TYPE';
|
|
221
|
+
date_and_time_formatting?: 'ISO_FORMAT' | 'LOCALE_FORMAT';
|
|
222
|
+
file_type: 'EXCEL' | 'CSV' | (string & {});
|
|
223
|
+
report_id: string;
|
|
224
|
+
run_report_perms: 'RECIPIENT' | 'WORKFLOW_OWNER';
|
|
225
|
+
send_to: {
|
|
226
|
+
to?: {
|
|
227
|
+
emailType?:
|
|
228
|
+
| 'work_or_personal_email'
|
|
229
|
+
| 'work_email_only'
|
|
230
|
+
| 'personal_email_only'
|
|
231
|
+
| 'work_and_personal_email';
|
|
232
|
+
externalEmails?: Array<string>;
|
|
233
|
+
supergroup?: Array<string>;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
show_sub_totals?: boolean;
|
|
237
|
+
time_zones?: 'UTC' | 'PRESERVE_TZ' | 'VIEWER_LOCALE';
|
|
238
|
+
};
|
|
239
|
+
SendReportSFTP: {
|
|
240
|
+
add_role_referenced_id_column?: boolean;
|
|
241
|
+
authentication_type: 'PASSWORD' | 'SSH_KEY' | (string & {});
|
|
242
|
+
csv_quoting?: 1 | 0 | 2 | 3;
|
|
243
|
+
currency_fields?: 'WITH_CURRENCY_TYPE' | 'WITHOUT_CURRENCY_TYPE';
|
|
244
|
+
date_and_time_formatting?: 'ISO_FORMAT' | 'LOCALE_FORMAT';
|
|
245
|
+
file_name?: string;
|
|
246
|
+
file_path: string;
|
|
247
|
+
file_suffix?: 'DEFAULT_FORMAT' | 'EPOCH_FORMAT';
|
|
248
|
+
file_type: 'EXCEL' | 'CSV' | (string & {});
|
|
249
|
+
host_name: string;
|
|
250
|
+
password: string;
|
|
251
|
+
port?: number;
|
|
252
|
+
private_key: string;
|
|
253
|
+
private_key_passphrase?: string;
|
|
254
|
+
report_id: string;
|
|
255
|
+
show_sub_totals?: boolean;
|
|
256
|
+
time_zones?: 'UTC' | 'PRESERVE_TZ' | 'VIEWER_LOCALE';
|
|
257
|
+
user_name: string;
|
|
258
|
+
};
|
|
259
|
+
SendSlack: {
|
|
260
|
+
action_type: 'SINGLE_DIRECT_MESSAGE' | 'GROUP_DIRECT_MESSAGE' | 'PUBLIC_CHANNEL_MESSAGE' | (string & {});
|
|
261
|
+
body: string;
|
|
262
|
+
channel?: unknown;
|
|
263
|
+
recipients?: unknown;
|
|
264
|
+
};
|
|
265
|
+
SendSMS: { message: string; recipients: Array<string> };
|
|
266
|
+
SendSurvey: {
|
|
267
|
+
body: string;
|
|
268
|
+
expiryDays?: number;
|
|
269
|
+
recipients: Array<string>;
|
|
270
|
+
subject: string;
|
|
271
|
+
surveyID: string;
|
|
272
|
+
};
|
|
273
|
+
SendTeams: {
|
|
274
|
+
action_type: 'PUBLIC_CHANNEL_MESSAGE' | 'SINGLE_DIRECT_MESSAGE' | (string & {});
|
|
275
|
+
message: string;
|
|
276
|
+
team_id?: unknown;
|
|
277
|
+
channel?: unknown;
|
|
278
|
+
recipients?: unknown;
|
|
279
|
+
};
|
|
280
|
+
SendToQueue: {
|
|
281
|
+
queue: string;
|
|
282
|
+
ticket: Record<string, unknown> & {
|
|
283
|
+
type?: { elementType: 'OBJECT_ID'; iterableType?: 'OBJECT'; objectRqlModelName?: string };
|
|
284
|
+
variable?: string;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
Sleep: { sleepTime: number; timeUnit: 'SECONDS' | 'MINUTES' | 'HOURS' | 'DAYS' };
|
|
288
|
+
SwitchCase: {
|
|
289
|
+
conditions: Array<{
|
|
290
|
+
baseObject?: string;
|
|
291
|
+
conditionBuildingMode?: string;
|
|
292
|
+
conditionsTree?: {};
|
|
293
|
+
rql: string;
|
|
294
|
+
}>;
|
|
295
|
+
};
|
|
296
|
+
UpdateCustomObjectRecord: { customObjectAPIName: string; record?: unknown };
|
|
297
|
+
UpsertCustomObject: { customObjectAPIName: string; record?: unknown };
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export const WORKFLOW_ACTION_IDS = [
|
|
301
|
+
'AccrueLeave',
|
|
302
|
+
'AssignQueuedTicket',
|
|
303
|
+
'AssignReview',
|
|
304
|
+
'AssignVariable',
|
|
305
|
+
'CreateAppNotification',
|
|
306
|
+
'CreateGcalEvent',
|
|
307
|
+
'CreateTicket',
|
|
308
|
+
'CustomCode',
|
|
309
|
+
'DeleteCustomObjectRecord',
|
|
310
|
+
'DirectTransformationRefreshAction',
|
|
311
|
+
'EvaluateRQL',
|
|
312
|
+
'ExecuteAITask',
|
|
313
|
+
'ForLoop',
|
|
314
|
+
'HoldAccountTargetBalance',
|
|
315
|
+
'IfElse',
|
|
316
|
+
'MakePayment',
|
|
317
|
+
'PushStartDate',
|
|
318
|
+
'RouteToQueue',
|
|
319
|
+
'RunAgent',
|
|
320
|
+
'RunAsyncFunction',
|
|
321
|
+
'RunFunction',
|
|
322
|
+
'SendDigestEmail',
|
|
323
|
+
'SendDocument',
|
|
324
|
+
'SendEmail',
|
|
325
|
+
'SendHTTPRequest',
|
|
326
|
+
'SendPushNotification',
|
|
327
|
+
'SendReportEmail',
|
|
328
|
+
'SendReportSFTP',
|
|
329
|
+
'SendSlack',
|
|
330
|
+
'SendSMS',
|
|
331
|
+
'SendSurvey',
|
|
332
|
+
'SendTeams',
|
|
333
|
+
'SendToQueue',
|
|
334
|
+
'Sleep',
|
|
335
|
+
'SwitchCase',
|
|
336
|
+
'UpdateCustomObjectRecord',
|
|
337
|
+
'UpsertCustomObject',
|
|
338
|
+
] as const;
|