@streamoid/catalogix-chat 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +37 -1
- package/dist/index.js +813 -200
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,19 @@ declare const catalogixManifest: readonly [{
|
|
|
53
53
|
readonly position: "relative";
|
|
54
54
|
readonly width: "100%";
|
|
55
55
|
};
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "catalogix:map-attributes";
|
|
58
|
+
readonly aliases: readonly ["map_attributes"];
|
|
59
|
+
readonly service: "catalogix";
|
|
60
|
+
readonly description: "Review and fix attribute mappings";
|
|
61
|
+
readonly containerStyle: {
|
|
62
|
+
readonly overflow: "auto";
|
|
63
|
+
readonly marginTop: "8px";
|
|
64
|
+
readonly paddingBottom: "16px";
|
|
65
|
+
readonly height: "600px";
|
|
66
|
+
readonly position: "relative";
|
|
67
|
+
readonly width: "100%";
|
|
68
|
+
};
|
|
56
69
|
}];
|
|
57
70
|
|
|
58
71
|
/**
|
|
@@ -110,6 +123,29 @@ interface CreateStoreProps {
|
|
|
110
123
|
}
|
|
111
124
|
declare function CreateStore({ workspaceId, stores, initialStoreName, useCatalogixTaxonomy, shouldRefetchStore, onStoreCreated, onCreateError, onClose, }: CreateStoreProps): react_jsx_runtime.JSX.Element;
|
|
112
125
|
|
|
126
|
+
interface MappingItem {
|
|
127
|
+
feedCol: string;
|
|
128
|
+
mappedCols: string[];
|
|
129
|
+
customCols: string[];
|
|
130
|
+
rows: string[];
|
|
131
|
+
mappedValues: Record<string, Record<string, string | null>>;
|
|
132
|
+
isConfirmed: boolean;
|
|
133
|
+
isIgnored: boolean;
|
|
134
|
+
isValueMatchingRequired: boolean;
|
|
135
|
+
}
|
|
136
|
+
interface MapAttributesChatProps {
|
|
137
|
+
mappingData: MappingItem[];
|
|
138
|
+
mpAttributes: Record<string, string[]>;
|
|
139
|
+
valuesOntologyAttributes: string[];
|
|
140
|
+
columns: string[];
|
|
141
|
+
uniqueValues: Record<string, string[]>;
|
|
142
|
+
storeId: string;
|
|
143
|
+
submitted?: boolean;
|
|
144
|
+
submittedValues?: Record<string, unknown>;
|
|
145
|
+
onSubmit: (values: Record<string, unknown>) => void;
|
|
146
|
+
}
|
|
147
|
+
declare function MapAttributesChat({ mappingData: initialData, mpAttributes, valuesOntologyAttributes, columns, uniqueValues, submitted, submittedValues, onSubmit, }: MapAttributesChatProps): react_jsx_runtime.JSX.Element;
|
|
148
|
+
|
|
113
149
|
interface ProductAutomationProps {
|
|
114
150
|
storeId: string;
|
|
115
151
|
workspaceId: string;
|
|
@@ -138,4 +174,4 @@ interface StoreAutomationProps {
|
|
|
138
174
|
}
|
|
139
175
|
declare function StoreAutomation({ storeId, channelsWithVersion, enabledAutomations, onSubmit, onClose, }: StoreAutomationProps): react_jsx_runtime.JSX.Element;
|
|
140
176
|
|
|
141
|
-
export { CatalogixChat, CreateStore, ProductAutomation, SelectProducts, StoreAutomation, catalogixManifest, configureApi };
|
|
177
|
+
export { CatalogixChat, CreateStore, MapAttributesChat, ProductAutomation, SelectProducts, StoreAutomation, catalogixManifest, configureApi };
|