@tesouro/embedded-components-react 0.5.225 → 0.5.227
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 +21 -21
- package/dist/index.d.ts +23 -2
- package/dist/index.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +23 -2
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +41 -39
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index12.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index9.js +150 -147
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index5.js +46 -51
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +130 -128
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index18.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index19.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index21.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index22.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index4.js +36 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index2.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index13.js +154 -150
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/data-access/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +151 -149
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index15.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index17.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index18.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index19.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index24.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index27.js +89 -87
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index5.js +133 -130
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index8.js +36 -34
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +50 -36
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +40 -39
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +51 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +17 -202
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +220 -31
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +32 -145
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +126 -44
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +145 -117
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +46 -58
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +113 -87
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +58 -116
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +98 -225
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +111 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +225 -462
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +34 -41
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +627 -34
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +39 -77
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +34 -112
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +75 -310
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +124 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +324 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index6.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +56 -53
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +33 -29
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +184 -162
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +78 -69
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +209 -207
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index4.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index5.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index6.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index12.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index13.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index14.js +30 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index17.js +28 -26
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index18.js +37 -34
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index21.js +28 -26
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index22.js +37 -34
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +294 -292
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index5.js +58 -58
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js +47 -48
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index7.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/CounterpartSelector.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index15.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -39
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/EmbedApiContext.js +14 -13
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/allPages.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/applicationStatusQueryOptions.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/debit-card/useAllDebitCardsQuery.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/disclosures/useDisclosuresQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js +28 -29
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/organizationStatus.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/usePaymentTermsQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +210 -199
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +60 -52
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useRolePermissionsQueries.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useCurrentUserQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMailboxAddress.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMyEntityQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/withAuthEpoch.js +33 -22
- package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +43 -32
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +138 -127
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/deriveOrganizationStatus.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/useWidgetFetch.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +60 -58
- package/package.json +1 -1
package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js
CHANGED
|
@@ -1399,7 +1399,15 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1399
1399
|
"Content-Type": "application/json",
|
|
1400
1400
|
...e.headers
|
|
1401
1401
|
}
|
|
1402
|
-
}), Tt = (e) => (e.client ?? t).
|
|
1402
|
+
}), Tt = (e) => (e.client ?? t).get({
|
|
1403
|
+
security: [{
|
|
1404
|
+
key: "HTTPBearer",
|
|
1405
|
+
scheme: "bearer",
|
|
1406
|
+
type: "http"
|
|
1407
|
+
}],
|
|
1408
|
+
url: "/finops/v1/receivables/required-fields",
|
|
1409
|
+
...e
|
|
1410
|
+
}), Et = (e) => (e.client ?? t).delete({
|
|
1403
1411
|
security: [{
|
|
1404
1412
|
key: "HTTPBearer",
|
|
1405
1413
|
scheme: "bearer",
|
|
@@ -1407,7 +1415,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1407
1415
|
}],
|
|
1408
1416
|
url: "/finops/v1/receivables/{receivable_id}",
|
|
1409
1417
|
...e
|
|
1410
|
-
}),
|
|
1418
|
+
}), Dt = (e) => (e.client ?? t).get({
|
|
1411
1419
|
security: [{
|
|
1412
1420
|
key: "HTTPBearer",
|
|
1413
1421
|
scheme: "bearer",
|
|
@@ -1415,7 +1423,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1415
1423
|
}],
|
|
1416
1424
|
url: "/finops/v1/receivables/{receivable_id}",
|
|
1417
1425
|
...e
|
|
1418
|
-
}),
|
|
1426
|
+
}), Ot = (e) => (e.client ?? t).patch({
|
|
1419
1427
|
security: [{
|
|
1420
1428
|
key: "HTTPBearer",
|
|
1421
1429
|
scheme: "bearer",
|
|
@@ -1427,7 +1435,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1427
1435
|
"Content-Type": "application/json",
|
|
1428
1436
|
...e.headers
|
|
1429
1437
|
}
|
|
1430
|
-
}),
|
|
1438
|
+
}), kt = (e) => (e.client ?? t).post({
|
|
1431
1439
|
security: [{
|
|
1432
1440
|
key: "HTTPBearer",
|
|
1433
1441
|
scheme: "bearer",
|
|
@@ -1439,7 +1447,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1439
1447
|
"Content-Type": "application/json",
|
|
1440
1448
|
...e.headers
|
|
1441
1449
|
}
|
|
1442
|
-
}),
|
|
1450
|
+
}), At = (e) => (e.client ?? t).post({
|
|
1443
1451
|
security: [{
|
|
1444
1452
|
key: "HTTPBearer",
|
|
1445
1453
|
scheme: "bearer",
|
|
@@ -1447,7 +1455,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1447
1455
|
}],
|
|
1448
1456
|
url: "/finops/v1/receivables/{receivable_id}/cancel",
|
|
1449
1457
|
...e
|
|
1450
|
-
}),
|
|
1458
|
+
}), jt = (e) => (e.client ?? t).post({
|
|
1451
1459
|
security: [{
|
|
1452
1460
|
key: "HTTPBearer",
|
|
1453
1461
|
scheme: "bearer",
|
|
@@ -1455,7 +1463,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1455
1463
|
}],
|
|
1456
1464
|
url: "/finops/v1/receivables/{receivable_id}/clone",
|
|
1457
1465
|
...e
|
|
1458
|
-
}),
|
|
1466
|
+
}), Mt = (e) => (e.client ?? t).post({
|
|
1459
1467
|
security: [{
|
|
1460
1468
|
key: "HTTPBearer",
|
|
1461
1469
|
scheme: "bearer",
|
|
@@ -1467,7 +1475,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1467
1475
|
"Content-Type": "application/json",
|
|
1468
1476
|
...e.headers
|
|
1469
1477
|
}
|
|
1470
|
-
}),
|
|
1478
|
+
}), Nt = (e) => (e.client ?? t).get({
|
|
1471
1479
|
security: [{
|
|
1472
1480
|
key: "HTTPBearer",
|
|
1473
1481
|
scheme: "bearer",
|
|
@@ -1475,7 +1483,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1475
1483
|
}],
|
|
1476
1484
|
url: "/finops/v1/receivables/{receivable_id}/history",
|
|
1477
1485
|
...e
|
|
1478
|
-
}),
|
|
1486
|
+
}), Pt = (e) => (e.client ?? t).post({
|
|
1479
1487
|
security: [{
|
|
1480
1488
|
key: "HTTPBearer",
|
|
1481
1489
|
scheme: "bearer",
|
|
@@ -1483,7 +1491,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1483
1491
|
}],
|
|
1484
1492
|
url: "/finops/v1/receivables/{receivable_id}/issue",
|
|
1485
1493
|
...e
|
|
1486
|
-
}),
|
|
1494
|
+
}), Ft = (e) => (e.client ?? t).get({
|
|
1487
1495
|
security: [{
|
|
1488
1496
|
key: "HTTPBearer",
|
|
1489
1497
|
scheme: "bearer",
|
|
@@ -1491,7 +1499,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1491
1499
|
}],
|
|
1492
1500
|
url: "/finops/v1/receivables/{receivable_id}/mails",
|
|
1493
1501
|
...e
|
|
1494
|
-
}),
|
|
1502
|
+
}), It = (e) => (e.client ?? t).post({
|
|
1495
1503
|
security: [{
|
|
1496
1504
|
key: "HTTPBearer",
|
|
1497
1505
|
scheme: "bearer",
|
|
@@ -1503,7 +1511,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1503
1511
|
"Content-Type": "application/json",
|
|
1504
1512
|
...e.headers
|
|
1505
1513
|
}
|
|
1506
|
-
}),
|
|
1514
|
+
}), Lt = (e) => (e.client ?? t).post({
|
|
1507
1515
|
security: [{
|
|
1508
1516
|
key: "HTTPBearer",
|
|
1509
1517
|
scheme: "bearer",
|
|
@@ -1515,7 +1523,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1515
1523
|
"Content-Type": "application/json",
|
|
1516
1524
|
...e.headers
|
|
1517
1525
|
}
|
|
1518
|
-
}),
|
|
1526
|
+
}), Rt = (e) => (e.client ?? t).post({
|
|
1519
1527
|
security: [{
|
|
1520
1528
|
key: "HTTPBearer",
|
|
1521
1529
|
scheme: "bearer",
|
|
@@ -1527,7 +1535,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1527
1535
|
"Content-Type": "application/json",
|
|
1528
1536
|
...e.headers
|
|
1529
1537
|
}
|
|
1530
|
-
}),
|
|
1538
|
+
}), zt = (e) => (e.client ?? t).get({
|
|
1531
1539
|
security: [{
|
|
1532
1540
|
key: "HTTPBearer",
|
|
1533
1541
|
scheme: "bearer",
|
|
@@ -1535,7 +1543,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1535
1543
|
}],
|
|
1536
1544
|
url: "/finops/v1/receivables/{receivable_id}/pdf-link",
|
|
1537
1545
|
...e
|
|
1538
|
-
}),
|
|
1546
|
+
}), Bt = (e) => (e.client ?? t).post({
|
|
1539
1547
|
security: [{
|
|
1540
1548
|
key: "HTTPBearer",
|
|
1541
1549
|
scheme: "bearer",
|
|
@@ -1547,7 +1555,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1547
1555
|
"Content-Type": "application/json",
|
|
1548
1556
|
...e.headers
|
|
1549
1557
|
}
|
|
1550
|
-
}),
|
|
1558
|
+
}), Vt = (e) => (e.client ?? t).post({
|
|
1551
1559
|
security: [{
|
|
1552
1560
|
key: "HTTPBearer",
|
|
1553
1561
|
scheme: "bearer",
|
|
@@ -1559,7 +1567,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1559
1567
|
"Content-Type": "application/json",
|
|
1560
1568
|
...e.headers
|
|
1561
1569
|
}
|
|
1562
|
-
}),
|
|
1570
|
+
}), Ht = (e) => (e.client ?? t).get({
|
|
1563
1571
|
security: [{
|
|
1564
1572
|
key: "HTTPBearer",
|
|
1565
1573
|
scheme: "bearer",
|
|
@@ -1567,7 +1575,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1567
1575
|
}],
|
|
1568
1576
|
url: "/finops/v1/recurrences/{recurrence_id}",
|
|
1569
1577
|
...e
|
|
1570
|
-
}),
|
|
1578
|
+
}), Ut = (e) => (e.client ?? t).patch({
|
|
1571
1579
|
security: [{
|
|
1572
1580
|
key: "HTTPBearer",
|
|
1573
1581
|
scheme: "bearer",
|
|
@@ -1579,7 +1587,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1579
1587
|
"Content-Type": "application/json",
|
|
1580
1588
|
...e.headers
|
|
1581
1589
|
}
|
|
1582
|
-
}),
|
|
1590
|
+
}), Wt = (e) => (e.client ?? t).get({
|
|
1583
1591
|
security: [{
|
|
1584
1592
|
key: "HTTPBearer",
|
|
1585
1593
|
scheme: "bearer",
|
|
@@ -1587,7 +1595,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1587
1595
|
}],
|
|
1588
1596
|
url: "/finops/v1/transactions",
|
|
1589
1597
|
...e
|
|
1590
|
-
}),
|
|
1598
|
+
}), Gt = (e) => (e.client ?? t).get({
|
|
1591
1599
|
security: [{
|
|
1592
1600
|
key: "HTTPBearer",
|
|
1593
1601
|
scheme: "bearer",
|
|
@@ -1595,7 +1603,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1595
1603
|
}],
|
|
1596
1604
|
url: "/finops/v1/transactions/validations",
|
|
1597
1605
|
...e
|
|
1598
|
-
}),
|
|
1606
|
+
}), Kt = (e) => (e.client ?? t).put({
|
|
1599
1607
|
security: [{
|
|
1600
1608
|
key: "HTTPBearer",
|
|
1601
1609
|
scheme: "bearer",
|
|
@@ -1607,7 +1615,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1607
1615
|
"Content-Type": "application/json",
|
|
1608
1616
|
...e.headers
|
|
1609
1617
|
}
|
|
1610
|
-
}),
|
|
1618
|
+
}), qt = (e) => (e.client ?? t).get({
|
|
1611
1619
|
security: [{
|
|
1612
1620
|
key: "HTTPBearer",
|
|
1613
1621
|
scheme: "bearer",
|
|
@@ -1615,7 +1623,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1615
1623
|
}],
|
|
1616
1624
|
url: "/finops/v1/transactions/{transaction_id}",
|
|
1617
1625
|
...e
|
|
1618
|
-
}),
|
|
1626
|
+
}), Jt = (e) => (e.client ?? t).patch({
|
|
1619
1627
|
security: [{
|
|
1620
1628
|
key: "HTTPBearer",
|
|
1621
1629
|
scheme: "bearer",
|
|
@@ -1627,7 +1635,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1627
1635
|
"Content-Type": "application/json",
|
|
1628
1636
|
...e.headers
|
|
1629
1637
|
}
|
|
1630
|
-
}),
|
|
1638
|
+
}), Yt = (e) => (e.client ?? t).post({
|
|
1631
1639
|
security: [{
|
|
1632
1640
|
key: "HTTPBearer",
|
|
1633
1641
|
scheme: "bearer",
|
|
@@ -1635,7 +1643,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1635
1643
|
}],
|
|
1636
1644
|
url: "/finops/v1/transactions/{transaction_id}/approve",
|
|
1637
1645
|
...e
|
|
1638
|
-
}),
|
|
1646
|
+
}), Xt = (e) => (e.client ?? t).get({
|
|
1639
1647
|
security: [{
|
|
1640
1648
|
key: "HTTPBearer",
|
|
1641
1649
|
scheme: "bearer",
|
|
@@ -1643,7 +1651,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1643
1651
|
}],
|
|
1644
1652
|
url: "/finops/v1/transactions/{transaction_id}/expense_history",
|
|
1645
1653
|
...e
|
|
1646
|
-
}),
|
|
1654
|
+
}), Zt = (e) => (e.client ?? t).post({
|
|
1647
1655
|
security: [{
|
|
1648
1656
|
key: "HTTPBearer",
|
|
1649
1657
|
scheme: "bearer",
|
|
@@ -1655,7 +1663,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1655
1663
|
"Content-Type": "application/json",
|
|
1656
1664
|
...e.headers
|
|
1657
1665
|
}
|
|
1658
|
-
}),
|
|
1666
|
+
}), Qt = (e) => (e.client ?? t).post({
|
|
1659
1667
|
security: [{
|
|
1660
1668
|
key: "HTTPBearer",
|
|
1661
1669
|
scheme: "bearer",
|
|
@@ -1663,7 +1671,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1663
1671
|
}],
|
|
1664
1672
|
url: "/finops/v1/transactions/{transaction_id}/reopen",
|
|
1665
1673
|
...e
|
|
1666
|
-
}),
|
|
1674
|
+
}), $t = (e) => (e.client ?? t).post({
|
|
1667
1675
|
security: [{
|
|
1668
1676
|
key: "HTTPBearer",
|
|
1669
1677
|
scheme: "bearer",
|
|
@@ -1675,7 +1683,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1675
1683
|
"Content-Type": "application/json",
|
|
1676
1684
|
...e.headers
|
|
1677
1685
|
}
|
|
1678
|
-
}),
|
|
1686
|
+
}), en = (e) => (e?.client ?? t).get({
|
|
1679
1687
|
security: [{
|
|
1680
1688
|
key: "APPToken",
|
|
1681
1689
|
scheme: "bearer",
|
|
@@ -1687,7 +1695,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1687
1695
|
}],
|
|
1688
1696
|
url: "/identity/v1/departments",
|
|
1689
1697
|
...e
|
|
1690
|
-
}),
|
|
1698
|
+
}), tn = (e) => (e.client ?? t).post({
|
|
1691
1699
|
security: [{
|
|
1692
1700
|
key: "APPToken",
|
|
1693
1701
|
scheme: "bearer",
|
|
@@ -1703,7 +1711,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1703
1711
|
"Content-Type": "application/json",
|
|
1704
1712
|
...e.headers
|
|
1705
1713
|
}
|
|
1706
|
-
}),
|
|
1714
|
+
}), nn = (e) => (e.client ?? t).delete({
|
|
1707
1715
|
security: [{
|
|
1708
1716
|
key: "APPToken",
|
|
1709
1717
|
scheme: "bearer",
|
|
@@ -1715,7 +1723,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1715
1723
|
}],
|
|
1716
1724
|
url: "/identity/v1/departments/{departmentId}",
|
|
1717
1725
|
...e
|
|
1718
|
-
}),
|
|
1726
|
+
}), rn = (e) => (e.client ?? t).get({
|
|
1719
1727
|
security: [{
|
|
1720
1728
|
key: "APPToken",
|
|
1721
1729
|
scheme: "bearer",
|
|
@@ -1727,7 +1735,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1727
1735
|
}],
|
|
1728
1736
|
url: "/identity/v1/departments/{departmentId}",
|
|
1729
1737
|
...e
|
|
1730
|
-
}),
|
|
1738
|
+
}), an = (e) => (e.client ?? t).put({
|
|
1731
1739
|
security: [{
|
|
1732
1740
|
key: "APPToken",
|
|
1733
1741
|
scheme: "bearer",
|
|
@@ -1743,7 +1751,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1743
1751
|
"Content-Type": "application/json",
|
|
1744
1752
|
...e.headers
|
|
1745
1753
|
}
|
|
1746
|
-
}),
|
|
1754
|
+
}), on = (e) => (e.client ?? t).post({
|
|
1747
1755
|
security: [{
|
|
1748
1756
|
key: "APPToken",
|
|
1749
1757
|
scheme: "bearer",
|
|
@@ -1759,7 +1767,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1759
1767
|
"Content-Type": "application/json",
|
|
1760
1768
|
...e.headers
|
|
1761
1769
|
}
|
|
1762
|
-
}),
|
|
1770
|
+
}), sn = (e) => (e?.client ?? t).get({
|
|
1763
1771
|
security: [{
|
|
1764
1772
|
key: "HTTPBearer",
|
|
1765
1773
|
scheme: "bearer",
|
|
@@ -1767,7 +1775,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1767
1775
|
}],
|
|
1768
1776
|
url: "/identity/v1/disclosures",
|
|
1769
1777
|
...e
|
|
1770
|
-
}),
|
|
1778
|
+
}), cn = (e) => (e?.client ?? t).get({
|
|
1771
1779
|
security: [{
|
|
1772
1780
|
key: "APPToken",
|
|
1773
1781
|
scheme: "bearer",
|
|
@@ -1779,7 +1787,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1779
1787
|
}],
|
|
1780
1788
|
url: "/identity/v1/locations",
|
|
1781
1789
|
...e
|
|
1782
|
-
}),
|
|
1790
|
+
}), ln = (e) => (e.client ?? t).post({
|
|
1783
1791
|
security: [{
|
|
1784
1792
|
key: "APPToken",
|
|
1785
1793
|
scheme: "bearer",
|
|
@@ -1795,7 +1803,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1795
1803
|
"Content-Type": "application/json",
|
|
1796
1804
|
...e.headers
|
|
1797
1805
|
}
|
|
1798
|
-
}),
|
|
1806
|
+
}), un = (e) => (e.client ?? t).delete({
|
|
1799
1807
|
security: [{
|
|
1800
1808
|
key: "APPToken",
|
|
1801
1809
|
scheme: "bearer",
|
|
@@ -1807,7 +1815,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1807
1815
|
}],
|
|
1808
1816
|
url: "/identity/v1/locations/{locationId}",
|
|
1809
1817
|
...e
|
|
1810
|
-
}),
|
|
1818
|
+
}), dn = (e) => (e.client ?? t).get({
|
|
1811
1819
|
security: [{
|
|
1812
1820
|
key: "APPToken",
|
|
1813
1821
|
scheme: "bearer",
|
|
@@ -1819,7 +1827,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1819
1827
|
}],
|
|
1820
1828
|
url: "/identity/v1/locations/{locationId}",
|
|
1821
1829
|
...e
|
|
1822
|
-
}),
|
|
1830
|
+
}), fn = (e) => (e.client ?? t).put({
|
|
1823
1831
|
security: [{
|
|
1824
1832
|
key: "APPToken",
|
|
1825
1833
|
scheme: "bearer",
|
|
@@ -1835,7 +1843,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1835
1843
|
"Content-Type": "application/json",
|
|
1836
1844
|
...e.headers
|
|
1837
1845
|
}
|
|
1838
|
-
}),
|
|
1846
|
+
}), pn = (e) => (e.client ?? t).post({
|
|
1839
1847
|
security: [{
|
|
1840
1848
|
key: "APPToken",
|
|
1841
1849
|
scheme: "bearer",
|
|
@@ -1851,7 +1859,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1851
1859
|
"Content-Type": "application/json",
|
|
1852
1860
|
...e.headers
|
|
1853
1861
|
}
|
|
1854
|
-
}),
|
|
1862
|
+
}), mn = (e) => (e.client ?? t).get({
|
|
1855
1863
|
security: [{
|
|
1856
1864
|
key: "APPToken",
|
|
1857
1865
|
scheme: "bearer",
|
|
@@ -1863,7 +1871,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1863
1871
|
}],
|
|
1864
1872
|
url: "/identity/v1/organizations/{organizationId}",
|
|
1865
1873
|
...e
|
|
1866
|
-
}),
|
|
1874
|
+
}), hn = (e) => (e?.client ?? t).get({
|
|
1867
1875
|
security: [{
|
|
1868
1876
|
key: "APPToken",
|
|
1869
1877
|
scheme: "bearer",
|
|
@@ -1875,7 +1883,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1875
1883
|
}],
|
|
1876
1884
|
url: "/identity/v1/roles",
|
|
1877
1885
|
...e
|
|
1878
|
-
}),
|
|
1886
|
+
}), gn = (e) => (e.client ?? t).post({
|
|
1879
1887
|
security: [{
|
|
1880
1888
|
key: "APPToken",
|
|
1881
1889
|
scheme: "bearer",
|
|
@@ -1891,7 +1899,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1891
1899
|
"Content-Type": "application/json",
|
|
1892
1900
|
...e.headers
|
|
1893
1901
|
}
|
|
1894
|
-
}),
|
|
1902
|
+
}), _n = (e) => (e.client ?? t).get({
|
|
1895
1903
|
security: [{
|
|
1896
1904
|
key: "APPToken",
|
|
1897
1905
|
scheme: "bearer",
|
|
@@ -1903,7 +1911,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1903
1911
|
}],
|
|
1904
1912
|
url: "/identity/v1/roles/{roleId}/permissions",
|
|
1905
1913
|
...e
|
|
1906
|
-
}),
|
|
1914
|
+
}), vn = (e) => (e.client ?? t).get({
|
|
1907
1915
|
security: [{
|
|
1908
1916
|
key: "HTTPBearer",
|
|
1909
1917
|
scheme: "bearer",
|
|
@@ -1911,7 +1919,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1911
1919
|
}],
|
|
1912
1920
|
url: "/identity/v1/user-data/{key}",
|
|
1913
1921
|
...e
|
|
1914
|
-
}),
|
|
1922
|
+
}), yn = (e) => (e.client ?? t).put({
|
|
1915
1923
|
security: [{
|
|
1916
1924
|
key: "HTTPBearer",
|
|
1917
1925
|
scheme: "bearer",
|
|
@@ -1923,7 +1931,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1923
1931
|
"Content-Type": "application/json",
|
|
1924
1932
|
...e.headers
|
|
1925
1933
|
}
|
|
1926
|
-
}),
|
|
1934
|
+
}), bn = (e) => (e?.client ?? t).get({
|
|
1927
1935
|
security: [{
|
|
1928
1936
|
key: "APPToken",
|
|
1929
1937
|
scheme: "bearer",
|
|
@@ -1935,7 +1943,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1935
1943
|
}],
|
|
1936
1944
|
url: "/identity/v1/users",
|
|
1937
1945
|
...e
|
|
1938
|
-
}),
|
|
1946
|
+
}), xn = (e) => (e.client ?? t).post({
|
|
1939
1947
|
security: [{
|
|
1940
1948
|
key: "APPToken",
|
|
1941
1949
|
scheme: "bearer",
|
|
@@ -1951,7 +1959,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1951
1959
|
"Content-Type": "application/json",
|
|
1952
1960
|
...e.headers
|
|
1953
1961
|
}
|
|
1954
|
-
}),
|
|
1962
|
+
}), Sn = (e) => (e.client ?? t).patch({
|
|
1955
1963
|
security: [{
|
|
1956
1964
|
key: "APPToken",
|
|
1957
1965
|
scheme: "bearer",
|
|
@@ -1967,7 +1975,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1967
1975
|
"Content-Type": "application/json",
|
|
1968
1976
|
...e.headers
|
|
1969
1977
|
}
|
|
1970
|
-
}),
|
|
1978
|
+
}), Cn = (e) => (e.client ?? t).post({
|
|
1971
1979
|
security: [{
|
|
1972
1980
|
key: "APPToken",
|
|
1973
1981
|
scheme: "bearer",
|
|
@@ -1981,4 +1989,4 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1981
1989
|
...e
|
|
1982
1990
|
});
|
|
1983
1991
|
//#endregion
|
|
1984
|
-
export { O as activateCreditCard, P as activateDebitCard,
|
|
1992
|
+
export { O as activateCreditCard, P as activateDebitCard, on as bulkUpdateDepartmentMembers, pn as bulkUpdateLocationMembers, gn as bulkUpdateRoleMembers, z as connectExternalBankAccount, K as createAchMoneyMovement, s as createApplication, p as createBankAccount, q as createBookTransfer, b as createCheckDeposit, A as createDebitCard, tn as createDepartment, ln as createLocation, xn as createUser, o as createVelocityControl, nn as deactivateDepartment, un as deactivateLocation, ee as deleteApprovalPoliciesId, c as deleteBankAccountApplication, le as deleteCounterpartsId, _e as deleteCounterpartsIdBankAccountsId, xe as deleteEntitiesIdLogo, ke as deleteFilesId, Me as deleteLedgerAccountsId, Le as deleteMeasureUnitsId, We as deletePayablesId, Qe as deletePayablesIdFile, gt as deleteProductsId, xt as deleteReceiptsId, Et as deleteReceivablesId, Cn as disableUser, w as downloadBankAccountTransactions, J as getAnalyticsPayables, Y as getAnalyticsReceipts, X as getAnalyticsReceivables, Z as getAnalyticsTransactions, r as getApiWidgetGatewayInit, i as getApplicationStatus, Q as getApprovalPolicies, ne as getApprovalRequests, g as getBankAccount, v as getBankAccountAccess, l as getBankAccountApplication, S as getBankAccountStatement, x as getBankAccountStatements, C as getBankAccountTransactions, T as getBankAccountTransfers, f as getBankAccounts, ae as getBankDetails, se as getCounterparts, ue as getCounterpartsId, fe as getCounterpartsIdAddresses, he as getCounterpartsIdBankAccounts, D as getCreditCardById, E as getCreditCards, M as getDebitCardById, F as getDebitCardCredentials, k as getDebitCards, rn as getDepartment, h as getDepositableBankAccounts, sn as getDisclosures, be as getDocumentsIdNextNumbers, Ce as getEntitiesIdSettings, Te as getEntityUsers, Ee as getEntityUsersMe, De as getEntityUsersMyEntity, H as getExternalBankAccountAccess, R as getExternalBankAccounts, Ae as getLedgerAccounts, dn as getLocation, Pe as getMailboxes, Fe as getMeasureUnits, a as getMerchantCategoryGroups, mn as getOrganization, ze as getOverdueReminders, Ve as getPayables, Ge as getPayablesId, $e as getPayablesIdHistory, et as getPayablesIdLineItems, st as getPayablesIdSuggestions, ut as getPaymentRecords, dt as getPaymentReminders, pt as getPaymentTerms, mt as getProducts, _t as getProductsId, yt as getReceipts, Ct as getReceivables, Dt as getReceivablesId, Nt as getReceivablesIdHistory, Ft as getReceivablesIdMails, zt as getReceivablesIdPdfLink, Tt as getReceivablesRequiredFields, Ht as getRecurrencesId, Wt as getTransactions, qt as getTransactionsId, Xt as getTransactionsIdExpenseHistory, Gt as getTransactionsValidations, vn as getUserData, bn as getUsers, y as grantBankAccountAccess, U as grantExternalBankAccountAccess, W as linkExternalBankAccount, en as listDepartments, cn as listLocations, _n as listRolePermissions, hn as listRoles, m as manageBankAccountAccess, j as manageDebitCardAccess, te as patchApprovalPoliciesId, de as patchCounterpartsId, me as patchCounterpartsIdAddressesId, ve as patchCounterpartsIdBankAccountsId, we as patchEntitiesIdSettings, Ne as patchLedgerAccountsId, Re as patchMeasureUnitsId, Ke as patchPayablesId, vt as patchProductsId, St as patchReceiptsId, Ot as patchReceivablesId, Ut as patchRecurrencesId, Jt as patchTransactionsId, n as postApiWidgetGatewayDisclosureAcceptance, $ as postApprovalPolicies, re as postApprovalRequestsIdApprove, ie as postApprovalRequestsIdReject, oe as postBankDetails, ce as postCounterparts, pe as postCounterpartsIdAddresses, ge as postCounterpartsIdBankAccounts, ye as postCounterpartsIdBankAccountsIdMakeDefault, Oe as postFiles, je as postLedgerAccounts, Ie as postMeasureUnits, Be as postOverdueReminders, He as postPayables, qe as postPayablesIdApprovePaymentOperation, Je as postPayablesIdAttachFile, Ye as postPayablesIdCancel, Xe as postPayablesIdDuplicatesIdConfirm, Ze as postPayablesIdDuplicatesIdDismiss, nt as postPayablesIdMarkAsPaid, rt as postPayablesIdReject, it as postPayablesIdReopen, at as postPayablesIdSchedulePayment, ot as postPayablesIdSubmitForApproval, ct as postPayablesIdValidate, Ue as postPayablesUploadFromFile, lt as postPaymentIntentsIdCancel, ft as postPaymentReminders, ht as postProducts, bt as postReceiptsUploadFromFile, wt as postReceivables, kt as postReceivablesIdAccept, At as postReceivablesIdCancel, jt as postReceivablesIdClone, Mt as postReceivablesIdDecline, Pt as postReceivablesIdIssue, It as postReceivablesIdMarkAsPaid, Lt as postReceivablesIdMarkAsPartiallyPaid, Rt as postReceivablesIdMarkAsUncollectible, Bt as postReceivablesIdSend, Vt as postRecurrences, Yt as postTransactionsIdApprove, Zt as postTransactionsIdReject, Qt as postTransactionsIdReopen, $t as postTransactionsIdSubmit, Se as putEntitiesIdLogo, tt as putPayablesIdLineItems, Kt as putTransactionsValidations, I as setDebitCardLockStatus, d as submitApplication, B as unlinkExternalBankAccount, u as updateApplication, _ as updateBankAccount, N as updateDebitCard, an as updateDepartment, V as updateExternalBankAccount, fn as updateLocation, Sn as updateUser, yn as upsertUserData, G as validateExternalBankAccount, L as verifyDebitCard };
|
|
@@ -4,33 +4,32 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { listRoles as e } from "../rest/sdk.gen.js";
|
|
6
6
|
import { listRolesOptions as t } from "../rest/@tanstack/react-query.gen.js";
|
|
7
|
-
import {
|
|
8
|
-
import { useEmbedApi as
|
|
9
|
-
import { organizationHeaders as
|
|
10
|
-
import { getAllPagesNextPageParam as
|
|
11
|
-
import { useMemo as
|
|
12
|
-
import { useInfiniteQuery as
|
|
7
|
+
import { withAuthEpochInfinite as n } from "../withAuthEpoch.js";
|
|
8
|
+
import { useEmbedApi as r } from "../EmbedApiContext.js";
|
|
9
|
+
import { organizationHeaders as i } from "../organizationHeaders.js";
|
|
10
|
+
import { getAllPagesNextPageParam as a, isAllPagesResolving as o, useAutoFetchNextPage as s } from "../allPages.js";
|
|
11
|
+
import { useMemo as c } from "react";
|
|
12
|
+
import { useInfiniteQuery as l } from "@tanstack/react-query";
|
|
13
13
|
//#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
let { client:
|
|
17
|
-
client:
|
|
18
|
-
headers:
|
|
19
|
-
query: { limit:
|
|
20
|
-
}),
|
|
21
|
-
|
|
22
|
-
authEpoch:
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
enabled: y,
|
|
14
|
+
var u = 100;
|
|
15
|
+
function d({ enabled: d } = {}) {
|
|
16
|
+
let { client: f, organizationId: p, widgetToken: m, authEpoch: h, organizationStatus: g } = r(), _ = i(p), v = !!(p && m) && (d === !0 || d === void 0), y = t({
|
|
17
|
+
client: f,
|
|
18
|
+
headers: _,
|
|
19
|
+
query: { limit: u }
|
|
20
|
+
}), b = l({
|
|
21
|
+
...n(y.queryKey, {
|
|
22
|
+
authEpoch: h,
|
|
23
|
+
organizationStatus: g
|
|
24
|
+
}, { suffix: ["all"] }),
|
|
25
|
+
enabled: v,
|
|
27
26
|
initialPageParam: void 0,
|
|
28
27
|
queryFn: async ({ signal: t, pageParam: n }) => {
|
|
29
28
|
let { data: r } = await e({
|
|
30
|
-
client:
|
|
31
|
-
headers:
|
|
29
|
+
client: f,
|
|
30
|
+
headers: _,
|
|
32
31
|
query: {
|
|
33
|
-
limit:
|
|
32
|
+
limit: u,
|
|
34
33
|
...n ? { paginationToken: n } : {}
|
|
35
34
|
},
|
|
36
35
|
signal: t,
|
|
@@ -38,21 +37,21 @@ function f({ enabled: f } = {}) {
|
|
|
38
37
|
});
|
|
39
38
|
return r;
|
|
40
39
|
},
|
|
41
|
-
getNextPageParam:
|
|
40
|
+
getNextPageParam: a
|
|
42
41
|
});
|
|
43
|
-
|
|
44
|
-
let
|
|
45
|
-
if (
|
|
46
|
-
data:
|
|
42
|
+
s(b, v);
|
|
43
|
+
let x = c(() => {
|
|
44
|
+
if (b.data) return {
|
|
45
|
+
data: b.data.pages.flatMap((e) => e.data ?? []),
|
|
47
46
|
nextPaginationToken: null,
|
|
48
47
|
prevPaginationToken: null
|
|
49
48
|
};
|
|
50
|
-
}, [
|
|
49
|
+
}, [b.data]);
|
|
51
50
|
return {
|
|
52
|
-
...
|
|
53
|
-
data:
|
|
54
|
-
isResolving:
|
|
51
|
+
...b,
|
|
52
|
+
data: x,
|
|
53
|
+
isResolving: o(b)
|
|
55
54
|
};
|
|
56
55
|
}
|
|
57
56
|
//#endregion
|
|
58
|
-
export {
|
|
57
|
+
export { d as useAllOrganizationRolesQuery };
|
|
@@ -10,14 +10,14 @@ import { useCallback as i, useMemo as a, useRef as o } from "react";
|
|
|
10
10
|
import { useQueries as s } from "@tanstack/react-query";
|
|
11
11
|
//#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useRolePermissionsQueries.js
|
|
12
12
|
function c({ roleIds: c, enabled: l }) {
|
|
13
|
-
let { client: u, organizationId: d, widgetToken: f, authEpoch: p,
|
|
13
|
+
let { client: u, organizationId: d, widgetToken: f, authEpoch: p, organizationStatus: m } = n(), h = r(d), g = !!(d && f) && (l === !0 || l === void 0), _ = a(() => [...new Set(c)].sort(), [c]), v = s({ queries: _.map((n) => ({
|
|
14
14
|
...t(e({
|
|
15
15
|
client: u,
|
|
16
16
|
headers: h,
|
|
17
17
|
path: { roleId: n }
|
|
18
18
|
}), {
|
|
19
19
|
authEpoch: p,
|
|
20
|
-
|
|
20
|
+
organizationStatus: m
|
|
21
21
|
}),
|
|
22
22
|
enabled: g
|
|
23
23
|
})) }), y = o(v);
|
|
@@ -9,14 +9,14 @@ import { organizationHeaders as r } from "./organizationHeaders.js";
|
|
|
9
9
|
import { useQuery as i } from "@tanstack/react-query";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useCurrentUserQuery.js
|
|
11
11
|
function a({ enabled: a } = {}) {
|
|
12
|
-
let { client: o, organizationId: s, widgetToken: c, authEpoch: l,
|
|
12
|
+
let { client: o, organizationId: s, widgetToken: c, authEpoch: l, organizationStatus: u } = n(), d = !!(s && c) && (a === !0 || a === void 0);
|
|
13
13
|
return i({
|
|
14
14
|
...t(e({
|
|
15
15
|
client: o,
|
|
16
16
|
headers: r(s)
|
|
17
17
|
}), {
|
|
18
18
|
authEpoch: l,
|
|
19
|
-
|
|
19
|
+
organizationStatus: u
|
|
20
20
|
}),
|
|
21
21
|
enabled: d,
|
|
22
22
|
staleTime: Infinity,
|
|
@@ -9,12 +9,12 @@ import { isUserDataNotFoundError as r } from "./isUserDataNotFoundError.js";
|
|
|
9
9
|
import { useQuery as i } from "@tanstack/react-query";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js
|
|
11
11
|
function a({ key: a, enabled: o, defaultWhenNotFound: s }) {
|
|
12
|
-
let { client: c, widgetToken: l, authEpoch: u,
|
|
12
|
+
let { client: c, widgetToken: l, authEpoch: u, organizationStatus: d } = n(), f = !!(l && a) && o !== !1, p = e({
|
|
13
13
|
client: c,
|
|
14
14
|
path: { key: a }
|
|
15
15
|
}), m = p.queryFn, h = t(p, {
|
|
16
16
|
authEpoch: u,
|
|
17
|
-
|
|
17
|
+
organizationStatus: d
|
|
18
18
|
});
|
|
19
19
|
return i(s !== void 0 && m ? {
|
|
20
20
|
...h,
|
package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMailboxAddress.js
CHANGED
|
@@ -9,13 +9,13 @@ import { organizationHeaders as r } from "./organizationHeaders.js";
|
|
|
9
9
|
import { useQuery as i } from "@tanstack/react-query";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMailboxAddress.js
|
|
11
11
|
function a({ relatedObjectType: a, enabled: o }) {
|
|
12
|
-
let { client: s, organizationId: c, widgetToken: l, authEpoch: u,
|
|
12
|
+
let { client: s, organizationId: c, widgetToken: l, authEpoch: u, organizationStatus: d } = n(), f = !!(c && l) && (o === !0 || o === void 0), p = i({
|
|
13
13
|
...t(e({
|
|
14
14
|
client: s,
|
|
15
15
|
headers: r(c)
|
|
16
16
|
}), {
|
|
17
17
|
authEpoch: u,
|
|
18
|
-
|
|
18
|
+
organizationStatus: d
|
|
19
19
|
}),
|
|
20
20
|
enabled: f
|
|
21
21
|
});
|
package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMyEntityQuery.js
CHANGED
|
@@ -9,14 +9,14 @@ import { organizationHeaders as r } from "./organizationHeaders.js";
|
|
|
9
9
|
import { useQuery as i } from "@tanstack/react-query";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMyEntityQuery.js
|
|
11
11
|
function a({ enabled: a } = {}) {
|
|
12
|
-
let { client: o, organizationId: s, widgetToken: c, authEpoch: l,
|
|
12
|
+
let { client: o, organizationId: s, widgetToken: c, authEpoch: l, organizationStatus: u } = n(), d = !!(s && c) && (a === !0 || a === void 0), f = e({
|
|
13
13
|
client: o,
|
|
14
14
|
headers: r(s)
|
|
15
15
|
});
|
|
16
16
|
return i({
|
|
17
17
|
...t(f, {
|
|
18
18
|
authEpoch: l,
|
|
19
|
-
|
|
19
|
+
organizationStatus: u
|
|
20
20
|
}),
|
|
21
21
|
enabled: d
|
|
22
22
|
});
|