@shophost/react 2.0.45 → 2.0.47

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.
@@ -48,6 +48,16 @@ export type RouteView = {
48
48
  } | {
49
49
  type: "settings";
50
50
  orgId: string;
51
+ } | {
52
+ type: "settings-integrations";
53
+ orgId: string;
54
+ } | {
55
+ type: "settings-integrations-create";
56
+ orgId: string;
57
+ } | {
58
+ type: "settings-integration";
59
+ orgId: string;
60
+ id: string;
51
61
  } | {
52
62
  type: "settings-opening-times";
53
63
  orgId: string;
@@ -17,6 +17,9 @@ export interface AdminRoutes {
17
17
  manufacturerCreate: (orgId: string) => string;
18
18
  manufacturerEdit: (orgId: string, id: string) => string;
19
19
  settings: (orgId: string) => string;
20
+ settingsIntegrations: (orgId: string) => string;
21
+ settingsIntegrationsCreate: (orgId: string) => string;
22
+ settingsIntegration: (orgId: string, type: string) => string;
20
23
  settingsOpeningTimes: (orgId: string) => string;
21
24
  settingsShippingMethods: (orgId: string) => string;
22
25
  settingsShippingMethodCreate: (orgId: string) => string;
@@ -0,0 +1 @@
1
+ export declare function IntegrationList(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function StripeIntegrationForm(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ export interface IntegrationCatalogEntry {
2
+ configurable: boolean;
3
+ description: string;
4
+ name: string;
5
+ type: string;
6
+ }
7
+ export declare const integrationCatalog: IntegrationCatalogEntry[];
8
+ export declare function getIntegrationCatalogEntry(type: string): IntegrationCatalogEntry | undefined;
9
+ export declare function getIntegrationLabel(type: string): string;
@@ -0,0 +1 @@
1
+ export declare function IntegrationCreateView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function IntegrationDetailView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function IntegrationsListView(): import("react/jsx-runtime").JSX.Element;