@bluecopa/react 0.1.82 → 0.1.84
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/README.md +1 -304
- package/dist/hooks/useMetric.d.ts.map +1 -1
- package/dist/hooks/useRunPublishedDefinition.d.ts +7 -0
- package/dist/hooks/useRunPublishedDefinition.d.ts.map +1 -1
- package/dist/index.d.ts +0 -32
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +245 -562
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/hooks/useCancelTask.d.ts +0 -9
- package/dist/hooks/useCancelTask.d.ts.map +0 -1
- package/dist/hooks/useClearBinRequests.d.ts +0 -9
- package/dist/hooks/useClearBinRequests.d.ts.map +0 -1
- package/dist/hooks/useCreateInspectionBin.d.ts +0 -9
- package/dist/hooks/useCreateInspectionBin.d.ts.map +0 -1
- package/dist/hooks/useCreateTask.d.ts +0 -9
- package/dist/hooks/useCreateTask.d.ts.map +0 -1
- package/dist/hooks/useCreateWebhook.d.ts +0 -9
- package/dist/hooks/useCreateWebhook.d.ts.map +0 -1
- package/dist/hooks/useCreateWebhookSchedule.d.ts +0 -12
- package/dist/hooks/useCreateWebhookSchedule.d.ts.map +0 -1
- package/dist/hooks/useDeleteInspectionBin.d.ts +0 -9
- package/dist/hooks/useDeleteInspectionBin.d.ts.map +0 -1
- package/dist/hooks/useDeleteSchedule.d.ts +0 -9
- package/dist/hooks/useDeleteSchedule.d.ts.map +0 -1
- package/dist/hooks/useDeleteWebhook.d.ts +0 -9
- package/dist/hooks/useDeleteWebhook.d.ts.map +0 -1
- package/dist/hooks/useGetBinRequests.d.ts +0 -14
- package/dist/hooks/useGetBinRequests.d.ts.map +0 -1
- package/dist/hooks/useGetExecution.d.ts +0 -10
- package/dist/hooks/useGetExecution.d.ts.map +0 -1
- package/dist/hooks/useGetInspectionBin.d.ts +0 -10
- package/dist/hooks/useGetInspectionBin.d.ts.map +0 -1
- package/dist/hooks/useGetSchedule.d.ts +0 -10
- package/dist/hooks/useGetSchedule.d.ts.map +0 -1
- package/dist/hooks/useGetTask.d.ts +0 -10
- package/dist/hooks/useGetTask.d.ts.map +0 -1
- package/dist/hooks/useGetWebhook.d.ts +0 -10
- package/dist/hooks/useGetWebhook.d.ts.map +0 -1
- package/dist/hooks/useGetWebhookExecutions.d.ts +0 -14
- package/dist/hooks/useGetWebhookExecutions.d.ts.map +0 -1
- package/dist/hooks/useGetWebhookSchedules.d.ts +0 -10
- package/dist/hooks/useGetWebhookSchedules.d.ts.map +0 -1
- package/dist/hooks/useListExecutions.d.ts +0 -15
- package/dist/hooks/useListExecutions.d.ts.map +0 -1
- package/dist/hooks/useListInspectionBins.d.ts +0 -9
- package/dist/hooks/useListInspectionBins.d.ts.map +0 -1
- package/dist/hooks/useListTasks.d.ts +0 -9
- package/dist/hooks/useListTasks.d.ts.map +0 -1
- package/dist/hooks/useListWebhooks.d.ts +0 -9
- package/dist/hooks/useListWebhooks.d.ts.map +0 -1
- package/dist/hooks/usePauseSchedule.d.ts +0 -9
- package/dist/hooks/usePauseSchedule.d.ts.map +0 -1
- package/dist/hooks/useResumeSchedule.d.ts +0 -9
- package/dist/hooks/useResumeSchedule.d.ts.map +0 -1
- package/dist/hooks/useRetryExecution.d.ts +0 -9
- package/dist/hooks/useRetryExecution.d.ts.map +0 -1
- package/dist/hooks/useRetryTask.d.ts +0 -9
- package/dist/hooks/useRetryTask.d.ts.map +0 -1
- package/dist/hooks/useTaskProgress.d.ts +0 -12
- package/dist/hooks/useTaskProgress.d.ts.map +0 -1
- package/dist/hooks/useTaskSignal.d.ts +0 -13
- package/dist/hooks/useTaskSignal.d.ts.map +0 -1
- package/dist/hooks/useTestWebhook.d.ts +0 -9
- package/dist/hooks/useTestWebhook.d.ts.map +0 -1
- package/dist/hooks/useTriggerSchedule.d.ts +0 -9
- package/dist/hooks/useTriggerSchedule.d.ts.map +0 -1
- package/dist/hooks/useTriggerWorkflowById.d.ts +0 -14
- package/dist/hooks/useTriggerWorkflowById.d.ts.map +0 -1
- package/dist/hooks/useUpdateSchedule.d.ts +0 -12
- package/dist/hooks/useUpdateSchedule.d.ts.map +0 -1
- package/dist/hooks/useUpdateWebhook.d.ts +0 -12
- package/dist/hooks/useUpdateWebhook.d.ts.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useQuery as
|
|
2
|
-
import * as
|
|
3
|
-
import { copaApi as r, copaGetConfig as
|
|
1
|
+
import { useQuery as s, useMutation as o, useQueryClient as w } from "@tanstack/react-query";
|
|
2
|
+
import * as O from "@tanstack/react-query";
|
|
3
|
+
import { copaApi as r, copaGetConfig as k } from "@bluecopa/core";
|
|
4
4
|
export * from "@bluecopa/core";
|
|
5
|
-
import { ReactQueryDevtools as
|
|
6
|
-
const
|
|
5
|
+
import { ReactQueryDevtools as bn } from "@tanstack/react-query-devtools";
|
|
6
|
+
const S = {
|
|
7
7
|
enabled: !0,
|
|
8
8
|
staleTime: 1e3 * 60 * 5,
|
|
9
9
|
// 5 minutes
|
|
@@ -12,16 +12,16 @@ const D = {
|
|
|
12
12
|
retry: 2,
|
|
13
13
|
retryDelay: (e) => Math.min(1e3 * 2 ** e, 3e4)
|
|
14
14
|
};
|
|
15
|
-
function
|
|
15
|
+
function E(e = {}) {
|
|
16
16
|
return {
|
|
17
|
-
...
|
|
17
|
+
...S,
|
|
18
18
|
...e
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
function C(e = 5e3) {
|
|
22
22
|
return new Promise((n) => setTimeout(n, e));
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function D(e, n) {
|
|
25
25
|
const t = Object.entries(e).filter(([u, a]) => !a).map(([u]) => u);
|
|
26
26
|
if (t.length > 0)
|
|
27
27
|
throw new Error(
|
|
@@ -31,8 +31,8 @@ function m(e, n) {
|
|
|
31
31
|
function c(e, n, t = 0) {
|
|
32
32
|
return async () => (await C(t), await e());
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
const n =
|
|
34
|
+
function l(e) {
|
|
35
|
+
const n = E(e.options);
|
|
36
36
|
return {
|
|
37
37
|
queryKey: e.queryKey,
|
|
38
38
|
queryFn: e.queryFn,
|
|
@@ -45,20 +45,22 @@ function y(e) {
|
|
|
45
45
|
onError: n.onError
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
const t = n.enabled !== !1 && !!e, u = c(async () => {
|
|
48
|
+
function P(e, n = {}) {
|
|
49
|
+
const t = n.enabled !== !1 && !!e, u = n.solutionBindings ?? null, a = c(async () => {
|
|
50
50
|
if (!e)
|
|
51
51
|
throw new Error("Metric ID is required");
|
|
52
|
-
return console.log("Fetching metric data..."), await r.metric.getData(e
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
return console.log("Fetching metric data..."), await r.metric.getData(e, {
|
|
53
|
+
solutionBindings: n.solutionBindings
|
|
54
|
+
});
|
|
55
|
+
}), i = l({
|
|
56
|
+
queryKey: ["metricData", e, u],
|
|
57
|
+
queryFn: a,
|
|
56
58
|
enabled: t,
|
|
57
59
|
options: n
|
|
58
60
|
});
|
|
59
|
-
return i
|
|
61
|
+
return s(i);
|
|
60
62
|
}
|
|
61
|
-
function
|
|
63
|
+
function G(e, n = {}) {
|
|
62
64
|
const t = !!e, u = c(async () => {
|
|
63
65
|
if (!e)
|
|
64
66
|
throw new Error("Dataset ID is required");
|
|
@@ -66,15 +68,15 @@ function P(e, n = {}) {
|
|
|
66
68
|
datasetId: e,
|
|
67
69
|
dataFilter: "all_data"
|
|
68
70
|
});
|
|
69
|
-
}), a =
|
|
71
|
+
}), a = l({
|
|
70
72
|
queryKey: ["datasetData", e],
|
|
71
73
|
queryFn: u,
|
|
72
74
|
enabled: t,
|
|
73
75
|
options: n
|
|
74
76
|
});
|
|
75
|
-
return
|
|
77
|
+
return s(a);
|
|
76
78
|
}
|
|
77
|
-
function
|
|
79
|
+
function U(e = {}) {
|
|
78
80
|
return o({
|
|
79
81
|
mutationFn: async (n) => await r.chat.createThread(n),
|
|
80
82
|
onSuccess: e.onSuccess,
|
|
@@ -83,19 +85,19 @@ function A(e = {}) {
|
|
|
83
85
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
84
86
|
});
|
|
85
87
|
}
|
|
86
|
-
function
|
|
87
|
-
const t = n.enabled !== !1 && !!e, u = c(async () => (
|
|
88
|
+
function v(e, n = {}) {
|
|
89
|
+
const t = n.enabled !== !1 && !!e, u = c(async () => (D(
|
|
88
90
|
{ threadId: e },
|
|
89
91
|
"Thread ID is required to fetch comments"
|
|
90
|
-
), await r.chat.getCommentsByThreadId(e))), a =
|
|
92
|
+
), await r.chat.getCommentsByThreadId(e))), a = l({
|
|
91
93
|
queryKey: ["chat", "comments", e],
|
|
92
94
|
queryFn: u,
|
|
93
95
|
enabled: t,
|
|
94
96
|
options: n
|
|
95
97
|
});
|
|
96
|
-
return
|
|
98
|
+
return s(a);
|
|
97
99
|
}
|
|
98
|
-
function
|
|
100
|
+
function W(e = {}) {
|
|
99
101
|
return o({
|
|
100
102
|
mutationFn: async (n) => await r.chat.postComment(n),
|
|
101
103
|
onSuccess: e.onSuccess,
|
|
@@ -104,7 +106,7 @@ function Q(e = {}) {
|
|
|
104
106
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
105
107
|
});
|
|
106
108
|
}
|
|
107
|
-
function
|
|
109
|
+
function M(e = {}) {
|
|
108
110
|
return o({
|
|
109
111
|
mutationFn: async (n) => await r.chat.updateComment(n),
|
|
110
112
|
onSuccess: e.onSuccess,
|
|
@@ -113,7 +115,7 @@ function x(e = {}) {
|
|
|
113
115
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
114
116
|
});
|
|
115
117
|
}
|
|
116
|
-
function
|
|
118
|
+
function x(e = {}) {
|
|
117
119
|
return o({
|
|
118
120
|
mutationFn: async (n) => await r.chat.deleteComment(n),
|
|
119
121
|
onSuccess: e.onSuccess,
|
|
@@ -122,7 +124,7 @@ function I(e = {}) {
|
|
|
122
124
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
123
125
|
});
|
|
124
126
|
}
|
|
125
|
-
function
|
|
127
|
+
function I(e = {}) {
|
|
126
128
|
return o({
|
|
127
129
|
mutationFn: async (n) => await r.chat.subscribeUser(n),
|
|
128
130
|
onSuccess: e.onSuccess,
|
|
@@ -131,7 +133,7 @@ function M(e = {}) {
|
|
|
131
133
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
132
134
|
});
|
|
133
135
|
}
|
|
134
|
-
function
|
|
136
|
+
function Q(e = {}) {
|
|
135
137
|
return o({
|
|
136
138
|
mutationFn: async (n) => await r.chat.unsubscribeUser(n),
|
|
137
139
|
onSuccess: e.onSuccess,
|
|
@@ -140,49 +142,49 @@ function _(e = {}) {
|
|
|
140
142
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
141
143
|
});
|
|
142
144
|
}
|
|
143
|
-
function
|
|
144
|
-
const u = t.enabled !== !1 && !!e && !!n, a = c(async () => (
|
|
145
|
+
function H(e, n, t = {}) {
|
|
146
|
+
const u = t.enabled !== !1 && !!e && !!n, a = c(async () => (D(
|
|
145
147
|
{ userId: e, threadId: n },
|
|
146
148
|
"User ID and Thread ID are required to check subscription status"
|
|
147
|
-
), await r.chat.checkSubscriptionStatus(e, n))),
|
|
149
|
+
), await r.chat.checkSubscriptionStatus(e, n))), i = l({
|
|
148
150
|
queryKey: ["chat", "subscription", e, n],
|
|
149
151
|
queryFn: a,
|
|
150
152
|
enabled: u,
|
|
151
153
|
options: t
|
|
152
154
|
});
|
|
153
|
-
return i
|
|
155
|
+
return s(i);
|
|
154
156
|
}
|
|
155
|
-
function
|
|
157
|
+
function _(e = {}) {
|
|
156
158
|
return o({
|
|
157
159
|
mutationFn: async (n) => await r.statement.createNewRun(n),
|
|
158
160
|
...e
|
|
159
161
|
});
|
|
160
162
|
}
|
|
161
|
-
function
|
|
163
|
+
function L(e, n = {}) {
|
|
162
164
|
const t = !!e, u = c(async () => {
|
|
163
165
|
if (!e)
|
|
164
166
|
throw new Error("Dataset ID is required");
|
|
165
167
|
return console.log("Fetching dataset data..."), await r.dataset.getData(e, {
|
|
166
168
|
limit: n.limit || 1e3
|
|
167
169
|
});
|
|
168
|
-
}), a =
|
|
170
|
+
}), a = l({
|
|
169
171
|
queryKey: ["datasetData", e],
|
|
170
172
|
queryFn: u,
|
|
171
173
|
enabled: t,
|
|
172
174
|
options: n
|
|
173
175
|
});
|
|
174
|
-
return
|
|
176
|
+
return s(a);
|
|
175
177
|
}
|
|
176
178
|
function N() {
|
|
177
|
-
const e = c(async () => (console.log("Fetching dataset data..."), await r.dataset.getAllDatasets())), n =
|
|
179
|
+
const e = c(async () => (console.log("Fetching dataset data..."), await r.dataset.getAllDatasets())), n = l({
|
|
178
180
|
queryKey: ["datasetData"],
|
|
179
181
|
queryFn: e,
|
|
180
182
|
enabled: !0
|
|
181
183
|
});
|
|
182
|
-
return
|
|
184
|
+
return s(n);
|
|
183
185
|
}
|
|
184
186
|
function V(e, n, t, u = {}) {
|
|
185
|
-
const a = !!e && !!n && !!t,
|
|
187
|
+
const a = !!e && !!n && !!t, i = c(async () => {
|
|
186
188
|
if (!e || !n || !t)
|
|
187
189
|
throw new Error("Key, contentType, and method are required");
|
|
188
190
|
return console.log("Getting signed file URL..."), await r.files.getFileUrlByFileId({
|
|
@@ -190,72 +192,72 @@ function V(e, n, t, u = {}) {
|
|
|
190
192
|
contentType: n,
|
|
191
193
|
method: t
|
|
192
194
|
});
|
|
193
|
-
}),
|
|
195
|
+
}), y = l({
|
|
194
196
|
queryKey: ["file", "getFileUrlByFileId", e, n, t],
|
|
195
|
-
queryFn:
|
|
197
|
+
queryFn: i,
|
|
196
198
|
enabled: a,
|
|
197
199
|
options: u
|
|
198
200
|
});
|
|
199
|
-
return
|
|
201
|
+
return s(y);
|
|
200
202
|
}
|
|
201
203
|
function z(e, n, t = {}) {
|
|
202
|
-
const u = e == null ? void 0 : e.trim(), a = n == null ? void 0 : n.trim(),
|
|
204
|
+
const u = e == null ? void 0 : e.trim(), a = n == null ? void 0 : n.trim(), i = !!(u && a), y = c(async () => await r.files.getFileByFolderIdAndName({
|
|
203
205
|
folderId: u,
|
|
204
206
|
name: a
|
|
205
|
-
})), g =
|
|
207
|
+
})), g = l({
|
|
206
208
|
queryKey: [
|
|
207
209
|
"file",
|
|
208
210
|
"getFileByFolderIdAndName",
|
|
209
211
|
u,
|
|
210
212
|
a
|
|
211
213
|
],
|
|
212
|
-
queryFn:
|
|
213
|
-
enabled:
|
|
214
|
+
queryFn: y,
|
|
215
|
+
enabled: i,
|
|
214
216
|
options: t
|
|
215
217
|
});
|
|
216
|
-
return
|
|
218
|
+
return s(g);
|
|
217
219
|
}
|
|
218
220
|
function Y(e, n, t = {}) {
|
|
219
221
|
const u = !!e && !!n, a = c(async () => {
|
|
220
222
|
if (!e || !n)
|
|
221
223
|
throw new Error("Type and ID are required");
|
|
222
224
|
return console.log("Fetching published workbook by ID..."), await r.workbook.getPublishedWorkbookById({ type: e, id: n });
|
|
223
|
-
}),
|
|
225
|
+
}), i = l({
|
|
224
226
|
queryKey: ["workbook", "getPublishedWorkbookById", e, n],
|
|
225
227
|
queryFn: a,
|
|
226
228
|
enabled: u,
|
|
227
229
|
options: t
|
|
228
230
|
});
|
|
229
|
-
return i
|
|
231
|
+
return s(i);
|
|
230
232
|
}
|
|
231
233
|
function $(e, n = {}) {
|
|
232
234
|
const t = !!e, u = c(async () => {
|
|
233
235
|
if (!e)
|
|
234
236
|
throw new Error("Run ID is required");
|
|
235
237
|
return await r.statement.getRunResultById(e);
|
|
236
|
-
}), a =
|
|
238
|
+
}), a = l({
|
|
237
239
|
queryKey: ["statement", "getRunResultById", e],
|
|
238
240
|
queryFn: u,
|
|
239
241
|
enabled: t,
|
|
240
242
|
options: n
|
|
241
243
|
});
|
|
242
|
-
return
|
|
244
|
+
return s(a);
|
|
243
245
|
}
|
|
244
246
|
function J(e, n = {}) {
|
|
245
247
|
const t = !!e, u = c(async () => {
|
|
246
248
|
if (!e)
|
|
247
249
|
throw new Error("View ID is required");
|
|
248
250
|
return await r.statement.getRunsByViewId(e);
|
|
249
|
-
}), a =
|
|
251
|
+
}), a = l({
|
|
250
252
|
queryKey: ["statement", "getRunsByViewId", e],
|
|
251
253
|
queryFn: u,
|
|
252
254
|
enabled: t,
|
|
253
255
|
options: n
|
|
254
256
|
});
|
|
255
|
-
return
|
|
257
|
+
return s(a);
|
|
256
258
|
}
|
|
257
259
|
function X(e, n, t, u = {}) {
|
|
258
|
-
const a = !!e,
|
|
260
|
+
const a = !!e, i = c(async () => {
|
|
259
261
|
if (!e)
|
|
260
262
|
throw new Error("Statement ID is required");
|
|
261
263
|
return await r.statement.getData({
|
|
@@ -263,67 +265,67 @@ function X(e, n, t, u = {}) {
|
|
|
263
265
|
viewId: n || void 0,
|
|
264
266
|
runId: t || void 0
|
|
265
267
|
});
|
|
266
|
-
}),
|
|
268
|
+
}), y = l({
|
|
267
269
|
queryKey: ["statement", "getData", e, n, t],
|
|
268
|
-
queryFn:
|
|
270
|
+
queryFn: i,
|
|
269
271
|
enabled: a,
|
|
270
272
|
options: u
|
|
271
273
|
});
|
|
272
|
-
return
|
|
274
|
+
return s(y);
|
|
273
275
|
}
|
|
274
276
|
function Z(e, n = {}) {
|
|
275
277
|
const t = !!e, u = c(async () => {
|
|
276
278
|
if (!e)
|
|
277
279
|
throw new Error("Table ID is required");
|
|
278
280
|
return console.log("Fetching table by ID..."), await r.inputTable.getTableById(e);
|
|
279
|
-
}), a =
|
|
281
|
+
}), a = l({
|
|
280
282
|
queryKey: ["inputTable", "getTableById", e],
|
|
281
283
|
queryFn: u,
|
|
282
284
|
enabled: t,
|
|
283
285
|
options: n
|
|
284
286
|
});
|
|
285
|
-
return
|
|
287
|
+
return s(a);
|
|
286
288
|
}
|
|
287
289
|
function j(e, n = {}) {
|
|
288
290
|
const t = !!e, u = c(async () => {
|
|
289
291
|
if (!e)
|
|
290
292
|
throw new Error("View ID is required");
|
|
291
293
|
return await r.statement.getViewById(e);
|
|
292
|
-
}), a =
|
|
294
|
+
}), a = l({
|
|
293
295
|
queryKey: ["statement", "getViewById", e],
|
|
294
296
|
queryFn: u,
|
|
295
297
|
enabled: t,
|
|
296
298
|
options: n
|
|
297
299
|
});
|
|
298
|
-
return
|
|
300
|
+
return s(a);
|
|
299
301
|
}
|
|
300
302
|
function ee(e, n = {}) {
|
|
301
303
|
const t = !!e, u = c(async () => {
|
|
302
304
|
if (!e)
|
|
303
305
|
throw new Error("Sheet ID is required");
|
|
304
306
|
return await r.statement.getViewsBySheetId(e);
|
|
305
|
-
}), a =
|
|
307
|
+
}), a = l({
|
|
306
308
|
queryKey: ["statement", "getViewsBySheetId", e],
|
|
307
309
|
queryFn: u,
|
|
308
310
|
enabled: t,
|
|
309
311
|
options: n
|
|
310
312
|
});
|
|
311
|
-
return
|
|
313
|
+
return s(a);
|
|
312
314
|
}
|
|
313
315
|
function ne(e, n = {}) {
|
|
314
316
|
const t = !!e, u = c(async () => {
|
|
315
317
|
if (!e)
|
|
316
318
|
throw new Error("Type is required");
|
|
317
319
|
return console.log("Fetching workbooks by type..."), await r.workbook.getWorkbooksByType(e);
|
|
318
|
-
}), a =
|
|
320
|
+
}), a = l({
|
|
319
321
|
queryKey: ["workbook", "getWorkbooksByType", e],
|
|
320
322
|
queryFn: u,
|
|
321
323
|
enabled: t,
|
|
322
324
|
options: n
|
|
323
325
|
});
|
|
324
|
-
return
|
|
326
|
+
return s(a);
|
|
325
327
|
}
|
|
326
|
-
var
|
|
328
|
+
var p = /* @__PURE__ */ ((e) => (e.Succeeded = "Succeeded", e.Failed = "Failed", e.Running = "Running", e.NotFound = "NotFound", e))(p || {});
|
|
327
329
|
function te(e = {}) {
|
|
328
330
|
return o({
|
|
329
331
|
mutationFn: async (n) => (console.log("Fetching workflow instance status..."), await r.workflow.getWorkflowInstanceStatusById(n)),
|
|
@@ -335,35 +337,35 @@ function re(e, n = {}) {
|
|
|
335
337
|
if (!e || e.length === 0)
|
|
336
338
|
throw new Error("Worksheet IDs are required");
|
|
337
339
|
return console.log("Fetching worksheets..."), await r.worksheet.getWorksheets(e);
|
|
338
|
-
}), a =
|
|
340
|
+
}), a = l({
|
|
339
341
|
queryKey: ["worksheet", "getWorksheets", e],
|
|
340
342
|
queryFn: u,
|
|
341
343
|
enabled: t,
|
|
342
344
|
options: n
|
|
343
345
|
});
|
|
344
|
-
return
|
|
346
|
+
return s(a);
|
|
345
347
|
}
|
|
346
348
|
function ue(e, n = {}) {
|
|
347
349
|
const t = !!e, u = c(async () => {
|
|
348
350
|
if (!e)
|
|
349
351
|
throw new Error("Type is required");
|
|
350
352
|
return console.log("Fetching worksheets by type..."), await r.worksheet.getWorksheetsByType(e);
|
|
351
|
-
}), a =
|
|
353
|
+
}), a = l({
|
|
352
354
|
queryKey: ["worksheet", "getWorksheetsByType", e],
|
|
353
355
|
queryFn: u,
|
|
354
356
|
enabled: t,
|
|
355
357
|
options: n
|
|
356
358
|
});
|
|
357
|
-
return
|
|
359
|
+
return s(a);
|
|
358
360
|
}
|
|
359
|
-
function
|
|
361
|
+
function ae(e, n, t = {}) {
|
|
360
362
|
const {
|
|
361
363
|
limitParams: u = { limit: 2e3, limitFrom: "top" },
|
|
362
364
|
pageParams: a,
|
|
363
|
-
sortParams:
|
|
364
|
-
offsetParam:
|
|
365
|
+
sortParams: i,
|
|
366
|
+
offsetParam: y,
|
|
365
367
|
...g
|
|
366
|
-
} = t,
|
|
368
|
+
} = t, f = g.enabled !== !1 && !!e && !!n, m = c(async () => {
|
|
367
369
|
if (!e || !n)
|
|
368
370
|
throw new Error("Input table ID and view ID are required");
|
|
369
371
|
return console.log("Fetching input table data..."), await r.inputTable.getData({
|
|
@@ -371,26 +373,26 @@ function oe(e, n, t = {}) {
|
|
|
371
373
|
inputTableViewId: n,
|
|
372
374
|
pageParams: a,
|
|
373
375
|
limitParams: u,
|
|
374
|
-
sortParams:
|
|
375
|
-
offsetParam:
|
|
376
|
+
sortParams: i,
|
|
377
|
+
offsetParam: y
|
|
376
378
|
});
|
|
377
|
-
}),
|
|
379
|
+
}), q = l({
|
|
378
380
|
queryKey: ["inputTableData", e, n],
|
|
379
|
-
queryFn:
|
|
380
|
-
enabled:
|
|
381
|
+
queryFn: m,
|
|
382
|
+
enabled: f,
|
|
381
383
|
options: g
|
|
382
384
|
});
|
|
383
|
-
return
|
|
385
|
+
return s(q);
|
|
384
386
|
}
|
|
385
|
-
function
|
|
386
|
-
const e = c(async () => (console.log("Fetching input table data..."), await r.inputTable.getInputTables())), n =
|
|
387
|
+
function oe() {
|
|
388
|
+
const e = c(async () => (console.log("Fetching input table data..."), await r.inputTable.getInputTables())), n = l({
|
|
387
389
|
queryKey: ["inputTableData"],
|
|
388
390
|
queryFn: e,
|
|
389
391
|
enabled: !0
|
|
390
392
|
});
|
|
391
|
-
return
|
|
393
|
+
return s(n);
|
|
392
394
|
}
|
|
393
|
-
function
|
|
395
|
+
function se(e, n = {}) {
|
|
394
396
|
const t = [
|
|
395
397
|
"enabled",
|
|
396
398
|
"staleTime",
|
|
@@ -399,41 +401,41 @@ function ie(e, n = {}) {
|
|
|
399
401
|
"retryDelay",
|
|
400
402
|
"onSuccess",
|
|
401
403
|
"onError"
|
|
402
|
-
], { limit: u, offset: a, order:
|
|
404
|
+
], { limit: u, offset: a, order: i, order_by: y, ...g } = n, f = {}, m = { limit: u, offset: a, order: i, order_by: y };
|
|
403
405
|
Object.keys(g).forEach((d) => {
|
|
404
|
-
t.includes(d) ?
|
|
406
|
+
t.includes(d) ? f[d] = g[d] : m[d] = g[d];
|
|
405
407
|
});
|
|
406
|
-
const
|
|
408
|
+
const q = f.enabled !== !1 && !!e, h = c(async () => {
|
|
407
409
|
if (!e)
|
|
408
410
|
throw new Error("Table ID is required");
|
|
409
|
-
return console.log("Fetching input table rows..."), await r.inputTable.getRows(e,
|
|
410
|
-
}), T =
|
|
411
|
+
return console.log("Fetching input table rows..."), await r.inputTable.getRows(e, m);
|
|
412
|
+
}), T = l({
|
|
411
413
|
queryKey: ["inputTableRows", e, n],
|
|
412
|
-
queryFn:
|
|
413
|
-
enabled:
|
|
414
|
-
options:
|
|
414
|
+
queryFn: h,
|
|
415
|
+
enabled: q,
|
|
416
|
+
options: f
|
|
415
417
|
});
|
|
416
|
-
return
|
|
418
|
+
return s(T);
|
|
417
419
|
}
|
|
418
|
-
function
|
|
419
|
-
const n =
|
|
420
|
+
function ie(e = {}) {
|
|
421
|
+
const n = w();
|
|
420
422
|
return o({
|
|
421
423
|
mutationFn: async (t) => (console.log("Inserting row into input table..."), await r.inputTable.insertRow(t.tableId, t.rowData)),
|
|
422
424
|
onSuccess: (t, u, a) => {
|
|
423
|
-
var
|
|
425
|
+
var i;
|
|
424
426
|
n.invalidateQueries({
|
|
425
427
|
queryKey: ["inputTableRows", u.tableId]
|
|
426
|
-
}), (
|
|
428
|
+
}), (i = e.onSuccess) == null || i.call(e, t);
|
|
427
429
|
},
|
|
428
430
|
onError: (t, u, a) => {
|
|
429
|
-
var
|
|
430
|
-
(
|
|
431
|
+
var i;
|
|
432
|
+
(i = e.onError) == null || i.call(e, t);
|
|
431
433
|
},
|
|
432
434
|
...e
|
|
433
435
|
});
|
|
434
436
|
}
|
|
435
437
|
function ce(e = {}) {
|
|
436
|
-
const n =
|
|
438
|
+
const n = w();
|
|
437
439
|
return o({
|
|
438
440
|
mutationFn: async (t) => (console.log("Updating input table row..."), await r.inputTable.updateRow(
|
|
439
441
|
t.tableId,
|
|
@@ -441,20 +443,20 @@ function ce(e = {}) {
|
|
|
441
443
|
t.rowId
|
|
442
444
|
)),
|
|
443
445
|
onSuccess: (t, u, a) => {
|
|
444
|
-
var
|
|
446
|
+
var i;
|
|
445
447
|
n.invalidateQueries({
|
|
446
448
|
queryKey: ["inputTableRows", u.tableId]
|
|
447
|
-
}), (
|
|
449
|
+
}), (i = e.onSuccess) == null || i.call(e, t);
|
|
448
450
|
},
|
|
449
451
|
onError: (t, u, a) => {
|
|
450
|
-
var
|
|
451
|
-
(
|
|
452
|
+
var i;
|
|
453
|
+
(i = e.onError) == null || i.call(e, t);
|
|
452
454
|
},
|
|
453
455
|
...e
|
|
454
456
|
});
|
|
455
457
|
}
|
|
456
|
-
function
|
|
457
|
-
const n =
|
|
458
|
+
function le(e = {}) {
|
|
459
|
+
const n = w();
|
|
458
460
|
return o({
|
|
459
461
|
mutationFn: async (t) => (console.log("Deleting input table row(s)..."), await r.inputTable.deleteRow(
|
|
460
462
|
t.tableId,
|
|
@@ -462,37 +464,37 @@ function ye(e = {}) {
|
|
|
462
464
|
t.idField
|
|
463
465
|
)),
|
|
464
466
|
onSuccess: (t, u, a) => {
|
|
465
|
-
var
|
|
467
|
+
var i;
|
|
466
468
|
n.invalidateQueries({
|
|
467
469
|
queryKey: ["inputTableRows", u.tableId]
|
|
468
|
-
}), (
|
|
470
|
+
}), (i = e.onSuccess) == null || i.call(e, t);
|
|
469
471
|
},
|
|
470
472
|
onError: (t, u, a) => {
|
|
471
|
-
var
|
|
472
|
-
(
|
|
473
|
+
var i;
|
|
474
|
+
(i = e.onError) == null || i.call(e, t);
|
|
473
475
|
},
|
|
474
476
|
...e
|
|
475
477
|
});
|
|
476
478
|
}
|
|
477
|
-
function
|
|
479
|
+
function ye(e = {}) {
|
|
478
480
|
return o({
|
|
479
481
|
mutationFn: async (n) => (console.log("Running definition..."), await r.definition.runDefinition(n)),
|
|
480
482
|
...e
|
|
481
483
|
});
|
|
482
484
|
}
|
|
483
|
-
function
|
|
485
|
+
function ge(e = {}) {
|
|
484
486
|
return o({
|
|
485
487
|
mutationFn: async (n) => await r.definition.runPublishedDefinition(n),
|
|
486
488
|
...e
|
|
487
489
|
});
|
|
488
490
|
}
|
|
489
|
-
function
|
|
491
|
+
function we(e = {}) {
|
|
490
492
|
return o({
|
|
491
493
|
mutationFn: async (n) => await r.definition.runSampleDefinition(n),
|
|
492
494
|
...e
|
|
493
495
|
});
|
|
494
496
|
}
|
|
495
|
-
function
|
|
497
|
+
function fe(e = {}) {
|
|
496
498
|
return o({
|
|
497
499
|
mutationFn: async (n) => (console.log("Triggering HTTP workflow..."), await r.workflow.triggerHttpWorkflowById(n)),
|
|
498
500
|
...e
|
|
@@ -505,18 +507,18 @@ function de(e = {}) {
|
|
|
505
507
|
});
|
|
506
508
|
}
|
|
507
509
|
function B(e = {}) {
|
|
508
|
-
const n = e.enabled !== !1, t = c(async () => (console.log("Fetching user details..."), await r.user.getLoggedInUserDetails())), u =
|
|
510
|
+
const n = e.enabled !== !1, t = c(async () => (console.log("Fetching user details..."), await r.user.getLoggedInUserDetails())), u = l({
|
|
509
511
|
queryKey: ["user"],
|
|
510
512
|
queryFn: t,
|
|
511
513
|
enabled: n,
|
|
512
514
|
options: e
|
|
513
515
|
});
|
|
514
|
-
return
|
|
516
|
+
return s(u);
|
|
515
517
|
}
|
|
516
|
-
const
|
|
517
|
-
var
|
|
518
|
-
const F = (
|
|
519
|
-
function
|
|
518
|
+
const me = B, K = ["Owner", "Editor", "Viewer", "ReadOnly"];
|
|
519
|
+
var b;
|
|
520
|
+
const F = (b = r.permissions) == null ? void 0 : b.getPermissions;
|
|
521
|
+
function qe(e, n, t = {}) {
|
|
520
522
|
const u = t.enabled !== !1 && !!(e != null && e.trim()), a = c(
|
|
521
523
|
async () => {
|
|
522
524
|
if (!(e != null && e.trim()))
|
|
@@ -525,28 +527,28 @@ function fe(e, n, t = {}) {
|
|
|
525
527
|
throw new Error(
|
|
526
528
|
"@bluecopa/core: permissions.getPermissions not available. Rebuild the core package."
|
|
527
529
|
);
|
|
528
|
-
const
|
|
529
|
-
if (!
|
|
530
|
+
const y = k();
|
|
531
|
+
if (!y.userId)
|
|
530
532
|
throw new Error(
|
|
531
533
|
"@bluecopa/core: userId is required. Call copaSetConfig({ userId, ... }) before using useDocumentPermissions."
|
|
532
534
|
);
|
|
533
535
|
return await F({
|
|
534
536
|
objectId: e.trim(),
|
|
535
537
|
objectType: n,
|
|
536
|
-
user:
|
|
538
|
+
user: y.userId,
|
|
537
539
|
userType: "User",
|
|
538
|
-
relations: t.relations ??
|
|
540
|
+
relations: t.relations ?? K
|
|
539
541
|
});
|
|
540
542
|
},
|
|
541
543
|
void 0,
|
|
542
544
|
0
|
|
543
|
-
),
|
|
545
|
+
), i = l({
|
|
544
546
|
queryKey: ["documentPermissions", e ?? "", n, t.relations ?? []],
|
|
545
547
|
queryFn: a,
|
|
546
548
|
enabled: u,
|
|
547
549
|
options: t
|
|
548
550
|
});
|
|
549
|
-
return i
|
|
551
|
+
return s(i);
|
|
550
552
|
}
|
|
551
553
|
function Fe(e = {}) {
|
|
552
554
|
return o({
|
|
@@ -554,48 +556,48 @@ function Fe(e = {}) {
|
|
|
554
556
|
...e
|
|
555
557
|
});
|
|
556
558
|
}
|
|
557
|
-
function
|
|
559
|
+
function be({
|
|
558
560
|
fileId: e,
|
|
559
561
|
contentType: n = "application/json",
|
|
560
562
|
method: t = "GET"
|
|
561
563
|
}, u = {}) {
|
|
562
|
-
const a = !!e,
|
|
564
|
+
const a = !!e, i = c(async () => {
|
|
563
565
|
if (!e)
|
|
564
566
|
throw new Error("File ID is required");
|
|
565
567
|
return console.log("Downloading file..."), await r.files.fileDownload({ fileId: e, contentType: n, method: t });
|
|
566
|
-
}),
|
|
568
|
+
}), y = l({
|
|
567
569
|
queryKey: ["file", "fileDownload", e],
|
|
568
|
-
queryFn:
|
|
570
|
+
queryFn: i,
|
|
569
571
|
enabled: a,
|
|
570
572
|
options: u
|
|
571
573
|
});
|
|
572
|
-
return
|
|
574
|
+
return s(y);
|
|
573
575
|
}
|
|
574
|
-
function
|
|
576
|
+
function De(e, n = {}) {
|
|
575
577
|
const t = !!e, u = c(async () => {
|
|
576
578
|
if (!e)
|
|
577
579
|
throw new Error("Task ID is required");
|
|
578
580
|
return console.log("Fetching task details..."), await r.task.getTaskDetails({ taskId: e });
|
|
579
|
-
}), a =
|
|
581
|
+
}), a = l({
|
|
580
582
|
queryKey: ["task", "getTaskDetails", e],
|
|
581
583
|
queryFn: u,
|
|
582
584
|
enabled: t,
|
|
583
585
|
options: n
|
|
584
586
|
});
|
|
585
|
-
return
|
|
587
|
+
return s(a);
|
|
586
588
|
}
|
|
587
|
-
function
|
|
589
|
+
function he(e, n = {}) {
|
|
588
590
|
const t = !!e, u = c(async () => {
|
|
589
591
|
if (!e)
|
|
590
592
|
throw new Error("Workbook ID is required");
|
|
591
593
|
return console.log("Fetching workbook details..."), await r.workbook.getWorkbookDetails({ workbookId: e });
|
|
592
|
-
}), a =
|
|
594
|
+
}), a = l({
|
|
593
595
|
queryKey: ["workbook", "getWorkbookDetails", e],
|
|
594
596
|
queryFn: u,
|
|
595
597
|
enabled: t,
|
|
596
598
|
options: n
|
|
597
599
|
});
|
|
598
|
-
return
|
|
600
|
+
return s(a);
|
|
599
601
|
}
|
|
600
602
|
function Te(e = {}) {
|
|
601
603
|
return o({
|
|
@@ -603,26 +605,26 @@ function Te(e = {}) {
|
|
|
603
605
|
...e
|
|
604
606
|
});
|
|
605
607
|
}
|
|
606
|
-
function
|
|
608
|
+
function ke(e = {}) {
|
|
607
609
|
return o({
|
|
608
610
|
mutationFn: async (n) => (console.log("Publishing workbook..."), await r.workbook.publishWorkbook(n)),
|
|
609
611
|
...e
|
|
610
612
|
});
|
|
611
613
|
}
|
|
612
|
-
function
|
|
614
|
+
function Se(e = {}) {
|
|
613
615
|
return o({
|
|
614
616
|
mutationFn: async (n) => (console.log("Running recon workflow..."), await r.recon.runRecon(n)),
|
|
615
617
|
...e
|
|
616
618
|
});
|
|
617
619
|
}
|
|
618
|
-
function
|
|
620
|
+
function Ee(e, n, t = {}) {
|
|
619
621
|
const u = !!e && !!n, a = c(async () => {
|
|
620
622
|
if (!e || !n)
|
|
621
623
|
throw new Error("Form instance ID and revision are required");
|
|
622
624
|
return console.log("Fetching form schema..."), await r.form.getFormSchema({ formInstanceId: e, formRevision: n });
|
|
623
625
|
});
|
|
624
|
-
return
|
|
625
|
-
|
|
626
|
+
return s(
|
|
627
|
+
l({
|
|
626
628
|
queryKey: ["form", "getFormSchema", e, n],
|
|
627
629
|
queryFn: a,
|
|
628
630
|
enabled: u,
|
|
@@ -635,16 +637,16 @@ function Ce(e, n = {}) {
|
|
|
635
637
|
if (!e)
|
|
636
638
|
throw new Error("Form ID is required");
|
|
637
639
|
return console.log("Fetching form data..."), await r.form.getFormData({ formId: e });
|
|
638
|
-
}), a =
|
|
640
|
+
}), a = l({
|
|
639
641
|
queryKey: ["form", "getFormData", e],
|
|
640
642
|
queryFn: u,
|
|
641
643
|
enabled: t,
|
|
642
644
|
options: n
|
|
643
645
|
});
|
|
644
|
-
return
|
|
646
|
+
return s(a);
|
|
645
647
|
}
|
|
646
|
-
function
|
|
647
|
-
return
|
|
648
|
+
function pe(e, n = {}) {
|
|
649
|
+
return s({
|
|
648
650
|
queryKey: ["form", e],
|
|
649
651
|
queryFn: async () => {
|
|
650
652
|
if (!e)
|
|
@@ -661,68 +663,68 @@ function Be(e = {}) {
|
|
|
661
663
|
...e
|
|
662
664
|
});
|
|
663
665
|
}
|
|
664
|
-
function
|
|
666
|
+
function Ke(e = {}) {
|
|
665
667
|
return o({
|
|
666
668
|
mutationFn: async (n) => await r.audit.getAuditLogs(n),
|
|
667
669
|
...e
|
|
668
670
|
});
|
|
669
671
|
}
|
|
670
|
-
function
|
|
672
|
+
function Re(e = {}) {
|
|
671
673
|
return o({
|
|
672
674
|
mutationFn: async (n) => await r.audit.createAuditLog(n),
|
|
673
675
|
...e
|
|
674
676
|
});
|
|
675
677
|
}
|
|
676
|
-
function
|
|
677
|
-
return
|
|
678
|
+
function Oe(e = {}) {
|
|
679
|
+
return s({
|
|
678
680
|
queryKey: ["templatedPipelines"],
|
|
679
681
|
queryFn: async () => await r.templatedPipeline.getAllTemplatedPipelines(),
|
|
680
682
|
...e
|
|
681
683
|
});
|
|
682
684
|
}
|
|
683
|
-
function
|
|
684
|
-
return
|
|
685
|
+
function Ae(e = {}) {
|
|
686
|
+
return s({
|
|
685
687
|
queryKey: ["reconWorkflows"],
|
|
686
688
|
queryFn: async () => await r.recon.getAllReconWorkflows(),
|
|
687
689
|
...e
|
|
688
690
|
});
|
|
689
691
|
}
|
|
690
|
-
function
|
|
691
|
-
return
|
|
692
|
+
function Pe(e = {}) {
|
|
693
|
+
return s({
|
|
692
694
|
queryKey: ["users"],
|
|
693
695
|
queryFn: async () => await r.user.getAllUsers(),
|
|
694
696
|
...e
|
|
695
697
|
});
|
|
696
698
|
}
|
|
697
|
-
function
|
|
698
|
-
return
|
|
699
|
+
function Ge(e = {}) {
|
|
700
|
+
return s({
|
|
699
701
|
queryKey: ["httpTriggers"],
|
|
700
702
|
queryFn: async () => await r.workflow.getAllHttpTriggers(),
|
|
701
703
|
...e
|
|
702
704
|
});
|
|
703
705
|
}
|
|
704
|
-
function
|
|
706
|
+
function Ue(e = {}) {
|
|
705
707
|
return o({
|
|
706
708
|
mutationFn: async (n) => await r.process.markTaskDone(n),
|
|
707
709
|
...e
|
|
708
710
|
});
|
|
709
711
|
}
|
|
710
|
-
function
|
|
712
|
+
function ve(e = {}) {
|
|
711
713
|
return o({
|
|
712
714
|
mutationFn: async (n) => await r.process.reassignTask(n),
|
|
713
715
|
...e
|
|
714
716
|
});
|
|
715
717
|
}
|
|
716
|
-
function
|
|
717
|
-
return
|
|
718
|
+
function We(e, n = {}) {
|
|
719
|
+
return s({
|
|
718
720
|
queryKey: ["processTriggers", e],
|
|
719
721
|
queryFn: async () => await r.process.getTriggersBySheet(e),
|
|
720
722
|
enabled: !!e,
|
|
721
723
|
...n
|
|
722
724
|
});
|
|
723
725
|
}
|
|
724
|
-
function
|
|
725
|
-
const n =
|
|
726
|
+
function Me(e = {}) {
|
|
727
|
+
const n = w();
|
|
726
728
|
return o({
|
|
727
729
|
mutationFn: async (t) => await r.process.registerProcessTrigger(t),
|
|
728
730
|
onSuccess: (t, u) => {
|
|
@@ -733,8 +735,8 @@ function xe(e = {}) {
|
|
|
733
735
|
...e
|
|
734
736
|
});
|
|
735
737
|
}
|
|
736
|
-
function
|
|
737
|
-
const n =
|
|
738
|
+
function xe(e = {}) {
|
|
739
|
+
const n = w();
|
|
738
740
|
return o({
|
|
739
741
|
mutationFn: async ({ id: t }) => await r.process.deleteProcessTrigger(t),
|
|
740
742
|
onSuccess: (t, u) => {
|
|
@@ -745,40 +747,40 @@ function Ie(e = {}) {
|
|
|
745
747
|
...e
|
|
746
748
|
});
|
|
747
749
|
}
|
|
748
|
-
function
|
|
749
|
-
return
|
|
750
|
+
function Ie(e = {}, n = {}) {
|
|
751
|
+
return s({
|
|
750
752
|
queryKey: ["inboxItems", "all", e.page, e.perPage],
|
|
751
753
|
queryFn: async () => await r.inboxItems.getAllInboxItems(e),
|
|
752
754
|
...n
|
|
753
755
|
});
|
|
754
756
|
}
|
|
755
|
-
function
|
|
757
|
+
function Qe(e = {}) {
|
|
756
758
|
return o({
|
|
757
759
|
mutationFn: async (n) => await r.inboxItems.markItemAsRead(n),
|
|
758
760
|
...e
|
|
759
761
|
});
|
|
760
762
|
}
|
|
761
|
-
function
|
|
763
|
+
function He(e = {}) {
|
|
762
764
|
return o({
|
|
763
765
|
mutationFn: async (n) => await r.inboxItems.markItemAsUnread(n),
|
|
764
766
|
...e
|
|
765
767
|
});
|
|
766
768
|
}
|
|
767
|
-
function
|
|
769
|
+
function _e(e = {}) {
|
|
768
770
|
return o({
|
|
769
771
|
mutationFn: async (n) => await r.inboxItems.createInboxItemPerUser(n),
|
|
770
772
|
...e
|
|
771
773
|
});
|
|
772
774
|
}
|
|
773
|
-
function
|
|
774
|
-
return
|
|
775
|
+
function Le(e, n = {}) {
|
|
776
|
+
return s({
|
|
775
777
|
queryKey: ["emailConversations", e == null ? void 0 : e.page, e == null ? void 0 : e.pageSize, e == null ? void 0 : e.tag, e == null ? void 0 : e.orderByCreatedDate],
|
|
776
778
|
queryFn: async () => await r.emailEngine.getAllConversations(e),
|
|
777
779
|
...n
|
|
778
780
|
});
|
|
779
781
|
}
|
|
780
782
|
function Ne(e, n = {}) {
|
|
781
|
-
return
|
|
783
|
+
return s({
|
|
782
784
|
queryKey: ["emailConversation", e],
|
|
783
785
|
queryFn: async () => await r.emailEngine.getConversation({
|
|
784
786
|
conversationId: e
|
|
@@ -788,7 +790,7 @@ function Ne(e, n = {}) {
|
|
|
788
790
|
});
|
|
789
791
|
}
|
|
790
792
|
function Ve(e = {}) {
|
|
791
|
-
const n =
|
|
793
|
+
const n = w();
|
|
792
794
|
return o({
|
|
793
795
|
mutationFn: async (t) => await r.emailEngine.createConversation(t),
|
|
794
796
|
onSuccess: () => {
|
|
@@ -798,7 +800,7 @@ function Ve(e = {}) {
|
|
|
798
800
|
});
|
|
799
801
|
}
|
|
800
802
|
function ze(e = {}) {
|
|
801
|
-
const n =
|
|
803
|
+
const n = w();
|
|
802
804
|
return o({
|
|
803
805
|
mutationFn: async (t) => await r.emailEngine.replyToConversation(t),
|
|
804
806
|
onSuccess: (t, u) => {
|
|
@@ -810,7 +812,7 @@ function ze(e = {}) {
|
|
|
810
812
|
});
|
|
811
813
|
}
|
|
812
814
|
function Ye(e, n = {}) {
|
|
813
|
-
return
|
|
815
|
+
return s({
|
|
814
816
|
queryKey: [
|
|
815
817
|
"emailMessagesBySender",
|
|
816
818
|
e.senderId,
|
|
@@ -825,13 +827,13 @@ function Ye(e, n = {}) {
|
|
|
825
827
|
});
|
|
826
828
|
}
|
|
827
829
|
function $e(e = {}) {
|
|
828
|
-
const n = c(async () => await r.tcn.getAuthUrl()), t =
|
|
830
|
+
const n = c(async () => await r.tcn.getAuthUrl()), t = l({
|
|
829
831
|
queryKey: ["tcn", "authUrl"],
|
|
830
832
|
queryFn: n,
|
|
831
833
|
enabled: !0,
|
|
832
834
|
options: e
|
|
833
835
|
});
|
|
834
|
-
return
|
|
836
|
+
return s(t);
|
|
835
837
|
}
|
|
836
838
|
function Je(e = {}) {
|
|
837
839
|
return o({
|
|
@@ -887,13 +889,13 @@ function un(e = {}) {
|
|
|
887
889
|
...e
|
|
888
890
|
});
|
|
889
891
|
}
|
|
890
|
-
function
|
|
892
|
+
function an(e = {}) {
|
|
891
893
|
return o({
|
|
892
894
|
mutationFn: async ({ token: n, call: t }) => await r.tcn.processManualDial(n, t),
|
|
893
895
|
...e
|
|
894
896
|
});
|
|
895
897
|
}
|
|
896
|
-
function
|
|
898
|
+
function on(e = {}) {
|
|
897
899
|
return o({
|
|
898
900
|
mutationFn: async ({ token: n, agentSessionSid: t, huntGroupSid: u, simpleCallData: a }) => await r.tcn.manualDialStart(
|
|
899
901
|
n,
|
|
@@ -916,454 +918,135 @@ function cn(e = {}) {
|
|
|
916
918
|
...e
|
|
917
919
|
});
|
|
918
920
|
}
|
|
919
|
-
function
|
|
921
|
+
function ln(e = {}) {
|
|
920
922
|
return o({
|
|
921
923
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentSetReady(n, t),
|
|
922
924
|
...e
|
|
923
925
|
});
|
|
924
926
|
}
|
|
925
|
-
function
|
|
927
|
+
function yn(e = {}) {
|
|
926
928
|
return o({
|
|
927
929
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentGetConnectedParty(n, t),
|
|
928
930
|
...e
|
|
929
931
|
});
|
|
930
932
|
}
|
|
931
|
-
function
|
|
933
|
+
function gn(e = {}) {
|
|
932
934
|
return o({
|
|
933
935
|
mutationFn: async ({ token: n, callSid: t }) => await r.tcn.getCallData(n, t),
|
|
934
936
|
...e
|
|
935
937
|
});
|
|
936
938
|
}
|
|
937
|
-
function
|
|
939
|
+
function wn(e = {}) {
|
|
938
940
|
return o({
|
|
939
941
|
mutationFn: async ({ token: n, sessionSid: t, holdType: u }) => await r.tcn.agentPutCallOnHold(n, t, u),
|
|
940
942
|
...e
|
|
941
943
|
});
|
|
942
944
|
}
|
|
943
|
-
function
|
|
945
|
+
function fn(e = {}) {
|
|
944
946
|
return o({
|
|
945
947
|
mutationFn: async ({ token: n, sessionSid: t, holdType: u }) => await r.tcn.agentGetCallFromHold(n, t, u),
|
|
946
948
|
...e
|
|
947
949
|
});
|
|
948
950
|
}
|
|
949
951
|
function dn(e = {}) {
|
|
950
|
-
return i({
|
|
951
|
-
queryKey: ["webcronWebhooks"],
|
|
952
|
-
queryFn: async () => await r.webcron.listWebhooks(),
|
|
953
|
-
...e
|
|
954
|
-
});
|
|
955
|
-
}
|
|
956
|
-
function qn(e, n = {}) {
|
|
957
|
-
return i({
|
|
958
|
-
queryKey: ["webcronWebhook", e],
|
|
959
|
-
queryFn: async () => await r.webcron.getWebhook(e),
|
|
960
|
-
enabled: !!e,
|
|
961
|
-
...n
|
|
962
|
-
});
|
|
963
|
-
}
|
|
964
|
-
function fn(e = {}) {
|
|
965
|
-
const n = l();
|
|
966
|
-
return o({
|
|
967
|
-
mutationFn: async (t) => await r.webcron.createWebhook(t),
|
|
968
|
-
onSuccess: () => {
|
|
969
|
-
n.invalidateQueries({ queryKey: ["webcronWebhooks"] });
|
|
970
|
-
},
|
|
971
|
-
...e
|
|
972
|
-
});
|
|
973
|
-
}
|
|
974
|
-
function Fn(e = {}) {
|
|
975
|
-
const n = l();
|
|
976
|
-
return o({
|
|
977
|
-
mutationFn: async (t) => await r.webcron.updateWebhook(t.id, t.data),
|
|
978
|
-
onSuccess: () => {
|
|
979
|
-
n.invalidateQueries({ queryKey: ["webcronWebhooks"] });
|
|
980
|
-
},
|
|
981
|
-
...e
|
|
982
|
-
});
|
|
983
|
-
}
|
|
984
|
-
function hn(e = {}) {
|
|
985
|
-
const n = l();
|
|
986
|
-
return o({
|
|
987
|
-
mutationFn: async (t) => await r.webcron.deleteWebhook(t),
|
|
988
|
-
onSuccess: () => {
|
|
989
|
-
n.invalidateQueries({ queryKey: ["webcronWebhooks"] });
|
|
990
|
-
},
|
|
991
|
-
...e
|
|
992
|
-
});
|
|
993
|
-
}
|
|
994
|
-
function mn(e = {}) {
|
|
995
|
-
return o({
|
|
996
|
-
mutationFn: async (n) => await r.webcron.testWebhook(n),
|
|
997
|
-
...e
|
|
998
|
-
});
|
|
999
|
-
}
|
|
1000
|
-
function kn(e, n, t = {}) {
|
|
1001
|
-
return i({
|
|
1002
|
-
queryKey: ["webcronWebhookExecutions", e, n == null ? void 0 : n.limit, n == null ? void 0 : n.offset],
|
|
1003
|
-
queryFn: async () => await r.webcron.getWebhookExecutions(e, n),
|
|
1004
|
-
enabled: !!e,
|
|
1005
|
-
...t
|
|
1006
|
-
});
|
|
1007
|
-
}
|
|
1008
|
-
function Tn(e, n = {}) {
|
|
1009
|
-
return i({
|
|
1010
|
-
queryKey: ["webcronWebhookSchedules", e],
|
|
1011
|
-
queryFn: async () => await r.webcron.getWebhookSchedules(e),
|
|
1012
|
-
enabled: !!e,
|
|
1013
|
-
...n
|
|
1014
|
-
});
|
|
1015
|
-
}
|
|
1016
|
-
function Sn(e = {}) {
|
|
1017
|
-
const n = l();
|
|
1018
|
-
return o({
|
|
1019
|
-
mutationFn: async (t) => await r.webcron.createWebhookSchedule(t.webhookId, t.data),
|
|
1020
|
-
onSuccess: (t, u) => {
|
|
1021
|
-
n.invalidateQueries({ queryKey: ["webcronWebhookSchedules", u.webhookId] });
|
|
1022
|
-
},
|
|
1023
|
-
...e
|
|
1024
|
-
});
|
|
1025
|
-
}
|
|
1026
|
-
function Dn(e, n = {}) {
|
|
1027
|
-
return i({
|
|
1028
|
-
queryKey: ["webcronSchedule", e],
|
|
1029
|
-
queryFn: async () => await r.webcron.getSchedule(e),
|
|
1030
|
-
enabled: !!e,
|
|
1031
|
-
...n
|
|
1032
|
-
});
|
|
1033
|
-
}
|
|
1034
|
-
function Kn(e = {}) {
|
|
1035
|
-
const n = l();
|
|
1036
|
-
return o({
|
|
1037
|
-
mutationFn: async (t) => await r.webcron.updateSchedule(t.id, t.data),
|
|
1038
|
-
onSuccess: (t, u) => {
|
|
1039
|
-
n.invalidateQueries({ queryKey: ["webcronSchedule", u.id] });
|
|
1040
|
-
},
|
|
1041
|
-
...e
|
|
1042
|
-
});
|
|
1043
|
-
}
|
|
1044
|
-
function Cn(e = {}) {
|
|
1045
|
-
const n = l();
|
|
1046
|
-
return o({
|
|
1047
|
-
mutationFn: async (t) => await r.webcron.deleteSchedule(t),
|
|
1048
|
-
onSuccess: () => {
|
|
1049
|
-
n.invalidateQueries({ queryKey: ["webcronWebhookSchedules"] });
|
|
1050
|
-
},
|
|
1051
|
-
...e
|
|
1052
|
-
});
|
|
1053
|
-
}
|
|
1054
|
-
function En(e = {}) {
|
|
1055
|
-
const n = l();
|
|
1056
|
-
return o({
|
|
1057
|
-
mutationFn: async (t) => await r.webcron.pauseSchedule(t),
|
|
1058
|
-
onSuccess: (t, u) => {
|
|
1059
|
-
n.invalidateQueries({ queryKey: ["webcronSchedule", u] });
|
|
1060
|
-
},
|
|
1061
|
-
...e
|
|
1062
|
-
});
|
|
1063
|
-
}
|
|
1064
|
-
function Bn(e = {}) {
|
|
1065
|
-
const n = l();
|
|
1066
|
-
return o({
|
|
1067
|
-
mutationFn: async (t) => await r.webcron.resumeSchedule(t),
|
|
1068
|
-
onSuccess: (t, u) => {
|
|
1069
|
-
n.invalidateQueries({ queryKey: ["webcronSchedule", u] });
|
|
1070
|
-
},
|
|
1071
|
-
...e
|
|
1072
|
-
});
|
|
1073
|
-
}
|
|
1074
|
-
function Rn(e = {}) {
|
|
1075
|
-
const n = l();
|
|
1076
|
-
return o({
|
|
1077
|
-
mutationFn: async (t) => await r.webcron.triggerSchedule(t),
|
|
1078
|
-
onSuccess: () => {
|
|
1079
|
-
n.invalidateQueries({ queryKey: ["webcronWebhookExecutions"] });
|
|
1080
|
-
},
|
|
1081
|
-
...e
|
|
1082
|
-
});
|
|
1083
|
-
}
|
|
1084
|
-
function Wn(e, n = {}) {
|
|
1085
|
-
return i({
|
|
1086
|
-
queryKey: ["webcronExecutions", e == null ? void 0 : e.status, e == null ? void 0 : e.webhookId, e == null ? void 0 : e.limit, e == null ? void 0 : e.offset],
|
|
1087
|
-
queryFn: async () => await r.webcron.listExecutions(e),
|
|
1088
|
-
...n
|
|
1089
|
-
});
|
|
1090
|
-
}
|
|
1091
|
-
function Gn(e, n = {}) {
|
|
1092
|
-
return i({
|
|
1093
|
-
queryKey: ["webcronExecution", e],
|
|
1094
|
-
queryFn: async () => await r.webcron.getExecution(e),
|
|
1095
|
-
enabled: !!e,
|
|
1096
|
-
...n
|
|
1097
|
-
});
|
|
1098
|
-
}
|
|
1099
|
-
function On(e = {}) {
|
|
1100
|
-
const n = l();
|
|
1101
|
-
return o({
|
|
1102
|
-
mutationFn: async (t) => await r.webcron.retryExecution(t),
|
|
1103
|
-
onSuccess: () => {
|
|
1104
|
-
n.invalidateQueries({ queryKey: ["webcronExecutions"] });
|
|
1105
|
-
},
|
|
1106
|
-
...e
|
|
1107
|
-
});
|
|
1108
|
-
}
|
|
1109
|
-
function vn(e = {}) {
|
|
1110
|
-
return i({
|
|
1111
|
-
queryKey: ["webcronTasks"],
|
|
1112
|
-
queryFn: async () => await r.webcron.listTasks(),
|
|
1113
|
-
...e
|
|
1114
|
-
});
|
|
1115
|
-
}
|
|
1116
|
-
function Pn(e = {}) {
|
|
1117
|
-
const n = l();
|
|
1118
|
-
return o({
|
|
1119
|
-
mutationFn: async (t) => await r.webcron.createTask(t),
|
|
1120
|
-
onSuccess: () => {
|
|
1121
|
-
n.invalidateQueries({ queryKey: ["webcronTasks"] });
|
|
1122
|
-
},
|
|
1123
|
-
...e
|
|
1124
|
-
});
|
|
1125
|
-
}
|
|
1126
|
-
function An(e, n = {}) {
|
|
1127
|
-
return i({
|
|
1128
|
-
queryKey: ["webcronTask", e],
|
|
1129
|
-
queryFn: async () => await r.webcron.getTask(e),
|
|
1130
|
-
enabled: !!e,
|
|
1131
|
-
...n
|
|
1132
|
-
});
|
|
1133
|
-
}
|
|
1134
|
-
function Un(e = {}) {
|
|
1135
|
-
const n = l();
|
|
1136
|
-
return o({
|
|
1137
|
-
mutationFn: async (t) => await r.webcron.cancelTask(t),
|
|
1138
|
-
onSuccess: (t, u) => {
|
|
1139
|
-
n.invalidateQueries({ queryKey: ["webcronTask", u] }), n.invalidateQueries({ queryKey: ["webcronTasks"] });
|
|
1140
|
-
},
|
|
1141
|
-
...e
|
|
1142
|
-
});
|
|
1143
|
-
}
|
|
1144
|
-
function Qn(e = {}) {
|
|
1145
|
-
const n = l();
|
|
1146
|
-
return o({
|
|
1147
|
-
mutationFn: async (t) => await r.webcron.retryTask(t),
|
|
1148
|
-
onSuccess: () => {
|
|
1149
|
-
n.invalidateQueries({ queryKey: ["webcronTasks"] });
|
|
1150
|
-
},
|
|
1151
|
-
...e
|
|
1152
|
-
});
|
|
1153
|
-
}
|
|
1154
|
-
function xn(e = {}) {
|
|
1155
|
-
const n = l();
|
|
1156
|
-
return o({
|
|
1157
|
-
mutationFn: async (t) => await r.webcron.progressTask(t.id, t.data),
|
|
1158
|
-
onSuccess: (t, u) => {
|
|
1159
|
-
n.invalidateQueries({ queryKey: ["webcronTask", u.id] });
|
|
1160
|
-
},
|
|
1161
|
-
...e
|
|
1162
|
-
});
|
|
1163
|
-
}
|
|
1164
|
-
function In(e = {}) {
|
|
1165
|
-
const n = l();
|
|
1166
|
-
return o({
|
|
1167
|
-
mutationFn: async (t) => await r.webcron.signalTask(t.id, t.data, t.branchId),
|
|
1168
|
-
onSuccess: (t, u) => {
|
|
1169
|
-
n.invalidateQueries({ queryKey: ["webcronTask", u.id] });
|
|
1170
|
-
},
|
|
1171
|
-
...e
|
|
1172
|
-
});
|
|
1173
|
-
}
|
|
1174
|
-
function Mn(e = {}) {
|
|
1175
|
-
return i({
|
|
1176
|
-
queryKey: ["webcronBins"],
|
|
1177
|
-
queryFn: async () => await r.webcron.listBins(),
|
|
1178
|
-
...e
|
|
1179
|
-
});
|
|
1180
|
-
}
|
|
1181
|
-
function _n(e, n = {}) {
|
|
1182
|
-
return i({
|
|
1183
|
-
queryKey: ["webcronBin", e],
|
|
1184
|
-
queryFn: async () => await r.webcron.getBin(e),
|
|
1185
|
-
enabled: !!e,
|
|
1186
|
-
...n
|
|
1187
|
-
});
|
|
1188
|
-
}
|
|
1189
|
-
function pn(e = {}) {
|
|
1190
|
-
const n = l();
|
|
1191
|
-
return o({
|
|
1192
|
-
mutationFn: async (t) => await r.webcron.createBin(t),
|
|
1193
|
-
onSuccess: () => {
|
|
1194
|
-
n.invalidateQueries({ queryKey: ["webcronBins"] });
|
|
1195
|
-
},
|
|
1196
|
-
...e
|
|
1197
|
-
});
|
|
1198
|
-
}
|
|
1199
|
-
function Ln(e = {}) {
|
|
1200
|
-
const n = l();
|
|
1201
|
-
return o({
|
|
1202
|
-
mutationFn: async (t) => await r.webcron.deleteBin(t),
|
|
1203
|
-
onSuccess: () => {
|
|
1204
|
-
n.invalidateQueries({ queryKey: ["webcronBins"] });
|
|
1205
|
-
},
|
|
1206
|
-
...e
|
|
1207
|
-
});
|
|
1208
|
-
}
|
|
1209
|
-
function Hn(e, n, t = {}) {
|
|
1210
|
-
return i({
|
|
1211
|
-
queryKey: ["webcronBinRequests", e, n == null ? void 0 : n.limit, n == null ? void 0 : n.offset],
|
|
1212
|
-
queryFn: async () => await r.webcron.getBinRequests(e, n),
|
|
1213
|
-
enabled: !!e,
|
|
1214
|
-
...t
|
|
1215
|
-
});
|
|
1216
|
-
}
|
|
1217
|
-
function Nn(e = {}) {
|
|
1218
|
-
const n = l();
|
|
1219
|
-
return o({
|
|
1220
|
-
mutationFn: async (t) => await r.webcron.clearBinRequests(t),
|
|
1221
|
-
onSuccess: (t, u) => {
|
|
1222
|
-
n.invalidateQueries({ queryKey: ["webcronBinRequests", u] });
|
|
1223
|
-
},
|
|
1224
|
-
...e
|
|
1225
|
-
});
|
|
1226
|
-
}
|
|
1227
|
-
function Vn(e = {}) {
|
|
1228
|
-
return o({
|
|
1229
|
-
mutationFn: async (n) => await r.webcron.triggerWorkflowById(
|
|
1230
|
-
n.id,
|
|
1231
|
-
n.data
|
|
1232
|
-
),
|
|
1233
|
-
...e
|
|
1234
|
-
});
|
|
1235
|
-
}
|
|
1236
|
-
function zn(e = {}) {
|
|
1237
952
|
return o({
|
|
1238
953
|
mutationFn: async (n) => await r.templates.renderTemplate(n),
|
|
1239
954
|
...e
|
|
1240
955
|
});
|
|
1241
956
|
}
|
|
1242
957
|
export {
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
Nn as useClearBinRequests,
|
|
1249
|
-
We as useCreateAuditLog,
|
|
958
|
+
bn as ReactQueryDevtools,
|
|
959
|
+
p as WorkflowStatus,
|
|
960
|
+
O as reactQuery,
|
|
961
|
+
H as useCheckSubscriptionStatus,
|
|
962
|
+
Re as useCreateAuditLog,
|
|
1250
963
|
Ve as useCreateConversation,
|
|
1251
|
-
|
|
1252
|
-
pn as useCreateInspectionBin,
|
|
964
|
+
_e as useCreateInboxItemPerUser,
|
|
1253
965
|
Be as useCreateOrUpdateForm,
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
Ie as useDeleteProcessTrigger,
|
|
1264
|
-
ye as useDeleteRow,
|
|
1265
|
-
Cn as useDeleteSchedule,
|
|
1266
|
-
hn as useDeleteWebhook,
|
|
1267
|
-
fe as useDocumentPermissions,
|
|
1268
|
-
he as useFileDownload,
|
|
966
|
+
_ as useCreateStatementRun,
|
|
967
|
+
U as useCreateThread,
|
|
968
|
+
L as useDataset,
|
|
969
|
+
G as useDatasetSample,
|
|
970
|
+
x as useDeleteComment,
|
|
971
|
+
xe as useDeleteProcessTrigger,
|
|
972
|
+
le as useDeleteRow,
|
|
973
|
+
qe as useDocumentPermissions,
|
|
974
|
+
be as useFileDownload,
|
|
1269
975
|
Fe as useFileUpload,
|
|
1270
976
|
Ye as useFilterMessagesBySenderId,
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
U as useGetCommentsByThreadId,
|
|
977
|
+
Le as useGetAllConversations,
|
|
978
|
+
Ge as useGetAllHttpTriggers,
|
|
979
|
+
Ie as useGetAllInboxItems,
|
|
980
|
+
Ae as useGetAllRecon,
|
|
981
|
+
Oe as useGetAllTemplatedPipelines,
|
|
982
|
+
Pe as useGetAllUsers,
|
|
983
|
+
Ke as useGetAuditLogs,
|
|
984
|
+
v as useGetCommentsByThreadId,
|
|
1280
985
|
Ne as useGetConversation,
|
|
1281
986
|
N as useGetDatasets,
|
|
1282
|
-
Gn as useGetExecution,
|
|
1283
987
|
z as useGetFileByFolderIdAndName,
|
|
1284
988
|
V as useGetFileUrlByFileId,
|
|
1285
|
-
|
|
989
|
+
pe as useGetFormById,
|
|
1286
990
|
Ce as useGetFormData,
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
_n as useGetInspectionBin,
|
|
991
|
+
Ee as useGetFormSchema,
|
|
992
|
+
oe as useGetInputTables,
|
|
1290
993
|
Y as useGetPublishedWorkbookById,
|
|
1291
994
|
$ as useGetRunResultById,
|
|
1292
995
|
J as useGetRunsByViewId,
|
|
1293
|
-
Dn as useGetSchedule,
|
|
1294
996
|
X as useGetStatementData,
|
|
1295
997
|
Z as useGetTableById,
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
Qe as useGetTriggersBySheet,
|
|
998
|
+
De as useGetTaskDetails,
|
|
999
|
+
We as useGetTriggersBySheet,
|
|
1299
1000
|
j as useGetViewById,
|
|
1300
1001
|
ee as useGetViewsBySheetId,
|
|
1301
|
-
|
|
1302
|
-
kn as useGetWebhookExecutions,
|
|
1303
|
-
Tn as useGetWebhookSchedules,
|
|
1304
|
-
ke as useGetWorkbookDetails,
|
|
1002
|
+
he as useGetWorkbookDetails,
|
|
1305
1003
|
ne as useGetWorkbooksByType,
|
|
1306
1004
|
te as useGetWorkflowInstanceStatusById,
|
|
1307
1005
|
re as useGetWorksheets,
|
|
1308
1006
|
ue as useGetWorksheetsByType,
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
Q as usePostComment,
|
|
1321
|
-
Se as usePublishWorkbook,
|
|
1322
|
-
Ue as useReassignTask,
|
|
1323
|
-
xe as useRegisterProcessTrigger,
|
|
1324
|
-
zn as useRenderTemplate,
|
|
1007
|
+
ae as useInputTable,
|
|
1008
|
+
ie as useInsertRow,
|
|
1009
|
+
Qe as useMarkItemAsRead,
|
|
1010
|
+
He as useMarkItemAsUnread,
|
|
1011
|
+
Ue as useMarkTaskDone,
|
|
1012
|
+
P as useMetric,
|
|
1013
|
+
W as usePostComment,
|
|
1014
|
+
ke as usePublishWorkbook,
|
|
1015
|
+
ve as useReassignTask,
|
|
1016
|
+
Me as useRegisterProcessTrigger,
|
|
1017
|
+
dn as useRenderTemplate,
|
|
1325
1018
|
ze as useReplyToConversation,
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
we as useRunPublishedDefinition,
|
|
1332
|
-
De as useRunRecon,
|
|
1333
|
-
ge as useRunSampleDefinition,
|
|
1019
|
+
se as useRows,
|
|
1020
|
+
ye as useRunDefinition,
|
|
1021
|
+
ge as useRunPublishedDefinition,
|
|
1022
|
+
Se as useRunRecon,
|
|
1023
|
+
we as useRunSampleDefinition,
|
|
1334
1024
|
Te as useSaveWorkbook,
|
|
1335
|
-
|
|
1336
|
-
xn as useTaskProgress,
|
|
1337
|
-
In as useTaskSignal,
|
|
1025
|
+
I as useSubscribeUser,
|
|
1338
1026
|
sn as useTcnAgentDisconnect,
|
|
1339
|
-
|
|
1027
|
+
fn as useTcnAgentGetCallFromHold,
|
|
1340
1028
|
tn as useTcnAgentGetStatus,
|
|
1341
1029
|
cn as useTcnAgentPause,
|
|
1342
|
-
|
|
1343
|
-
|
|
1030
|
+
wn as useTcnAgentPutCallOnHold,
|
|
1031
|
+
ln as useTcnAgentSetReady,
|
|
1344
1032
|
je as useTcnAgentSkills,
|
|
1345
1033
|
$e as useTcnAuthUrl,
|
|
1346
|
-
|
|
1347
|
-
|
|
1034
|
+
gn as useTcnCallData,
|
|
1035
|
+
yn as useTcnConnectedParty,
|
|
1348
1036
|
en as useTcnCreateSession,
|
|
1349
1037
|
Ze as useTcnCurrentAgent,
|
|
1350
1038
|
un as useTcnDialManualPrepare,
|
|
1351
1039
|
Je as useTcnExchangeCode,
|
|
1352
1040
|
rn as useTcnHuntGroupSettings,
|
|
1353
1041
|
nn as useTcnKeepAlive,
|
|
1354
|
-
|
|
1355
|
-
|
|
1042
|
+
on as useTcnManualDialStart,
|
|
1043
|
+
an as useTcnProcessManualDial,
|
|
1356
1044
|
Xe as useTcnRefreshToken,
|
|
1357
|
-
|
|
1358
|
-
be as useTriggerHttpWorkflow,
|
|
1359
|
-
Rn as useTriggerSchedule,
|
|
1045
|
+
fe as useTriggerHttpWorkflow,
|
|
1360
1046
|
de as useTriggerWorkflow,
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
x as useUpdateComment,
|
|
1047
|
+
Q as useUnsubscribeUser,
|
|
1048
|
+
M as useUpdateComment,
|
|
1364
1049
|
ce as useUpdateRow,
|
|
1365
|
-
Kn as useUpdateSchedule,
|
|
1366
|
-
Fn as useUpdateWebhook,
|
|
1367
1050
|
B as useUser,
|
|
1368
|
-
|
|
1051
|
+
me as useUserDetails
|
|
1369
1052
|
};
|