@burdenoff/microfe-adaptercloud 2026.625.2 → 2026.628.1
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/adaptercloud/AdapterCloudRoot.js +65 -121
- package/dist/adaptercloud/AdapterCloudRoot.js.map +1 -1
- package/dist/adaptercloud/AdapterCloudRoutes.js +70 -182
- package/dist/adaptercloud/AdapterCloudRoutes.js.map +1 -1
- package/dist/adaptercloud/components/DataState.js +42 -0
- package/dist/adaptercloud/components/DataState.js.map +1 -0
- package/dist/adaptercloud/components/SeverityBadge.js +12 -0
- package/dist/adaptercloud/components/SeverityBadge.js.map +1 -0
- package/dist/adaptercloud/components/StatusBadge.js +43 -44
- package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
- package/dist/adaptercloud/context/AdapterCloudContext.js +22 -30
- package/dist/adaptercloud/context/AdapterCloudContext.js.map +1 -1
- package/dist/adaptercloud/hooks/useAdapterCloudApi.js +397 -194
- package/dist/adaptercloud/hooks/useAdapterCloudApi.js.map +1 -1
- package/dist/adaptercloud/index.js +1 -0
- package/dist/adaptercloud/pages/OverviewPage.js +334 -0
- package/dist/adaptercloud/pages/OverviewPage.js.map +1 -0
- package/dist/adaptercloud/pages/adapters/AdapterDetailPage.js +187 -0
- package/dist/adaptercloud/pages/adapters/AdapterDetailPage.js.map +1 -0
- package/dist/adaptercloud/pages/adapters/AdapterFormPage.js +278 -0
- package/dist/adaptercloud/pages/adapters/AdapterFormPage.js.map +1 -0
- package/dist/adaptercloud/pages/adapters/AdaptersListPage.js +172 -0
- package/dist/adaptercloud/pages/adapters/AdaptersListPage.js.map +1 -0
- package/dist/adaptercloud/pages/connections/ConnectionDetailPage.js +247 -0
- package/dist/adaptercloud/pages/connections/ConnectionDetailPage.js.map +1 -0
- package/dist/adaptercloud/pages/connections/ConnectionFormPage.js +271 -0
- package/dist/adaptercloud/pages/connections/ConnectionFormPage.js.map +1 -0
- package/dist/adaptercloud/pages/connections/ConnectionsListPage.js +167 -0
- package/dist/adaptercloud/pages/connections/ConnectionsListPage.js.map +1 -0
- package/dist/adaptercloud/pages/costs/CostsPage.js +169 -0
- package/dist/adaptercloud/pages/costs/CostsPage.js.map +1 -0
- package/dist/adaptercloud/pages/drift/DriftListPage.js +132 -0
- package/dist/adaptercloud/pages/drift/DriftListPage.js.map +1 -0
- package/dist/adaptercloud/pages/policies/PoliciesListPage.js +171 -0
- package/dist/adaptercloud/pages/policies/PoliciesListPage.js.map +1 -0
- package/dist/adaptercloud/pages/policies/PolicyDetailPage.js +185 -0
- package/dist/adaptercloud/pages/policies/PolicyDetailPage.js.map +1 -0
- package/dist/adaptercloud/pages/policies/PolicyFormPage.js +215 -0
- package/dist/adaptercloud/pages/policies/PolicyFormPage.js.map +1 -0
- package/dist/adaptercloud/pages/resources/ResourceDetailPage.js +207 -0
- package/dist/adaptercloud/pages/resources/ResourceDetailPage.js.map +1 -0
- package/dist/adaptercloud/pages/resources/ResourcesListPage.js +182 -0
- package/dist/adaptercloud/pages/resources/ResourcesListPage.js.map +1 -0
- package/dist/adaptercloud/pages/sync-runs/SyncRunsListPage.js +196 -0
- package/dist/adaptercloud/pages/sync-runs/SyncRunsListPage.js.map +1 -0
- package/dist/adaptercloud/pages/violations/ViolationsListPage.js +258 -0
- package/dist/adaptercloud/pages/violations/ViolationsListPage.js.map +1 -0
- package/dist/adaptercloud/store/adaptercloudStore.js +1 -7
- package/dist/adaptercloud/store/adaptercloudStore.js.map +1 -1
- package/dist/adaptercloud/utils/domain.js +105 -0
- package/dist/adaptercloud/utils/domain.js.map +1 -0
- package/dist/adaptercloud/utils/formatters.js +1 -12
- package/dist/adaptercloud/utils/formatters.js.map +1 -1
- package/dist/index.js +5 -4
- package/package.json +1 -1
- package/dist/adaptercloud/components/InvestmentCard.js +0 -98
- package/dist/adaptercloud/components/InvestmentCard.js.map +0 -1
- package/dist/adaptercloud/components/RatingDisplay.js +0 -35
- package/dist/adaptercloud/components/RatingDisplay.js.map +0 -1
- package/dist/adaptercloud/mocks/data.js +0 -1517
- package/dist/adaptercloud/mocks/data.js.map +0 -1
- package/dist/adaptercloud/mocks/users.js +0 -34
- package/dist/adaptercloud/mocks/users.js.map +0 -1
- package/dist/adaptercloud/pages/HomePage.js +0 -934
- package/dist/adaptercloud/pages/HomePage.js.map +0 -1
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +0 -653
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +0 -1
- package/dist/adaptercloud/pages/admin/AdminDashboard.js +0 -665
- package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +0 -1
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +0 -426
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +0 -1
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +0 -665
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +0 -1
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js +0 -261
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +0 -1
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +0 -663
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +0 -1
- package/dist/adaptercloud/pages/admin/CartManagementPage.js +0 -874
- package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +0 -1
- package/dist/adaptercloud/pages/admin/UserManagementPage.js +0 -898
- package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +0 -1
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +0 -840
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +0 -1
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +0 -714
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +0 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +0 -788
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +0 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +0 -888
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +0 -1
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +0 -634
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +0 -1
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +0 -907
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +0 -1
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +0 -875
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +0 -1
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +0 -827
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +0 -1
- package/dist/adaptercloud/pages/common/HelpSupportPage.js +0 -1329
- package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +0 -1
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js +0 -671
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +0 -1
- package/dist/adaptercloud/pages/common/SettingsPage.js +0 -982
- package/dist/adaptercloud/pages/common/SettingsPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +0 -596
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/CartDetailPage.js +0 -623
- package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +0 -552
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/CheckoutPage.js +0 -534
- package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js +0 -525
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +0 -1
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +0 -623
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +0 -629
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/FavoritesPage.js +0 -480
- package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +0 -444
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +0 -391
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +0 -504
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/ReviewsPage.js +0 -609
- package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +0 -1
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +0 -459
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +0 -1
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +0 -851
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +0 -1
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +0 -942
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +0 -1
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +0 -683
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +0 -1
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js +0 -452
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +0 -1
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +0 -402
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +0 -1
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +0 -571
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +0 -1
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +0 -1067
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +0 -1
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +0 -526
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +0 -1
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js +0 -659
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +0 -1
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +0 -678
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +0 -1
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +0 -689
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +0 -1
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +0 -582
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +0 -1
|
@@ -1,11 +1,83 @@
|
|
|
1
1
|
import { useAdapterCloud as e } from "../context/AdapterCloudContext.js";
|
|
2
2
|
import "../context/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { graphqlFetch as a } from "@burdenoff/fe-libs/shared/graphql";
|
|
3
|
+
import { useMutation as t, useQuery as n, useQueryClient as r } from "@tanstack/react-query";
|
|
4
|
+
import { graphqlFetch as i } from "@burdenoff/fe-libs/shared/graphql";
|
|
6
5
|
//#region src/adaptercloud/hooks/useAdapterCloudApi.ts
|
|
7
|
-
var
|
|
8
|
-
|
|
6
|
+
var a = {
|
|
7
|
+
all: ["adaptercloud"],
|
|
8
|
+
health: () => [...a.all, "health"],
|
|
9
|
+
costSummary: (e) => [
|
|
10
|
+
...a.all,
|
|
11
|
+
"cost-summary",
|
|
12
|
+
e ?? null
|
|
13
|
+
],
|
|
14
|
+
costRecords: (e) => [
|
|
15
|
+
...a.all,
|
|
16
|
+
"cost-records",
|
|
17
|
+
e
|
|
18
|
+
],
|
|
19
|
+
adapters: (e) => [
|
|
20
|
+
...a.all,
|
|
21
|
+
"adapters",
|
|
22
|
+
e
|
|
23
|
+
],
|
|
24
|
+
adapter: (e) => [
|
|
25
|
+
...a.all,
|
|
26
|
+
"adapter",
|
|
27
|
+
e
|
|
28
|
+
],
|
|
29
|
+
connections: (e) => [
|
|
30
|
+
...a.all,
|
|
31
|
+
"connections",
|
|
32
|
+
e
|
|
33
|
+
],
|
|
34
|
+
connection: (e) => [
|
|
35
|
+
...a.all,
|
|
36
|
+
"connection",
|
|
37
|
+
e
|
|
38
|
+
],
|
|
39
|
+
resources: (e) => [
|
|
40
|
+
...a.all,
|
|
41
|
+
"resources",
|
|
42
|
+
e
|
|
43
|
+
],
|
|
44
|
+
resource: (e) => [
|
|
45
|
+
...a.all,
|
|
46
|
+
"resource",
|
|
47
|
+
e
|
|
48
|
+
],
|
|
49
|
+
policies: (e) => [
|
|
50
|
+
...a.all,
|
|
51
|
+
"policies",
|
|
52
|
+
e
|
|
53
|
+
],
|
|
54
|
+
policy: (e) => [
|
|
55
|
+
...a.all,
|
|
56
|
+
"policy",
|
|
57
|
+
e
|
|
58
|
+
],
|
|
59
|
+
violations: (e) => [
|
|
60
|
+
...a.all,
|
|
61
|
+
"violations",
|
|
62
|
+
e
|
|
63
|
+
],
|
|
64
|
+
drift: (e) => [
|
|
65
|
+
...a.all,
|
|
66
|
+
"drift",
|
|
67
|
+
e
|
|
68
|
+
],
|
|
69
|
+
syncRuns: (e) => [
|
|
70
|
+
...a.all,
|
|
71
|
+
"sync-runs",
|
|
72
|
+
e
|
|
73
|
+
],
|
|
74
|
+
syncRun: (e) => [
|
|
75
|
+
...a.all,
|
|
76
|
+
"sync-run",
|
|
77
|
+
e
|
|
78
|
+
]
|
|
79
|
+
}, o = async (e, t, n) => {
|
|
80
|
+
let r = await i({
|
|
9
81
|
gateway: "workspace",
|
|
10
82
|
baseUrl: n,
|
|
11
83
|
query: e,
|
|
@@ -15,209 +87,340 @@ var o = async (e, t, n) => {
|
|
|
15
87
|
if (r.errors?.length) throw Error(r.errors[0]?.message ?? "GraphQL request failed");
|
|
16
88
|
if (!r.data) throw Error("GraphQL response did not include data");
|
|
17
89
|
return r.data;
|
|
18
|
-
}, s = (t) => {
|
|
19
|
-
let { apiGatewayUrl:
|
|
20
|
-
return r({
|
|
21
|
-
queryKey: [
|
|
22
|
-
"adaptercloud",
|
|
23
|
-
"providers",
|
|
24
|
-
t
|
|
25
|
-
],
|
|
26
|
-
queryFn: async () => (await o("query Providers($filter: AdapterCloudProviderFilterInput) {\n listServiceProviders(filter: $filter, limit: 200) {\n id name slug category status rating totalRatings averageOrderValue serviceTypes location businessHours createdAt\n }\n }", { filter: t ? { query: t } : void 0 }, n)).listServiceProviders.map((e) => ({
|
|
27
|
-
...e,
|
|
28
|
-
image: "https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=400",
|
|
29
|
-
images: ["https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=400"],
|
|
30
|
-
isOpen: e.status === "ACTIVE" || e.status === "VERIFIED",
|
|
31
|
-
isVerified: e.status === "VERIFIED",
|
|
32
|
-
distance: .5,
|
|
33
|
-
estimatedTime: 20,
|
|
34
|
-
createdAt: e.createdAt
|
|
35
|
-
}))
|
|
36
|
-
});
|
|
37
|
-
}, c = (t) => {
|
|
38
|
-
let { apiGatewayUrl: n } = e();
|
|
39
|
-
return r({
|
|
40
|
-
queryKey: [
|
|
41
|
-
"adaptercloud",
|
|
42
|
-
"offerings",
|
|
43
|
-
t
|
|
44
|
-
],
|
|
45
|
-
queryFn: async () => (await o("query Offerings($providerId: String) {\n listOfferings(providerId: $providerId, limit: 300) {\n id providerId kind name slug category description price originalPrice stock durationMinutes serviceType tags isAvailable metadata media\n }\n }", { providerId: t }, n)).listOfferings,
|
|
46
|
-
enabled: !!t
|
|
47
|
-
});
|
|
48
|
-
}, l = (t = {}) => {
|
|
49
|
-
let { apiGatewayUrl: n } = e();
|
|
50
|
-
return r({
|
|
51
|
-
queryKey: [
|
|
52
|
-
"adaptercloud",
|
|
53
|
-
"orders",
|
|
54
|
-
t.providerId,
|
|
55
|
-
t.customerId
|
|
56
|
-
],
|
|
57
|
-
queryFn: async () => (await o("query Orders($providerId: String, $customerId: String) {\n listOrders(providerId: $providerId, customerId: $customerId, limit: 200) {\n id orderNumber providerId customerId status paymentStatus fulfillmentType subtotal tax deliveryFee discount total notes timeline paymentMethod deliveryAddress createdAt\n provider { name }\n items { id offeringId name quantity unitPrice totalPrice customizations }\n }\n }", t, n)).listOrders.map((e) => ({
|
|
58
|
-
id: e.id,
|
|
59
|
-
cartId: e.providerId,
|
|
60
|
-
cartName: e.provider?.name || "Unknown Cart",
|
|
61
|
-
cartImage: "https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=100",
|
|
62
|
-
items: e.items.map((e) => ({
|
|
63
|
-
id: e.id,
|
|
64
|
-
name: e.name,
|
|
65
|
-
quantity: e.quantity,
|
|
66
|
-
price: e.unitPrice,
|
|
67
|
-
customizations: e.customizations
|
|
68
|
-
})),
|
|
69
|
-
total: e.total,
|
|
70
|
-
subtotal: e.subtotal,
|
|
71
|
-
taxes: e.tax,
|
|
72
|
-
deliveryFee: e.deliveryFee,
|
|
73
|
-
discount: e.discount,
|
|
74
|
-
status: e.status.toLowerCase(),
|
|
75
|
-
orderDate: e.createdAt,
|
|
76
|
-
deliveryAddress: e.deliveryAddress,
|
|
77
|
-
paymentMethod: e.paymentMethod || "Cash",
|
|
78
|
-
paymentStatus: e.paymentStatus.toLowerCase(),
|
|
79
|
-
timeline: e.timeline || []
|
|
80
|
-
}))
|
|
81
|
-
});
|
|
82
|
-
}, u = () => {
|
|
83
|
-
let { apiGatewayUrl: t } = e();
|
|
84
|
-
return r({
|
|
85
|
-
queryKey: ["adaptercloud", "dashboard-stats"],
|
|
86
|
-
queryFn: async () => (await o("query DashboardStats { adaptercloudDashboardStats { totalOrders totalRevenue activeProviders activeCustomers avgRating pendingOrders } }", {}, t)).adaptercloudDashboardStats
|
|
87
|
-
});
|
|
88
|
-
}, d = () => {
|
|
89
|
-
let { apiGatewayUrl: t } = e();
|
|
90
|
-
return r({
|
|
91
|
-
queryKey: ["adaptercloud", "investment-opportunities"],
|
|
92
|
-
queryFn: async () => (await o("query Opportunities {\n listInvestmentOpportunities(limit: 200) {\n id providerId title description targetAmount raisedAmount minimumInvestment expectedReturnsPct lockInMonths riskLevel status expiresAt terms businessMetrics createdAt\n provider { name }\n }\n }", {}, t)).listInvestmentOpportunities.map((e) => ({
|
|
93
|
-
id: e.id,
|
|
94
|
-
cartId: e.providerId,
|
|
95
|
-
cartName: e.provider?.name || "Unknown Cart",
|
|
96
|
-
businessOwner: "Owner",
|
|
97
|
-
targetAmount: e.targetAmount,
|
|
98
|
-
raisedAmount: e.raisedAmount,
|
|
99
|
-
minimumInvestment: e.minimumInvestment,
|
|
100
|
-
expectedReturns: e.expectedReturnsPct,
|
|
101
|
-
investmentPeriod: e.lockInMonths,
|
|
102
|
-
riskLevel: e.riskLevel.toLowerCase(),
|
|
103
|
-
description: e.description,
|
|
104
|
-
businessPlan: "",
|
|
105
|
-
financialProjections: [],
|
|
106
|
-
documents: [],
|
|
107
|
-
investors: [],
|
|
108
|
-
status: e.status.toLowerCase(),
|
|
109
|
-
createdAt: e.createdAt,
|
|
110
|
-
expiresAt: e.expiresAt
|
|
111
|
-
}))
|
|
112
|
-
});
|
|
113
|
-
}, f = (t) => {
|
|
114
|
-
let { apiGatewayUrl: n } = e();
|
|
115
|
-
return r({
|
|
116
|
-
queryKey: [
|
|
117
|
-
"adaptercloud",
|
|
118
|
-
"investments",
|
|
119
|
-
t
|
|
120
|
-
],
|
|
121
|
-
queryFn: async () => (await o("query Investments($investorId: String!) {\n listInvestments(investorId: $investorId) {\n id opportunityId amount currentValue expectedReturnsPct status investedAt maturedAt realizedReturns\n opportunity { provider { name } }\n }\n }", { investorId: t }, n)).listInvestments.map((e) => ({
|
|
122
|
-
id: e.id,
|
|
123
|
-
opportunityId: e.opportunityId,
|
|
124
|
-
cartName: e.opportunity?.provider?.name || "Unknown Cart",
|
|
125
|
-
investedAmount: e.amount,
|
|
126
|
-
currentValue: e.currentValue,
|
|
127
|
-
returns: e.realizedReturns,
|
|
128
|
-
returnsPercentage: e.expectedReturnsPct,
|
|
129
|
-
investmentDate: e.investedAt,
|
|
130
|
-
status: e.status.toLowerCase()
|
|
131
|
-
})),
|
|
132
|
-
enabled: !!t
|
|
133
|
-
});
|
|
134
|
-
}, p = (t) => {
|
|
135
|
-
let { apiGatewayUrl: n } = e();
|
|
136
|
-
return r({
|
|
137
|
-
queryKey: [
|
|
138
|
-
"adaptercloud",
|
|
139
|
-
"worker-tasks",
|
|
140
|
-
t
|
|
141
|
-
],
|
|
142
|
-
queryFn: async () => (await o("query WorkerTasks($workerId: String!) {\n listWorkerTasks(workerId: $workerId, limit: 100) {\n id orderId providerId type description priority status assignedAt dueAt completedAt customerName customerPhone earnings distance notes\n provider { name }\n order { deliveryAddress }\n }\n }", { workerId: t }, n)).listWorkerTasks.map((e) => ({
|
|
143
|
-
id: e.id,
|
|
144
|
-
orderId: e.orderId,
|
|
145
|
-
cartId: e.providerId,
|
|
146
|
-
cartName: e.provider?.name || "Unknown Cart",
|
|
147
|
-
type: e.type.toLowerCase(),
|
|
148
|
-
description: e.description,
|
|
149
|
-
priority: e.priority.toLowerCase(),
|
|
150
|
-
status: e.status.toLowerCase(),
|
|
151
|
-
assignedAt: e.assignedAt,
|
|
152
|
-
dueAt: e.dueAt,
|
|
153
|
-
completedAt: e.completedAt,
|
|
154
|
-
customerName: e.customerName,
|
|
155
|
-
customerPhone: e.customerPhone,
|
|
156
|
-
deliveryAddress: e.order?.deliveryAddress,
|
|
157
|
-
earnings: e.earnings,
|
|
158
|
-
distance: e.distance,
|
|
159
|
-
notes: e.notes
|
|
160
|
-
})),
|
|
161
|
-
enabled: !!t
|
|
162
|
-
});
|
|
163
|
-
}, m = (t) => {
|
|
164
|
-
let { apiGatewayUrl: n } = e();
|
|
165
|
-
return r({
|
|
166
|
-
queryKey: [
|
|
167
|
-
"adaptercloud",
|
|
168
|
-
"worker-stats",
|
|
169
|
-
t
|
|
170
|
-
],
|
|
171
|
-
queryFn: async () => (await o("query WorkerStats($workerId: String!) {\n adaptercloudWorkerStats(workerId: $workerId) {\n totalDeliveries totalEarnings averageRating completionRate todayTasks todayEarnings\n }\n }", { workerId: t }, n)).adaptercloudWorkerStats,
|
|
172
|
-
enabled: !!t
|
|
173
|
-
});
|
|
174
|
-
}, h = () => {
|
|
175
|
-
let t = i(), { apiGatewayUrl: r } = e();
|
|
90
|
+
}, s = 30 * 1e3, c = "\n id name slug kind status vendor version description capabilities tags\n configSchema workspaceId createdAt updatedAt\n", l = "\n id name adapterId authMethod status environment region resourceCount\n secretRef targetRef config tags lastError lastSyncedAt workspaceId createdAt updatedAt\n", u = "\n id connectionId externalId resourceType name region state monthlyCost\n providerTags attributes tags lastSeenAt workspaceId createdAt updatedAt\n", d = "\n id name description kind enforcement severity expression appliesTo isActive\n tags workspaceId createdAt updatedAt\n", f = "\n id policyId resourceId message status severity evidence waiverReason\n detectedAt resolvedAt resolvedById workspaceId createdAt updatedAt\n", p = "\n id resourceId attributePath expectedValue observedValue severity status\n detectedAt remediatedAt workspaceId createdAt updatedAt\n", m = "\n id connectionId kind status discoveredCount reconciledCount driftCount\n violationCount error summary startedAt finishedAt workspaceId createdAt updatedAt\n", h = (t = {}) => {
|
|
91
|
+
let { apiGatewayUrl: r } = e();
|
|
176
92
|
return n({
|
|
177
|
-
|
|
93
|
+
queryKey: a.adapters(t),
|
|
94
|
+
queryFn: async () => (await o(`query AdaListAdapters($kind: AdaAdapterKind, $status: AdaAdapterStatus, $pagination: PaginationInput) {
|
|
95
|
+
adaListAdapters(kind: $kind, status: $status, pagination: $pagination) {
|
|
96
|
+
items { ${c} }
|
|
97
|
+
pageInfo { cursor hasMore }
|
|
98
|
+
}
|
|
99
|
+
}`, {
|
|
100
|
+
kind: t.kind,
|
|
101
|
+
status: t.status,
|
|
102
|
+
pagination: t.pagination
|
|
103
|
+
}, r)).adaListAdapters,
|
|
104
|
+
staleTime: s
|
|
105
|
+
});
|
|
106
|
+
}, g = (t) => {
|
|
107
|
+
let { apiGatewayUrl: r } = e();
|
|
108
|
+
return n({
|
|
109
|
+
queryKey: a.adapter(t ?? ""),
|
|
110
|
+
queryFn: async () => (await o(`query AdaAdapter($id: ID!) {
|
|
111
|
+
adaAdapter(id: $id) {
|
|
112
|
+
${c}
|
|
113
|
+
connections { ${l} }
|
|
114
|
+
}
|
|
115
|
+
}`, { id: t }, r)).adaAdapter,
|
|
116
|
+
enabled: !!t,
|
|
117
|
+
staleTime: s
|
|
118
|
+
});
|
|
119
|
+
}, _ = () => {
|
|
120
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
121
|
+
return t({
|
|
122
|
+
mutationFn: async (e) => (await o(`mutation AdaCreateAdapter($input: AdaCreateAdapterInput!) {
|
|
123
|
+
adaCreateAdapter(input: $input) { ${c} }
|
|
124
|
+
}`, { input: e }, i)).adaCreateAdapter,
|
|
125
|
+
onSuccess: () => {
|
|
126
|
+
n.invalidateQueries({ queryKey: [...a.all, "adapters"] });
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}, v = () => {
|
|
130
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
131
|
+
return t({
|
|
132
|
+
mutationFn: async ({ id: e, input: t }) => (await o(`mutation AdaUpdateAdapter($id: ID!, $input: AdaUpdateAdapterInput!) {
|
|
133
|
+
adaUpdateAdapter(id: $id, input: $input) { ${c} }
|
|
134
|
+
}`, {
|
|
135
|
+
id: e,
|
|
136
|
+
input: t
|
|
137
|
+
}, i)).adaUpdateAdapter,
|
|
138
|
+
onSuccess: (e) => {
|
|
139
|
+
n.invalidateQueries({ queryKey: [...a.all, "adapters"] }), n.invalidateQueries({ queryKey: a.adapter(e.id) });
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
}, y = () => {
|
|
143
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
144
|
+
return t({
|
|
145
|
+
mutationFn: async (e) => (await o("mutation AdaArchiveAdapter($id: ID!) { adaArchiveAdapter(id: $id) }", { id: e }, i)).adaArchiveAdapter,
|
|
178
146
|
onSuccess: () => {
|
|
179
|
-
|
|
147
|
+
n.invalidateQueries({ queryKey: [...a.all, "adapters"] });
|
|
180
148
|
}
|
|
181
149
|
});
|
|
182
|
-
},
|
|
183
|
-
let
|
|
150
|
+
}, b = (t = {}) => {
|
|
151
|
+
let { apiGatewayUrl: r } = e();
|
|
184
152
|
return n({
|
|
185
|
-
|
|
186
|
-
|
|
153
|
+
queryKey: a.connections(t),
|
|
154
|
+
queryFn: async () => (await o(`query AdaListConnections($adapterId: ID, $status: AdaConnectionStatus, $pagination: PaginationInput) {
|
|
155
|
+
adaListConnections(adapterId: $adapterId, status: $status, pagination: $pagination) {
|
|
156
|
+
items {
|
|
157
|
+
${l}
|
|
158
|
+
adapter { id name slug kind }
|
|
159
|
+
}
|
|
160
|
+
pageInfo { cursor hasMore }
|
|
161
|
+
}
|
|
162
|
+
}`, {
|
|
163
|
+
adapterId: t.adapterId,
|
|
164
|
+
status: t.status,
|
|
165
|
+
pagination: t.pagination
|
|
166
|
+
}, r)).adaListConnections,
|
|
167
|
+
staleTime: s
|
|
168
|
+
});
|
|
169
|
+
}, x = (t) => {
|
|
170
|
+
let { apiGatewayUrl: r } = e();
|
|
171
|
+
return n({
|
|
172
|
+
queryKey: a.connection(t ?? ""),
|
|
173
|
+
queryFn: async () => (await o(`query AdaConnection($id: ID!) {
|
|
174
|
+
adaConnection(id: $id) {
|
|
175
|
+
${l}
|
|
176
|
+
adapter { ${c} }
|
|
177
|
+
resources { ${u} }
|
|
178
|
+
}
|
|
179
|
+
}`, { id: t }, r)).adaConnection,
|
|
180
|
+
enabled: !!t,
|
|
181
|
+
staleTime: s
|
|
182
|
+
});
|
|
183
|
+
}, S = () => {
|
|
184
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
185
|
+
return t({
|
|
186
|
+
mutationFn: async (e) => (await o(`mutation AdaCreateConnection($input: AdaCreateConnectionInput!) {
|
|
187
|
+
adaCreateConnection(input: $input) { ${l} }
|
|
188
|
+
}`, { input: e }, i)).adaCreateConnection,
|
|
189
|
+
onSuccess: () => {
|
|
190
|
+
n.invalidateQueries({ queryKey: [...a.all, "connections"] });
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
}, C = () => {
|
|
194
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
195
|
+
return t({
|
|
196
|
+
mutationFn: async ({ id: e, input: t }) => (await o(`mutation AdaUpdateConnection($id: ID!, $input: AdaUpdateConnectionInput!) {
|
|
197
|
+
adaUpdateConnection(id: $id, input: $input) { ${l} }
|
|
198
|
+
}`, {
|
|
199
|
+
id: e,
|
|
200
|
+
input: t
|
|
201
|
+
}, i)).adaUpdateConnection,
|
|
202
|
+
onSuccess: (e) => {
|
|
203
|
+
n.invalidateQueries({ queryKey: [...a.all, "connections"] }), n.invalidateQueries({ queryKey: a.connection(e.id) });
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
}, w = () => {
|
|
207
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
208
|
+
return t({
|
|
209
|
+
mutationFn: async ({ id: e, status: t }) => (await o(`mutation AdaSetConnectionStatus($id: ID!, $status: AdaConnectionStatus!) {
|
|
210
|
+
adaSetConnectionStatus(id: $id, status: $status) { ${l} }
|
|
211
|
+
}`, {
|
|
212
|
+
id: e,
|
|
187
213
|
status: t
|
|
188
|
-
},
|
|
214
|
+
}, i)).adaSetConnectionStatus,
|
|
215
|
+
onSuccess: (e) => {
|
|
216
|
+
n.invalidateQueries({ queryKey: [...a.all, "connections"] }), n.invalidateQueries({ queryKey: a.connection(e.id) });
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
}, T = () => {
|
|
220
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
221
|
+
return t({
|
|
222
|
+
mutationFn: async (e) => (await o(`mutation AdaDisableConnection($id: ID!) {
|
|
223
|
+
adaDisableConnection(id: $id) { ${l} }
|
|
224
|
+
}`, { id: e }, i)).adaDisableConnection,
|
|
225
|
+
onSuccess: (e) => {
|
|
226
|
+
n.invalidateQueries({ queryKey: [...a.all, "connections"] }), n.invalidateQueries({ queryKey: a.connection(e.id) });
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
}, E = (t = {}) => {
|
|
230
|
+
let { apiGatewayUrl: r } = e();
|
|
231
|
+
return n({
|
|
232
|
+
queryKey: a.resources(t),
|
|
233
|
+
queryFn: async () => (await o(`query AdaListResources($connectionId: ID, $resourceType: String, $state: AdaResourceState, $pagination: PaginationInput) {
|
|
234
|
+
adaListResources(connectionId: $connectionId, resourceType: $resourceType, state: $state, pagination: $pagination) {
|
|
235
|
+
items {
|
|
236
|
+
${u}
|
|
237
|
+
connection { id name }
|
|
238
|
+
}
|
|
239
|
+
pageInfo { cursor hasMore }
|
|
240
|
+
}
|
|
241
|
+
}`, {
|
|
242
|
+
connectionId: t.connectionId,
|
|
243
|
+
resourceType: t.resourceType,
|
|
244
|
+
state: t.state,
|
|
245
|
+
pagination: t.pagination
|
|
246
|
+
}, r)).adaListResources,
|
|
247
|
+
staleTime: s
|
|
248
|
+
});
|
|
249
|
+
}, D = (t) => {
|
|
250
|
+
let { apiGatewayUrl: r } = e();
|
|
251
|
+
return n({
|
|
252
|
+
queryKey: a.resource(t ?? ""),
|
|
253
|
+
queryFn: async () => (await o(`query AdaResource($id: ID!) {
|
|
254
|
+
adaResource(id: $id) {
|
|
255
|
+
${u}
|
|
256
|
+
connection { ${l} adapter { id name slug kind } }
|
|
257
|
+
dependsOn { id name resourceType region state monthlyCost }
|
|
258
|
+
}
|
|
259
|
+
}`, { id: t }, r)).adaResource,
|
|
260
|
+
enabled: !!t,
|
|
261
|
+
staleTime: s
|
|
262
|
+
});
|
|
263
|
+
}, O = (t = {}) => {
|
|
264
|
+
let { apiGatewayUrl: r } = e();
|
|
265
|
+
return n({
|
|
266
|
+
queryKey: a.policies(t),
|
|
267
|
+
queryFn: async () => (await o(`query AdaListPolicies($isActive: Boolean, $kind: AdaPolicyKind, $pagination: PaginationInput) {
|
|
268
|
+
adaListPolicies(isActive: $isActive, kind: $kind, pagination: $pagination) {
|
|
269
|
+
items { ${d} }
|
|
270
|
+
pageInfo { cursor hasMore }
|
|
271
|
+
}
|
|
272
|
+
}`, {
|
|
273
|
+
isActive: t.isActive,
|
|
274
|
+
kind: t.kind,
|
|
275
|
+
pagination: t.pagination
|
|
276
|
+
}, r)).adaListPolicies,
|
|
277
|
+
staleTime: s
|
|
278
|
+
});
|
|
279
|
+
}, k = (t) => {
|
|
280
|
+
let { apiGatewayUrl: r } = e();
|
|
281
|
+
return n({
|
|
282
|
+
queryKey: a.policy(t ?? ""),
|
|
283
|
+
queryFn: async () => (await o(`query AdaPolicy($id: ID!) {
|
|
284
|
+
adaPolicy(id: $id) {
|
|
285
|
+
${d}
|
|
286
|
+
violations { ${f} }
|
|
287
|
+
}
|
|
288
|
+
}`, { id: t }, r)).adaPolicy,
|
|
289
|
+
enabled: !!t,
|
|
290
|
+
staleTime: s
|
|
291
|
+
});
|
|
292
|
+
}, A = () => {
|
|
293
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
294
|
+
return t({
|
|
295
|
+
mutationFn: async (e) => (await o(`mutation AdaCreatePolicy($input: AdaCreatePolicyInput!) {
|
|
296
|
+
adaCreatePolicy(input: $input) { ${d} }
|
|
297
|
+
}`, { input: e }, i)).adaCreatePolicy,
|
|
189
298
|
onSuccess: () => {
|
|
190
|
-
|
|
299
|
+
n.invalidateQueries({ queryKey: [...a.all, "policies"] });
|
|
191
300
|
}
|
|
192
301
|
});
|
|
193
|
-
},
|
|
194
|
-
let
|
|
302
|
+
}, j = () => {
|
|
303
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
304
|
+
return t({
|
|
305
|
+
mutationFn: async (e) => (await o("mutation AdaArchivePolicy($id: ID!) { adaArchivePolicy(id: $id) }", { id: e }, i)).adaArchivePolicy,
|
|
306
|
+
onSuccess: () => {
|
|
307
|
+
n.invalidateQueries({ queryKey: [...a.all, "policies"] });
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
}, M = (t = {}) => {
|
|
311
|
+
let { apiGatewayUrl: r } = e();
|
|
195
312
|
return n({
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
313
|
+
queryKey: a.violations(t),
|
|
314
|
+
queryFn: async () => (await o(`query AdaListViolations($policyId: ID, $resourceId: ID, $status: AdaViolationStatus, $pagination: PaginationInput) {
|
|
315
|
+
adaListViolations(policyId: $policyId, resourceId: $resourceId, status: $status, pagination: $pagination) {
|
|
316
|
+
items {
|
|
317
|
+
${f}
|
|
318
|
+
policy { id name kind severity }
|
|
319
|
+
}
|
|
320
|
+
pageInfo { cursor hasMore }
|
|
321
|
+
}
|
|
322
|
+
}`, {
|
|
323
|
+
policyId: t.policyId,
|
|
324
|
+
resourceId: t.resourceId,
|
|
325
|
+
status: t.status,
|
|
326
|
+
pagination: t.pagination
|
|
327
|
+
}, r)).adaListViolations,
|
|
328
|
+
staleTime: s
|
|
329
|
+
});
|
|
330
|
+
}, N = () => {
|
|
331
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
332
|
+
return t({
|
|
333
|
+
mutationFn: async ({ id: e, status: t, waiverReason: n }) => (await o(`mutation AdaResolveViolation($id: ID!, $status: AdaViolationStatus!, $waiverReason: String) {
|
|
334
|
+
adaResolveViolation(id: $id, status: $status, waiverReason: $waiverReason) {
|
|
335
|
+
${f}
|
|
336
|
+
}
|
|
337
|
+
}`, {
|
|
338
|
+
id: e,
|
|
339
|
+
status: t,
|
|
340
|
+
waiverReason: n
|
|
341
|
+
}, i)).adaResolveViolation,
|
|
200
342
|
onSuccess: () => {
|
|
201
|
-
|
|
343
|
+
n.invalidateQueries({ queryKey: [...a.all, "violations"] });
|
|
202
344
|
}
|
|
203
345
|
});
|
|
204
|
-
},
|
|
205
|
-
let {
|
|
206
|
-
return
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
r,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
346
|
+
}, P = (t = {}) => {
|
|
347
|
+
let { apiGatewayUrl: r } = e();
|
|
348
|
+
return n({
|
|
349
|
+
queryKey: a.drift(t),
|
|
350
|
+
queryFn: async () => (await o(`query AdaListDriftRecords($resourceId: ID, $status: AdaDriftStatus) {
|
|
351
|
+
adaListDriftRecords(resourceId: $resourceId, status: $status) { ${p} }
|
|
352
|
+
}`, {
|
|
353
|
+
resourceId: t.resourceId,
|
|
354
|
+
status: t.status
|
|
355
|
+
}, r)).adaListDriftRecords,
|
|
356
|
+
staleTime: s
|
|
357
|
+
});
|
|
358
|
+
}, F = () => {
|
|
359
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
360
|
+
return t({
|
|
361
|
+
mutationFn: async (e) => (await o(`mutation AdaRemediateDrift($id: ID!) {
|
|
362
|
+
adaRemediateDrift(id: $id) { ${p} }
|
|
363
|
+
}`, { id: e }, i)).adaRemediateDrift,
|
|
364
|
+
onSuccess: () => {
|
|
365
|
+
n.invalidateQueries({ queryKey: [...a.all, "drift"] });
|
|
366
|
+
}
|
|
367
|
+
});
|
|
368
|
+
}, I = (t = {}) => {
|
|
369
|
+
let { apiGatewayUrl: r } = e();
|
|
370
|
+
return n({
|
|
371
|
+
queryKey: a.syncRuns(t),
|
|
372
|
+
queryFn: async () => (await o(`query AdaListSyncRuns($connectionId: ID, $status: AdaSyncStatus, $pagination: PaginationInput) {
|
|
373
|
+
adaListSyncRuns(connectionId: $connectionId, status: $status, pagination: $pagination) {
|
|
374
|
+
items { ${m} }
|
|
375
|
+
pageInfo { cursor hasMore }
|
|
376
|
+
}
|
|
377
|
+
}`, {
|
|
378
|
+
connectionId: t.connectionId,
|
|
379
|
+
status: t.status,
|
|
380
|
+
pagination: t.pagination
|
|
381
|
+
}, r)).adaListSyncRuns,
|
|
382
|
+
staleTime: s
|
|
383
|
+
});
|
|
384
|
+
}, L = () => {
|
|
385
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
386
|
+
return t({
|
|
387
|
+
mutationFn: async (e) => (await o(`mutation AdaStartSyncRun($input: AdaStartSyncRunInput!) {
|
|
388
|
+
adaStartSyncRun(input: $input) { ${m} }
|
|
389
|
+
}`, { input: e }, i)).adaStartSyncRun,
|
|
390
|
+
onSuccess: () => {
|
|
391
|
+
n.invalidateQueries({ queryKey: [...a.all, "sync-runs"] });
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
}, R = () => {
|
|
395
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
396
|
+
return t({
|
|
397
|
+
mutationFn: async (e) => (await o(`mutation AdaCancelSyncRun($id: ID!) {
|
|
398
|
+
adaCancelSyncRun(id: $id) { ${m} }
|
|
399
|
+
}`, { id: e }, i)).adaCancelSyncRun,
|
|
400
|
+
onSuccess: () => {
|
|
401
|
+
n.invalidateQueries({ queryKey: [...a.all, "sync-runs"] });
|
|
402
|
+
}
|
|
403
|
+
});
|
|
404
|
+
}, z = (t) => {
|
|
405
|
+
let { apiGatewayUrl: r } = e();
|
|
406
|
+
return n({
|
|
407
|
+
queryKey: a.costSummary(t),
|
|
408
|
+
queryFn: async () => (await o("query AdaCostSummary($connectionId: ID) {\n adaCostSummary(connectionId: $connectionId) {\n currency total\n lines { service total }\n }\n }", { connectionId: t }, r)).adaCostSummary,
|
|
409
|
+
staleTime: s
|
|
410
|
+
});
|
|
411
|
+
}, B = (t = {}) => {
|
|
412
|
+
let { apiGatewayUrl: r } = e();
|
|
413
|
+
return n({
|
|
414
|
+
queryKey: a.costRecords(t),
|
|
415
|
+
queryFn: async () => (await o("query AdaListCostRecords($connectionId: ID, $resourceId: ID, $service: String) {\n adaListCostRecords(connectionId: $connectionId, resourceId: $resourceId, service: $service) {\n id service amount currency periodStart periodEnd breakdown\n connectionId resourceId workspaceId createdAt updatedAt\n }\n }", {
|
|
416
|
+
connectionId: t.connectionId,
|
|
417
|
+
resourceId: t.resourceId,
|
|
418
|
+
service: t.service
|
|
419
|
+
}, r)).adaListCostRecords,
|
|
420
|
+
staleTime: s
|
|
421
|
+
});
|
|
219
422
|
};
|
|
220
423
|
//#endregion
|
|
221
|
-
export {
|
|
424
|
+
export { g as useAdapter, h as useAdapters, y as useArchiveAdapter, j as useArchivePolicy, R as useCancelSyncRun, x as useConnection, b as useConnections, B as useCostRecords, z as useCostSummary, _ as useCreateAdapter, S as useCreateConnection, A as useCreatePolicy, T as useDisableConnection, P as useDriftRecords, O as usePolicies, k as usePolicy, F as useRemediateDrift, N as useResolveViolation, D as useResource, E as useResources, w as useSetConnectionStatus, L as useStartSyncRun, I as useSyncRuns, v as useUpdateAdapter, C as useUpdateConnection, M as useViolations };
|
|
222
425
|
|
|
223
426
|
//# sourceMappingURL=useAdapterCloudApi.js.map
|