@raystack/frontier 0.97.0 → 0.99.0
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/admin/dist/index.js +165 -161
- package/admin/dist/index.mjs +220 -216
- package/hooks/dist/index.d.ts +1 -0
- package/hooks/dist/index.js +3 -0
- package/hooks/dist/index.mjs +3 -0
- package/package.json +2 -2
- package/react/dist/index.d.ts +20 -1
- package/react/dist/index.js +8202 -3326
- package/react/dist/index.mjs +8544 -3518
package/admin/dist/index.mjs
CHANGED
|
@@ -186,7 +186,7 @@ function isZeroUUID(uuid) {
|
|
|
186
186
|
function capitalizeFirstLetter(str) {
|
|
187
187
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function convertBillingAddressToString(address) {
|
|
190
190
|
if (!address)
|
|
191
191
|
return "";
|
|
192
192
|
const { line1, line2, city, state, country, postalCode } = address;
|
|
@@ -196,8 +196,8 @@ function converBillingAddressToString(address) {
|
|
|
196
196
|
// admin/views/roles/columns.tsx
|
|
197
197
|
import { Flex } from "@raystack/apsara";
|
|
198
198
|
|
|
199
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
200
|
-
var digest = "
|
|
199
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-3B3yHesHAyGl/sdk/admin/views/roles/roles.module.css.js
|
|
200
|
+
var digest = "7b8c0e17711c1c7c4971710ee98aa97db47956f4e3080b88bc64edf9e97c275d";
|
|
201
201
|
var css = `._tableRoot_4yb15_1 {
|
|
202
202
|
width: 100%;
|
|
203
203
|
}
|
|
@@ -282,8 +282,8 @@ import { DataTable } from "@raystack/apsara";
|
|
|
282
282
|
// admin/components/PageHeader.tsx
|
|
283
283
|
import { Flex as Flex2, Text } from "@raystack/apsara";
|
|
284
284
|
|
|
285
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
286
|
-
var digest2 = "
|
|
285
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-o8Cc9S3hxOp8/sdk/admin/components/page-header.module.css.js
|
|
286
|
+
var digest2 = "73d377549210e9b2254e67f1d95a390a8c1773e5045a3466e7ba85207fd27cff";
|
|
287
287
|
var css2 = `._breadcrumb_1kaun_1 {
|
|
288
288
|
list-style: none;
|
|
289
289
|
padding: 0;
|
|
@@ -389,8 +389,8 @@ function PageHeader({
|
|
|
389
389
|
);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
393
|
-
var digest3 = "
|
|
392
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-uUMf65P938dj/sdk/admin/views/roles/roles.module.css.js
|
|
393
|
+
var digest3 = "291a2e93ddb7c14c82a444834b2685c849839c50c11cafe659c6ef079b43071c";
|
|
394
394
|
var css3 = `._tableRoot_4yb15_1 {
|
|
395
395
|
width: 100%;
|
|
396
396
|
}
|
|
@@ -876,8 +876,8 @@ function PageTitle({ title, appName }) {
|
|
|
876
876
|
return null;
|
|
877
877
|
}
|
|
878
878
|
|
|
879
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
880
|
-
var digest4 = "
|
|
879
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-qhw5IT0cEhmw/sdk/admin/views/roles/roles.module.css.js
|
|
880
|
+
var digest4 = "06fe1d249c645ec9625148da6d3f45629b2ddca3d793b7a43114c166c1058793";
|
|
881
881
|
var css4 = `._tableRoot_4yb15_1 {
|
|
882
882
|
width: 100%;
|
|
883
883
|
}
|
|
@@ -1059,8 +1059,8 @@ import { useState as useState3 } from "react";
|
|
|
1059
1059
|
// admin/views/invoices/navbar.tsx
|
|
1060
1060
|
import { DataTable as DataTable3, Flex as Flex6, IconButton, Text as Text4 } from "@raystack/apsara";
|
|
1061
1061
|
|
|
1062
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1063
|
-
var digest5 = "
|
|
1062
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-aZFkXm55dx4a/sdk/admin/views/invoices/invoices.module.css.js
|
|
1063
|
+
var digest5 = "2335d9d76da129e73f213cfe3c501b4ddac9a0c39ac2ed3825c8250938249265";
|
|
1064
1064
|
var css5 = `._navbar_9c4wr_1 {
|
|
1065
1065
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1066
1066
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1178,8 +1178,8 @@ var InvoicesNavabar = ({ searchQuery }) => {
|
|
|
1178
1178
|
] });
|
|
1179
1179
|
};
|
|
1180
1180
|
|
|
1181
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1182
|
-
var digest6 = "
|
|
1181
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-DurkjiSOio8S/sdk/admin/views/invoices/invoices.module.css.js
|
|
1182
|
+
var digest6 = "8d06ae1afa0064d2741ceb2f8a7321eed98a4f34fe08633de4a02196be496b5f";
|
|
1183
1183
|
var css6 = `._navbar_9c4wr_1 {
|
|
1184
1184
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1185
1185
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1313,7 +1313,7 @@ var getColumns2 = ({ t }) => {
|
|
|
1313
1313
|
import { useInfiniteQuery } from "@connectrpc/connect-query";
|
|
1314
1314
|
import { AdminServiceQueries } from "@raystack/proton/frontier";
|
|
1315
1315
|
|
|
1316
|
-
//
|
|
1316
|
+
// utils/connect-pagination.ts
|
|
1317
1317
|
var DEFAULT_PAGE_SIZE = 50;
|
|
1318
1318
|
function getConnectNextPageParam(lastPage, queryParams, itemsKey = "organizations") {
|
|
1319
1319
|
const pagination = lastPage.pagination;
|
|
@@ -1351,7 +1351,7 @@ function getGroupCountMapFromFirstPage(infiniteData) {
|
|
|
1351
1351
|
return { [groupKey]: groupCount };
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
|
-
//
|
|
1354
|
+
// utils/transform-query.ts
|
|
1355
1355
|
import { RQLRequestSchema, RQLFilterSchema, RQLSortSchema } from "@raystack/proton/frontier";
|
|
1356
1356
|
import { create } from "@bufbuild/protobuf";
|
|
1357
1357
|
function convertFilterValue(value) {
|
|
@@ -1725,8 +1725,8 @@ var getColumns3 = (onNavigateToPrices) => {
|
|
|
1725
1725
|
// admin/views/products/header.tsx
|
|
1726
1726
|
import { DataTable as DataTable5 } from "@raystack/apsara";
|
|
1727
1727
|
|
|
1728
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1729
|
-
var digest7 = "
|
|
1728
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-O3N9NjV7wGfT/sdk/admin/views/products/products.module.css.js
|
|
1729
|
+
var digest7 = "596990114a52b4dfada3e03d8994052a1b2ece1890a65f62ec398fb750087388";
|
|
1730
1730
|
var css7 = `._tableRoot_1lzjd_1 {
|
|
1731
1731
|
width: 100%;
|
|
1732
1732
|
}
|
|
@@ -1797,8 +1797,8 @@ var ProductsHeader = ({
|
|
|
1797
1797
|
);
|
|
1798
1798
|
};
|
|
1799
1799
|
|
|
1800
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1801
|
-
var digest8 = "
|
|
1800
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-M0ynyVwREz5R/sdk/admin/views/products/products.module.css.js
|
|
1801
|
+
var digest8 = "97dbf49d623d3be02646530ac27ba287e19497dc6370451dfc6c5cbf32bc6087";
|
|
1802
1802
|
var css8 = `._tableRoot_1lzjd_1 {
|
|
1803
1803
|
width: 100%;
|
|
1804
1804
|
}
|
|
@@ -1850,8 +1850,8 @@ var products_module_css_default2 = { "tableRoot": "_tableRoot_1lzjd_1", "tableWr
|
|
|
1850
1850
|
// admin/views/products/details.tsx
|
|
1851
1851
|
import { Flex as Flex9, Text as Text6, Grid as Grid2, Sheet as Sheet2 } from "@raystack/apsara";
|
|
1852
1852
|
|
|
1853
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1854
|
-
var digest9 = "
|
|
1853
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-eaVePBLFLrHR/sdk/admin/views/products/products.module.css.js
|
|
1854
|
+
var digest9 = "8faa852e42519b6b7004de2d04605a7dd64edd422a143004bcac1eef6e7d7131";
|
|
1855
1855
|
var css9 = `._tableRoot_1lzjd_1 {
|
|
1856
1856
|
width: 100%;
|
|
1857
1857
|
}
|
|
@@ -2201,8 +2201,8 @@ function CpuChipIcon(props) {
|
|
|
2201
2201
|
);
|
|
2202
2202
|
}
|
|
2203
2203
|
|
|
2204
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2205
|
-
var digest10 = "
|
|
2204
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-YU3TsFsE5g8L/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2205
|
+
var digest10 = "a66acd900c39ecf0711580891ce1506f1db2465732836e362a3de9834726ad2f";
|
|
2206
2206
|
var css10 = `._navbar_sfza7_1 {
|
|
2207
2207
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2208
2208
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2420,8 +2420,8 @@ var Navbar = ({ searchQuery, onExportCsv }) => {
|
|
|
2420
2420
|
};
|
|
2421
2421
|
var navbar_default = Navbar;
|
|
2422
2422
|
|
|
2423
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2424
|
-
var digest11 = "
|
|
2423
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QGWAWMbfeIbb/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2424
|
+
var digest11 = "93dd4d6e2c147cd4aaec151ccde8701f0f09c210491ac928ba8b2d29ab273518";
|
|
2425
2425
|
var css11 = `._navbar_sfza7_1 {
|
|
2426
2426
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2427
2427
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2531,8 +2531,8 @@ var audit_logs_module_css_default2 = { "navbar": "_navbar_sfza7_1", "table": "_t
|
|
|
2531
2531
|
import { Badge, Flex as Flex14, Text as Text9 } from "@raystack/apsara";
|
|
2532
2532
|
import dayjs3 from "dayjs";
|
|
2533
2533
|
|
|
2534
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2535
|
-
var digest12 = "
|
|
2534
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-FzEgl2WAVOwt/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2535
|
+
var digest12 = "758c2bebd0270f8e3e69c2dac3bf259a40379eb48416b1f8d44489c89c7a5e9c";
|
|
2536
2536
|
var css12 = `._navbar_sfza7_1 {
|
|
2537
2537
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2538
2538
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2797,8 +2797,8 @@ import {
|
|
|
2797
2797
|
import { Flex as Flex16, IconButton as IconButton4, SidePanel } from "@raystack/apsara";
|
|
2798
2798
|
import { List as List3 } from "@raystack/apsara";
|
|
2799
2799
|
|
|
2800
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2801
|
-
var digest13 = "
|
|
2800
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-WDjVWOoGB9AS/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2801
|
+
var digest13 = "e83b5fb2fd3960da4791ef841e9a63d78dbc0911c5bd636dd6cbcf1234be8627";
|
|
2802
2802
|
var css13 = `._navbar_sfza7_1 {
|
|
2803
2803
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2804
2804
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2935,8 +2935,8 @@ function MapIcon(props) {
|
|
|
2935
2935
|
// admin/views/audit-logs/sidepanel-log-dialog.tsx
|
|
2936
2936
|
import { Dialog, IconButton as IconButton3, CodeBlock } from "@raystack/apsara";
|
|
2937
2937
|
|
|
2938
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2939
|
-
var digest14 = "
|
|
2938
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Ll8aCITuxWyy/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2939
|
+
var digest14 = "de95e53d8dca36197b38e7a78cc83ed3fd5ce04206d8418a7800c871cb8cc54a";
|
|
2940
2940
|
var css14 = `._navbar_sfza7_1 {
|
|
2941
2941
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2942
2942
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3139,8 +3139,8 @@ function SidePanelLogDialog(props) {
|
|
|
3139
3139
|
// admin/views/audit-logs/sidepanel-list-link.tsx
|
|
3140
3140
|
import { Button, List } from "@raystack/apsara";
|
|
3141
3141
|
|
|
3142
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3143
|
-
var digest15 = "
|
|
3142
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QydftUSBFjVR/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3143
|
+
var digest15 = "1fc87553653588fd901dd83866ff1e0f5e78f09ab1f4b956358b4d6e14ad49cb";
|
|
3144
3144
|
var css15 = `._navbar_sfza7_1 {
|
|
3145
3145
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3146
3146
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3281,8 +3281,8 @@ function SidepanelListItemLink({
|
|
|
3281
3281
|
// admin/views/audit-logs/sidepanel-list-id.tsx
|
|
3282
3282
|
import { CopyButton, Flex as Flex15, List as List2, Text as Text10, Tooltip } from "@raystack/apsara";
|
|
3283
3283
|
|
|
3284
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3285
|
-
var digest16 = "
|
|
3284
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ADXVA1V2GVt1/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3285
|
+
var digest16 = "8bf748fdbb5b87a2fd40073c639d1074a96a4241569bc8428f8b874a485f74e9";
|
|
3286
3286
|
var css16 = `._navbar_sfza7_1 {
|
|
3287
3287
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3288
3288
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3848,7 +3848,7 @@ var getColumns6 = ({ onNavigateToOrg, t } = {}) => {
|
|
|
3848
3848
|
];
|
|
3849
3849
|
};
|
|
3850
3850
|
|
|
3851
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3851
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-E5Zd0G05rDVL/sdk/admin/views/admins/admins.module.css.js
|
|
3852
3852
|
var digest17 = "5cd72e71043cbf53835fc5b3e7ee4bdaad1e4bae5b647fd8be2ea3b6fcb9c299";
|
|
3853
3853
|
var css17 = `._tableRoot_yd6a0_1 {
|
|
3854
3854
|
width: 100%;
|
|
@@ -4006,8 +4006,8 @@ var getColumns7 = ({ onSelectPlan } = {}) => {
|
|
|
4006
4006
|
// admin/views/plans/header.tsx
|
|
4007
4007
|
import { DataTable as DataTable11 } from "@raystack/apsara";
|
|
4008
4008
|
|
|
4009
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4010
|
-
var digest18 = "
|
|
4009
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-4LLp9JnFi1kP/sdk/admin/views/plans/plans.module.css.js
|
|
4010
|
+
var digest18 = "a20281155df52403ec3532ba7857c15333179c68da5033ea78b7aaa4840a70aa";
|
|
4011
4011
|
var css18 = `._tableRoot_1d6xr_1 {
|
|
4012
4012
|
width: 100%;
|
|
4013
4013
|
}
|
|
@@ -4060,8 +4060,8 @@ var PlanHeader = ({ header }) => {
|
|
|
4060
4060
|
);
|
|
4061
4061
|
};
|
|
4062
4062
|
|
|
4063
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4064
|
-
var digest19 = "
|
|
4063
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-CIfjJ3v4fO7h/sdk/admin/views/plans/plans.module.css.js
|
|
4064
|
+
var digest19 = "d01f4c65e8295fafb6d09868f771d5a363121abb12e73b1b57be6f4ee5613a96";
|
|
4065
4065
|
var css19 = `._tableRoot_1d6xr_1 {
|
|
4066
4066
|
width: 100%;
|
|
4067
4067
|
}
|
|
@@ -4215,8 +4215,8 @@ import {
|
|
|
4215
4215
|
Text as Text15
|
|
4216
4216
|
} from "@raystack/apsara";
|
|
4217
4217
|
|
|
4218
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4219
|
-
var digest20 = "
|
|
4218
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-5FPJNhr3gFlD/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4219
|
+
var digest20 = "a02abcf622e0e2beeaddb9e44f82c215d49547cdb0b989491d992578fd0acf9f";
|
|
4220
4220
|
var css20 = `._tableRoot_h8n52_1 {
|
|
4221
4221
|
width: 100%;
|
|
4222
4222
|
}
|
|
@@ -4743,8 +4743,8 @@ var getColumns8 = ({ openEditPage, deleteWebhookMutation, enableDelete }) => {
|
|
|
4743
4743
|
// admin/views/webhooks/webhooks/header.tsx
|
|
4744
4744
|
import { Button as Button3, DataTable as DataTable13 } from "@raystack/apsara";
|
|
4745
4745
|
|
|
4746
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4747
|
-
var digest21 = "
|
|
4746
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-BffOEu6bWjuo/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4747
|
+
var digest21 = "a0d1e05d2666764de2a0c17e9f6c13f3b0f6d0108ecbe9328e29854db9aeedc2";
|
|
4748
4748
|
var css21 = `._tableRoot_h8n52_1 {
|
|
4749
4749
|
width: 100%;
|
|
4750
4750
|
}
|
|
@@ -4826,8 +4826,8 @@ var WebhooksHeader = ({ header = pageHeader4, onOpenCreate }) => {
|
|
|
4826
4826
|
);
|
|
4827
4827
|
};
|
|
4828
4828
|
|
|
4829
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4830
|
-
var digest22 = "
|
|
4829
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-xznwHYDwu63I/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4830
|
+
var digest22 = "47acb33f7615ddf53337c6516fdc802c4786a07a41294380346205c5ee442243";
|
|
4831
4831
|
var css22 = `._tableRoot_h8n52_1 {
|
|
4832
4832
|
width: 100%;
|
|
4833
4833
|
}
|
|
@@ -10424,8 +10424,8 @@ import { EmptyState as EmptyState9, DataTable as DataTable15, Flex as Flex30 } f
|
|
|
10424
10424
|
// admin/views/preferences/columns.tsx
|
|
10425
10425
|
import { Text as Text17 } from "@raystack/apsara";
|
|
10426
10426
|
|
|
10427
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10428
|
-
var digest23 = "
|
|
10427
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-GG4WECGR95MW/sdk/admin/views/preferences/preferences.module.css.js
|
|
10428
|
+
var digest23 = "16ce6e35eafe6ef1461e9a61eb585ffbd368cebc4308ac2448537d2bbf8ead3e";
|
|
10429
10429
|
var css23 = `._tableRoot_j5y5o_1 {
|
|
10430
10430
|
width: 100%;
|
|
10431
10431
|
}
|
|
@@ -10507,8 +10507,8 @@ var getColumns9 = ({
|
|
|
10507
10507
|
];
|
|
10508
10508
|
};
|
|
10509
10509
|
|
|
10510
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10511
|
-
var digest24 = "
|
|
10510
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-jhP7VEf6V8wW/sdk/admin/views/preferences/preferences.module.css.js
|
|
10511
|
+
var digest24 = "5ccd3ee75aa91b58de4251507c0c2e129ec8b2f9b8a2480121462b812529d065";
|
|
10512
10512
|
var css24 = `._tableRoot_j5y5o_1 {
|
|
10513
10513
|
width: 100%;
|
|
10514
10514
|
}
|
|
@@ -10870,8 +10870,8 @@ import {
|
|
|
10870
10870
|
Spinner as Spinner2
|
|
10871
10871
|
} from "@raystack/apsara";
|
|
10872
10872
|
|
|
10873
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10874
|
-
var digest25 = "
|
|
10873
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-lDMqARC1pNdW/sdk/admin/views/users/list/list.module.css.js
|
|
10874
|
+
var digest25 = "f007a1ea0800c0f9438440366a1fecabff6b0fc9cfb264ad061472033423f8b7";
|
|
10875
10875
|
var css25 = `._navbar_1s15g_1 {
|
|
10876
10876
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
10877
10877
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -10974,8 +10974,8 @@ import {
|
|
|
10974
10974
|
import { Controller as Controller2, useForm as useForm3 } from "react-hook-form";
|
|
10975
10975
|
import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
|
|
10976
10976
|
|
|
10977
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10978
|
-
var digest26 = "
|
|
10977
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-0JROqMkBU4DJ/sdk/admin/views/users/list/invite-users.module.css.js
|
|
10978
|
+
var digest26 = "8227cfccdaf660af495d7736955dc5246a285a5dfb1938a7ea999518e2502350";
|
|
10979
10979
|
var css26 = `._invite-users-dialog-body_11ujx_1 {
|
|
10980
10980
|
display: flex;
|
|
10981
10981
|
flex-direction: column;
|
|
@@ -11040,6 +11040,9 @@ function handleConnectError(error, handlers) {
|
|
|
11040
11040
|
case Code.NotFound:
|
|
11041
11041
|
handlers?.NotFound ? handlers.NotFound(connectError) : defaultHandler(connectError);
|
|
11042
11042
|
break;
|
|
11043
|
+
case Code.FailedPrecondition:
|
|
11044
|
+
handlers?.FailedPrecondition ? handlers.FailedPrecondition(connectError) : defaultHandler(connectError);
|
|
11045
|
+
break;
|
|
11043
11046
|
default:
|
|
11044
11047
|
defaultHandler(connectError);
|
|
11045
11048
|
}
|
|
@@ -11347,8 +11350,8 @@ var Navbar2 = ({ searchQuery, onExportUsers }) => {
|
|
|
11347
11350
|
};
|
|
11348
11351
|
var navbar_default2 = Navbar2;
|
|
11349
11352
|
|
|
11350
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11351
|
-
var digest27 = "
|
|
11353
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-VEL5fRsiE369/sdk/admin/views/users/list/list.module.css.js
|
|
11354
|
+
var digest27 = "4b5a8045a25304bcbdeaa07bd1a0fe39144cd7e1e4036d66a4507e7f489376f1";
|
|
11352
11355
|
var css27 = `._navbar_1s15g_1 {
|
|
11353
11356
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
11354
11357
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -11418,8 +11421,8 @@ import {
|
|
|
11418
11421
|
} from "@raystack/apsara";
|
|
11419
11422
|
import dayjs7 from "dayjs";
|
|
11420
11423
|
|
|
11421
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11422
|
-
var digest28 = "
|
|
11424
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-NalyLwZNOEsI/sdk/admin/views/users/list/list.module.css.js
|
|
11425
|
+
var digest28 = "6d229b7b1d63ea501ea7e16cd951deb5f1cf5ab2be56d66f20502a5c9062c914";
|
|
11423
11426
|
var css28 = `._navbar_1s15g_1 {
|
|
11424
11427
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
11425
11428
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -11711,8 +11714,8 @@ import { Avatar as Avatar4, getAvatarColor as getAvatarColor3, SidePanel as Side
|
|
|
11711
11714
|
// admin/views/users/details/layout/side-panel-details.tsx
|
|
11712
11715
|
import { Flex as Flex37, List as List4, Text as Text22, CopyButton as CopyButton2, Tooltip as Tooltip2 } from "@raystack/apsara";
|
|
11713
11716
|
|
|
11714
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11715
|
-
var digest29 = "
|
|
11717
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-n3NL97DMsgq3/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11718
|
+
var digest29 = "718186f5fe15daab12cb5bae390c12cfaaff650ad544d6a8be3715c70cc388d6";
|
|
11716
11719
|
var css29 = `._side-panel_1oc3f_1 {
|
|
11717
11720
|
transform: all 0.3s ease-in-out;
|
|
11718
11721
|
padding-bottom: 80px;
|
|
@@ -11819,8 +11822,8 @@ var SidePanelDetails2 = () => {
|
|
|
11819
11822
|
import { Flex as Flex40, List as List5, Text as Text26, Avatar as Avatar3 } from "@raystack/apsara";
|
|
11820
11823
|
import dayjs8 from "dayjs";
|
|
11821
11824
|
|
|
11822
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11823
|
-
var digest30 = "
|
|
11825
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-9lMHzULXB72F/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11826
|
+
var digest30 = "51c89995ca92f8a3ca33aa4bed552cd0f3663a49d34739ba82653bf899692243";
|
|
11824
11827
|
var css30 = `._side-panel_1oc3f_1 {
|
|
11825
11828
|
transform: all 0.3s ease-in-out;
|
|
11826
11829
|
padding-bottom: 80px;
|
|
@@ -11883,8 +11886,8 @@ var side_panel_module_css_default2 = { "side-panel": "_side-panel_1oc3f_1", "sid
|
|
|
11883
11886
|
// admin/views/users/details/layout/membership-dropdown.tsx
|
|
11884
11887
|
import { Text as Text25, DropdownMenu as DropdownMenu2, Skeleton as Skeleton2 } from "@raystack/apsara";
|
|
11885
11888
|
|
|
11886
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11887
|
-
var digest31 = "
|
|
11889
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-06Ujz4r05lRh/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11890
|
+
var digest31 = "a833e0fcffa1e3cec3b96d41ffada8d1e201595be481f8094714e3527202229f";
|
|
11888
11891
|
var css31 = `._side-panel_1oc3f_1 {
|
|
11889
11892
|
transform: all 0.3s ease-in-out;
|
|
11890
11893
|
padding-bottom: 80px;
|
|
@@ -12293,8 +12296,8 @@ var SidePanelMembership = ({
|
|
|
12293
12296
|
] });
|
|
12294
12297
|
};
|
|
12295
12298
|
|
|
12296
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12297
|
-
var digest32 = "
|
|
12299
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Cx7K4O2cR0AV/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
12300
|
+
var digest32 = "d52af57aa1b8578eb81de6ee70ab6dff4352572624edbf0196fff74f7966b5a4";
|
|
12298
12301
|
var css32 = `._side-panel_1oc3f_1 {
|
|
12299
12302
|
transform: all 0.3s ease-in-out;
|
|
12300
12303
|
padding-bottom: 80px;
|
|
@@ -12412,8 +12415,8 @@ var UserDetailsSidePanel = () => {
|
|
|
12412
12415
|
);
|
|
12413
12416
|
};
|
|
12414
12417
|
|
|
12415
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12416
|
-
var digest33 = "
|
|
12418
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-10glqa8mlEwQ/sdk/admin/views/users/details/layout/layout.module.css.js
|
|
12419
|
+
var digest33 = "11fec1064fe0f38642475996b01f900137b0848bb56a2b3328e5e279f2f3d3f0";
|
|
12417
12420
|
var css33 = `._page_190wz_1 {
|
|
12418
12421
|
height: 100vh;
|
|
12419
12422
|
width: 100%;
|
|
@@ -12454,8 +12457,8 @@ import {
|
|
|
12454
12457
|
} from "@raystack/apsara";
|
|
12455
12458
|
import { SidebarIcon } from "@raystack/apsara/icons";
|
|
12456
12459
|
|
|
12457
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12458
|
-
var digest34 = "
|
|
12460
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-IycxLJqKJG3q/sdk/admin/views/users/details/layout/navbar.module.css.js
|
|
12461
|
+
var digest34 = "ec5456dadb553639eb9ebffe96f3f279a888ccefc59ead6157f6ffbc0b68e9ff";
|
|
12459
12462
|
var css34 = `._navbar_1ahsl_1 {
|
|
12460
12463
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
12461
12464
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -12747,8 +12750,8 @@ import {
|
|
|
12747
12750
|
Text as Text28
|
|
12748
12751
|
} from "@raystack/apsara";
|
|
12749
12752
|
|
|
12750
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12751
|
-
var digest35 = "
|
|
12753
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-JRMhIzs8N30X/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12754
|
+
var digest35 = "7e1cd417df2a53fe4aa005e3a4c036af48f3a64d180c8a324ef65aceed3c1154";
|
|
12752
12755
|
var css35 = `._sessionsContainer_aq82p_1 {
|
|
12753
12756
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12754
12757
|
border-radius: var(--rs-radius-2);
|
|
@@ -12869,8 +12872,8 @@ var RevokeSessionFinalConfirm = ({
|
|
|
12869
12872
|
) });
|
|
12870
12873
|
};
|
|
12871
12874
|
|
|
12872
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12873
|
-
var digest36 = "
|
|
12875
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ulFPmkZcdGeX/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12876
|
+
var digest36 = "80f398e36445037330107ee088916aeb22f3de0dc8fbcc5fc592dc1b0a727570";
|
|
12874
12877
|
var css36 = `._sessionsContainer_aq82p_1 {
|
|
12875
12878
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12876
12879
|
border-radius: var(--rs-radius-2);
|
|
@@ -13014,8 +13017,8 @@ var RevokeSessionConfirm = ({ isOpen, onOpenChange, sessionInfo, onRevokeConfirm
|
|
|
13014
13017
|
// admin/views/users/details/security/sessions/session-skeleton.tsx
|
|
13015
13018
|
import { Flex as Flex45, Skeleton as Skeleton3 } from "@raystack/apsara";
|
|
13016
13019
|
|
|
13017
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13018
|
-
var digest37 = "
|
|
13020
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-PYFaoM9SgYgg/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
13021
|
+
var digest37 = "42214c4ebe4e3b3ff31310131926a0746608491019982437d1bc73f81b18cbf1";
|
|
13019
13022
|
var css37 = `._sessionsContainer_aq82p_1 {
|
|
13020
13023
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
13021
13024
|
border-radius: var(--rs-radius-2);
|
|
@@ -13096,8 +13099,8 @@ import { AdminServiceQueries as AdminServiceQueries13 } from "@raystack/proton/f
|
|
|
13096
13099
|
import dayjs9 from "dayjs";
|
|
13097
13100
|
import relativeTime from "dayjs/plugin/relativeTime";
|
|
13098
13101
|
|
|
13099
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13100
|
-
var digest38 = "
|
|
13102
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Uxn0GRuV330e/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
13103
|
+
var digest38 = "22507c74191ed0d2080fb6600154454bfe86ae38c6edbd9885d2518b55a028c0";
|
|
13101
13104
|
var css38 = `._sessionsContainer_aq82p_1 {
|
|
13102
13105
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
13103
13106
|
border-radius: var(--rs-radius-2);
|
|
@@ -13306,8 +13309,8 @@ var UserSessions = () => {
|
|
|
13306
13309
|
] });
|
|
13307
13310
|
};
|
|
13308
13311
|
|
|
13309
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13310
|
-
var digest39 = "
|
|
13312
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-o95d05yYSBSB/sdk/admin/views/users/details/security/security.module.css.js
|
|
13313
|
+
var digest39 = "93815838c11682aea89931f192e09585bfaf55d496e7990e123ecec1e2ad1cb9";
|
|
13311
13314
|
var css39 = `._container_4259p_1 {
|
|
13312
13315
|
width: 100%;
|
|
13313
13316
|
}
|
|
@@ -13441,8 +13444,8 @@ import {
|
|
|
13441
13444
|
} from "@raystack/apsara";
|
|
13442
13445
|
import { OrganizationIcon } from "@raystack/apsara/icons";
|
|
13443
13446
|
|
|
13444
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13445
|
-
var digest40 = "
|
|
13447
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-KiFxm4WFLoWU/sdk/admin/views/organizations/list/list.module.css.js
|
|
13448
|
+
var digest40 = "faaca934ade761ff558322b9d22f8ef663f1dc712d08856626fa3e6acd643c12";
|
|
13446
13449
|
var css40 = `._navbar_1py96_1 {
|
|
13447
13450
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13448
13451
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13631,8 +13634,8 @@ var OrganizationsNavabar = ({
|
|
|
13631
13634
|
] });
|
|
13632
13635
|
};
|
|
13633
13636
|
|
|
13634
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13635
|
-
var digest41 = "
|
|
13637
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-FBZLhupRRrM2/sdk/admin/views/organizations/list/list.module.css.js
|
|
13638
|
+
var digest41 = "c030e3692f97c0f83b56377ab32991eb7519c6adfc96920ec14ceb5f05449197";
|
|
13636
13639
|
var css41 = `._navbar_1py96_1 {
|
|
13637
13640
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13638
13641
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13746,8 +13749,8 @@ import {
|
|
|
13746
13749
|
} from "@raystack/apsara";
|
|
13747
13750
|
import dayjs10 from "dayjs";
|
|
13748
13751
|
|
|
13749
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13750
|
-
var digest42 = "
|
|
13752
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QUsGmlHFy4d2/sdk/admin/views/organizations/list/list.module.css.js
|
|
13753
|
+
var digest42 = "415632e13677dbc654779b1c3e08d527e6b01d19e911f04224bcacf0ef272d7c";
|
|
13751
13754
|
var css42 = `._navbar_1py96_1 {
|
|
13752
13755
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13753
13756
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -14017,8 +14020,8 @@ import { create as create8 } from "@bufbuild/protobuf";
|
|
|
14017
14020
|
// admin/views/organizations/list/create.tsx
|
|
14018
14021
|
import { useEffect as useEffect6, useState as useState20 } from "react";
|
|
14019
14022
|
|
|
14020
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14021
|
-
var digest43 = "
|
|
14023
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-TqitS2rpKo7l/sdk/admin/views/organizations/list/list.module.css.js
|
|
14024
|
+
var digest43 = "2598bcd826c73ce52bbacb0ed326777f8643d3643c11d109c760d3c97325e7c5";
|
|
14022
14025
|
var css43 = `._navbar_1py96_1 {
|
|
14023
14026
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
14024
14027
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -14149,8 +14152,8 @@ var cross_default = 'data:image/svg+xml,<svg width="20" height="20" viewBox="0 0
|
|
|
14149
14152
|
// react/components/avatar-upload/index.tsx
|
|
14150
14153
|
import "react-image-crop/dist/ReactCrop.css";
|
|
14151
14154
|
|
|
14152
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14153
|
-
var digest44 = "
|
|
14155
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-UeLZdsKaMdrm/sdk/react/components/avatar-upload/avatar-upload.module.css.js
|
|
14156
|
+
var digest44 = "3ea1f84392d1f3a4f08018128b2a1d3b6e73c728794c11dbf600f793ae4eea3a";
|
|
14154
14157
|
var css44 = `._container_1k4dc_1 {
|
|
14155
14158
|
display: flex;
|
|
14156
14159
|
flex-direction: column;
|
|
@@ -14905,8 +14908,8 @@ import {
|
|
|
14905
14908
|
Search
|
|
14906
14909
|
} from "@raystack/apsara";
|
|
14907
14910
|
|
|
14908
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14909
|
-
var digest45 = "
|
|
14911
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-7BA07sLI8ffd/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
14912
|
+
var digest45 = "a22e38baeee4876107e50a0c8e1c1291b158ff3fc576ffdf8817001bb3a4d14a";
|
|
14910
14913
|
var css45 = `._page_1jsqa_1 {
|
|
14911
14914
|
width: 100%;
|
|
14912
14915
|
height: 100vh;
|
|
@@ -15012,8 +15015,8 @@ import {
|
|
|
15012
15015
|
} from "@raystack/apsara";
|
|
15013
15016
|
import { useContext as useContext5, useMemo as useMemo7 } from "react";
|
|
15014
15017
|
|
|
15015
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15016
|
-
var digest46 = "
|
|
15018
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ABoM4edKYezC/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15019
|
+
var digest46 = "6293368196824921c8c0365f2f531f856c4a7aae4b660ef8cd96d9a4bc04dc94";
|
|
15017
15020
|
var css46 = `._page_1jsqa_1 {
|
|
15018
15021
|
width: 100%;
|
|
15019
15022
|
height: 100vh;
|
|
@@ -15319,8 +15322,8 @@ import {
|
|
|
15319
15322
|
import { useContext as useContext6 } from "react";
|
|
15320
15323
|
import { Controller as Controller5, FormProvider as FormProvider4, useForm as useForm7 } from "react-hook-form";
|
|
15321
15324
|
|
|
15322
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15323
|
-
var digest47 = "
|
|
15325
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-pqKuIeRo1PlF/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15326
|
+
var digest47 = "6a65ef9753e374ae7299d477e73727e908169f8adf977e016b72d5a9721f81f8";
|
|
15324
15327
|
var css47 = `._page_1jsqa_1 {
|
|
15325
15328
|
width: 100%;
|
|
15326
15329
|
height: 100vh;
|
|
@@ -15417,7 +15420,7 @@ var layout_module_css_default4 = { "page": "_page_1jsqa_1", "main_content": "_ma
|
|
|
15417
15420
|
import { zodResolver as zodResolver7 } from "@hookform/resolvers/zod";
|
|
15418
15421
|
import { useMutation as useMutation11, createConnectQueryKey as createConnectQueryKey6, useTransport as useTransport7 } from "@connectrpc/connect-query";
|
|
15419
15422
|
import { useQueryClient as useQueryClient8 } from "@tanstack/react-query";
|
|
15420
|
-
import { AdminServiceQueries as AdminServiceQueries17, CheckoutProductBodySchema, DelegatedCheckoutRequestSchema } from "@raystack/proton/frontier";
|
|
15423
|
+
import { AdminServiceQueries as AdminServiceQueries17, CheckoutProductBodySchema, DelegatedCheckoutRequestSchema, FrontierServiceQueries as FrontierServiceQueries12 } from "@raystack/proton/frontier";
|
|
15421
15424
|
import { create as create11 } from "@bufbuild/protobuf";
|
|
15422
15425
|
import { jsx as jsx82, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
15423
15426
|
var addTokensSchema = objectType({
|
|
@@ -15446,7 +15449,7 @@ var AddTokensDialog = ({ onOpenChange }) => {
|
|
|
15446
15449
|
onSuccess: () => {
|
|
15447
15450
|
queryClient.invalidateQueries({
|
|
15448
15451
|
queryKey: createConnectQueryKey6({
|
|
15449
|
-
schema:
|
|
15452
|
+
schema: FrontierServiceQueries12.searchOrganizationTokens,
|
|
15450
15453
|
transport,
|
|
15451
15454
|
input: { id: organisationId },
|
|
15452
15455
|
cardinality: "infinite"
|
|
@@ -15815,8 +15818,8 @@ var OrganizationsDetailsNavabar = ({
|
|
|
15815
15818
|
] });
|
|
15816
15819
|
};
|
|
15817
15820
|
|
|
15818
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15819
|
-
var digest48 = "
|
|
15821
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Xq4uDesdQhkG/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15822
|
+
var digest48 = "8077fd9927e19da360ba650fe75893c5303f3e96357ef913860b06411ff28955";
|
|
15820
15823
|
var css48 = `._page_1jsqa_1 {
|
|
15821
15824
|
width: 100%;
|
|
15822
15825
|
height: 100vh;
|
|
@@ -15918,8 +15921,8 @@ import { Avatar as Avatar9, getAvatarColor as getAvatarColor7, SidePanel as Side
|
|
|
15918
15921
|
// admin/views/organizations/details/side-panel/org-details-section.tsx
|
|
15919
15922
|
import { Flex as Flex57, List as List7, Text as Text39, CopyButton as CopyButton3, Tooltip as Tooltip3 } from "@raystack/apsara";
|
|
15920
15923
|
|
|
15921
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15922
|
-
var digest49 = "
|
|
15924
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-H2oHygb1fMMu/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
15925
|
+
var digest49 = "fb05aafe6d4b1a1a74c0f3781aa8bc4f8882da29096a7e35abb6ad71ce58c1b0";
|
|
15923
15926
|
var css49 = `._side-panel-section-item-label_yeg6h_1 {
|
|
15924
15927
|
width: 120px;
|
|
15925
15928
|
}
|
|
@@ -16009,8 +16012,8 @@ var OrganizationDetailsSection = ({
|
|
|
16009
16012
|
import { Flex as Flex58, List as List8, Text as Text40, Link as Link2, Tooltip as Tooltip4 } from "@raystack/apsara";
|
|
16010
16013
|
import { useContext as useContext9 } from "react";
|
|
16011
16014
|
|
|
16012
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16013
|
-
var digest50 = "
|
|
16015
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-3i7wJ46r4MNz/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16016
|
+
var digest50 = "5d614af526e9dd41923cf50461814b89da5eb9b3e6e8d5a063288968a1e68e55";
|
|
16014
16017
|
var css50 = `._side-panel-section-item-label_yeg6h_1 {
|
|
16015
16018
|
width: 120px;
|
|
16016
16019
|
}
|
|
@@ -16096,8 +16099,8 @@ var KYCDetailsSection = () => {
|
|
|
16096
16099
|
import { useContext as useContext10 } from "react";
|
|
16097
16100
|
import { List as List9, Text as Text41, Flex as Flex59 } from "@raystack/apsara";
|
|
16098
16101
|
|
|
16099
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16100
|
-
var digest51 = "
|
|
16102
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QRvF2VMS7U5i/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16103
|
+
var digest51 = "489cb798b8f4921b4a20c3ee3e63743e2c531220e87b7fb20f8c57d8de8afbd6";
|
|
16101
16104
|
var css51 = `._side-panel-section-item-label_yeg6h_1 {
|
|
16102
16105
|
width: 120px;
|
|
16103
16106
|
}
|
|
@@ -16130,7 +16133,7 @@ var side_panel_module_css_default7 = { "side-panel-section-item-label": "_side-p
|
|
|
16130
16133
|
|
|
16131
16134
|
// admin/views/organizations/details/side-panel/plan-details-section.tsx
|
|
16132
16135
|
import { useQuery as useQuery13 } from "@connectrpc/connect-query";
|
|
16133
|
-
import { FrontierServiceQueries as
|
|
16136
|
+
import { FrontierServiceQueries as FrontierServiceQueries13, ListSubscriptionsRequestSchema, GetPlanRequestSchema } from "@raystack/proton/frontier";
|
|
16134
16137
|
import { create as create12 } from "@bufbuild/protobuf";
|
|
16135
16138
|
import { jsx as jsx86, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
16136
16139
|
var PlanDetailsSection = () => {
|
|
@@ -16138,7 +16141,7 @@ var PlanDetailsSection = () => {
|
|
|
16138
16141
|
const billingAccountId = billingAccount?.id || "";
|
|
16139
16142
|
const organizationId = organization?.id || "";
|
|
16140
16143
|
const { data: activeSubscription, isLoading: isSubscriptionLoading, error: subscriptionsError } = useQuery13(
|
|
16141
|
-
|
|
16144
|
+
FrontierServiceQueries13.listSubscriptions,
|
|
16142
16145
|
create12(ListSubscriptionsRequestSchema, {
|
|
16143
16146
|
orgId: organizationId
|
|
16144
16147
|
}),
|
|
@@ -16156,7 +16159,7 @@ var PlanDetailsSection = () => {
|
|
|
16156
16159
|
console.error("Error fetching subscriptions:", subscriptionsError);
|
|
16157
16160
|
}
|
|
16158
16161
|
const { data: planData, isLoading: isPlanLoading, error: planError } = useQuery13(
|
|
16159
|
-
|
|
16162
|
+
FrontierServiceQueries13.getPlan,
|
|
16160
16163
|
create12(GetPlanRequestSchema, {
|
|
16161
16164
|
id: activeSubscription?.planId ?? ""
|
|
16162
16165
|
}),
|
|
@@ -16198,8 +16201,8 @@ var PlanDetailsSection = () => {
|
|
|
16198
16201
|
// admin/views/organizations/details/side-panel/tokens-details-section.tsx
|
|
16199
16202
|
import { List as List10, Text as Text42, Flex as Flex60 } from "@raystack/apsara";
|
|
16200
16203
|
|
|
16201
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16202
|
-
var digest52 = "
|
|
16204
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-zaVwJQJUw7Lb/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16205
|
+
var digest52 = "767f7236a24df7b38949e94cc91525b6dc8ddc56770825ed07c9ee684dc66b90";
|
|
16203
16206
|
var css52 = `._side-panel-section-item-label_yeg6h_1 {
|
|
16204
16207
|
width: 120px;
|
|
16205
16208
|
}
|
|
@@ -16233,7 +16236,7 @@ var side_panel_module_css_default8 = { "side-panel-section-item-label": "_side-p
|
|
|
16233
16236
|
// admin/views/organizations/details/side-panel/tokens-details-section.tsx
|
|
16234
16237
|
import { useContext as useContext11, useEffect as useEffect8 } from "react";
|
|
16235
16238
|
import { useQuery as useQuery14 } from "@connectrpc/connect-query";
|
|
16236
|
-
import { FrontierServiceQueries as
|
|
16239
|
+
import { FrontierServiceQueries as FrontierServiceQueries14, TotalDebitedTransactionsRequestSchema } from "@raystack/proton/frontier";
|
|
16237
16240
|
import { create as create13 } from "@bufbuild/protobuf";
|
|
16238
16241
|
import { jsx as jsx87, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
16239
16242
|
var TokensDetailsSection = () => {
|
|
@@ -16247,7 +16250,7 @@ var TokensDetailsSection = () => {
|
|
|
16247
16250
|
const organizationId = organization?.id || "";
|
|
16248
16251
|
const billingAccountId = billingAccount?.id || "";
|
|
16249
16252
|
const { data: tokensUsed = "0", isLoading: isTokensLoading, error } = useQuery14(
|
|
16250
|
-
|
|
16253
|
+
FrontierServiceQueries14.totalDebitedTransactions,
|
|
16251
16254
|
create13(TotalDebitedTransactionsRequestSchema, {
|
|
16252
16255
|
orgId: organizationId,
|
|
16253
16256
|
billingId: billingAccountId
|
|
@@ -16300,8 +16303,8 @@ var TokensDetailsSection = () => {
|
|
|
16300
16303
|
// admin/views/organizations/details/side-panel/billing-details-section.tsx
|
|
16301
16304
|
import { CopyButton as CopyButton4, Flex as Flex61, Link as Link3, List as List11, Text as Text43 } from "@raystack/apsara";
|
|
16302
16305
|
|
|
16303
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16304
|
-
var digest53 = "
|
|
16306
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-rduTbNP7X8Mu/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16307
|
+
var digest53 = "1913f3d1d84e4bc70ac91f1a2351da951374957ab6a4819d120f90c491cac767";
|
|
16305
16308
|
var css53 = `._side-panel-section-item-label_yeg6h_1 {
|
|
16306
16309
|
width: 120px;
|
|
16307
16310
|
}
|
|
@@ -16336,7 +16339,7 @@ var side_panel_module_css_default9 = { "side-panel-section-item-label": "_side-p
|
|
|
16336
16339
|
import { useContext as useContext12, useEffect as useEffect9 } from "react";
|
|
16337
16340
|
import { Amount as Amount4 } from "@raystack/apsara";
|
|
16338
16341
|
import { useQuery as useQuery15 } from "@connectrpc/connect-query";
|
|
16339
|
-
import { FrontierServiceQueries as
|
|
16342
|
+
import { FrontierServiceQueries as FrontierServiceQueries15, GetUpcomingInvoiceRequestSchema } from "@raystack/proton/frontier";
|
|
16340
16343
|
import { create as create14 } from "@bufbuild/protobuf";
|
|
16341
16344
|
import { jsx as jsx88, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
16342
16345
|
var BillingDetailsSection = () => {
|
|
@@ -16344,7 +16347,7 @@ var BillingDetailsSection = () => {
|
|
|
16344
16347
|
const organizationId = organization?.id || "";
|
|
16345
16348
|
const billingAccountId = billingAccount?.id || "";
|
|
16346
16349
|
const { data: upcomingInvoice, isLoading, error } = useQuery15(
|
|
16347
|
-
|
|
16350
|
+
FrontierServiceQueries15.getUpcomingInvoice,
|
|
16348
16351
|
create14(GetUpcomingInvoiceRequestSchema, {
|
|
16349
16352
|
orgId: organizationId,
|
|
16350
16353
|
billingId: billingAccountId
|
|
@@ -16386,7 +16389,7 @@ var BillingDetailsSection = () => {
|
|
|
16386
16389
|
] }),
|
|
16387
16390
|
/* @__PURE__ */ jsxs64(List11.Item, { children: [
|
|
16388
16391
|
/* @__PURE__ */ jsx88(List11.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Address" }),
|
|
16389
|
-
/* @__PURE__ */ jsx88(List11.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ jsx88(Skeleton, {}) : /* @__PURE__ */ jsx88(Text43, { children: billingAccount?.address ?
|
|
16392
|
+
/* @__PURE__ */ jsx88(List11.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ jsx88(Skeleton, {}) : /* @__PURE__ */ jsx88(Text43, { children: billingAccount?.address ? convertBillingAddressToString(billingAccount.address) : "N/A" }) })
|
|
16390
16393
|
] }),
|
|
16391
16394
|
/* @__PURE__ */ jsxs64(List11.Item, { children: [
|
|
16392
16395
|
/* @__PURE__ */ jsx88(List11.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Next billing date" }),
|
|
@@ -16459,8 +16462,8 @@ import {
|
|
|
16459
16462
|
toast as toast10
|
|
16460
16463
|
} from "@raystack/apsara";
|
|
16461
16464
|
|
|
16462
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16463
|
-
var digest54 = "
|
|
16465
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-5qidNSkg8ab4/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16466
|
+
var digest54 = "df1c14e11cf91e563e48fb725c7f882262dd0f72899cec8747073ede91402dfe";
|
|
16464
16467
|
var css54 = `._drawer-content_1o0os_1 {
|
|
16465
16468
|
min-width: 500px;
|
|
16466
16469
|
padding: 0;
|
|
@@ -16518,7 +16521,7 @@ import { Controller as Controller6, useForm as useForm8 } from "react-hook-form"
|
|
|
16518
16521
|
import { zodResolver as zodResolver8 } from "@hookform/resolvers/zod";
|
|
16519
16522
|
import { useMutation as useMutation12, createConnectQueryKey as createConnectQueryKey7, useTransport as useTransport8 } from "@connectrpc/connect-query";
|
|
16520
16523
|
import { useQueryClient as useQueryClient9 } from "@tanstack/react-query";
|
|
16521
|
-
import { AdminServiceQueries as AdminServiceQueries18, FrontierServiceQueries as
|
|
16524
|
+
import { AdminServiceQueries as AdminServiceQueries18, FrontierServiceQueries as FrontierServiceQueries16, SetOrganizationKycRequestSchema } from "@raystack/proton/frontier";
|
|
16522
16525
|
import { create as create15 } from "@bufbuild/protobuf";
|
|
16523
16526
|
import { Fragment as Fragment20, jsx as jsx90, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
16524
16527
|
var kycUpdateSchema = external_exports.object({
|
|
@@ -16559,7 +16562,7 @@ function EditKYCPanel({ onClose }) {
|
|
|
16559
16562
|
}
|
|
16560
16563
|
queryClient.invalidateQueries({
|
|
16561
16564
|
queryKey: createConnectQueryKey7({
|
|
16562
|
-
schema:
|
|
16565
|
+
schema: FrontierServiceQueries16.getOrganizationKyc,
|
|
16563
16566
|
transport,
|
|
16564
16567
|
input: { orgId },
|
|
16565
16568
|
cardinality: "finite"
|
|
@@ -16697,8 +16700,8 @@ function EditKYCPanel({ onClose }) {
|
|
|
16697
16700
|
// admin/views/organizations/details/edit/organization.tsx
|
|
16698
16701
|
import { useContext as useContext14, useEffect as useEffect10, useState as useState23 } from "react";
|
|
16699
16702
|
|
|
16700
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16701
|
-
var digest55 = "
|
|
16703
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-CSU6MSdn837Q/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16704
|
+
var digest55 = "c74e3e25ad5c273bccb696e082bc8e2264565e4d562ee2b929fbcbb8e88d0fa7";
|
|
16702
16705
|
var css55 = `._drawer-content_1o0os_1 {
|
|
16703
16706
|
min-width: 500px;
|
|
16704
16707
|
padding: 0;
|
|
@@ -16766,7 +16769,7 @@ import { Controller as Controller7, useForm as useForm9 } from "react-hook-form"
|
|
|
16766
16769
|
import { zodResolver as zodResolver9 } from "@hookform/resolvers/zod";
|
|
16767
16770
|
import { useMutation as useMutation13, createConnectQueryKey as createConnectQueryKey8, useTransport as useTransport9 } from "@connectrpc/connect-query";
|
|
16768
16771
|
import { useQueryClient as useQueryClient10 } from "@tanstack/react-query";
|
|
16769
|
-
import { FrontierServiceQueries as
|
|
16772
|
+
import { FrontierServiceQueries as FrontierServiceQueries17, UpdateOrganizationRequestSchema } from "@raystack/proton/frontier";
|
|
16770
16773
|
import { create as create16 } from "@bufbuild/protobuf";
|
|
16771
16774
|
import { Fragment as Fragment21, jsx as jsx91, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
16772
16775
|
var orgUpdateSchema = external_exports.object({
|
|
@@ -16830,11 +16833,11 @@ function EditOrganizationPanel({ onClose }) {
|
|
|
16830
16833
|
mutateAsync: updateOrganizationMutation,
|
|
16831
16834
|
error: mutationError,
|
|
16832
16835
|
isPending: isSubmitting
|
|
16833
|
-
} = useMutation13(
|
|
16836
|
+
} = useMutation13(FrontierServiceQueries17.updateOrganization, {
|
|
16834
16837
|
onSuccess: () => {
|
|
16835
16838
|
queryClient.invalidateQueries({
|
|
16836
16839
|
queryKey: createConnectQueryKey8({
|
|
16837
|
-
schema:
|
|
16840
|
+
schema: FrontierServiceQueries17.getOrganization,
|
|
16838
16841
|
transport,
|
|
16839
16842
|
input: { id: orgId },
|
|
16840
16843
|
cardinality: "finite"
|
|
@@ -17080,8 +17083,8 @@ import {
|
|
|
17080
17083
|
toast as toast11
|
|
17081
17084
|
} from "@raystack/apsara";
|
|
17082
17085
|
|
|
17083
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17084
|
-
var digest56 = "
|
|
17086
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ravz6HxjT4Ka/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
17087
|
+
var digest56 = "eb69b51d520589bc88b77e416e20f3175f0b3a53eff11aa5ee99528725fdfcdc";
|
|
17085
17088
|
var css56 = `._drawer-content_1o0os_1 {
|
|
17086
17089
|
min-width: 500px;
|
|
17087
17090
|
padding: 0;
|
|
@@ -17460,7 +17463,7 @@ var OrganizationDetailsLayout = ({
|
|
|
17460
17463
|
|
|
17461
17464
|
// admin/views/organizations/details/index.tsx
|
|
17462
17465
|
import {
|
|
17463
|
-
FrontierServiceQueries as
|
|
17466
|
+
FrontierServiceQueries as FrontierServiceQueries18,
|
|
17464
17467
|
GetBillingAccountRequestSchema,
|
|
17465
17468
|
GetBillingBalanceRequestSchema,
|
|
17466
17469
|
GetOrganizationKycResponseSchema
|
|
@@ -17488,7 +17491,7 @@ var OrganizationDetailsView = ({
|
|
|
17488
17491
|
isLoading: isOrganizationLoading,
|
|
17489
17492
|
error: organizationError
|
|
17490
17493
|
} = useQuery16(
|
|
17491
|
-
|
|
17494
|
+
FrontierServiceQueries18.getOrganization,
|
|
17492
17495
|
{ id: organizationId },
|
|
17493
17496
|
{
|
|
17494
17497
|
enabled: !!organizationId,
|
|
@@ -17496,7 +17499,7 @@ var OrganizationDetailsView = ({
|
|
|
17496
17499
|
}
|
|
17497
17500
|
);
|
|
17498
17501
|
const getOrganizationQueryKey = [
|
|
17499
|
-
|
|
17502
|
+
FrontierServiceQueries18.getOrganization,
|
|
17500
17503
|
{ id: organizationId }
|
|
17501
17504
|
];
|
|
17502
17505
|
async function updateOrganization(org) {
|
|
@@ -17507,7 +17510,7 @@ var OrganizationDetailsView = ({
|
|
|
17507
17510
|
isLoading: isKYCLoading,
|
|
17508
17511
|
error: kycError
|
|
17509
17512
|
} = useQuery16(
|
|
17510
|
-
|
|
17513
|
+
FrontierServiceQueries18.getOrganizationKyc,
|
|
17511
17514
|
{ orgId: organizationId || "" },
|
|
17512
17515
|
{
|
|
17513
17516
|
enabled: !!organizationId
|
|
@@ -17519,7 +17522,7 @@ var OrganizationDetailsView = ({
|
|
|
17519
17522
|
return;
|
|
17520
17523
|
queryClient.setQueryData(
|
|
17521
17524
|
createConnectQueryKey9({
|
|
17522
|
-
schema:
|
|
17525
|
+
schema: FrontierServiceQueries18.getOrganizationKyc,
|
|
17523
17526
|
transport,
|
|
17524
17527
|
input: { orgId: organizationId },
|
|
17525
17528
|
cardinality: "finite"
|
|
@@ -17532,7 +17535,7 @@ var OrganizationDetailsView = ({
|
|
|
17532
17535
|
isLoading: isDefaultRolesLoading,
|
|
17533
17536
|
error: defaultRolesError
|
|
17534
17537
|
} = useQuery16(
|
|
17535
|
-
|
|
17538
|
+
FrontierServiceQueries18.listRoles,
|
|
17536
17539
|
{ scopes: [ORG_NAMESPACE] },
|
|
17537
17540
|
{
|
|
17538
17541
|
enabled: !!organizationId,
|
|
@@ -17544,7 +17547,7 @@ var OrganizationDetailsView = ({
|
|
|
17544
17547
|
isLoading: isOrgRolesLoading,
|
|
17545
17548
|
error: orgRolesError
|
|
17546
17549
|
} = useQuery16(
|
|
17547
|
-
|
|
17550
|
+
FrontierServiceQueries18.listOrganizationRoles,
|
|
17548
17551
|
{ orgId: organizationId || "", scopes: [ORG_NAMESPACE] },
|
|
17549
17552
|
{
|
|
17550
17553
|
enabled: !!organizationId,
|
|
@@ -17557,7 +17560,7 @@ var OrganizationDetailsView = ({
|
|
|
17557
17560
|
isLoading: isOrgMembersMapLoading,
|
|
17558
17561
|
error: orgMembersError
|
|
17559
17562
|
} = useQuery16(
|
|
17560
|
-
|
|
17563
|
+
FrontierServiceQueries18.listOrganizationUsers,
|
|
17561
17564
|
{ id: organizationId || "" },
|
|
17562
17565
|
{
|
|
17563
17566
|
enabled: !!organizationId,
|
|
@@ -17575,7 +17578,7 @@ var OrganizationDetailsView = ({
|
|
|
17575
17578
|
}
|
|
17576
17579
|
);
|
|
17577
17580
|
const { data: firstBillingAccountId = "", error: billingAccountsError } = useQuery16(
|
|
17578
|
-
|
|
17581
|
+
FrontierServiceQueries18.listBillingAccounts,
|
|
17579
17582
|
{ orgId: organizationId || "" },
|
|
17580
17583
|
{
|
|
17581
17584
|
enabled: !!organizationId,
|
|
@@ -17588,7 +17591,7 @@ var OrganizationDetailsView = ({
|
|
|
17588
17591
|
error: billingAccountError,
|
|
17589
17592
|
refetch: fetchBillingAccountDetails
|
|
17590
17593
|
} = useQuery16(
|
|
17591
|
-
|
|
17594
|
+
FrontierServiceQueries18.getBillingAccount,
|
|
17592
17595
|
create18(GetBillingAccountRequestSchema, {
|
|
17593
17596
|
id: firstBillingAccountId,
|
|
17594
17597
|
withBillingDetails: true
|
|
@@ -17609,7 +17612,7 @@ var OrganizationDetailsView = ({
|
|
|
17609
17612
|
error: tokenBalanceError,
|
|
17610
17613
|
refetch: fetchTokenBalance
|
|
17611
17614
|
} = useQuery16(
|
|
17612
|
-
|
|
17615
|
+
FrontierServiceQueries18.getBillingBalance,
|
|
17613
17616
|
create18(GetBillingBalanceRequestSchema, {
|
|
17614
17617
|
id: firstBillingAccountId
|
|
17615
17618
|
}),
|
|
@@ -17714,8 +17717,8 @@ import {
|
|
|
17714
17717
|
toast as toast14
|
|
17715
17718
|
} from "@raystack/apsara";
|
|
17716
17719
|
|
|
17717
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17718
|
-
var digest57 = "
|
|
17720
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-PGs6UrUv48yD/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
17721
|
+
var digest57 = "0ff330d81d488f0532dabb82597129c567f0277f36e6304fb5ba9f56d7c58f63";
|
|
17719
17722
|
var css57 = `._container_1wkae_1 {
|
|
17720
17723
|
width: 100%;
|
|
17721
17724
|
}
|
|
@@ -17762,7 +17765,7 @@ import { useContext as useContext18 } from "react";
|
|
|
17762
17765
|
import { Button as Button23, Dialog as Dialog12, Flex as Flex66, Text as Text47, toast as toast12 } from "@raystack/apsara";
|
|
17763
17766
|
import { useContext as useContext16, useState as useState26 } from "react";
|
|
17764
17767
|
import { createConnectQueryKey as createConnectQueryKey10, useMutation as useMutation15, useTransport as useTransport11 } from "@connectrpc/connect-query";
|
|
17765
|
-
import { FrontierServiceQueries as
|
|
17768
|
+
import { FrontierServiceQueries as FrontierServiceQueries19, DisableOrganizationRequestSchema, EnableOrganizationRequestSchema } from "@raystack/proton/frontier";
|
|
17766
17769
|
import { create as create19 } from "@bufbuild/protobuf";
|
|
17767
17770
|
import { useQueryClient as useQueryClient12 } from "@tanstack/react-query";
|
|
17768
17771
|
import { jsx as jsx95, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
@@ -17773,12 +17776,12 @@ var BlockOrganizationDialog = () => {
|
|
|
17773
17776
|
const transport = useTransport11();
|
|
17774
17777
|
const [isDialogOpen, setIsDialogOpen] = useState26(false);
|
|
17775
17778
|
const { mutateAsync: disableOrganization, isPending: isDisabling } = useMutation15(
|
|
17776
|
-
|
|
17779
|
+
FrontierServiceQueries19.disableOrganization,
|
|
17777
17780
|
{
|
|
17778
17781
|
onSuccess: async () => {
|
|
17779
17782
|
await queryClient.invalidateQueries({
|
|
17780
17783
|
queryKey: createConnectQueryKey10({
|
|
17781
|
-
schema:
|
|
17784
|
+
schema: FrontierServiceQueries19.getOrganization,
|
|
17782
17785
|
transport,
|
|
17783
17786
|
input: { id: organization?.id },
|
|
17784
17787
|
cardinality: "finite"
|
|
@@ -17796,12 +17799,12 @@ var BlockOrganizationDialog = () => {
|
|
|
17796
17799
|
}
|
|
17797
17800
|
);
|
|
17798
17801
|
const { mutateAsync: enableOrganization, isPending: isEnabling } = useMutation15(
|
|
17799
|
-
|
|
17802
|
+
FrontierServiceQueries19.enableOrganization,
|
|
17800
17803
|
{
|
|
17801
17804
|
onSuccess: async () => {
|
|
17802
17805
|
await queryClient.invalidateQueries({
|
|
17803
17806
|
queryKey: createConnectQueryKey10({
|
|
17804
|
-
schema:
|
|
17807
|
+
schema: FrontierServiceQueries19.getOrganization,
|
|
17805
17808
|
transport,
|
|
17806
17809
|
input: { id: organization?.id },
|
|
17807
17810
|
cardinality: "finite"
|
|
@@ -17915,8 +17918,8 @@ import {
|
|
|
17915
17918
|
toast as toast13
|
|
17916
17919
|
} from "@raystack/apsara";
|
|
17917
17920
|
|
|
17918
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17919
|
-
var digest58 = "
|
|
17921
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-zqjwHEEunTBU/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
17922
|
+
var digest58 = "70b53438eab75342043fc27aed3e90e138eb1104fe27f6ea9d3bd57564b9dd34";
|
|
17920
17923
|
var css58 = `._container_1wkae_1 {
|
|
17921
17924
|
width: 100%;
|
|
17922
17925
|
}
|
|
@@ -17960,7 +17963,7 @@ var security_module_css_default3 = { "container": "_container_1wkae_1", "content
|
|
|
17960
17963
|
import { useContext as useContext17, useState as useState27 } from "react";
|
|
17961
17964
|
import { useMutation as useMutation16, createConnectQueryKey as createConnectQueryKey11, useTransport as useTransport12 } from "@connectrpc/connect-query";
|
|
17962
17965
|
import { useQueryClient as useQueryClient13 } from "@tanstack/react-query";
|
|
17963
|
-
import { FrontierServiceQueries as
|
|
17966
|
+
import { FrontierServiceQueries as FrontierServiceQueries20, DeleteOrganizationDomainRequestSchema } from "@raystack/proton/frontier";
|
|
17964
17967
|
import { create as create20 } from "@bufbuild/protobuf";
|
|
17965
17968
|
import { jsx as jsx96, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
17966
17969
|
var DeleteDomainDialog = ({
|
|
@@ -17971,12 +17974,12 @@ var DeleteDomainDialog = ({
|
|
|
17971
17974
|
const queryClient = useQueryClient13();
|
|
17972
17975
|
const transport = useTransport12();
|
|
17973
17976
|
const { mutateAsync: deleteDomain, isPending } = useMutation16(
|
|
17974
|
-
|
|
17977
|
+
FrontierServiceQueries20.deleteOrganizationDomain,
|
|
17975
17978
|
{
|
|
17976
17979
|
onSuccess: () => {
|
|
17977
17980
|
queryClient.invalidateQueries({
|
|
17978
17981
|
queryKey: createConnectQueryKey11({
|
|
17979
|
-
schema:
|
|
17982
|
+
schema: FrontierServiceQueries20.listOrganizationDomains,
|
|
17980
17983
|
transport,
|
|
17981
17984
|
input: { orgId: organization?.id || "" },
|
|
17982
17985
|
cardinality: "finite"
|
|
@@ -18073,7 +18076,7 @@ var DomainsList = ({
|
|
|
18073
18076
|
// admin/views/organizations/details/security/index.tsx
|
|
18074
18077
|
import { useQuery as useQuery17 } from "@connectrpc/connect-query";
|
|
18075
18078
|
import {
|
|
18076
|
-
FrontierServiceQueries as
|
|
18079
|
+
FrontierServiceQueries as FrontierServiceQueries21,
|
|
18077
18080
|
ListOrganizationDomainsRequestSchema
|
|
18078
18081
|
} from "@raystack/proton/frontier";
|
|
18079
18082
|
import { create as create21 } from "@bufbuild/protobuf";
|
|
@@ -18102,7 +18105,7 @@ var AddDomainSection = () => {
|
|
|
18102
18105
|
var OrganizationSecurity = () => {
|
|
18103
18106
|
const { organization } = useContext18(OrganizationContext);
|
|
18104
18107
|
const { data: domains, isLoading, error } = useQuery17(
|
|
18105
|
-
|
|
18108
|
+
FrontierServiceQueries21.listOrganizationDomains,
|
|
18106
18109
|
create21(ListOrganizationDomainsRequestSchema, {
|
|
18107
18110
|
orgId: organization?.id
|
|
18108
18111
|
}),
|
|
@@ -18140,8 +18143,8 @@ var OrganizationSecurity = () => {
|
|
|
18140
18143
|
// admin/views/organizations/details/members/index.tsx
|
|
18141
18144
|
import { DataTable as DataTable20, EmptyState as EmptyState15, Flex as Flex71 } from "@raystack/apsara";
|
|
18142
18145
|
|
|
18143
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18144
|
-
var digest59 = "
|
|
18146
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-5mgqLQ80HRpi/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18147
|
+
var digest59 = "44874bc9000c5709d30f9f58295ea18f8afd60e561c2d0ad0aa428911b5636de";
|
|
18145
18148
|
var css59 = `._container_6bi1j_1 {
|
|
18146
18149
|
width: 100%;
|
|
18147
18150
|
}
|
|
@@ -18204,8 +18207,8 @@ import {
|
|
|
18204
18207
|
DropdownMenu as DropdownMenu4
|
|
18205
18208
|
} from "@raystack/apsara";
|
|
18206
18209
|
|
|
18207
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18208
|
-
var digest60 = "
|
|
18210
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-C9fIaOSHTsZp/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18211
|
+
var digest60 = "017f3c8a7318f89d90cb8eca63629fa72c84a7f906945626a530b0cddde8104b";
|
|
18209
18212
|
var css60 = `._container_6bi1j_1 {
|
|
18210
18213
|
width: 100%;
|
|
18211
18214
|
}
|
|
@@ -18396,8 +18399,8 @@ import { useQueryClient as useQueryClient14 } from "@tanstack/react-query";
|
|
|
18396
18399
|
|
|
18397
18400
|
// admin/views/organizations/details/members/remove-member.tsx
|
|
18398
18401
|
import {
|
|
18399
|
-
FrontierServiceQueries as
|
|
18400
|
-
|
|
18402
|
+
FrontierServiceQueries as FrontierServiceQueries22,
|
|
18403
|
+
RemoveOrganizationMemberRequestSchema
|
|
18401
18404
|
} from "@raystack/proton/frontier";
|
|
18402
18405
|
import { create as create22 } from "@bufbuild/protobuf";
|
|
18403
18406
|
import { useMutation as useMutation17 } from "@connectrpc/connect-query";
|
|
@@ -18411,17 +18414,18 @@ var RemoveMember = ({
|
|
|
18411
18414
|
onClose
|
|
18412
18415
|
}) => {
|
|
18413
18416
|
const t = useTerminology();
|
|
18414
|
-
const { mutateAsync:
|
|
18415
|
-
|
|
18417
|
+
const { mutateAsync: removeOrganizationMember, isPending } = useMutation17(
|
|
18418
|
+
FrontierServiceQueries22.removeOrganizationMember
|
|
18416
18419
|
);
|
|
18417
18420
|
async function onSubmit() {
|
|
18418
18421
|
try {
|
|
18419
18422
|
if (!user)
|
|
18420
18423
|
return;
|
|
18421
|
-
await
|
|
18422
|
-
create22(
|
|
18423
|
-
|
|
18424
|
-
|
|
18424
|
+
await removeOrganizationMember(
|
|
18425
|
+
create22(RemoveOrganizationMemberRequestSchema, {
|
|
18426
|
+
orgId: organizationId,
|
|
18427
|
+
principalId: user?.id || "",
|
|
18428
|
+
principalType: "app/user"
|
|
18425
18429
|
})
|
|
18426
18430
|
);
|
|
18427
18431
|
if (onRemove) {
|
|
@@ -18741,8 +18745,8 @@ import {
|
|
|
18741
18745
|
Flex as Flex79
|
|
18742
18746
|
} from "@raystack/apsara";
|
|
18743
18747
|
|
|
18744
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18745
|
-
var digest61 = "
|
|
18748
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-uW4xTzJGwYtk/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
18749
|
+
var digest61 = "9462db25f48218cc2c300530313f451c90c7c23f40bfb75a24f208b2c2a29e22";
|
|
18746
18750
|
var css61 = `._container_1rf4u_1 {
|
|
18747
18751
|
width: 100%;
|
|
18748
18752
|
}
|
|
@@ -18811,8 +18815,8 @@ import {
|
|
|
18811
18815
|
DropdownMenu as DropdownMenu5
|
|
18812
18816
|
} from "@raystack/apsara";
|
|
18813
18817
|
|
|
18814
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18815
|
-
var digest62 = "
|
|
18818
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-O1iOpfdZLi5B/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
18819
|
+
var digest62 = "cf61f521bf9fc8ebbf27f83a8fb6ebc261a600df1936742066d9499334ea89b9";
|
|
18816
18820
|
var css62 = `._container_1rf4u_1 {
|
|
18817
18821
|
width: 100%;
|
|
18818
18822
|
}
|
|
@@ -18874,7 +18878,7 @@ import dayjs13 from "dayjs";
|
|
|
18874
18878
|
// admin/views/organizations/details/projects/rename-project.tsx
|
|
18875
18879
|
import { Button as Button27, Dialog as Dialog15, Flex as Flex72, InputField as InputField8, toast as toast16 } from "@raystack/apsara";
|
|
18876
18880
|
import {
|
|
18877
|
-
FrontierServiceQueries as
|
|
18881
|
+
FrontierServiceQueries as FrontierServiceQueries23,
|
|
18878
18882
|
UpdateProjectRequestSchema
|
|
18879
18883
|
} from "@raystack/proton/frontier";
|
|
18880
18884
|
import { create as create23 } from "@bufbuild/protobuf";
|
|
@@ -18909,7 +18913,7 @@ function RenameProjectDialog({
|
|
|
18909
18913
|
resolver: zodResolver11(projectRenameSchema)
|
|
18910
18914
|
});
|
|
18911
18915
|
const { mutateAsync: updateProject } = useMutation18(
|
|
18912
|
-
|
|
18916
|
+
FrontierServiceQueries23.updateProject
|
|
18913
18917
|
);
|
|
18914
18918
|
const submit = async (data) => {
|
|
18915
18919
|
try {
|
|
@@ -18997,7 +19001,7 @@ import { useState as useState31 } from "react";
|
|
|
18997
19001
|
import { useCallback as useCallback13, useContext as useContext20, useMemo as useMemo12, useState as useState30 } from "react";
|
|
18998
19002
|
import { toast as toast17 } from "@raystack/apsara";
|
|
18999
19003
|
import { useQuery as useQuery18, useMutation as useMutation19 } from "@connectrpc/connect-query";
|
|
19000
|
-
import { FrontierServiceQueries as
|
|
19004
|
+
import { FrontierServiceQueries as FrontierServiceQueries24, ListProjectUsersRequestSchema, ListRolesRequestSchema as ListRolesRequestSchema3, SetProjectMemberRoleRequestSchema } from "@raystack/proton/frontier";
|
|
19001
19005
|
import { create as create24 } from "@bufbuild/protobuf";
|
|
19002
19006
|
function useAddProjectMembers({ projectId }) {
|
|
19003
19007
|
const t = useTerminology();
|
|
@@ -19005,7 +19009,7 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19005
19009
|
const { orgMembersMap } = useContext20(OrganizationContext);
|
|
19006
19010
|
const [searchQuery, setSearchQuery] = useState30("");
|
|
19007
19011
|
const { data: projectMembers, isLoading, refetch } = useQuery18(
|
|
19008
|
-
|
|
19012
|
+
FrontierServiceQueries24.listProjectUsers,
|
|
19009
19013
|
create24(ListProjectUsersRequestSchema, { id: projectId }),
|
|
19010
19014
|
{
|
|
19011
19015
|
enabled: !!projectId,
|
|
@@ -19029,7 +19033,7 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19029
19033
|
}) : nonMembers;
|
|
19030
19034
|
}, [nonMembers, searchQuery]);
|
|
19031
19035
|
const { data: rolesData } = useQuery18(
|
|
19032
|
-
|
|
19036
|
+
FrontierServiceQueries24.listRoles,
|
|
19033
19037
|
create24(ListRolesRequestSchema3, {
|
|
19034
19038
|
state: "enabled",
|
|
19035
19039
|
scopes: [SCOPES.PROJECT]
|
|
@@ -19041,7 +19045,7 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19041
19045
|
[rolesData]
|
|
19042
19046
|
);
|
|
19043
19047
|
const { mutateAsync: setProjectMemberRole } = useMutation19(
|
|
19044
|
-
|
|
19048
|
+
FrontierServiceQueries24.setProjectMemberRole
|
|
19045
19049
|
);
|
|
19046
19050
|
const addMember = useCallback13(
|
|
19047
19051
|
async (userId) => {
|
|
@@ -19319,7 +19323,7 @@ import { DataTable as DataTable21, Dialog as Dialog18, EmptyState as EmptyState1
|
|
|
19319
19323
|
import { useCallback as useCallback14, useMemo as useMemo13, useState as useState33 } from "react";
|
|
19320
19324
|
import {
|
|
19321
19325
|
AdminServiceQueries as AdminServiceQueries21,
|
|
19322
|
-
FrontierServiceQueries as
|
|
19326
|
+
FrontierServiceQueries as FrontierServiceQueries27,
|
|
19323
19327
|
GetProjectRequestSchema,
|
|
19324
19328
|
ListRolesRequestSchema as ListRolesRequestSchema4
|
|
19325
19329
|
} from "@raystack/proton/frontier";
|
|
@@ -19327,8 +19331,8 @@ import { create as create27 } from "@bufbuild/protobuf";
|
|
|
19327
19331
|
import { useQuery as useQuery19, useInfiniteQuery as useInfiniteQuery6 } from "@connectrpc/connect-query";
|
|
19328
19332
|
import { useDebouncedState as useDebouncedState4 } from "@raystack/apsara/hooks";
|
|
19329
19333
|
|
|
19330
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19331
|
-
var digest63 = "
|
|
19334
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Y66kuy0TazZu/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19335
|
+
var digest63 = "02c9ac6f0c2bbf678190b4658a8473d7665a8930b95b64156503942cfe6d979c";
|
|
19332
19336
|
var css63 = `._flex1_1k2kc_1 {
|
|
19333
19337
|
flex: 1;
|
|
19334
19338
|
}
|
|
@@ -19420,8 +19424,8 @@ var css63 = `._flex1_1k2kc_1 {
|
|
|
19420
19424
|
})();
|
|
19421
19425
|
var members_module_css_default3 = { "flex1": "_flex1_1k2kc_1", "dialog-content": "_dialog-content_1k2kc_5", "dialogContent": "_dialog-content_1k2kc_5", "dialog-body": "_dialog-body_1k2kc_10", "dialogBody": "_dialog-body_1k2kc_10", "empty-state": "_empty-state_1k2kc_14", "emptyState": "_empty-state_1k2kc_14", "empty-state-subheading": "_empty-state-subheading_1k2kc_18", "emptyStateSubheading": "_empty-state-subheading_1k2kc_18", "table": "_table_1k2kc_23", "table-wrapper": "_table-wrapper_1k2kc_28", "tableWrapper": "_table-wrapper_1k2kc_28", "table-header": "_table-header_1k2kc_34", "tableHeader": "_table-header_1k2kc_34", "table-search": "_table-search_1k2kc_39", "tableSearch": "_table-search_1k2kc_39", "table-content-wrapper": "_table-content-wrapper_1k2kc_43", "tableContentWrapper": "_table-content-wrapper_1k2kc_43", "table-action-column": "_table-action-column_1k2kc_47", "tableActionColumn": "_table-action-column_1k2kc_47", "table-action-dropdown": "_table-action-dropdown_1k2kc_51", "tableActionDropdown": "_table-action-dropdown_1k2kc_51", "action-dialog-overlay": "_action-dialog-overlay_1k2kc_56", "actionDialogOverlay": "_action-dialog-overlay_1k2kc_56", "action-dialog-content": "_action-dialog-content_1k2kc_60", "actionDialogContent": "_action-dialog-content_1k2kc_60", "add-member-dropdown": "_add-member-dropdown_1k2kc_64", "addMemberDropdown": "_add-member-dropdown_1k2kc_64", "add-member-dropdown-member": "_add-member-dropdown-member_1k2kc_69", "addMemberDropdownMember": "_add-member-dropdown-member_1k2kc_69", "add-member-dropdown-member-name": "_add-member-dropdown-member-name_1k2kc_73", "addMemberDropdownMemberName": "_add-member-dropdown-member-name_1k2kc_73" };
|
|
19422
19426
|
|
|
19423
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19424
|
-
var digest64 = "
|
|
19427
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-mRHYzhU7fbxo/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19428
|
+
var digest64 = "089a07fddbce333d62f0964184f2b032a72bae1ca04653abb209f53baa6b2c90";
|
|
19425
19429
|
var css64 = `._flex1_1k2kc_1 {
|
|
19426
19430
|
flex: 1;
|
|
19427
19431
|
}
|
|
@@ -19629,8 +19633,8 @@ import {
|
|
|
19629
19633
|
toast as toast18
|
|
19630
19634
|
} from "@raystack/apsara";
|
|
19631
19635
|
|
|
19632
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19633
|
-
var digest65 = "
|
|
19636
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Ggies5cHhlhJ/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19637
|
+
var digest65 = "4314fa522a950102c11a8f83e85b5b1d36404a2e6e1df54a8bf2ded7cceff993";
|
|
19634
19638
|
var css65 = `._flex1_1k2kc_1 {
|
|
19635
19639
|
flex: 1;
|
|
19636
19640
|
}
|
|
@@ -19724,7 +19728,7 @@ var members_module_css_default5 = { "flex1": "_flex1_1k2kc_1", "dialog-content":
|
|
|
19724
19728
|
|
|
19725
19729
|
// admin/views/organizations/details/projects/members/assign-role.tsx
|
|
19726
19730
|
import {
|
|
19727
|
-
FrontierServiceQueries as
|
|
19731
|
+
FrontierServiceQueries as FrontierServiceQueries25,
|
|
19728
19732
|
SetProjectMemberRoleRequestSchema as SetProjectMemberRoleRequestSchema2
|
|
19729
19733
|
} from "@raystack/proton/frontier";
|
|
19730
19734
|
import { create as create25 } from "@bufbuild/protobuf";
|
|
@@ -19755,7 +19759,7 @@ var AssignRole2 = ({
|
|
|
19755
19759
|
resolver: zodResolver12(formSchema2)
|
|
19756
19760
|
});
|
|
19757
19761
|
const { mutateAsync: setProjectMemberRole } = useMutation20(
|
|
19758
|
-
|
|
19762
|
+
FrontierServiceQueries25.setProjectMemberRole
|
|
19759
19763
|
);
|
|
19760
19764
|
const selectedRoleId = watch("roleId");
|
|
19761
19765
|
const onSubmit = async (data) => {
|
|
@@ -19848,14 +19852,14 @@ var AssignRole2 = ({
|
|
|
19848
19852
|
// admin/views/organizations/details/projects/members/remove-member.tsx
|
|
19849
19853
|
import { useState as useState32 } from "react";
|
|
19850
19854
|
import {
|
|
19851
|
-
FrontierServiceQueries as
|
|
19855
|
+
FrontierServiceQueries as FrontierServiceQueries26,
|
|
19852
19856
|
RemoveProjectMemberRequestSchema
|
|
19853
19857
|
} from "@raystack/proton/frontier";
|
|
19854
19858
|
import { create as create26 } from "@bufbuild/protobuf";
|
|
19855
19859
|
import { useMutation as useMutation21 } from "@connectrpc/connect-query";
|
|
19856
19860
|
|
|
19857
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19858
|
-
var digest66 = "
|
|
19861
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-wZx8dvNll50c/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19862
|
+
var digest66 = "4ad7cf30fb5226bbd9d14b9cfcca774b8b8ea98c0fdea00b05a2a96aab5ef3ab";
|
|
19859
19863
|
var css66 = `._flex1_1k2kc_1 {
|
|
19860
19864
|
flex: 1;
|
|
19861
19865
|
}
|
|
@@ -19959,7 +19963,7 @@ var RemoveMember2 = ({
|
|
|
19959
19963
|
const t = useTerminology();
|
|
19960
19964
|
const [isSubmitting, setIsSubmitting] = useState32(false);
|
|
19961
19965
|
const { mutateAsync: removeProjectMember } = useMutation21(
|
|
19962
|
-
|
|
19966
|
+
FrontierServiceQueries26.removeProjectMember
|
|
19963
19967
|
);
|
|
19964
19968
|
async function onSubmit() {
|
|
19965
19969
|
try {
|
|
@@ -20052,8 +20056,8 @@ import {
|
|
|
20052
20056
|
Text as Text56
|
|
20053
20057
|
} from "@raystack/apsara";
|
|
20054
20058
|
|
|
20055
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20056
|
-
var digest67 = "
|
|
20059
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-XZgHoRgI9Vtp/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
20060
|
+
var digest67 = "ed9e9874e0f9f5ac067fd9e9c992ccf2fdbd2dfcf95770c8ef46e537c9edc59d";
|
|
20057
20061
|
var css67 = `._flex1_1k2kc_1 {
|
|
20058
20062
|
flex: 1;
|
|
20059
20063
|
}
|
|
@@ -20238,7 +20242,7 @@ var ProjectMembersDialog = ({
|
|
|
20238
20242
|
const [assignRoleConfig, setAssignRoleConfig] = useState33({ isOpen: false, user: null });
|
|
20239
20243
|
const [removeMemberConfig, setRemoveMemberConfig] = useState33({ isOpen: false, user: null });
|
|
20240
20244
|
const { data: project, isLoading: isProjectLoading, error: projectError } = useQuery19(
|
|
20241
|
-
|
|
20245
|
+
FrontierServiceQueries27.getProject,
|
|
20242
20246
|
create27(GetProjectRequestSchema, { id: projectId }),
|
|
20243
20247
|
{
|
|
20244
20248
|
enabled: !!projectId,
|
|
@@ -20246,7 +20250,7 @@ var ProjectMembersDialog = ({
|
|
|
20246
20250
|
}
|
|
20247
20251
|
);
|
|
20248
20252
|
const { data: projectRoles = [], isLoading: isProjectRolesLoading, error: rolesError } = useQuery19(
|
|
20249
|
-
|
|
20253
|
+
FrontierServiceQueries27.listRoles,
|
|
20250
20254
|
create27(ListRolesRequestSchema4, { scopes: [PROJECT_NAMESPACE] }),
|
|
20251
20255
|
{
|
|
20252
20256
|
select: (data2) => data2?.roles || []
|
|
@@ -20587,8 +20591,8 @@ function OrganizationProjectsView() {
|
|
|
20587
20591
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20588
20592
|
import { DataTable as DataTable23, EmptyState as EmptyState18, Flex as Flex80 } from "@raystack/apsara";
|
|
20589
20593
|
|
|
20590
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20591
|
-
var digest68 = "
|
|
20594
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-TUC3xLvljBNE/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
20595
|
+
var digest68 = "6a5f9936efc488ecf5ecf100bb57e55bfb0e6672052ca0d437effa679cdd08a6";
|
|
20592
20596
|
var css68 = `._empty-state_ct7gw_1 {
|
|
20593
20597
|
height: 100%;
|
|
20594
20598
|
}
|
|
@@ -20634,8 +20638,8 @@ var invoices_module_css_default3 = { "empty-state": "_empty-state_ct7gw_1", "emp
|
|
|
20634
20638
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20635
20639
|
import { useContext as useContext22, useEffect as useEffect17, useMemo as useMemo15, useState as useState35 } from "react";
|
|
20636
20640
|
|
|
20637
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20638
|
-
var digest69 = "
|
|
20641
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-heEhU0ATTQZH/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
20642
|
+
var digest69 = "95d83e4515d409acdb1b3cdfa6201f997e152ec485e65f437ada418bfb9dd3a7";
|
|
20639
20643
|
var css69 = `._empty-state_ct7gw_1 {
|
|
20640
20644
|
height: 100%;
|
|
20641
20645
|
}
|
|
@@ -20750,7 +20754,7 @@ var getColumns15 = ({
|
|
|
20750
20754
|
];
|
|
20751
20755
|
|
|
20752
20756
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20753
|
-
import {
|
|
20757
|
+
import { FrontierServiceQueries as FrontierServiceQueries28 } from "@raystack/proton/frontier";
|
|
20754
20758
|
import { useInfiniteQuery as useInfiniteQuery8 } from "@connectrpc/connect-query";
|
|
20755
20759
|
import { jsx as jsx110, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
20756
20760
|
var DEFAULT_SORT7 = { name: "createdAt", order: "desc" };
|
|
@@ -20826,7 +20830,7 @@ function OrganizationInvoicesView() {
|
|
|
20826
20830
|
hasNextPage,
|
|
20827
20831
|
isError
|
|
20828
20832
|
} = useInfiniteQuery8(
|
|
20829
|
-
|
|
20833
|
+
FrontierServiceQueries28.searchOrganizationInvoices,
|
|
20830
20834
|
{ id: organizationId, query },
|
|
20831
20835
|
{
|
|
20832
20836
|
enabled: !!organizationId,
|
|
@@ -20896,8 +20900,8 @@ function OrganizationInvoicesView() {
|
|
|
20896
20900
|
// admin/views/organizations/details/tokens/index.tsx
|
|
20897
20901
|
import { DataTable as DataTable24, EmptyState as EmptyState19, Flex as Flex82 } from "@raystack/apsara";
|
|
20898
20902
|
|
|
20899
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20900
|
-
var digest70 = "
|
|
20903
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-LIC8019Tc5FJ/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
20904
|
+
var digest70 = "c95d70a60917da1bf072effb2ea3bb603f5e1afea68f6866e36f5ae2863db8a6";
|
|
20901
20905
|
var css70 = `._empty-state_1mf09_1 {
|
|
20902
20906
|
height: 100%;
|
|
20903
20907
|
}
|
|
@@ -20954,11 +20958,11 @@ var tokens_module_css_default = { "empty-state": "_empty-state_1mf09_1", "emptyS
|
|
|
20954
20958
|
// admin/views/organizations/details/tokens/index.tsx
|
|
20955
20959
|
import { CoinIcon } from "@raystack/apsara/icons";
|
|
20956
20960
|
import { useContext as useContext23, useEffect as useEffect18, useMemo as useMemo16, useState as useState36 } from "react";
|
|
20957
|
-
import {
|
|
20961
|
+
import { FrontierServiceQueries as FrontierServiceQueries29 } from "@raystack/proton/frontier";
|
|
20958
20962
|
import { useInfiniteQuery as useInfiniteQuery9 } from "@connectrpc/connect-query";
|
|
20959
20963
|
|
|
20960
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20961
|
-
var digest71 = "
|
|
20964
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-8QWLCLL42crX/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
20965
|
+
var digest71 = "ac76f9c59097f9ce515d209205bfa256192bf0d83696bfc2636eb3e90c82ede0";
|
|
20962
20966
|
var css71 = `._empty-state_1mf09_1 {
|
|
20963
20967
|
height: 100%;
|
|
20964
20968
|
}
|
|
@@ -21164,7 +21168,7 @@ function OrganizationTokensView() {
|
|
|
21164
21168
|
hasNextPage,
|
|
21165
21169
|
isError
|
|
21166
21170
|
} = useInfiniteQuery9(
|
|
21167
|
-
|
|
21171
|
+
FrontierServiceQueries29.searchOrganizationTokens,
|
|
21168
21172
|
{ id: organizationId, query },
|
|
21169
21173
|
{
|
|
21170
21174
|
enabled: !!organizationId,
|
|
@@ -21233,8 +21237,8 @@ function OrganizationTokensView() {
|
|
|
21233
21237
|
// admin/views/organizations/details/apis/index.tsx
|
|
21234
21238
|
import { DataTable as DataTable25, EmptyState as EmptyState20, Flex as Flex84 } from "@raystack/apsara";
|
|
21235
21239
|
|
|
21236
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21237
|
-
var digest72 = "
|
|
21240
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-YMUlJLCjxYde/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21241
|
+
var digest72 = "74b1f53369553a2503f03d0bd55b19fd11d7b4387e7c003459994c1ddd614556";
|
|
21238
21242
|
var css72 = `._empty-state_r9k2f_1 {
|
|
21239
21243
|
height: 100%;
|
|
21240
21244
|
}
|
|
@@ -21319,8 +21323,8 @@ import { useCallback as useCallback16, useContext as useContext24, useEffect as
|
|
|
21319
21323
|
import { Text as Text58 } from "@raystack/apsara";
|
|
21320
21324
|
import dayjs16 from "dayjs";
|
|
21321
21325
|
|
|
21322
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21323
|
-
var digest73 = "
|
|
21326
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-GLOMKmjmYK79/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21327
|
+
var digest73 = "a998862cf8ab2acbd97847b820aa0e15b3ef30ae9917772fa5d4f8bbec041634";
|
|
21324
21328
|
var css73 = `._empty-state_r9k2f_1 {
|
|
21325
21329
|
height: 100%;
|
|
21326
21330
|
}
|
|
@@ -21444,8 +21448,8 @@ function getColumns17(options) {
|
|
|
21444
21448
|
// admin/views/organizations/details/apis/details-dialog.tsx
|
|
21445
21449
|
import { Dialog as Dialog19, Flex as Flex83, Skeleton as Skeleton4, Tabs, Text as Text59, toast as toast20 } from "@raystack/apsara";
|
|
21446
21450
|
|
|
21447
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21448
|
-
var digest74 = "
|
|
21451
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-gYcLLIbq2gxr/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21452
|
+
var digest74 = "6c673473e62734fff36d7fbd2121143f3f0ec76828ec2b22f1273b145d991175";
|
|
21449
21453
|
var css74 = `._empty-state_r9k2f_1 {
|
|
21450
21454
|
height: 100%;
|
|
21451
21455
|
}
|
|
@@ -21527,7 +21531,7 @@ var apis_module_css_default3 = { "empty-state": "_empty-state_r9k2f_1", "emptySt
|
|
|
21527
21531
|
import { useCallback as useCallback15, useEffect as useEffect19, useMemo as useMemo17 } from "react";
|
|
21528
21532
|
import { useQuery as useQuery20 } from "@connectrpc/connect-query";
|
|
21529
21533
|
import {
|
|
21530
|
-
FrontierServiceQueries as
|
|
21534
|
+
FrontierServiceQueries as FrontierServiceQueries30,
|
|
21531
21535
|
ListServiceUserProjectsRequestSchema,
|
|
21532
21536
|
ListServiceUserTokensRequestSchema
|
|
21533
21537
|
} from "@raystack/proton/frontier";
|
|
@@ -21557,7 +21561,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21557
21561
|
data: projects = [],
|
|
21558
21562
|
isLoading: isProjectLoading,
|
|
21559
21563
|
error: projectError
|
|
21560
|
-
} = useQuery20(
|
|
21564
|
+
} = useQuery20(FrontierServiceQueries30.listServiceUserProjects, projectsRequest, {
|
|
21561
21565
|
enabled: !!orgId && !!id,
|
|
21562
21566
|
select: (data) => data?.projects || []
|
|
21563
21567
|
});
|
|
@@ -21565,7 +21569,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21565
21569
|
data: tokens = [],
|
|
21566
21570
|
isLoading: isTokenLoading,
|
|
21567
21571
|
error: tokenError
|
|
21568
|
-
} = useQuery20(
|
|
21572
|
+
} = useQuery20(FrontierServiceQueries30.listServiceUserTokens, tokensRequest, {
|
|
21569
21573
|
enabled: !!orgId && !!id,
|
|
21570
21574
|
select: (data) => data?.tokens || []
|
|
21571
21575
|
});
|
|
@@ -21653,7 +21657,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21653
21657
|
// admin/views/organizations/details/apis/index.tsx
|
|
21654
21658
|
import { useInfiniteQuery as useInfiniteQuery10 } from "@connectrpc/connect-query";
|
|
21655
21659
|
import {
|
|
21656
|
-
AdminServiceQueries as
|
|
21660
|
+
AdminServiceQueries as AdminServiceQueries23
|
|
21657
21661
|
} from "@raystack/proton/frontier";
|
|
21658
21662
|
import { jsx as jsx115, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
21659
21663
|
var NoCredentials = () => {
|
|
@@ -21732,7 +21736,7 @@ function OrganizationApisView() {
|
|
|
21732
21736
|
isError,
|
|
21733
21737
|
hasNextPage
|
|
21734
21738
|
} = useInfiniteQuery10(
|
|
21735
|
-
|
|
21739
|
+
AdminServiceQueries23.searchOrganizationServiceUsers,
|
|
21736
21740
|
{ id: organizationId, query },
|
|
21737
21741
|
{
|
|
21738
21742
|
pageParamKey: "query",
|