@bluecopa/react 0.1.114 → 0.1.116

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.
@@ -0,0 +1,13 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ export type DeleteWorkbookOption = "DELETE_FOR_ME" | "DELETE_FOR_EVERYONE";
3
+ export interface DeleteWorkbookRequest {
4
+ workbookId: string;
5
+ option?: DeleteWorkbookOption;
6
+ }
7
+ /**
8
+ * Custom hook for deleting a workbook using TanStack React Query
9
+ * @param options - Mutation options
10
+ * @returns useMutation for deleting workbook
11
+ */
12
+ export declare function useDeleteWorkbook(options?: {}): UseMutationResult<void, Error, DeleteWorkbookRequest>;
13
+ //# sourceMappingURL=useDeleteWorkbook.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeleteWorkbook.d.ts","sourceRoot":"","sources":["../../src/hooks/useDeleteWorkbook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG5E,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,qBAAqB,CAAC;AAE3E,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,KAAK,GACX,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,qBAAqB,CAAC,CAQvD"}
package/dist/index.d.ts CHANGED
@@ -11,7 +11,6 @@ export * from './hooks/useDeleteComment';
11
11
  export * from './hooks/useGetCommentsByThreadId';
12
12
  export * from './hooks/useGetFileUrlByFileId';
13
13
  export * from './hooks/useGetFileByFolderIdAndName';
14
- export * from './hooks/useGetFileById';
15
14
  export * from './hooks/useGetPublishedWorkbookById';
16
15
  export * from './hooks/useGetRunResultById';
17
16
  export * from './hooks/useGetRunsByViewId';
@@ -49,6 +48,7 @@ export * from './hooks/useGetTaskDetails';
49
48
  export * from './hooks/useGetWorkbookDetails';
50
49
  export * from './hooks/useSaveWorkbook';
51
50
  export * from './hooks/usePublishWorkbook';
51
+ export * from './hooks/useDeleteWorkbook';
52
52
  export * from './hooks/useRunRecon';
53
53
  export * from './hooks/useGetFormSchema';
54
54
  export * from './hooks/useGetFormData';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0CAA0C,CAAC;AACzD,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,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CAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAE1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wBAAwB,CAAC;AACvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4BAA4B,CAAC;AAG3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AAGnD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC"}
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useQuery as s, useMutation as u, useQueryClient as w } from "@tanstack/react-query";
2
2
  import * as ue from "@tanstack/react-query";
3
- import { copaApi as r, copaGetConfig as C, copaUtils as v } from "@bluecopa/core";
3
+ import { copaApi as r, copaGetConfig as I, copaUtils as v } from "@bluecopa/core";
4
4
  export * from "@bluecopa/core";
5
5
  import { useState as b, useRef as A, useEffect as P, useMemo as h, useCallback as G } from "react";
6
6
  import { ReactQueryDevtools as Ur } from "@tanstack/react-query-devtools";
@@ -226,15 +226,6 @@ function Re(e, n, t = {}) {
226
226
  });
227
227
  return s(l);
228
228
  }
229
- function Se(e, n = {}) {
230
- const t = e?.trim(), a = !!t, o = y(async () => await r.files.getFileById({ id: t })), i = d({
231
- queryKey: ["file", "getFileById", t],
232
- queryFn: o,
233
- enabled: a,
234
- options: n
235
- });
236
- return s(i);
237
- }
238
229
  function ke(e, n, t = {}) {
239
230
  const a = !!e && !!n, o = y(async () => {
240
231
  if (!e || !n)
@@ -248,7 +239,7 @@ function ke(e, n, t = {}) {
248
239
  });
249
240
  return s(i);
250
241
  }
251
- function Ie(e, n = {}) {
242
+ function Se(e, n = {}) {
252
243
  const t = !!e, a = y(async () => {
253
244
  if (!e)
254
245
  throw new Error("Run ID is required");
@@ -274,7 +265,7 @@ function Ce(e, n = {}) {
274
265
  });
275
266
  return s(o);
276
267
  }
277
- function Pe(e, n, t, a = {}) {
268
+ function Ie(e, n, t, a = {}) {
278
269
  const o = !!e, i = y(async () => {
279
270
  if (!e)
280
271
  throw new Error("Statement ID is required");
@@ -291,7 +282,7 @@ function Pe(e, n, t, a = {}) {
291
282
  });
292
283
  return s(c);
293
284
  }
294
- function xe(e, n = {}) {
285
+ function Pe(e, n = {}) {
295
286
  const t = !!e, a = y(async () => {
296
287
  if (!e)
297
288
  throw new Error("Table ID is required");
@@ -304,7 +295,7 @@ function xe(e, n = {}) {
304
295
  });
305
296
  return s(o);
306
297
  }
307
- function Ke(e, n = {}) {
298
+ function xe(e, n = {}) {
308
299
  const t = !!e, a = y(async () => {
309
300
  if (!e)
310
301
  throw new Error("View ID is required");
@@ -317,7 +308,7 @@ function Ke(e, n = {}) {
317
308
  });
318
309
  return s(o);
319
310
  }
320
- function Ve(e, n = {}) {
311
+ function Ke(e, n = {}) {
321
312
  const t = !!e, a = y(async () => {
322
313
  if (!e)
323
314
  throw new Error("Sheet ID is required");
@@ -330,7 +321,7 @@ function Ve(e, n = {}) {
330
321
  });
331
322
  return s(o);
332
323
  }
333
- function Ee(e, n = {}) {
324
+ function Ve(e, n = {}) {
334
325
  const t = !!e, a = y(async () => {
335
326
  if (!e)
336
327
  throw new Error("Type is required");
@@ -344,13 +335,13 @@ function Ee(e, n = {}) {
344
335
  return s(o);
345
336
  }
346
337
  var U = /* @__PURE__ */ ((e) => (e.Succeeded = "Succeeded", e.Failed = "Failed", e.Running = "Running", e.NotFound = "NotFound", e))(U || {});
347
- function Be(e = {}) {
338
+ function Ee(e = {}) {
348
339
  return u({
349
340
  mutationFn: async (n) => (console.log("Fetching workflow instance status..."), await r.workflow.getWorkflowInstanceStatusById(n)),
350
341
  ...e
351
342
  });
352
343
  }
353
- function ve(e, n = {}) {
344
+ function Be(e, n = {}) {
354
345
  const t = !!e && e.length > 0, a = y(async () => {
355
346
  if (!e || e.length === 0)
356
347
  throw new Error("Worksheet IDs are required");
@@ -363,7 +354,7 @@ function ve(e, n = {}) {
363
354
  });
364
355
  return s(o);
365
356
  }
366
- function Ae(e, n = {}) {
357
+ function ve(e, n = {}) {
367
358
  const t = !!e, a = y(async () => {
368
359
  if (!e)
369
360
  throw new Error("Type is required");
@@ -376,7 +367,7 @@ function Ae(e, n = {}) {
376
367
  });
377
368
  return s(o);
378
369
  }
379
- function Ge(e, n, t = {}) {
370
+ function Ae(e, n, t = {}) {
380
371
  const {
381
372
  limitParams: a = { limit: 2e3, limitFrom: "top" },
382
373
  pageParams: o,
@@ -402,7 +393,7 @@ function Ge(e, n, t = {}) {
402
393
  });
403
394
  return s(m);
404
395
  }
405
- function Oe() {
396
+ function Ge() {
406
397
  const e = y(async () => (console.log("Fetching input table data..."), await r.inputTable.getInputTables())), n = d({
407
398
  queryKey: ["inputTableData"],
408
399
  queryFn: e,
@@ -410,7 +401,7 @@ function Oe() {
410
401
  });
411
402
  return s(n);
412
403
  }
413
- function Me(e, n = {}) {
404
+ function Oe(e, n = {}) {
414
405
  const t = [
415
406
  "enabled",
416
407
  "staleTime",
@@ -435,7 +426,7 @@ function Me(e, n = {}) {
435
426
  });
436
427
  return s(p);
437
428
  }
438
- function Le(e = {}) {
429
+ function Me(e = {}) {
439
430
  const n = w();
440
431
  return u({
441
432
  mutationFn: async (t) => (console.log("Inserting row into input table..."), await r.inputTable.insertRow(t.tableId, t.rowData)),
@@ -450,7 +441,7 @@ function Le(e = {}) {
450
441
  ...e
451
442
  });
452
443
  }
453
- function Ue(e = {}) {
444
+ function Le(e = {}) {
454
445
  const n = w();
455
446
  return u({
456
447
  mutationFn: async (t) => (console.log("Updating input table row..."), await r.inputTable.updateRow(
@@ -469,7 +460,7 @@ function Ue(e = {}) {
469
460
  ...e
470
461
  });
471
462
  }
472
- function Qe(e = {}) {
463
+ function Ue(e = {}) {
473
464
  const n = w();
474
465
  return u({
475
466
  mutationFn: async (t) => (console.log("Deleting input table row(s)..."), await r.inputTable.deleteRow(
@@ -488,31 +479,31 @@ function Qe(e = {}) {
488
479
  ...e
489
480
  });
490
481
  }
491
- function We(e = {}) {
482
+ function Qe(e = {}) {
492
483
  return u({
493
484
  mutationFn: async (n) => (console.log("Running definition..."), await r.definition.runDefinition(n)),
494
485
  ...e
495
486
  });
496
487
  }
497
- function He(e = {}) {
488
+ function We(e = {}) {
498
489
  return u({
499
490
  mutationFn: async (n) => await r.definition.runPublishedDefinition(n),
500
491
  ...e
501
492
  });
502
493
  }
503
- function _e(e = {}) {
494
+ function He(e = {}) {
504
495
  return u({
505
496
  mutationFn: async (n) => await r.definition.runSampleDefinition(n),
506
497
  ...e
507
498
  });
508
499
  }
509
- function ze(e = {}) {
500
+ function _e(e = {}) {
510
501
  return u({
511
502
  mutationFn: async (n) => (console.log("Triggering HTTP workflow..."), await r.workflow.triggerHttpWorkflowById(n)),
512
503
  ...e
513
504
  });
514
505
  }
515
- function Ne(e = {}) {
506
+ function ze(e = {}) {
516
507
  return u({
517
508
  mutationFn: async (n) => (console.log("Triggering workflow..."), await r.workflow.triggerWorkflowById(n)),
518
509
  ...e
@@ -527,22 +518,22 @@ function Q(e = {}) {
527
518
  });
528
519
  return s(a);
529
520
  }
530
- const je = Q, W = ["Owner", "Editor", "Viewer", "ReadOnly"], I = r.permissions?.getPermissions;
531
- function $e(e, n, t = {}) {
521
+ const Ne = Q, W = ["Owner", "Editor", "Viewer", "ReadOnly"], C = r.permissions?.getPermissions;
522
+ function je(e, n, t = {}) {
532
523
  const a = t.enabled !== !1 && !!e?.trim(), o = y(
533
524
  async () => {
534
525
  if (!e?.trim())
535
526
  return {};
536
- if (!I)
527
+ if (!C)
537
528
  throw new Error(
538
529
  "@bluecopa/core: permissions.getPermissions not available. Rebuild the core package."
539
530
  );
540
- const c = C();
531
+ const c = I();
541
532
  if (!c.userId)
542
533
  throw new Error(
543
534
  "@bluecopa/core: userId is required. Call copaSetConfig({ userId, ... }) before using useDocumentPermissions."
544
535
  );
545
- return await I({
536
+ return await C({
546
537
  objectId: e.trim(),
547
538
  objectType: n,
548
539
  user: c.userId,
@@ -560,13 +551,13 @@ function $e(e, n, t = {}) {
560
551
  });
561
552
  return s(i);
562
553
  }
563
- function Je(e = {}) {
554
+ function $e(e = {}) {
564
555
  return u({
565
556
  mutationFn: async (n) => (console.log("Uploading file..."), await r.files.fileUpload(n)),
566
557
  ...e
567
558
  });
568
559
  }
569
- function Xe({
560
+ function Je({
570
561
  fileId: e,
571
562
  contentType: n = "application/json",
572
563
  method: t = "GET"
@@ -583,7 +574,7 @@ function Xe({
583
574
  });
584
575
  return s(c);
585
576
  }
586
- function Ye(e, n = {}) {
577
+ function Xe(e, n = {}) {
587
578
  const t = !!e, a = y(async () => {
588
579
  if (!e)
589
580
  throw new Error("Task ID is required");
@@ -596,7 +587,7 @@ function Ye(e, n = {}) {
596
587
  });
597
588
  return s(o);
598
589
  }
599
- function Ze(e, n = {}) {
590
+ function Ye(e, n = {}) {
600
591
  const t = !!e, a = y(async () => {
601
592
  if (!e)
602
593
  throw new Error("Workbook ID is required");
@@ -609,18 +600,24 @@ function Ze(e, n = {}) {
609
600
  });
610
601
  return s(o);
611
602
  }
612
- function en(e = {}) {
603
+ function Ze(e = {}) {
613
604
  return u({
614
605
  mutationFn: async (n) => (console.log("Saving workbook..."), await r.workbook.saveWorkbook(n)),
615
606
  ...e
616
607
  });
617
608
  }
618
- function nn(e = {}) {
609
+ function en(e = {}) {
619
610
  return u({
620
611
  mutationFn: async (n) => (console.log("Publishing workbook..."), await r.workbook.publishWorkbook(n)),
621
612
  ...e
622
613
  });
623
614
  }
615
+ function nn(e = {}) {
616
+ return u({
617
+ mutationFn: async (n) => (console.log("Deleting workbook..."), await r.workbook.deleteWorkbook(n)),
618
+ ...e
619
+ });
620
+ }
624
621
  function tn(e = {}) {
625
622
  return u({
626
623
  mutationFn: async (n) => (console.log("Running recon workflow..."), await r.recon.runRecon(n)),
@@ -837,7 +834,7 @@ function Y(e, n = {}) {
837
834
  return c.current = n.onComplete, P(() => {
838
835
  if (!e)
839
836
  return;
840
- const l = C().websocketProvider;
837
+ const l = I().websocketProvider;
841
838
  if (!l)
842
839
  return;
843
840
  a(void 0), i(!1);
@@ -945,27 +942,27 @@ function Rn({
945
942
  refetch: c.refetch
946
943
  };
947
944
  }
948
- function Sn(e = {}) {
945
+ function kn(e = {}) {
949
946
  return s({
950
947
  queryKey: ["users"],
951
948
  queryFn: async () => await r.user.getAllUsers(),
952
949
  ...e
953
950
  });
954
951
  }
955
- function kn(e = {}) {
952
+ function Sn(e = {}) {
956
953
  return s({
957
954
  queryKey: ["httpTriggers"],
958
955
  queryFn: async () => await r.workflow.getAllHttpTriggers(),
959
956
  ...e
960
957
  });
961
958
  }
962
- function In(e = {}) {
959
+ function Cn(e = {}) {
963
960
  return u({
964
961
  mutationFn: async (n) => await r.process.markTaskDone(n),
965
962
  ...e
966
963
  });
967
964
  }
968
- function Cn(e = {}) {
965
+ function In(e = {}) {
969
966
  return u({
970
967
  mutationFn: async (n) => await r.process.reassignTask(n),
971
968
  ...e
@@ -1409,7 +1406,7 @@ function Rt(e, n = {}) {
1409
1406
  ...n
1410
1407
  });
1411
1408
  }
1412
- function St(e = {}) {
1409
+ function kt(e = {}) {
1413
1410
  const n = w();
1414
1411
  return u({
1415
1412
  mutationFn: async (t) => await r.emailEngine.createConversation(t),
@@ -1419,7 +1416,7 @@ function St(e = {}) {
1419
1416
  ...e
1420
1417
  });
1421
1418
  }
1422
- function kt(e = {}) {
1419
+ function St(e = {}) {
1423
1420
  const n = w();
1424
1421
  return u({
1425
1422
  mutationFn: async (t) => await r.emailEngine.replyToConversation(t),
@@ -1431,7 +1428,7 @@ function kt(e = {}) {
1431
1428
  ...e
1432
1429
  });
1433
1430
  }
1434
- function It(e, n = {}) {
1431
+ function Ct(e, n = {}) {
1435
1432
  return s({
1436
1433
  queryKey: [
1437
1434
  "emailMessagesBySender",
@@ -1446,7 +1443,7 @@ function It(e, n = {}) {
1446
1443
  ...n
1447
1444
  });
1448
1445
  }
1449
- function Ct(e = {}) {
1446
+ function It(e = {}) {
1450
1447
  return u({
1451
1448
  mutationFn: async (n) => await r.emailEngine.searchMessages(n),
1452
1449
  ...e
@@ -1874,7 +1871,7 @@ function Rr(e = {}) {
1874
1871
  ...e
1875
1872
  });
1876
1873
  }
1877
- function Sr(e, n = {}) {
1874
+ function kr(e, n = {}) {
1878
1875
  const t = !!e, a = y(async () => {
1879
1876
  if (!e)
1880
1877
  throw new Error("Holiday calendar id is required");
@@ -1887,7 +1884,7 @@ function Sr(e, n = {}) {
1887
1884
  });
1888
1885
  return s(o);
1889
1886
  }
1890
- function kr(e = {}) {
1887
+ function Sr(e = {}) {
1891
1888
  return u({
1892
1889
  mutationFn: async ({ id: n, items: t }) => await r.periodManagement.importHolidays(n, t),
1893
1890
  ...e
@@ -1899,7 +1896,7 @@ function ne(e, n) {
1899
1896
  e
1900
1897
  );
1901
1898
  }
1902
- function Ir(e, n = {}) {
1899
+ function Cr(e, n = {}) {
1903
1900
  const t = s({
1904
1901
  ...n,
1905
1902
  queryKey: ["pipeline", "list"],
@@ -1929,7 +1926,7 @@ function te(e, n = {}) {
1929
1926
  refetch: a.refetch
1930
1927
  };
1931
1928
  }
1932
- function Cr(e, n = {}) {
1929
+ function Ir(e, n = {}) {
1933
1930
  const { runs: t, isLoading: a, error: o, refetch: i } = te(e, n);
1934
1931
  return { run: h(() => {
1935
1932
  const l = t.filter((g) => g.status === "SUCCEEDED");
@@ -1950,7 +1947,7 @@ function Pr(e, n, t = {}) {
1950
1947
  ), g = h(
1951
1948
  () => c.data?.edges ?? [],
1952
1949
  [c.data]
1953
- ), f = (T) => l.find((S) => S.id === T)?.data, m = s({
1950
+ ), f = (T) => l.find((k) => k.id === T)?.data, m = s({
1954
1951
  queryKey: ["pipeline", "runs", a],
1955
1952
  queryFn: async () => r.pipeline.getPipelineRunStatus(a),
1956
1953
  enabled: i
@@ -1960,12 +1957,12 @@ function Pr(e, n, t = {}) {
1960
1957
  ), [p, F] = b(!1), D = q?.datasetId, R = s({
1961
1958
  queryKey: ["pipeline", "output", o, D],
1962
1959
  queryFn: async () => {
1963
- const T = r.pipeline.buildDatasetDefinition(D), [S, k] = await Promise.all([
1960
+ const T = r.pipeline.buildDatasetDefinition(D), [k, S] = await Promise.all([
1964
1961
  r.definition.runDefinition({ inputs: {}, definition: T, variable: D }),
1965
1962
  r.definition.getDescription({ inputs: {}, definition: T, variable: D })
1966
- ]), B = Array.isArray(k) ? k : k?.data ?? [];
1963
+ ]), B = Array.isArray(S) ? S : S?.data ?? [];
1967
1964
  return {
1968
- rows: S ?? [],
1965
+ rows: k ?? [],
1969
1966
  columns: B
1970
1967
  };
1971
1968
  },
@@ -2190,7 +2187,7 @@ export {
2190
2187
  pt as useCompleteInboxItem,
2191
2188
  ht as useCompleteInboxItemsByKey,
2192
2189
  cn as useCreateAuditLog,
2193
- St as useCreateConversation,
2190
+ kt as useCreateConversation,
2194
2191
  pr as useCreateFiscalCalendar,
2195
2192
  Dr as useCreateHolidayCalendar,
2196
2193
  lt as useCreateInboxItem,
@@ -2212,23 +2209,24 @@ export {
2212
2209
  Un as useDeleteProcessTreeTrigger,
2213
2210
  Kn as useDeleteProcessTrigger,
2214
2211
  dn as useDeleteReconV2,
2215
- Qe as useDeleteRow,
2212
+ Ue as useDeleteRow,
2213
+ nn as useDeleteWorkbook,
2216
2214
  mt as useDismissInboxItem,
2217
- $e as useDocumentPermissions,
2215
+ je as useDocumentPermissions,
2218
2216
  cr as useDropFileToDatabox,
2219
2217
  vn as useExecuteNow,
2220
2218
  Gn as useExecuteProcessTreeTrigger,
2221
- Xe as useFileDownload,
2222
- Je as useFileUpload,
2223
- It as useFilterMessagesBySenderId,
2219
+ Je as useFileDownload,
2220
+ $e as useFileUpload,
2221
+ Ct as useFilterMessagesBySenderId,
2224
2222
  Ar as useFxDefinitionSheet,
2225
2223
  Tt as useGetAllConversations,
2226
- kn as useGetAllHttpTriggers,
2224
+ Sn as useGetAllHttpTriggers,
2227
2225
  Zn as useGetAllInboxItems,
2228
2226
  yn as useGetAllRecon,
2229
2227
  N as useGetAllReconV2,
2230
2228
  ln as useGetAllTemplatedPipelines,
2231
- Sn as useGetAllUsers,
2229
+ kn as useGetAllUsers,
2232
2230
  sn as useGetAuditLogs,
2233
2231
  de as useGetCommentsByThreadId,
2234
2232
  Rt as useGetConversation,
@@ -2247,7 +2245,6 @@ export {
2247
2245
  er as useGetDatasetExceptions,
2248
2246
  he as useGetDatasets,
2249
2247
  Re as useGetFileByFolderIdAndName,
2250
- Se as useGetFileById,
2251
2248
  Te as useGetFileUrlByFileId,
2252
2249
  wr as useGetFiscalCalendar,
2253
2250
  on as useGetFormById,
@@ -2256,7 +2253,7 @@ export {
2256
2253
  hr as useGetHolidayCalendar,
2257
2254
  ct as useGetInboxItem,
2258
2255
  at as useGetInboxType,
2259
- Oe as useGetInputTables,
2256
+ Ge as useGetInputTables,
2260
2257
  zn as useGetProcessTreeRunByInstanceId,
2261
2258
  Hn as useGetProcessTreeRunsBySheetId,
2262
2259
  _n as useGetProcessTreeRunsBySheetIdPaginated,
@@ -2271,29 +2268,29 @@ export {
2271
2268
  j as useGetReconV2Runs,
2272
2269
  J as useGetReconV2SmartResult,
2273
2270
  Z as useGetReconV2Workflow,
2274
- Ie as useGetRunResultById,
2271
+ Se as useGetRunResultById,
2275
2272
  Ce as useGetRunsByViewId,
2276
2273
  Bn as useGetScheduleStatus,
2277
- Pe as useGetStatementData,
2278
- xe as useGetTableById,
2279
- Ye as useGetTaskDetails,
2274
+ Ie as useGetStatementData,
2275
+ Pe as useGetTableById,
2276
+ Xe as useGetTaskDetails,
2280
2277
  Pn as useGetTriggersBySheet,
2281
- Ke as useGetViewById,
2282
- Ve as useGetViewsBySheetId,
2278
+ xe as useGetViewById,
2279
+ Ke as useGetViewsBySheetId,
2283
2280
  De as useGetVirtualDatasets,
2284
- Ze as useGetWorkbookDetails,
2285
- Ee as useGetWorkbooksByType,
2286
- Be as useGetWorkflowInstanceStatusById,
2287
- ve as useGetWorksheets,
2288
- Ae as useGetWorksheetsByType,
2289
- kr as useImportHolidays,
2290
- Ge as useInputTable,
2291
- Le as useInsertRow,
2292
- Cr as useLastSuccessfulPipelineRun,
2281
+ Ye as useGetWorkbookDetails,
2282
+ Ve as useGetWorkbooksByType,
2283
+ Ee as useGetWorkflowInstanceStatusById,
2284
+ Be as useGetWorksheets,
2285
+ ve as useGetWorksheetsByType,
2286
+ Sr as useImportHolidays,
2287
+ Ae as useInputTable,
2288
+ Me as useInsertRow,
2289
+ Ir as useLastSuccessfulPipelineRun,
2293
2290
  ae as useListBranches,
2294
2291
  mr as useListFiscalCalendars,
2295
2292
  br as useListHolidayCalendars,
2296
- Sr as useListHolidays,
2293
+ kr as useListHolidays,
2297
2294
  rt as useListInboxTypes,
2298
2295
  it as useListMyInboxItems,
2299
2296
  Mn as useLogProcessTreeRun,
@@ -2301,19 +2298,19 @@ export {
2301
2298
  gt as useMarkInboxItemsUnread,
2302
2299
  et as useMarkItemAsRead,
2303
2300
  nt as useMarkItemAsUnread,
2304
- In as useMarkTaskDone,
2301
+ Cn as useMarkTaskDone,
2305
2302
  ce as useMetric,
2306
2303
  Vn as usePauseSchedule,
2307
2304
  fr as usePermanentDeleteDataboxFiles,
2308
- Ir as usePipelineList,
2305
+ Cr as usePipelineList,
2309
2306
  Kr as usePipelineOutputSample,
2310
2307
  xr as usePipelineOverview,
2311
2308
  Pr as usePipelineRunDetail,
2312
2309
  te as usePipelineRuns,
2313
2310
  ge as usePostComment,
2314
- nn as usePublishWorkbook,
2311
+ en as usePublishWorkbook,
2315
2312
  bt as useReassignInboxItem,
2316
- Cn as useReassignTask,
2313
+ In as useReassignTask,
2317
2314
  hn as useReconV2Detail,
2318
2315
  Dn as useReconV2Editor,
2319
2316
  bn as useReconV2List,
@@ -2325,18 +2322,18 @@ export {
2325
2322
  xn as useRegisterProcessTrigger,
2326
2323
  Ft as useReleaseInboxItem,
2327
2324
  $t as useRenderTemplate,
2328
- kt as useReplyToConversation,
2325
+ St as useReplyToConversation,
2329
2326
  gr as useRestoreDataboxFile,
2330
2327
  En as useResumeSchedule,
2331
- Me as useRows,
2328
+ Oe as useRows,
2332
2329
  lr as useRunDataboxFolder,
2333
- We as useRunDefinition,
2334
- He as useRunPublishedDefinition,
2330
+ Qe as useRunDefinition,
2331
+ We as useRunPublishedDefinition,
2335
2332
  tn as useRunRecon,
2336
2333
  z as useRunReconV2,
2337
- _e as useRunSampleDefinition,
2338
- en as useSaveWorkbook,
2339
- Ct as useSearchMessages,
2334
+ He as useRunSampleDefinition,
2335
+ Ze as useSaveWorkbook,
2336
+ It as useSearchMessages,
2340
2337
  ft as useSnoozeInboxItem,
2341
2338
  re as useSolutionList,
2342
2339
  Gr as useSolutionPicker,
@@ -2365,8 +2362,8 @@ export {
2365
2362
  Kt as useTcnRefreshToken,
2366
2363
  On as useTerminateProcessTreePipelines,
2367
2364
  dr as useTrashDataboxFiles,
2368
- ze as useTriggerHttpWorkflow,
2369
- Ne as useTriggerWorkflow,
2365
+ _e as useTriggerHttpWorkflow,
2366
+ ze as useTriggerWorkflow,
2370
2367
  pe as useUnsubscribeUser,
2371
2368
  fe as useUpdateComment,
2372
2369
  $n as useUpdateCustomObjectPermissions,
@@ -2377,9 +2374,9 @@ export {
2377
2374
  ut as useUpdateInboxType,
2378
2375
  Ln as useUpdateProcessTreeRunContext,
2379
2376
  _ as useUpdateReconV2,
2380
- Ue as useUpdateRow,
2377
+ Le as useUpdateRow,
2381
2378
  Q as useUser,
2382
- je as useUserDetails,
2379
+ Ne as useUserDetails,
2383
2380
  Er as useWorkingPaper,
2384
2381
  vr as useWorkingPaperInputTableSheet,
2385
2382
  Vr as useWorkingPaperList
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluecopa/react",
3
- "version": "0.1.114",
3
+ "version": "0.1.116",
4
4
  "description": "Bluecopa react library with TanStack Query integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
@@ -28,7 +28,7 @@
28
28
  "react-dom": ">=18.0.0"
29
29
  },
30
30
  "dependencies": {
31
- "@bluecopa/core": "0.1.111",
31
+ "@bluecopa/core": "0.1.113",
32
32
  "@tanstack/react-query": "5.59.0",
33
33
  "@tanstack/react-query-devtools": "5.59.0"
34
34
  },
@@ -1,11 +0,0 @@
1
- import { UseQueryResult } from '@tanstack/react-query';
2
- import { FileboxFile } from '@bluecopa/core';
3
- import { BaseQueryOptions } from '../types';
4
- /**
5
- * Custom hook for getting a filebox file by its id.
6
- * @param id - The filebox file id (null/undefined disables the query)
7
- * @param options - Query options including enabled state and cache settings
8
- * @returns UseQueryResult with the matching FileboxFile
9
- */
10
- export declare function useGetFileById(id: string | null | undefined, options?: BaseQueryOptions): UseQueryResult<FileboxFile, Error>;
11
- //# sourceMappingURL=useGetFileById.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useGetFileById.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetFileById.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAW,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7B,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,WAAW,EAAE,KAAK,CAAC,CAgBpC"}