@factorypure/client-helpers 1.1.0 → 1.1.1

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
@@ -329,7 +329,6 @@ export declare const variantScrapeOptionsSchema: z.ZodObject<{
329
329
  custom_search_value: z.ZodString;
330
330
  match_values: z.ZodArray<z.ZodString>;
331
331
  competitor_exclusions: z.ZodArray<z.ZodString>;
332
- found_id_exclusions: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
333
332
  result_ignore_keys: z.ZodNullable<z.ZodArray<z.ZodObject<{
334
333
  id: z.ZodNumber;
335
334
  variant_id: z.ZodNumber;
@@ -341,23 +340,14 @@ export declare const variantScrapeOptionsSchema: z.ZodObject<{
341
340
  created_by: z.ZodNumber;
342
341
  key_parts: z.ZodString;
343
342
  }, z.core.$strip>>>;
343
+ day_window: z.ZodNullable<z.ZodString>;
344
344
  }, z.core.$strip>;
345
345
  export type VariantScrapeOptionsType = z.infer<typeof variantScrapeOptionsSchema>;
346
346
  export declare const vendorScrapeOptionsSchema: z.ZodObject<{
347
347
  vendor_search_exclusions: z.ZodArray<z.ZodString>;
348
348
  skip_skus: z.ZodArray<z.ZodString>;
349
- result_ignore_keys: z.ZodNullable<z.ZodArray<z.ZodObject<{
350
- id: z.ZodNumber;
351
- variant_id: z.ZodNumber;
352
- title: z.ZodString;
353
- price: z.ZodString;
354
- source: z.ZodString;
355
- reason: z.ZodString;
356
- duration_days: z.ZodNumber;
357
- created_by: z.ZodNumber;
358
- key_parts: z.ZodString;
359
- }, z.core.$strip>>>;
360
- brand_name_alternates: z.ZodNullable<z.ZodArray<z.ZodString>>;
349
+ sku_regex: z.ZodNullable<z.ZodString>;
350
+ brand_name_alternates: z.ZodArray<z.ZodString>;
361
351
  }, z.core.$strip>;
362
352
  export type VendorScrapeOptionsType = z.infer<typeof vendorScrapeOptionsSchema>;
363
353
  export declare const globalScrapeOptionsSchema: z.ZodObject<{
package/dist/index.js CHANGED
@@ -143,14 +143,14 @@ export const variantScrapeOptionsSchema = z.object({
143
143
  custom_search_value: z.string(),
144
144
  match_values: z.array(z.string()),
145
145
  competitor_exclusions: z.array(z.string()),
146
- found_id_exclusions: z.array(z.number()).nullable(),
147
146
  result_ignore_keys: z.array(ResultIgnoreSchema).nullable(),
147
+ day_window: z.string().nullable(),
148
148
  });
149
149
  export const vendorScrapeOptionsSchema = z.object({
150
150
  vendor_search_exclusions: z.array(z.string()),
151
151
  skip_skus: z.array(z.string()),
152
- result_ignore_keys: z.array(ResultIgnoreSchema).nullable(),
153
- brand_name_alternates: z.array(z.string()).nullable(),
152
+ sku_regex: z.string().nullable(),
153
+ brand_name_alternates: z.array(z.string()),
154
154
  });
155
155
  export const globalScrapeOptionsSchema = z.object({
156
156
  undercut_threshold_ranges: z.array(z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorypure/client-helpers",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",