@tesouro/embedded-components-react 0.11.221 → 0.11.223
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/dist/fixtures/index.d.ts +135 -112
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/cardExpenseTypes.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/queryKeys.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useExpenseHistoryQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useExpenseTransactionsCountQuery.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useGetTransactionQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useGetTransactionsQuery.js +17 -13
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useTransactionReviewMutations.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useTransactionValidationsQuery.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/mapTransactionRow.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/useExpensesTransactions.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/useExpensesTransactionsFilter.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/mocks/expenseManagement.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +118 -118
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +174 -174
- package/dist/libs/tesouro-embedded-components-react/shared/data-access-mocks/dist/lib/fixtures.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/data-access/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/data-access/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { client as e } from "../client.gen.js";
|
|
2
|
-
import { activateCreditCard as t, activateDebitCard as n, connectExternalBankAccount as r, createAchMoneyMovement as i, createApplication as a, createBankAccount as ee, createBookTransfer as te, createCheckDeposit as ne, createDebitCard as re, createVelocityControl as ie, deleteApprovalPoliciesId as ae, deleteBankAccountApplication as oe, deleteLedgerAccountsId as se, deleteReceiptsId as ce, disableUser as le,
|
|
2
|
+
import { activateCreditCard as t, activateDebitCard as n, connectExternalBankAccount as r, createAchMoneyMovement as i, createApplication as a, createBankAccount as ee, createBookTransfer as te, createCheckDeposit as ne, createDebitCard as re, createVelocityControl as ie, deleteApprovalPoliciesId as ae, deleteBankAccountApplication as oe, deleteLedgerAccountsId as se, deleteReceiptsId as ce, disableUser as le, getAnalyticsExpenses as ue, getAnalyticsPayables as de, getAnalyticsReceipts as fe, getAnalyticsReceivables as pe, getApplicationStatus as me, getApprovalPolicies as he, getApprovalPoliciesIdProcesses as ge, getApprovalPoliciesIdProcessesIdSteps as _e, getApprovalRequests as ve, getBankAccount as ye, getBankAccountApplication as be, getBankAccountStatements as xe, getBankAccountTransactions as Se, getBankAccounts as Ce, getBankDetails as we, getBankDetailsId as Te, getCounterparts as Ee, getCounterpartsId as De, getCounterpartsIdAddresses as Oe, getCounterpartsIdBankAccounts as ke, getCreditCardById as Ae, getCreditCards as je, getDebitCardById as Me, getDebitCardCredentials as Ne, getDebitCardSpendSummary as Pe, getDebitCards as Fe, getDepartment as Ie, getDepositableBankAccounts as Le, getDocumentsIdNextNumbers as Re, getEntitiesIdPaymentMethods as ze, getEntitiesIdSettings as Be, getEntityUsers as Ve, getEntityUsersMe as He, getEntityUsersMyEntity as Ue, getExpenses as We, getExpensesId as Ge, getExpensesIdExpenseHistory as Ke, getExpensesValidations as qe, getExternalBankAccount as Je, getExternalBankAccounts as Ye, getLedgerAccounts as Xe, getLocation as Ze, getMailboxes as Qe, getMe as $e, getMeasureUnits as et, getMerchantCategoryGroups as tt, getOrganization as nt, getOrganizationTransactions as rt, getOrganizationTransfers as it, getOverdueReminders as at, getPayables as ot, getPayablesId as st, getPayablesIdHistory as ct, getPayablesIdLineItems as lt, getPayablesIdSuggestions as ut, getPaymentRecords as dt, getPaymentReminders as ft, getPaymentTerms as pt, getProducts as mt, getProductsId as ht, getReceipts as gt, getReceivables as _t, getReceivablesId as vt, getReceivablesIdPdfLink as yt, getReceivablesRequiredFields as bt, getRecurrences as xt, getRecurrencesId as St, getUserData as Ct, getUsers as wt, grantBankAccountAccess as Tt, grantExternalBankAccountAccess as Et, linkExternalBankAccount as Dt, listDepartments as Ot, listLocations as kt, listRolePermissions as At, listRoles as jt, manageDebitCardAccess as Mt, patchApprovalPoliciesId as Nt, patchLedgerAccountsId as Pt, patchReceiptsId as Ft, postApprovalPolicies as It, postLedgerAccounts as Lt, postReceiptsUploadFromFile as Rt, putExpensesValidations as zt, setDebitCardLockStatus as Bt, submitApplication as Vt, unlinkExternalBankAccount as Ht, updateApplication as Ut, updateBankAccount as Wt, updateDebitCard as Gt, updateExternalBankAccount as Kt, upsertUserData as qt, validateExternalBankAccount as Jt, verifyDebitCard as Yt } from "../sdk.gen.js";
|
|
3
3
|
import { queryOptions as o } from "@tanstack/react-query";
|
|
4
4
|
// ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js
|
|
5
5
|
var s = (t, n, r, i) => {
|
|
@@ -21,7 +21,7 @@ var s = (t, n, r, i) => {
|
|
|
21
21
|
queryKey: c(e)
|
|
22
22
|
}), Zt = (e) => s("getMerchantCategoryGroups", e), Qt = (e) => o({
|
|
23
23
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
24
|
-
let { data: r } = await
|
|
24
|
+
let { data: r } = await tt({
|
|
25
25
|
...e,
|
|
26
26
|
...t[0],
|
|
27
27
|
signal: n,
|
|
@@ -107,7 +107,7 @@ var s = (t, n, r, i) => {
|
|
|
107
107
|
queryKey: d(e)
|
|
108
108
|
}), un = (e) => s("getAggregateHistoricalBalances", e), f = (e) => s("getOrganizationTransactions", e), dn = (e) => o({
|
|
109
109
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
110
|
-
let { data: r } = await
|
|
110
|
+
let { data: r } = await rt({
|
|
111
111
|
...e,
|
|
112
112
|
...t[0],
|
|
113
113
|
signal: n,
|
|
@@ -118,7 +118,7 @@ var s = (t, n, r, i) => {
|
|
|
118
118
|
queryKey: f(e)
|
|
119
119
|
}), p = (e) => s("getOrganizationTransfers", e), fn = (e) => o({
|
|
120
120
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
121
|
-
let { data: r } = await
|
|
121
|
+
let { data: r } = await it({
|
|
122
122
|
...e,
|
|
123
123
|
...t[0],
|
|
124
124
|
signal: n,
|
|
@@ -298,7 +298,7 @@ var s = (t, n, r, i) => {
|
|
|
298
298
|
return n;
|
|
299
299
|
} }), C = (e) => s("getExternalBankAccounts", e), Pn = (e) => o({
|
|
300
300
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
301
|
-
let { data: r } = await
|
|
301
|
+
let { data: r } = await Ye({
|
|
302
302
|
...e,
|
|
303
303
|
...t[0],
|
|
304
304
|
signal: n,
|
|
@@ -323,7 +323,7 @@ var s = (t, n, r, i) => {
|
|
|
323
323
|
return n;
|
|
324
324
|
} }), w = (e) => s("getExternalBankAccount", e), Ln = (e) => o({
|
|
325
325
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
326
|
-
let { data: r } = await
|
|
326
|
+
let { data: r } = await Je({
|
|
327
327
|
...e,
|
|
328
328
|
...t[0],
|
|
329
329
|
signal: n,
|
|
@@ -374,7 +374,7 @@ var s = (t, n, r, i) => {
|
|
|
374
374
|
throwOnError: !0
|
|
375
375
|
});
|
|
376
376
|
return n;
|
|
377
|
-
} }), T = (e) => s("
|
|
377
|
+
} }), T = (e) => s("getAnalyticsExpenses", e), Gn = (e) => o({
|
|
378
378
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
379
379
|
let { data: r } = await ue({
|
|
380
380
|
...e,
|
|
@@ -385,7 +385,7 @@ var s = (t, n, r, i) => {
|
|
|
385
385
|
return r;
|
|
386
386
|
},
|
|
387
387
|
queryKey: T(e)
|
|
388
|
-
}), E = (e) => s("
|
|
388
|
+
}), E = (e) => s("getAnalyticsPayables", e), Kn = (e) => o({
|
|
389
389
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
390
390
|
let { data: r } = await de({
|
|
391
391
|
...e,
|
|
@@ -396,7 +396,7 @@ var s = (t, n, r, i) => {
|
|
|
396
396
|
return r;
|
|
397
397
|
},
|
|
398
398
|
queryKey: E(e)
|
|
399
|
-
}), D = (e) => s("
|
|
399
|
+
}), D = (e) => s("getAnalyticsReceipts", e), qn = (e) => o({
|
|
400
400
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
401
401
|
let { data: r } = await fe({
|
|
402
402
|
...e,
|
|
@@ -407,7 +407,7 @@ var s = (t, n, r, i) => {
|
|
|
407
407
|
return r;
|
|
408
408
|
},
|
|
409
409
|
queryKey: D(e)
|
|
410
|
-
}), O = (e) => s("
|
|
410
|
+
}), O = (e) => s("getAnalyticsReceivables", e), Jn = (e) => o({
|
|
411
411
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
412
412
|
let { data: r } = await pe({
|
|
413
413
|
...e,
|
|
@@ -615,9 +615,9 @@ var s = (t, n, r, i) => {
|
|
|
615
615
|
return r;
|
|
616
616
|
},
|
|
617
617
|
queryKey: W(e)
|
|
618
|
-
}),
|
|
618
|
+
}), G = (e) => s("getExpenses", e), mr = (e) => o({
|
|
619
619
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
620
|
-
let { data: r } = await
|
|
620
|
+
let { data: r } = await We({
|
|
621
621
|
...e,
|
|
622
622
|
...t[0],
|
|
623
623
|
signal: n,
|
|
@@ -626,30 +626,9 @@ var s = (t, n, r, i) => {
|
|
|
626
626
|
return r;
|
|
627
627
|
},
|
|
628
628
|
queryKey: G(e)
|
|
629
|
-
}),
|
|
630
|
-
let { data: n } = await Lt({
|
|
631
|
-
...e,
|
|
632
|
-
...t,
|
|
633
|
-
throwOnError: !0
|
|
634
|
-
});
|
|
635
|
-
return n;
|
|
636
|
-
} }), _r = (e) => ({ mutationFn: async (t) => {
|
|
637
|
-
let { data: n } = await se({
|
|
638
|
-
...e,
|
|
639
|
-
...t,
|
|
640
|
-
throwOnError: !0
|
|
641
|
-
});
|
|
642
|
-
return n;
|
|
643
|
-
} }), vr = (e) => ({ mutationFn: async (t) => {
|
|
644
|
-
let { data: n } = await Pt({
|
|
645
|
-
...e,
|
|
646
|
-
...t,
|
|
647
|
-
throwOnError: !0
|
|
648
|
-
});
|
|
649
|
-
return n;
|
|
650
|
-
} }), K = (e) => s("getMailboxes", e), yr = (e) => o({
|
|
629
|
+
}), K = (e) => s("getExpensesValidations", e), hr = (e) => o({
|
|
651
630
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
652
|
-
let { data: r } = await
|
|
631
|
+
let { data: r } = await qe({
|
|
653
632
|
...e,
|
|
654
633
|
...t[0],
|
|
655
634
|
signal: n,
|
|
@@ -658,9 +637,16 @@ var s = (t, n, r, i) => {
|
|
|
658
637
|
return r;
|
|
659
638
|
},
|
|
660
639
|
queryKey: K(e)
|
|
661
|
-
}),
|
|
640
|
+
}), gr = (e) => ({ mutationFn: async (t) => {
|
|
641
|
+
let { data: n } = await zt({
|
|
642
|
+
...e,
|
|
643
|
+
...t,
|
|
644
|
+
throwOnError: !0
|
|
645
|
+
});
|
|
646
|
+
return n;
|
|
647
|
+
} }), q = (e) => s("getExpensesId", e), _r = (e) => o({
|
|
662
648
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
663
|
-
let { data: r } = await
|
|
649
|
+
let { data: r } = await Ge({
|
|
664
650
|
...e,
|
|
665
651
|
...t[0],
|
|
666
652
|
signal: n,
|
|
@@ -669,9 +655,9 @@ var s = (t, n, r, i) => {
|
|
|
669
655
|
return r;
|
|
670
656
|
},
|
|
671
657
|
queryKey: q(e)
|
|
672
|
-
}),
|
|
658
|
+
}), vr = (e) => s("getExpensesIdExpenseHistory", e), yr = (e) => o({
|
|
673
659
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
674
|
-
let { data: r } = await
|
|
660
|
+
let { data: r } = await Ke({
|
|
675
661
|
...e,
|
|
676
662
|
...t[0],
|
|
677
663
|
signal: n,
|
|
@@ -679,10 +665,10 @@ var s = (t, n, r, i) => {
|
|
|
679
665
|
});
|
|
680
666
|
return r;
|
|
681
667
|
},
|
|
682
|
-
queryKey:
|
|
683
|
-
}), J = (e) => s("
|
|
668
|
+
queryKey: vr(e)
|
|
669
|
+
}), br = (e) => s("getFiles", e), J = (e) => s("getLedgerAccounts", e), xr = (e) => o({
|
|
684
670
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
685
|
-
let { data: r } = await
|
|
671
|
+
let { data: r } = await Xe({
|
|
686
672
|
...e,
|
|
687
673
|
...t[0],
|
|
688
674
|
signal: n,
|
|
@@ -691,9 +677,30 @@ var s = (t, n, r, i) => {
|
|
|
691
677
|
return r;
|
|
692
678
|
},
|
|
693
679
|
queryKey: J(e)
|
|
694
|
-
}),
|
|
680
|
+
}), Sr = (e) => ({ mutationFn: async (t) => {
|
|
681
|
+
let { data: n } = await Lt({
|
|
682
|
+
...e,
|
|
683
|
+
...t,
|
|
684
|
+
throwOnError: !0
|
|
685
|
+
});
|
|
686
|
+
return n;
|
|
687
|
+
} }), Cr = (e) => ({ mutationFn: async (t) => {
|
|
688
|
+
let { data: n } = await se({
|
|
689
|
+
...e,
|
|
690
|
+
...t,
|
|
691
|
+
throwOnError: !0
|
|
692
|
+
});
|
|
693
|
+
return n;
|
|
694
|
+
} }), wr = (e) => ({ mutationFn: async (t) => {
|
|
695
|
+
let { data: n } = await Pt({
|
|
696
|
+
...e,
|
|
697
|
+
...t,
|
|
698
|
+
throwOnError: !0
|
|
699
|
+
});
|
|
700
|
+
return n;
|
|
701
|
+
} }), Y = (e) => s("getMailboxes", e), Tr = (e) => o({
|
|
695
702
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
696
|
-
let { data: r } = await
|
|
703
|
+
let { data: r } = await Qe({
|
|
697
704
|
...e,
|
|
698
705
|
...t[0],
|
|
699
706
|
signal: n,
|
|
@@ -702,9 +709,9 @@ var s = (t, n, r, i) => {
|
|
|
702
709
|
return r;
|
|
703
710
|
},
|
|
704
711
|
queryKey: Y(e)
|
|
705
|
-
}), X = (e) => s("
|
|
712
|
+
}), X = (e) => s("getMeasureUnits", e), Er = (e) => o({
|
|
706
713
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
707
|
-
let { data: r } = await
|
|
714
|
+
let { data: r } = await et({
|
|
708
715
|
...e,
|
|
709
716
|
...t[0],
|
|
710
717
|
signal: n,
|
|
@@ -713,7 +720,7 @@ var s = (t, n, r, i) => {
|
|
|
713
720
|
return r;
|
|
714
721
|
},
|
|
715
722
|
queryKey: X(e)
|
|
716
|
-
}), Z = (e) => s("
|
|
723
|
+
}), Z = (e) => s("getOverdueReminders", e), Dr = (e) => o({
|
|
717
724
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
718
725
|
let { data: r } = await at({
|
|
719
726
|
...e,
|
|
@@ -724,7 +731,7 @@ var s = (t, n, r, i) => {
|
|
|
724
731
|
return r;
|
|
725
732
|
},
|
|
726
733
|
queryKey: Z(e)
|
|
727
|
-
}), Q = (e) => s("
|
|
734
|
+
}), Q = (e) => s("getPayables", e), Or = (e) => o({
|
|
728
735
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
729
736
|
let { data: r } = await ot({
|
|
730
737
|
...e,
|
|
@@ -735,7 +742,7 @@ var s = (t, n, r, i) => {
|
|
|
735
742
|
return r;
|
|
736
743
|
},
|
|
737
744
|
queryKey: Q(e)
|
|
738
|
-
}),
|
|
745
|
+
}), kr = (e) => s("getPayablesId", e), Ar = (e) => o({
|
|
739
746
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
740
747
|
let { data: r } = await st({
|
|
741
748
|
...e,
|
|
@@ -745,8 +752,8 @@ var s = (t, n, r, i) => {
|
|
|
745
752
|
});
|
|
746
753
|
return r;
|
|
747
754
|
},
|
|
748
|
-
queryKey:
|
|
749
|
-
}),
|
|
755
|
+
queryKey: kr(e)
|
|
756
|
+
}), jr = (e) => s("getPayablesIdHistory", e), Mr = (e) => o({
|
|
750
757
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
751
758
|
let { data: r } = await ct({
|
|
752
759
|
...e,
|
|
@@ -756,8 +763,8 @@ var s = (t, n, r, i) => {
|
|
|
756
763
|
});
|
|
757
764
|
return r;
|
|
758
765
|
},
|
|
759
|
-
queryKey:
|
|
760
|
-
}),
|
|
766
|
+
queryKey: jr(e)
|
|
767
|
+
}), Nr = (e) => s("getPayablesIdLineItems", e), Pr = (e) => o({
|
|
761
768
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
762
769
|
let { data: r } = await lt({
|
|
763
770
|
...e,
|
|
@@ -767,8 +774,8 @@ var s = (t, n, r, i) => {
|
|
|
767
774
|
});
|
|
768
775
|
return r;
|
|
769
776
|
},
|
|
770
|
-
queryKey:
|
|
771
|
-
}),
|
|
777
|
+
queryKey: Nr(e)
|
|
778
|
+
}), Fr = (e) => s("getPayablesIdSuggestions", e), Ir = (e) => o({
|
|
772
779
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
773
780
|
let { data: r } = await ut({
|
|
774
781
|
...e,
|
|
@@ -778,8 +785,8 @@ var s = (t, n, r, i) => {
|
|
|
778
785
|
});
|
|
779
786
|
return r;
|
|
780
787
|
},
|
|
781
|
-
queryKey:
|
|
782
|
-
}),
|
|
788
|
+
queryKey: Fr(e)
|
|
789
|
+
}), Lr = (e) => s("getPaymentRecords", e), Rr = (e) => o({
|
|
783
790
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
784
791
|
let { data: r } = await dt({
|
|
785
792
|
...e,
|
|
@@ -789,8 +796,8 @@ var s = (t, n, r, i) => {
|
|
|
789
796
|
});
|
|
790
797
|
return r;
|
|
791
798
|
},
|
|
792
|
-
queryKey:
|
|
793
|
-
}),
|
|
799
|
+
queryKey: Lr(e)
|
|
800
|
+
}), zr = (e) => s("getPaymentReminders", e), Br = (e) => o({
|
|
794
801
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
795
802
|
let { data: r } = await ft({
|
|
796
803
|
...e,
|
|
@@ -800,29 +807,8 @@ var s = (t, n, r, i) => {
|
|
|
800
807
|
});
|
|
801
808
|
return r;
|
|
802
809
|
},
|
|
803
|
-
queryKey:
|
|
804
|
-
}),
|
|
805
|
-
let { data: n } = await Rt({
|
|
806
|
-
...e,
|
|
807
|
-
...t,
|
|
808
|
-
throwOnError: !0
|
|
809
|
-
});
|
|
810
|
-
return n;
|
|
811
|
-
} }), Vr = (e) => ({ mutationFn: async (t) => {
|
|
812
|
-
let { data: n } = await ce({
|
|
813
|
-
...e,
|
|
814
|
-
...t,
|
|
815
|
-
throwOnError: !0
|
|
816
|
-
});
|
|
817
|
-
return n;
|
|
818
|
-
} }), Hr = (e) => s("getReceiptsId", e), Ur = (e) => ({ mutationFn: async (t) => {
|
|
819
|
-
let { data: n } = await Ft({
|
|
820
|
-
...e,
|
|
821
|
-
...t,
|
|
822
|
-
throwOnError: !0
|
|
823
|
-
});
|
|
824
|
-
return n;
|
|
825
|
-
} }), Wr = (e) => s("getReceivables", e), Gr = (e) => o({
|
|
810
|
+
queryKey: zr(e)
|
|
811
|
+
}), Vr = (e) => s("getPaymentTerms", e), Hr = (e) => o({
|
|
826
812
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
827
813
|
let { data: r } = await pt({
|
|
828
814
|
...e,
|
|
@@ -832,10 +818,10 @@ var s = (t, n, r, i) => {
|
|
|
832
818
|
});
|
|
833
819
|
return r;
|
|
834
820
|
},
|
|
835
|
-
queryKey:
|
|
836
|
-
}),
|
|
821
|
+
queryKey: Vr(e)
|
|
822
|
+
}), Ur = (e) => s("getProducts", e), Wr = (e) => o({
|
|
837
823
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
838
|
-
let { data: r } = await
|
|
824
|
+
let { data: r } = await mt({
|
|
839
825
|
...e,
|
|
840
826
|
...t[0],
|
|
841
827
|
signal: n,
|
|
@@ -843,10 +829,10 @@ var s = (t, n, r, i) => {
|
|
|
843
829
|
});
|
|
844
830
|
return r;
|
|
845
831
|
},
|
|
846
|
-
queryKey:
|
|
847
|
-
}),
|
|
832
|
+
queryKey: Ur(e)
|
|
833
|
+
}), Gr = (e) => s("getProductsId", e), Kr = (e) => o({
|
|
848
834
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
849
|
-
let { data: r } = await
|
|
835
|
+
let { data: r } = await ht({
|
|
850
836
|
...e,
|
|
851
837
|
...t[0],
|
|
852
838
|
signal: n,
|
|
@@ -854,10 +840,10 @@ var s = (t, n, r, i) => {
|
|
|
854
840
|
});
|
|
855
841
|
return r;
|
|
856
842
|
},
|
|
857
|
-
queryKey:
|
|
858
|
-
}),
|
|
843
|
+
queryKey: Gr(e)
|
|
844
|
+
}), qr = (e) => s("getReceipts", e), Jr = (e) => o({
|
|
859
845
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
860
|
-
let { data: r } = await
|
|
846
|
+
let { data: r } = await gt({
|
|
861
847
|
...e,
|
|
862
848
|
...t[0],
|
|
863
849
|
signal: n,
|
|
@@ -865,8 +851,29 @@ var s = (t, n, r, i) => {
|
|
|
865
851
|
});
|
|
866
852
|
return r;
|
|
867
853
|
},
|
|
868
|
-
queryKey:
|
|
869
|
-
}),
|
|
854
|
+
queryKey: qr(e)
|
|
855
|
+
}), Yr = (e) => ({ mutationFn: async (t) => {
|
|
856
|
+
let { data: n } = await Rt({
|
|
857
|
+
...e,
|
|
858
|
+
...t,
|
|
859
|
+
throwOnError: !0
|
|
860
|
+
});
|
|
861
|
+
return n;
|
|
862
|
+
} }), Xr = (e) => ({ mutationFn: async (t) => {
|
|
863
|
+
let { data: n } = await ce({
|
|
864
|
+
...e,
|
|
865
|
+
...t,
|
|
866
|
+
throwOnError: !0
|
|
867
|
+
});
|
|
868
|
+
return n;
|
|
869
|
+
} }), Zr = (e) => s("getReceiptsId", e), Qr = (e) => ({ mutationFn: async (t) => {
|
|
870
|
+
let { data: n } = await Ft({
|
|
871
|
+
...e,
|
|
872
|
+
...t,
|
|
873
|
+
throwOnError: !0
|
|
874
|
+
});
|
|
875
|
+
return n;
|
|
876
|
+
} }), $r = (e) => s("getReceivables", e), ei = (e) => o({
|
|
870
877
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
871
878
|
let { data: r } = await _t({
|
|
872
879
|
...e,
|
|
@@ -876,10 +883,10 @@ var s = (t, n, r, i) => {
|
|
|
876
883
|
});
|
|
877
884
|
return r;
|
|
878
885
|
},
|
|
879
|
-
queryKey:
|
|
880
|
-
}),
|
|
886
|
+
queryKey: $r(e)
|
|
887
|
+
}), ti = (e) => s("getReceivablesRequiredFields", e), ni = (e) => o({
|
|
881
888
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
882
|
-
let { data: r } = await
|
|
889
|
+
let { data: r } = await bt({
|
|
883
890
|
...e,
|
|
884
891
|
...t[0],
|
|
885
892
|
signal: n,
|
|
@@ -887,10 +894,10 @@ var s = (t, n, r, i) => {
|
|
|
887
894
|
});
|
|
888
895
|
return r;
|
|
889
896
|
},
|
|
890
|
-
queryKey:
|
|
891
|
-
}),
|
|
897
|
+
queryKey: ti(e)
|
|
898
|
+
}), ri = (e) => s("getReceivablesId", e), ii = (e) => o({
|
|
892
899
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
893
|
-
let { data: r } = await
|
|
900
|
+
let { data: r } = await vt({
|
|
894
901
|
...e,
|
|
895
902
|
...t[0],
|
|
896
903
|
signal: n,
|
|
@@ -898,10 +905,10 @@ var s = (t, n, r, i) => {
|
|
|
898
905
|
});
|
|
899
906
|
return r;
|
|
900
907
|
},
|
|
901
|
-
queryKey:
|
|
902
|
-
}), oi = (e) => s("
|
|
908
|
+
queryKey: ri(e)
|
|
909
|
+
}), ai = (e) => s("getReceivablesIdHistory", e), oi = (e) => s("getReceivablesIdMails", e), si = (e) => s("getReceivablesIdPdfLink", e), ci = (e) => o({
|
|
903
910
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
904
|
-
let { data: r } = await
|
|
911
|
+
let { data: r } = await yt({
|
|
905
912
|
...e,
|
|
906
913
|
...t[0],
|
|
907
914
|
signal: n,
|
|
@@ -909,17 +916,10 @@ var s = (t, n, r, i) => {
|
|
|
909
916
|
});
|
|
910
917
|
return r;
|
|
911
918
|
},
|
|
912
|
-
queryKey:
|
|
913
|
-
}),
|
|
914
|
-
let { data: n } = await zt({
|
|
915
|
-
...e,
|
|
916
|
-
...t,
|
|
917
|
-
throwOnError: !0
|
|
918
|
-
});
|
|
919
|
-
return n;
|
|
920
|
-
} }), li = (e) => s("getTransactionsId", e), ui = (e) => o({
|
|
919
|
+
queryKey: si(e)
|
|
920
|
+
}), li = (e) => s("getRecurrences", e), ui = (e) => o({
|
|
921
921
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
922
|
-
let { data: r } = await
|
|
922
|
+
let { data: r } = await xt({
|
|
923
923
|
...e,
|
|
924
924
|
...t[0],
|
|
925
925
|
signal: n,
|
|
@@ -928,9 +928,9 @@ var s = (t, n, r, i) => {
|
|
|
928
928
|
return r;
|
|
929
929
|
},
|
|
930
930
|
queryKey: li(e)
|
|
931
|
-
}), di = (e) => s("
|
|
931
|
+
}), di = (e) => s("getRecurrencesId", e), fi = (e) => o({
|
|
932
932
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
933
|
-
let { data: r } = await
|
|
933
|
+
let { data: r } = await St({
|
|
934
934
|
...e,
|
|
935
935
|
...t[0],
|
|
936
936
|
signal: n,
|
|
@@ -974,7 +974,7 @@ var s = (t, n, r, i) => {
|
|
|
974
974
|
queryKey: _i(e)
|
|
975
975
|
}), $ = (e) => s("getLocation", e), yi = (e) => o({
|
|
976
976
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
977
|
-
let { data: r } = await
|
|
977
|
+
let { data: r } = await Ze({
|
|
978
978
|
...e,
|
|
979
979
|
...t[0],
|
|
980
980
|
signal: n,
|
|
@@ -985,7 +985,7 @@ var s = (t, n, r, i) => {
|
|
|
985
985
|
queryKey: $(e)
|
|
986
986
|
}), bi = (e) => s("getOrganization", e), xi = (e) => o({
|
|
987
987
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
988
|
-
let { data: r } = await
|
|
988
|
+
let { data: r } = await nt({
|
|
989
989
|
...e,
|
|
990
990
|
...t[0],
|
|
991
991
|
signal: n,
|
|
@@ -1047,7 +1047,7 @@ var s = (t, n, r, i) => {
|
|
|
1047
1047
|
queryKey: ki(e)
|
|
1048
1048
|
}), ji = (e) => s("getMe", e), Mi = (e) => o({
|
|
1049
1049
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
1050
|
-
let { data: r } = await
|
|
1050
|
+
let { data: r } = await $e({
|
|
1051
1051
|
...e,
|
|
1052
1052
|
...t[0],
|
|
1053
1053
|
signal: n,
|
|
@@ -1064,4 +1064,4 @@ var s = (t, n, r, i) => {
|
|
|
1064
1064
|
});
|
|
1065
1065
|
return n;
|
|
1066
1066
|
} });
|
|
1067
|
-
export { Cn as activateCreditCardMutation, An as activateDebitCardMutation, Fn as connectExternalBankAccountMutation, Un as createAchMoneyMovementMutation, tn as createApplicationMutation, cn as createBankAccountMutation, Wn as createBookTransferMutation, _n as createCheckDepositMutation, Tn as createDebitCardMutation, en as createVelocityControlMutation, Zn as deleteApprovalPoliciesIdMutation, nn as deleteBankAccountApplicationMutation,
|
|
1067
|
+
export { Cn as activateCreditCardMutation, An as activateDebitCardMutation, Fn as connectExternalBankAccountMutation, Un as createAchMoneyMovementMutation, tn as createApplicationMutation, cn as createBankAccountMutation, Wn as createBookTransferMutation, _n as createCheckDepositMutation, Tn as createDebitCardMutation, en as createVelocityControlMutation, Zn as deleteApprovalPoliciesIdMutation, nn as deleteBankAccountApplicationMutation, Cr as deleteLedgerAccountsIdMutation, Xr as deleteReceiptsIdMutation, Ni as disableUserMutation, un as getAggregateHistoricalBalancesQueryKey, Gn as getAnalyticsExpensesOptions, T as getAnalyticsExpensesQueryKey, Kn as getAnalyticsPayablesOptions, E as getAnalyticsPayablesQueryKey, qn as getAnalyticsReceiptsOptions, D as getAnalyticsReceiptsQueryKey, Jn as getAnalyticsReceivablesOptions, O as getAnalyticsReceivablesQueryKey, Xt as getApplicationStatusOptions, c as getApplicationStatusQueryKey, er as getApprovalPoliciesIdProcessesIdStepsOptions, j as getApprovalPoliciesIdProcessesIdStepsQueryKey, $n as getApprovalPoliciesIdProcessesOptions, A as getApprovalPoliciesIdProcessesQueryKey, Yn as getApprovalPoliciesOptions, k as getApprovalPoliciesQueryKey, tr as getApprovalRequestsOptions, M as getApprovalRequestsQueryKey, hn as getBankAccountAccessQueryKey, rn as getBankAccountApplicationOptions, l as getBankAccountApplicationQueryKey, vn as getBankAccountHistoricalBalancesQueryKey, pn as getBankAccountOptions, m as getBankAccountQueryKey, yn as getBankAccountStatementsOptions, h as getBankAccountStatementsQueryKey, bn as getBankAccountTransactionsOptions, g as getBankAccountTransactionsQueryKey, sn as getBankAccountsOptions, u as getBankAccountsQueryKey, rr as getBankDetailsIdOptions, P as getBankDetailsIdQueryKey, nr as getBankDetailsOptions, N as getBankDetailsQueryKey, or as getCounterpartsIdAddressesOptions, L as getCounterpartsIdAddressesQueryKey, sr as getCounterpartsIdBankAccountsOptions, R as getCounterpartsIdBankAccountsQueryKey, ar as getCounterpartsIdOptions, I as getCounterpartsIdQueryKey, ir as getCounterpartsOptions, F as getCounterpartsQueryKey, Sn as getCreditCardByIdOptions, v as getCreditCardByIdQueryKey, xn as getCreditCardsOptions, _ as getCreditCardsQueryKey, On as getDebitCardByIdOptions, x as getDebitCardByIdQueryKey, jn as getDebitCardCredentialsOptions, S as getDebitCardCredentialsQueryKey, Dn as getDebitCardSpendSummaryOptions, b as getDebitCardSpendSummaryQueryKey, wn as getDebitCardsOptions, y as getDebitCardsQueryKey, gi as getDepartmentOptions, hi as getDepartmentQueryKey, ln as getDepositableBankAccountsOptions, d as getDepositableBankAccountsQueryKey, cr as getDocumentsIdNextNumbersOptions, z as getDocumentsIdNextNumbersQueryKey, lr as getEntitiesIdPaymentMethodsOptions, B as getEntitiesIdPaymentMethodsQueryKey, ur as getEntitiesIdSettingsOptions, V as getEntitiesIdSettingsQueryKey, fr as getEntityUsersMeOptions, U as getEntityUsersMeQueryKey, pr as getEntityUsersMyEntityOptions, W as getEntityUsersMyEntityQueryKey, dr as getEntityUsersOptions, H as getEntityUsersQueryKey, yr as getExpensesIdExpenseHistoryOptions, vr as getExpensesIdExpenseHistoryQueryKey, _r as getExpensesIdOptions, q as getExpensesIdQueryKey, mr as getExpensesOptions, G as getExpensesQueryKey, hr as getExpensesValidationsOptions, K as getExpensesValidationsQueryKey, zn as getExternalBankAccountAccessQueryKey, Ln as getExternalBankAccountOptions, w as getExternalBankAccountQueryKey, Pn as getExternalBankAccountsOptions, C as getExternalBankAccountsQueryKey, br as getFilesQueryKey, xr as getLedgerAccountsOptions, J as getLedgerAccountsQueryKey, yi as getLocationOptions, $ as getLocationQueryKey, Tr as getMailboxesOptions, Y as getMailboxesQueryKey, Mi as getMeOptions, ji as getMeQueryKey, Er as getMeasureUnitsOptions, X as getMeasureUnitsQueryKey, Qt as getMerchantCategoryGroupsOptions, Zt as getMerchantCategoryGroupsQueryKey, xi as getOrganizationOptions, bi as getOrganizationQueryKey, dn as getOrganizationTransactionsOptions, f as getOrganizationTransactionsQueryKey, fn as getOrganizationTransfersOptions, p as getOrganizationTransfersQueryKey, Dr as getOverdueRemindersOptions, Z as getOverdueRemindersQueryKey, Mr as getPayablesIdHistoryOptions, jr as getPayablesIdHistoryQueryKey, Pr as getPayablesIdLineItemsOptions, Nr as getPayablesIdLineItemsQueryKey, Ar as getPayablesIdOptions, kr as getPayablesIdQueryKey, Ir as getPayablesIdSuggestionsOptions, Fr as getPayablesIdSuggestionsQueryKey, Or as getPayablesOptions, Q as getPayablesQueryKey, Rr as getPaymentRecordsOptions, Lr as getPaymentRecordsQueryKey, Br as getPaymentRemindersOptions, zr as getPaymentRemindersQueryKey, Hr as getPaymentTermsOptions, Vr as getPaymentTermsQueryKey, Kr as getProductsIdOptions, Gr as getProductsIdQueryKey, Wr as getProductsOptions, Ur as getProductsQueryKey, Zr as getReceiptsIdQueryKey, Jr as getReceiptsOptions, qr as getReceiptsQueryKey, ai as getReceivablesIdHistoryQueryKey, oi as getReceivablesIdMailsQueryKey, ii as getReceivablesIdOptions, ci as getReceivablesIdPdfLinkOptions, si as getReceivablesIdPdfLinkQueryKey, ri as getReceivablesIdQueryKey, ei as getReceivablesOptions, $r as getReceivablesQueryKey, ni as getReceivablesRequiredFieldsOptions, ti as getReceivablesRequiredFieldsQueryKey, fi as getRecurrencesIdOptions, di as getRecurrencesIdQueryKey, ui as getRecurrencesOptions, li as getRecurrencesQueryKey, Di as getUserDataOptions, Ei as getUserDataQueryKey, Ai as getUsersOptions, ki as getUsersQueryKey, $t as getVelocityControlsQueryKey, gn as grantBankAccountAccessMutation, Bn as grantExternalBankAccountAccessMutation, Vn as linkExternalBankAccountMutation, mi as listDepartmentsOptions, pi as listDepartmentsQueryKey, vi as listLocationsOptions, _i as listLocationsQueryKey, Ti as listRolePermissionsOptions, wi as listRolePermissionsQueryKey, Ci as listRolesOptions, Si as listRolesQueryKey, En as manageDebitCardAccessMutation, Qn as patchApprovalPoliciesIdMutation, wr as patchLedgerAccountsIdMutation, Qr as patchReceiptsIdMutation, Xn as postApprovalPoliciesMutation, Sr as postLedgerAccountsMutation, Yr as postReceiptsUploadFromFileMutation, gr as putExpensesValidationsMutation, Mn as setDebitCardLockStatusMutation, on as submitApplicationMutation, In as unlinkExternalBankAccountMutation, an as updateApplicationMutation, mn as updateBankAccountMutation, kn as updateDebitCardMutation, Rn as updateExternalBankAccountMutation, Oi as upsertUserDataMutation, Hn as validateExternalBankAccountMutation, Nn as verifyDebitCardMutation };
|