@streamoid/catalogix-chat 0.2.18 → 0.2.19

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 CHANGED
@@ -66,6 +66,19 @@ declare const catalogixManifest: readonly [{
66
66
  readonly position: "relative";
67
67
  readonly width: "100%";
68
68
  };
69
+ }, {
70
+ readonly name: "catalogix:edit-feed";
71
+ readonly aliases: readonly ["edit_feed"];
72
+ readonly service: "catalogix";
73
+ readonly description: "Edit feed cell values to fix validation errors";
74
+ readonly containerStyle: {
75
+ readonly overflow: "auto";
76
+ readonly marginTop: "8px";
77
+ readonly paddingBottom: "16px";
78
+ readonly height: "600px";
79
+ readonly position: "relative";
80
+ readonly width: "100%";
81
+ };
69
82
  }];
70
83
 
71
84
  /**
@@ -148,6 +161,37 @@ interface MapAttributesChatProps {
148
161
  }
149
162
  declare function MapAttributesChat({ mappingData: initialData, mpAttributes, valuesOntologyAttributes, uniqueValues, lovOptions, storeId, marketplace, submitted, onSubmit, }: MapAttributesChatProps): react_jsx_runtime.JSX.Element;
150
163
 
164
+ interface CriticalIssue {
165
+ rowNumber: number | string;
166
+ columnNumber?: string;
167
+ skuCode: string;
168
+ errorMessage: string;
169
+ }
170
+ interface DataIssue {
171
+ rowNumber: string;
172
+ skuCode: string;
173
+ missingAttributes: string;
174
+ }
175
+ interface EditFeedProps {
176
+ criticalIssues: CriticalIssue[];
177
+ rawErrorData: Record<string, unknown>[];
178
+ dataIssuesRaw: DataIssue[];
179
+ columns: string[];
180
+ skuField: string;
181
+ storeId: string;
182
+ feedFileType: string;
183
+ downloadUrl: string;
184
+ userId: string;
185
+ mappingObj: Record<string, unknown>;
186
+ sourceMp: string;
187
+ marketplaceOv: number | string;
188
+ transformedUrl: string;
189
+ submitted?: boolean;
190
+ submittedValues?: Record<string, unknown>;
191
+ onSubmit: (values: Record<string, unknown>, message?: string) => void;
192
+ }
193
+ declare function EditFeed({ criticalIssues: initialCriticalIssues, rawErrorData: initialRawErrorData, dataIssuesRaw: initialDataIssuesRaw, columns: initialColumns, skuField, storeId, feedFileType, downloadUrl, userId, mappingObj, sourceMp, marketplaceOv, transformedUrl: initialTransformedUrl, submitted, submittedValues, onSubmit, }: EditFeedProps): react_jsx_runtime.JSX.Element;
194
+
151
195
  interface ProductAutomationProps {
152
196
  storeId: string;
153
197
  workspaceId: string;
@@ -176,4 +220,4 @@ interface StoreAutomationProps {
176
220
  }
177
221
  declare function StoreAutomation({ storeId, channelsWithVersion, enabledAutomations, onSubmit, onClose, }: StoreAutomationProps): react_jsx_runtime.JSX.Element;
178
222
 
179
- export { CatalogixChat, CreateStore, MapAttributesChat, ProductAutomation, SelectProducts, StoreAutomation, catalogixManifest, configureApi };
223
+ export { CatalogixChat, CreateStore, EditFeed, MapAttributesChat, ProductAutomation, SelectProducts, StoreAutomation, catalogixManifest, configureApi };