refactor kal
This commit is contained in:
@@ -25,7 +25,6 @@ export type { BaseEnumListSchema } from './models/BaseEnumListSchema';
|
|||||||
export type { BaseEnumSchema } from './models/BaseEnumSchema';
|
export type { BaseEnumSchema } from './models/BaseEnumSchema';
|
||||||
export type { BaseMarketplaceSchema } from './models/BaseMarketplaceSchema';
|
export type { BaseMarketplaceSchema } from './models/BaseMarketplaceSchema';
|
||||||
export type { BaseShippingWarehouseSchema } from './models/BaseShippingWarehouseSchema';
|
export type { BaseShippingWarehouseSchema } from './models/BaseShippingWarehouseSchema';
|
||||||
export type { BillPaymentInfo } from './models/BillPaymentInfo';
|
|
||||||
export type { BillPaymentStatus } from './models/BillPaymentStatus';
|
export type { BillPaymentStatus } from './models/BillPaymentStatus';
|
||||||
export type { BillStatusUpdateRequest } from './models/BillStatusUpdateRequest';
|
export type { BillStatusUpdateRequest } from './models/BillStatusUpdateRequest';
|
||||||
export type { Body_upload_product_barcode_image } from './models/Body_upload_product_barcode_image';
|
export type { Body_upload_product_barcode_image } from './models/Body_upload_product_barcode_image';
|
||||||
|
|||||||
@@ -2,12 +2,11 @@
|
|||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import type { BillPaymentInfo } from './BillPaymentInfo';
|
|
||||||
import type { BillPaymentStatus } from './BillPaymentStatus';
|
import type { BillPaymentStatus } from './BillPaymentStatus';
|
||||||
import type { NotificationChannel } from './NotificationChannel';
|
import type { NotificationChannel } from './NotificationChannel';
|
||||||
export type BillStatusUpdateRequest = {
|
export type BillStatusUpdateRequest = {
|
||||||
listenerTransactionId: number;
|
listenerTransactionId: number;
|
||||||
channel: NotificationChannel;
|
channel: NotificationChannel;
|
||||||
info: (BillPaymentInfo | BillPaymentStatus);
|
info: BillPaymentStatus;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
8
src/client/models/Body_upload_product_barcode_image.ts
Normal file
8
src/client/models/Body_upload_product_barcode_image.ts
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
export type Body_upload_product_barcode_image = {
|
||||||
|
upload_file: Blob;
|
||||||
|
};
|
||||||
|
|
||||||
9
src/client/models/ProductDeleteBarcodeImageResponse.ts
Normal file
9
src/client/models/ProductDeleteBarcodeImageResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
export type ProductDeleteBarcodeImageResponse = {
|
||||||
|
ok: boolean;
|
||||||
|
message: string;
|
||||||
|
};
|
||||||
|
|
||||||
8
src/client/models/ProductGetBarcodeImageResponse.ts
Normal file
8
src/client/models/ProductGetBarcodeImageResponse.ts
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
export type ProductGetBarcodeImageResponse = {
|
||||||
|
barcodeImageUrl?: (string | null);
|
||||||
|
};
|
||||||
|
|
||||||
10
src/client/models/ProductUploadBarcodeImageResponse.ts
Normal file
10
src/client/models/ProductUploadBarcodeImageResponse.ts
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
export type ProductUploadBarcodeImageResponse = {
|
||||||
|
ok: boolean;
|
||||||
|
message: string;
|
||||||
|
barcodeImageUrl?: (string | null);
|
||||||
|
};
|
||||||
|
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
/* prettier-ignore-start */
|
|
||||||
|
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
|
|
||||||
// noinspection JSUnusedGlobalSymbols
|
// noinspection JSUnusedGlobalSymbols
|
||||||
|
|
||||||
// This file is auto-generated by TanStack Router
|
// This file was automatically generated by TanStack Router.
|
||||||
|
// You should NOT make any changes in this file as it will be overwritten.
|
||||||
|
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
||||||
|
|
||||||
import { createFileRoute } from '@tanstack/react-router'
|
import { createFileRoute } from '@tanstack/react-router'
|
||||||
|
|
||||||
@@ -32,11 +32,13 @@ const IndexLazyImport = createFileRoute('/')()
|
|||||||
// Create/Update Routes
|
// Create/Update Routes
|
||||||
|
|
||||||
const TestLazyRoute = TestLazyImport.update({
|
const TestLazyRoute = TestLazyImport.update({
|
||||||
|
id: '/test',
|
||||||
path: '/test',
|
path: '/test',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/test.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/test.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const ShippingwarehousesLazyRoute = ShippingwarehousesLazyImport.update({
|
const ShippingwarehousesLazyRoute = ShippingwarehousesLazyImport.update({
|
||||||
|
id: '/shipping_warehouses',
|
||||||
path: '/shipping_warehouses',
|
path: '/shipping_warehouses',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() =>
|
} as any).lazy(() =>
|
||||||
@@ -44,51 +46,61 @@ const ShippingwarehousesLazyRoute = ShippingwarehousesLazyImport.update({
|
|||||||
)
|
)
|
||||||
|
|
||||||
const ServicesLazyRoute = ServicesLazyImport.update({
|
const ServicesLazyRoute = ServicesLazyImport.update({
|
||||||
|
id: '/services',
|
||||||
path: '/services',
|
path: '/services',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/services.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/services.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const ProductsLazyRoute = ProductsLazyImport.update({
|
const ProductsLazyRoute = ProductsLazyImport.update({
|
||||||
|
id: '/products',
|
||||||
path: '/products',
|
path: '/products',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/products.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/products.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const MarketplacesLazyRoute = MarketplacesLazyImport.update({
|
const MarketplacesLazyRoute = MarketplacesLazyImport.update({
|
||||||
|
id: '/marketplaces',
|
||||||
path: '/marketplaces',
|
path: '/marketplaces',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/marketplaces.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/marketplaces.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const LoginLazyRoute = LoginLazyImport.update({
|
const LoginLazyRoute = LoginLazyImport.update({
|
||||||
|
id: '/login',
|
||||||
path: '/login',
|
path: '/login',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/login.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/login.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const LeadsLazyRoute = LeadsLazyImport.update({
|
const LeadsLazyRoute = LeadsLazyImport.update({
|
||||||
|
id: '/leads',
|
||||||
path: '/leads',
|
path: '/leads',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/leads.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/leads.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const ClientsLazyRoute = ClientsLazyImport.update({
|
const ClientsLazyRoute = ClientsLazyImport.update({
|
||||||
|
id: '/clients',
|
||||||
path: '/clients',
|
path: '/clients',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/clients.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/clients.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const BarcodeLazyRoute = BarcodeLazyImport.update({
|
const BarcodeLazyRoute = BarcodeLazyImport.update({
|
||||||
|
id: '/barcode',
|
||||||
path: '/barcode',
|
path: '/barcode',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/barcode.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/barcode.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const AdminLazyRoute = AdminLazyImport.update({
|
const AdminLazyRoute = AdminLazyImport.update({
|
||||||
|
id: '/admin',
|
||||||
path: '/admin',
|
path: '/admin',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/admin.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/admin.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const IndexLazyRoute = IndexLazyImport.update({
|
const IndexLazyRoute = IndexLazyImport.update({
|
||||||
|
id: '/',
|
||||||
path: '/',
|
path: '/',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any).lazy(() => import('./routes/index.lazy').then((d) => d.Route))
|
} as any).lazy(() => import('./routes/index.lazy').then((d) => d.Route))
|
||||||
|
|
||||||
const DealsDealIdRoute = DealsDealIdImport.update({
|
const DealsDealIdRoute = DealsDealIdImport.update({
|
||||||
|
id: '/deals/$dealId',
|
||||||
path: '/deals/$dealId',
|
path: '/deals/$dealId',
|
||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any)
|
} as any)
|
||||||
@@ -186,22 +198,131 @@ declare module '@tanstack/react-router' {
|
|||||||
|
|
||||||
// Create and export the route tree
|
// Create and export the route tree
|
||||||
|
|
||||||
export const routeTree = rootRoute.addChildren({
|
export interface FileRoutesByFullPath {
|
||||||
IndexLazyRoute,
|
'/': typeof IndexLazyRoute
|
||||||
AdminLazyRoute,
|
'/admin': typeof AdminLazyRoute
|
||||||
BarcodeLazyRoute,
|
'/barcode': typeof BarcodeLazyRoute
|
||||||
ClientsLazyRoute,
|
'/clients': typeof ClientsLazyRoute
|
||||||
LeadsLazyRoute,
|
'/leads': typeof LeadsLazyRoute
|
||||||
LoginLazyRoute,
|
'/login': typeof LoginLazyRoute
|
||||||
MarketplacesLazyRoute,
|
'/marketplaces': typeof MarketplacesLazyRoute
|
||||||
ProductsLazyRoute,
|
'/products': typeof ProductsLazyRoute
|
||||||
ServicesLazyRoute,
|
'/services': typeof ServicesLazyRoute
|
||||||
ShippingwarehousesLazyRoute,
|
'/shipping_warehouses': typeof ShippingwarehousesLazyRoute
|
||||||
TestLazyRoute,
|
'/test': typeof TestLazyRoute
|
||||||
DealsDealIdRoute,
|
'/deals/$dealId': typeof DealsDealIdRoute
|
||||||
})
|
}
|
||||||
|
|
||||||
/* prettier-ignore-end */
|
export interface FileRoutesByTo {
|
||||||
|
'/': typeof IndexLazyRoute
|
||||||
|
'/admin': typeof AdminLazyRoute
|
||||||
|
'/barcode': typeof BarcodeLazyRoute
|
||||||
|
'/clients': typeof ClientsLazyRoute
|
||||||
|
'/leads': typeof LeadsLazyRoute
|
||||||
|
'/login': typeof LoginLazyRoute
|
||||||
|
'/marketplaces': typeof MarketplacesLazyRoute
|
||||||
|
'/products': typeof ProductsLazyRoute
|
||||||
|
'/services': typeof ServicesLazyRoute
|
||||||
|
'/shipping_warehouses': typeof ShippingwarehousesLazyRoute
|
||||||
|
'/test': typeof TestLazyRoute
|
||||||
|
'/deals/$dealId': typeof DealsDealIdRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface FileRoutesById {
|
||||||
|
__root__: typeof rootRoute
|
||||||
|
'/': typeof IndexLazyRoute
|
||||||
|
'/admin': typeof AdminLazyRoute
|
||||||
|
'/barcode': typeof BarcodeLazyRoute
|
||||||
|
'/clients': typeof ClientsLazyRoute
|
||||||
|
'/leads': typeof LeadsLazyRoute
|
||||||
|
'/login': typeof LoginLazyRoute
|
||||||
|
'/marketplaces': typeof MarketplacesLazyRoute
|
||||||
|
'/products': typeof ProductsLazyRoute
|
||||||
|
'/services': typeof ServicesLazyRoute
|
||||||
|
'/shipping_warehouses': typeof ShippingwarehousesLazyRoute
|
||||||
|
'/test': typeof TestLazyRoute
|
||||||
|
'/deals/$dealId': typeof DealsDealIdRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface FileRouteTypes {
|
||||||
|
fileRoutesByFullPath: FileRoutesByFullPath
|
||||||
|
fullPaths:
|
||||||
|
| '/'
|
||||||
|
| '/admin'
|
||||||
|
| '/barcode'
|
||||||
|
| '/clients'
|
||||||
|
| '/leads'
|
||||||
|
| '/login'
|
||||||
|
| '/marketplaces'
|
||||||
|
| '/products'
|
||||||
|
| '/services'
|
||||||
|
| '/shipping_warehouses'
|
||||||
|
| '/test'
|
||||||
|
| '/deals/$dealId'
|
||||||
|
fileRoutesByTo: FileRoutesByTo
|
||||||
|
to:
|
||||||
|
| '/'
|
||||||
|
| '/admin'
|
||||||
|
| '/barcode'
|
||||||
|
| '/clients'
|
||||||
|
| '/leads'
|
||||||
|
| '/login'
|
||||||
|
| '/marketplaces'
|
||||||
|
| '/products'
|
||||||
|
| '/services'
|
||||||
|
| '/shipping_warehouses'
|
||||||
|
| '/test'
|
||||||
|
| '/deals/$dealId'
|
||||||
|
id:
|
||||||
|
| '__root__'
|
||||||
|
| '/'
|
||||||
|
| '/admin'
|
||||||
|
| '/barcode'
|
||||||
|
| '/clients'
|
||||||
|
| '/leads'
|
||||||
|
| '/login'
|
||||||
|
| '/marketplaces'
|
||||||
|
| '/products'
|
||||||
|
| '/services'
|
||||||
|
| '/shipping_warehouses'
|
||||||
|
| '/test'
|
||||||
|
| '/deals/$dealId'
|
||||||
|
fileRoutesById: FileRoutesById
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface RootRouteChildren {
|
||||||
|
IndexLazyRoute: typeof IndexLazyRoute
|
||||||
|
AdminLazyRoute: typeof AdminLazyRoute
|
||||||
|
BarcodeLazyRoute: typeof BarcodeLazyRoute
|
||||||
|
ClientsLazyRoute: typeof ClientsLazyRoute
|
||||||
|
LeadsLazyRoute: typeof LeadsLazyRoute
|
||||||
|
LoginLazyRoute: typeof LoginLazyRoute
|
||||||
|
MarketplacesLazyRoute: typeof MarketplacesLazyRoute
|
||||||
|
ProductsLazyRoute: typeof ProductsLazyRoute
|
||||||
|
ServicesLazyRoute: typeof ServicesLazyRoute
|
||||||
|
ShippingwarehousesLazyRoute: typeof ShippingwarehousesLazyRoute
|
||||||
|
TestLazyRoute: typeof TestLazyRoute
|
||||||
|
DealsDealIdRoute: typeof DealsDealIdRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
const rootRouteChildren: RootRouteChildren = {
|
||||||
|
IndexLazyRoute: IndexLazyRoute,
|
||||||
|
AdminLazyRoute: AdminLazyRoute,
|
||||||
|
BarcodeLazyRoute: BarcodeLazyRoute,
|
||||||
|
ClientsLazyRoute: ClientsLazyRoute,
|
||||||
|
LeadsLazyRoute: LeadsLazyRoute,
|
||||||
|
LoginLazyRoute: LoginLazyRoute,
|
||||||
|
MarketplacesLazyRoute: MarketplacesLazyRoute,
|
||||||
|
ProductsLazyRoute: ProductsLazyRoute,
|
||||||
|
ServicesLazyRoute: ServicesLazyRoute,
|
||||||
|
ShippingwarehousesLazyRoute: ShippingwarehousesLazyRoute,
|
||||||
|
TestLazyRoute: TestLazyRoute,
|
||||||
|
DealsDealIdRoute: DealsDealIdRoute,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const routeTree = rootRoute
|
||||||
|
._addFileChildren(rootRouteChildren)
|
||||||
|
._addFileTypes<FileRouteTypes>()
|
||||||
|
|
||||||
/* ROUTE_MANIFEST_START
|
/* ROUTE_MANIFEST_START
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user