feed-common 1.67.2 → 1.67.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/dist/constants/profile.constants.d.ts +21 -21
- package/dist/constants/profile.constants.d.ts.map +1 -1
- package/dist/constants/profile.constants.js +21 -21
- package/dist/constants/profile.constants.js.map +1 -1
- package/dist/types/profile.types.d.ts +4 -1
- package/dist/types/profile.types.d.ts.map +1 -1
- package/dist/utils/feed-templates/facebook.template.d.ts.map +1 -1
- package/dist/utils/feed-templates/facebook.template.js +3 -2
- package/dist/utils/feed-templates/facebook.template.js.map +1 -1
- package/dist/utils/feed-templates/index.d.ts +5 -0
- package/dist/utils/feed-templates/index.d.ts.map +1 -1
- package/dist/utils/feed-templates/index.js +35 -0
- package/dist/utils/feed-templates/index.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/profile.constants.ts +21 -21
- package/src/types/profile.types.ts +2 -2
- package/src/utils/feed-templates/facebook.template.ts +7 -2
- package/src/utils/feed-templates/index.ts +43 -4
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## [1.67.4](https://github.com/advertikon/package-maxify-feed-common/compare/v1.67.3...v1.67.4) (2024-10-29)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* fix fb template sale_price validator ([fde5c60](https://github.com/advertikon/package-maxify-feed-common/commit/fde5c60d9934c78a6ab048e0cfc3f6a628538ce0))
|
7
|
+
|
8
|
+
## [1.67.3](https://github.com/advertikon/package-maxify-feed-common/compare/v1.67.2...v1.67.3) (2024-10-29)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* some fixes ([84aaefe](https://github.com/advertikon/package-maxify-feed-common/commit/84aaefe4432582b87ab7bb93b768ff020ad0401d))
|
14
|
+
|
1
15
|
## [1.67.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.67.1...v1.67.2) (2024-10-28)
|
2
16
|
|
3
17
|
|
@@ -1,39 +1,39 @@
|
|
1
1
|
import { MappingSourceActionType, MappingSourceSourceType, ProductUploadRuleFilterType } from '../types/profile.types.js';
|
2
|
-
export declare const SOURCE_VENDORS = "source.vendor";
|
3
|
-
export declare const SOURCE_TAGS = "source.tag";
|
4
|
-
export declare const SOURCE_PRODUCT_TYPE = "source.product_type";
|
5
2
|
export declare const SOURCE_COLLECTIONS = "source.collection";
|
6
|
-
export declare const SOURCE_LANGUAGE = "source.language";
|
7
|
-
export declare const SOURCE_GOOGLE_CATEGORY = "source.google_category";
|
8
3
|
export declare const SOURCE_COUNTRY = "source.country";
|
9
|
-
export declare const
|
4
|
+
export declare const SOURCE_CURRENCY = "source.currency";
|
10
5
|
export declare const SOURCE_DATE = "source.date";
|
11
6
|
export declare const SOURCE_DATE_RANGE = "source.date_range";
|
12
|
-
export declare const SOURCE_GOOGLE_WEIGHT_UNIT = "source.google_weight_unit";
|
13
|
-
export declare const SOURCE_GOOGLE_DIMENSION_UNIT = "source.google_dimension_unit";
|
14
|
-
export declare const SOURCE_GOOGLE_VOLUME_UNIT = "source.google_volume_unit";
|
15
|
-
export declare const SOURCE_GOOGLE_INSTALMENT = "source.google_instalment";
|
16
|
-
export declare const SOURCE_CURRENCY = "source.currency";
|
17
|
-
export declare const SOURCE_GOOGLE_SUBSCRIPTION = "source.google_subscription";
|
18
|
-
export declare const SOURCE_YES_NO = "source.yes_no";
|
19
|
-
export declare const SOURCE_GOOGLE_CONDITION = "source.google_condition";
|
20
7
|
export declare const SOURCE_ENERGY_EFFICIENCY = "source.energy_efficiency";
|
8
|
+
export declare const SOURCE_FB_AGE_GROUP = "source.fb_age_group";
|
9
|
+
export declare const SOURCE_FB_CATEGORY = "source.fb_category";
|
10
|
+
export declare const SOURCE_FB_SHIPPING = "source.fb_shipping";
|
21
11
|
export declare const SOURCE_GOOGLE_AGE_GROUP = "source.google_age_group";
|
12
|
+
export declare const SOURCE_GOOGLE_AVAILABILITY = "source.google_availability";
|
13
|
+
export declare const SOURCE_GOOGLE_CATEGORY = "source.google_category";
|
14
|
+
export declare const SOURCE_GOOGLE_CONDITION = "source.google_condition";
|
15
|
+
export declare const SOURCE_GOOGLE_DIMENSION_UNIT = "source.google_dimension_unit";
|
16
|
+
export declare const SOURCE_GOOGLE_FREE_SHIPPING_THRESHOLD = "source.google_free_shipping_threshold";
|
22
17
|
export declare const SOURCE_GOOGLE_GENDER = "source.google_gender";
|
23
|
-
export declare const SOURCE_GOOGLE_SIZE_TYPE = "source.google_size_type";
|
24
|
-
export declare const SOURCE_GOOGLE_SIZE_SYSTEM = "source.google_size_system";
|
25
18
|
export declare const SOURCE_GOOGLE_GMC_DESTINATIONS = "source.google_gmc_destinations";
|
19
|
+
export declare const SOURCE_GOOGLE_INSTALMENT = "source.google_instalment";
|
26
20
|
export declare const SOURCE_GOOGLE_SHIPPING = "source.google_shipping";
|
21
|
+
export declare const SOURCE_GOOGLE_SIZE_SYSTEM = "source.google_size_system";
|
22
|
+
export declare const SOURCE_GOOGLE_SIZE_TYPE = "source.google_size_type";
|
23
|
+
export declare const SOURCE_GOOGLE_SUBSCRIPTION = "source.google_subscription";
|
27
24
|
export declare const SOURCE_GOOGLE_TAX = "source.google_tax";
|
28
|
-
export declare const
|
29
|
-
export declare const
|
30
|
-
export declare const
|
31
|
-
export declare const SOURCE_FB_SHIPPING = "source.fb_shipping";
|
25
|
+
export declare const SOURCE_GOOGLE_VOLUME_UNIT = "source.google_volume_unit";
|
26
|
+
export declare const SOURCE_GOOGLE_WEIGHT_UNIT = "source.google_weight_unit";
|
27
|
+
export declare const SOURCE_LANGUAGE = "source.language";
|
32
28
|
export declare const SOURCE_MS_AVAILABILITY = "source.ms_availability";
|
33
29
|
export declare const SOURCE_MS_SHIPPING = "source.ms_shipping";
|
34
|
-
export declare const SOURCE_TRUE_FALSE = "source.true_false";
|
35
30
|
export declare const SOURCE_MS_SIZE_SYSTEM = "source.ms_size_system";
|
31
|
+
export declare const SOURCE_PRODUCT_TYPE = "source.product_type";
|
32
|
+
export declare const SOURCE_TAGS = "source.tag";
|
36
33
|
export declare const SOURCE_TIKTOK_SHIPPING = "source.tiktok_shipping";
|
34
|
+
export declare const SOURCE_TRUE_FALSE = "source.true_false";
|
35
|
+
export declare const SOURCE_VENDORS = "source.vendor";
|
36
|
+
export declare const SOURCE_YES_NO = "source.yes_no";
|
37
37
|
export declare const SOURCE_CUSTOM = "custom_input";
|
38
38
|
export declare enum RULES_OPERATORS {
|
39
39
|
CONTAINS = "contains",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAE1H,eAAO,MAAM,cAAc,
|
1
|
+
{"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAE1H,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AACjE,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AACjE,eAAO,MAAM,4BAA4B,iCAAiC,CAA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;;;;;;;;;;;;CAyChC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,uBAAuB,EAuMzD,CAAA;AAED,eAAO,MAAM,OAAO,WAAW,CAAC;AAIhC,oBAAY,aAAa;IACrB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;CACd;AAED,oBAAY,WAAW;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,SAAS,cAAc;CAC1B;AAED,eAAO,MAAM,gBAAgB,UAAkD,CAAC"}
|
@@ -1,38 +1,38 @@
|
|
1
|
-
export const SOURCE_VENDORS = 'source.vendor';
|
2
|
-
export const SOURCE_TAGS = 'source.tag';
|
3
|
-
export const SOURCE_PRODUCT_TYPE = 'source.product_type';
|
4
1
|
export const SOURCE_COLLECTIONS = 'source.collection';
|
5
|
-
export const SOURCE_LANGUAGE = 'source.language';
|
6
|
-
export const SOURCE_GOOGLE_CATEGORY = 'source.google_category';
|
7
2
|
export const SOURCE_COUNTRY = 'source.country';
|
8
|
-
export const
|
3
|
+
export const SOURCE_CURRENCY = 'source.currency';
|
9
4
|
export const SOURCE_DATE = 'source.date';
|
10
5
|
export const SOURCE_DATE_RANGE = 'source.date_range';
|
11
|
-
export const SOURCE_GOOGLE_WEIGHT_UNIT = 'source.google_weight_unit';
|
12
|
-
export const SOURCE_GOOGLE_DIMENSION_UNIT = 'source.google_dimension_unit';
|
13
|
-
export const SOURCE_GOOGLE_VOLUME_UNIT = 'source.google_volume_unit';
|
14
|
-
export const SOURCE_GOOGLE_INSTALMENT = 'source.google_instalment';
|
15
|
-
export const SOURCE_CURRENCY = 'source.currency';
|
16
|
-
export const SOURCE_GOOGLE_SUBSCRIPTION = 'source.google_subscription';
|
17
|
-
export const SOURCE_YES_NO = 'source.yes_no';
|
18
|
-
export const SOURCE_GOOGLE_CONDITION = 'source.google_condition';
|
19
6
|
export const SOURCE_ENERGY_EFFICIENCY = 'source.energy_efficiency';
|
7
|
+
export const SOURCE_FB_AGE_GROUP = 'source.fb_age_group';
|
8
|
+
export const SOURCE_FB_CATEGORY = 'source.fb_category';
|
9
|
+
export const SOURCE_FB_SHIPPING = 'source.fb_shipping';
|
20
10
|
export const SOURCE_GOOGLE_AGE_GROUP = 'source.google_age_group';
|
11
|
+
export const SOURCE_GOOGLE_AVAILABILITY = 'source.google_availability';
|
12
|
+
export const SOURCE_GOOGLE_CATEGORY = 'source.google_category';
|
13
|
+
export const SOURCE_GOOGLE_CONDITION = 'source.google_condition';
|
14
|
+
export const SOURCE_GOOGLE_DIMENSION_UNIT = 'source.google_dimension_unit';
|
15
|
+
export const SOURCE_GOOGLE_FREE_SHIPPING_THRESHOLD = 'source.google_free_shipping_threshold';
|
21
16
|
export const SOURCE_GOOGLE_GENDER = 'source.google_gender';
|
22
|
-
export const SOURCE_GOOGLE_SIZE_TYPE = 'source.google_size_type';
|
23
|
-
export const SOURCE_GOOGLE_SIZE_SYSTEM = 'source.google_size_system';
|
24
17
|
export const SOURCE_GOOGLE_GMC_DESTINATIONS = 'source.google_gmc_destinations';
|
18
|
+
export const SOURCE_GOOGLE_INSTALMENT = 'source.google_instalment';
|
25
19
|
export const SOURCE_GOOGLE_SHIPPING = 'source.google_shipping';
|
20
|
+
export const SOURCE_GOOGLE_SIZE_SYSTEM = 'source.google_size_system';
|
21
|
+
export const SOURCE_GOOGLE_SIZE_TYPE = 'source.google_size_type';
|
22
|
+
export const SOURCE_GOOGLE_SUBSCRIPTION = 'source.google_subscription';
|
26
23
|
export const SOURCE_GOOGLE_TAX = 'source.google_tax';
|
27
|
-
export const
|
28
|
-
export const
|
29
|
-
export const
|
30
|
-
export const SOURCE_FB_SHIPPING = 'source.fb_shipping';
|
24
|
+
export const SOURCE_GOOGLE_VOLUME_UNIT = 'source.google_volume_unit';
|
25
|
+
export const SOURCE_GOOGLE_WEIGHT_UNIT = 'source.google_weight_unit';
|
26
|
+
export const SOURCE_LANGUAGE = 'source.language';
|
31
27
|
export const SOURCE_MS_AVAILABILITY = 'source.ms_availability';
|
32
28
|
export const SOURCE_MS_SHIPPING = 'source.ms_shipping';
|
33
|
-
export const SOURCE_TRUE_FALSE = 'source.true_false';
|
34
29
|
export const SOURCE_MS_SIZE_SYSTEM = 'source.ms_size_system';
|
30
|
+
export const SOURCE_PRODUCT_TYPE = 'source.product_type';
|
31
|
+
export const SOURCE_TAGS = 'source.tag';
|
35
32
|
export const SOURCE_TIKTOK_SHIPPING = 'source.tiktok_shipping';
|
33
|
+
export const SOURCE_TRUE_FALSE = 'source.true_false';
|
34
|
+
export const SOURCE_VENDORS = 'source.vendor';
|
35
|
+
export const SOURCE_YES_NO = 'source.yes_no';
|
36
36
|
export const SOURCE_CUSTOM = 'custom_input';
|
37
37
|
export var RULES_OPERATORS;
|
38
38
|
(function (RULES_OPERATORS) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.constants.js","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC;AAC9C,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AACxC,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AACtD,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAC/D,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAC/C,MAAM,CAAC,MAAM,0BAA0B,GAAG,4BAA4B,CAAC;AACvE,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC;AACzC,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;AACrD,MAAM,CAAC,MAAM,yBAAyB,GAAG,2BAA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ACI,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,sBAAsB,CAAC,MAAM;QACnC,KAAK,EAAE,WAAW;KACrB;IACD;QACI,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,sBAAsB,CAAC,MAAM;QACnC,KAAK,EAAE,iBAAiB;KAC3B;IACD;QACI,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,uBAAuB;QACpC,IAAI,EAAE,sBAAsB,CAAC,MAAM;QACnC,KAAK,EAAE,iBAAiB;KAC3B;IACD;QACI,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,sBAAsB,CAAC,MAAM;QACnC,KAAK,EAAE,yBAAyB;KACnC;CACJ,CAAA;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC;AAChC,sEAAsE;AACtE,6FAA6F;AAE7F,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,4BAAW,CAAA;IACX,4BAAW,CAAA;IACX,4BAAW,CAAA;IACX,8BAAa,CAAA;IACb,4BAAW,CAAA;AACf,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAED,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACnB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,sCAAuB,CAAA;AAC3B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,eAAe,EAAE,iBAAiB,EAAE,SAAS,CAAC,CAAC"}
|
@@ -32,7 +32,10 @@ export type ProductUploadMapSource = {
|
|
32
32
|
rules: ProductUploadRules;
|
33
33
|
description?: string;
|
34
34
|
defaultValue: ValueType;
|
35
|
-
validator?: (v: string | number
|
35
|
+
validator?: (v: string | number, values: {
|
36
|
+
attribute: string;
|
37
|
+
value: string | number;
|
38
|
+
}[]) => SafeParseReturnType<any, any>;
|
36
39
|
show?: () => boolean;
|
37
40
|
allowDuplicates?: boolean;
|
38
41
|
baseMode?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.types.d.ts","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACtH,OAAO,EAAE,mBAAmB,EAAE,MAAM,KAAK,CAAC;AAE1C,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1D,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,2BAA2B,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,6BAA6B,EAAE,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,aAAa,CAAC;AACrD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,OAAO,CAAC;AACxE,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,cAAc,EAAE,CAAA;CAAE,CAAC;AAC3E,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,eAAe,GAAG,MAAM,CAAC;AACnE,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,EAAE,OAA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CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,sBAAsB,CAAA;IAC5B,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"facebook.template.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/facebook.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AA0DnE,eAAO,MAAM,oBAAoB,EAAE,
|
1
|
+
{"version":3,"file":"facebook.template.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/facebook.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AA0DnE,eAAO,MAAM,oBAAoB,EAAE,mBA4XlC,CAAC"}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
/* eslint-disable quotes */
|
3
3
|
import * as z from 'zod';
|
4
4
|
import { ulid } from 'ulid';
|
5
|
-
import { dateRangeSchema, measureUnitsSchema, validate, validateIfNoMacro } from './index.js';
|
5
|
+
import { dateRangeSchema, measureUnitsSchema, salePriceSchema, validate, validateIfNoMacro } from './index.js';
|
6
6
|
import { XmlFeedFormat } from '../../constants/profile.constants.js';
|
7
7
|
/* eslint-disable max-len */
|
8
8
|
const availabilityMapping = {
|
@@ -127,7 +127,7 @@ export const facebookFeedTemplate = {
|
|
127
127
|
type: 'macro-input',
|
128
128
|
validator: (v) => validateIfNoMacro(v, z.enum(['new', 'refurbished', 'used'])),
|
129
129
|
baseMode: true,
|
130
|
-
defaultValue: '{{source.google_condition:}}',
|
130
|
+
defaultValue: '{{source.google_condition:[{"label":"New","value":"new"}]}}',
|
131
131
|
rules: { sections: [] },
|
132
132
|
singleChoice: true,
|
133
133
|
fixedValue: true,
|
@@ -204,6 +204,7 @@ export const facebookFeedTemplate = {
|
|
204
204
|
type: 'macro-input',
|
205
205
|
defaultValue: '',
|
206
206
|
rules: { sections: [] },
|
207
|
+
validator: (v, values) => validateIfNoMacro(v, salePriceSchema({ price: values.find(v => v.attribute === 'price')?.value })),
|
207
208
|
},
|
208
209
|
{
|
209
210
|
attribute: 'sale_price_effective_date',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"facebook.template.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/facebook.template.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,2BAA2B;AAC3B,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE9F,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,4BAA4B;AAC5B,MAAM,mBAAmB,GAAG;IACxB,SAAS,EAAE,cAAc;IACzB,KAAK,EAAE,cAAc;IACrB,WAAW,EACP,wRAAwR;IAC5R,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC,CAAC;IAC7F,QAAQ,EAAE,IAA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C,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YACzB,GAAG,mBAAmB;YACtB,SAAS,EAAE,iBAAiB,CAAC,EAAE;YAC/B,KAAK,EAAE,iBAAiB,CAAC,GAAG,CAAC,EAAE;SAClC,CAAC,CAAC;KACN;CACJ,CAAC"}
|
1
|
+
{"version":3,"file":"facebook.template.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/facebook.template.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,2BAA2B;AAC3B,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/G,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,4BAA4B;AAC5B,MAAM,mBAAmB,GAAG;IACxB,SAAS,EAAE,cAAc;IACzB,KAAK,EAAE,cAAc;IACrB,WAAW,EACP,wRAAwR;IAC5R,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC,CAAC;IAC7F,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,EAAE;IAChB,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,SAAS,EAAE,cAAc;IACzB,KAAK,EAAE,aAAa;IACpB,WAAW,EACP,mTAAmT;IACvT,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE,aAAoB;IAC1B,YAAY,EAAE,EAAE;IAChB,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvB,SAAS,EAAE,CAAC,CAAkB,EAA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AK,EAAE,iBAAiB,CAAC,GAAG,CAAC,EAAE;SAClC,CAAC,CAAC;KACN;CACJ,CAAC"}
|
@@ -18,6 +18,11 @@ export declare const priceSchema: ({ min, max }?: {
|
|
18
18
|
min?: number | undefined;
|
19
19
|
max?: number | undefined;
|
20
20
|
}) => z.ZodEffects<z.ZodString, string, string>;
|
21
|
+
export declare const salePriceSchema: ({ min, max, price }?: {
|
22
|
+
min?: number | undefined;
|
23
|
+
max?: number | undefined;
|
24
|
+
price?: string | undefined;
|
25
|
+
}) => z.ZodEffects<z.ZodString, string, string>;
|
21
26
|
export declare function splitByCommaAndTrim(str: string): string[];
|
22
27
|
export declare function parsePriceString({ price, min, max }: {
|
23
28
|
price: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAGnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAOnE,eAAO,MAAM,QAAQ,MAAO,MAAM,YAA2D,CAAC;AAC9F,eAAO,MAAM,WAAW,MAAO,MAAM,WAAiC,CAAC;AAEvE,wBAAgB,QAAQ,CACpB,KAAK,EAAE,MAAM,GAAG,MAAM,EACtB,SAAS,EAAE,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,EAC5B,SAAS,UAAO,GACjB,mBAAmB,CAAC,GAAG,EAAE,GAAG,CAAC,CAY/B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB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AOzD;AAED,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,GAAO,EAAE,GAAa,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IAChH,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CACpB,CAkBA;AAED,eAAO,MAAM,cAAc,QAAuC,CAAC;AAEnE,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,GAAO,EAAE,GAAa,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IAC5H,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB,CAcA;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAUvD;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAEnD;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/C"}
|
@@ -168,6 +168,41 @@ export const priceSchema = ({ min = 0, max = 1000000 } = {}) => z.string().super
|
|
168
168
|
});
|
169
169
|
}
|
170
170
|
});
|
171
|
+
export const salePriceSchema = ({ min = 0, max = 1000000, price = '' } = {}) => z.string().superRefine((v, ctx) => {
|
172
|
+
if (!v) {
|
173
|
+
return true;
|
174
|
+
}
|
175
|
+
try {
|
176
|
+
const { currency, value } = parsePriceString({ price: v, min, max });
|
177
|
+
if (price) {
|
178
|
+
try {
|
179
|
+
const { currency: priceCurrency } = parsePriceString({ price, min, max });
|
180
|
+
if (currency !== priceCurrency) {
|
181
|
+
ctx.addIssue({
|
182
|
+
code: z.ZodIssueCode.custom,
|
183
|
+
message: 'Sale price currency should be the same as the price currency',
|
184
|
+
});
|
185
|
+
return;
|
186
|
+
}
|
187
|
+
if (Number(value) >= Number(price)) {
|
188
|
+
ctx.addIssue({
|
189
|
+
code: z.ZodIssueCode.custom,
|
190
|
+
message: 'Sale price should be lower than the price',
|
191
|
+
});
|
192
|
+
return;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
catch (e) { }
|
196
|
+
}
|
197
|
+
return true;
|
198
|
+
}
|
199
|
+
catch (e) {
|
200
|
+
ctx.addIssue({
|
201
|
+
code: z.ZodIssueCode.custom,
|
202
|
+
message: e.message,
|
203
|
+
});
|
204
|
+
}
|
205
|
+
});
|
171
206
|
export function splitByCommaAndTrim(str) {
|
172
207
|
return typeof str === 'string'
|
173
208
|
? str
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,EAAuB,CAAC,EAAW,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC,CAAC;AAC9F,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,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,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAC7C,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,GAAG;QACjC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,GAAG,EACnC,CAAC;QACC,MAAM,IAAI,KAAK,CAAC,2BAA2B,GAAG,QAAQ,GAAG,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,KAAe,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,IAAc,EAAE,CAAC;AACxF,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,KAAa;IAC1C,IAAI,KAAK,KAAK,MAAM,EAAE,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,IAAI,KAAK,KAAK,OAAO,EAAE,CAAC;QACpB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,KAAa;IACrC,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAa;IACnC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AACnE,CAAC"}
|
package/package.json
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
/* eslint-disable max-len */
|
2
2
|
import { MappingSourceActionType, MappingSourceSourceType, ProductUploadRuleFilterType } from '../types/profile.types.js';
|
3
3
|
|
4
|
-
export const SOURCE_VENDORS = 'source.vendor';
|
5
|
-
export const SOURCE_TAGS = 'source.tag';
|
6
|
-
export const SOURCE_PRODUCT_TYPE = 'source.product_type';
|
7
4
|
export const SOURCE_COLLECTIONS = 'source.collection';
|
8
|
-
export const SOURCE_LANGUAGE = 'source.language';
|
9
|
-
export const SOURCE_GOOGLE_CATEGORY = 'source.google_category';
|
10
5
|
export const SOURCE_COUNTRY = 'source.country';
|
11
|
-
export const
|
6
|
+
export const SOURCE_CURRENCY = 'source.currency';
|
12
7
|
export const SOURCE_DATE = 'source.date';
|
13
8
|
export const SOURCE_DATE_RANGE = 'source.date_range';
|
14
|
-
export const SOURCE_GOOGLE_WEIGHT_UNIT = 'source.google_weight_unit';
|
15
|
-
export const SOURCE_GOOGLE_DIMENSION_UNIT = 'source.google_dimension_unit';
|
16
|
-
export const SOURCE_GOOGLE_VOLUME_UNIT = 'source.google_volume_unit';
|
17
|
-
export const SOURCE_GOOGLE_INSTALMENT = 'source.google_instalment';
|
18
|
-
export const SOURCE_CURRENCY = 'source.currency';
|
19
|
-
export const SOURCE_GOOGLE_SUBSCRIPTION = 'source.google_subscription';
|
20
|
-
export const SOURCE_YES_NO = 'source.yes_no';
|
21
|
-
export const SOURCE_GOOGLE_CONDITION = 'source.google_condition';
|
22
9
|
export const SOURCE_ENERGY_EFFICIENCY = 'source.energy_efficiency';
|
10
|
+
export const SOURCE_FB_AGE_GROUP = 'source.fb_age_group';
|
11
|
+
export const SOURCE_FB_CATEGORY = 'source.fb_category';
|
12
|
+
export const SOURCE_FB_SHIPPING = 'source.fb_shipping';
|
23
13
|
export const SOURCE_GOOGLE_AGE_GROUP = 'source.google_age_group';
|
14
|
+
export const SOURCE_GOOGLE_AVAILABILITY = 'source.google_availability';
|
15
|
+
export const SOURCE_GOOGLE_CATEGORY = 'source.google_category';
|
16
|
+
export const SOURCE_GOOGLE_CONDITION = 'source.google_condition';
|
17
|
+
export const SOURCE_GOOGLE_DIMENSION_UNIT = 'source.google_dimension_unit';
|
18
|
+
export const SOURCE_GOOGLE_FREE_SHIPPING_THRESHOLD = 'source.google_free_shipping_threshold';
|
24
19
|
export const SOURCE_GOOGLE_GENDER = 'source.google_gender';
|
25
|
-
export const SOURCE_GOOGLE_SIZE_TYPE = 'source.google_size_type';
|
26
|
-
export const SOURCE_GOOGLE_SIZE_SYSTEM = 'source.google_size_system';
|
27
20
|
export const SOURCE_GOOGLE_GMC_DESTINATIONS = 'source.google_gmc_destinations';
|
21
|
+
export const SOURCE_GOOGLE_INSTALMENT = 'source.google_instalment';
|
28
22
|
export const SOURCE_GOOGLE_SHIPPING = 'source.google_shipping';
|
23
|
+
export const SOURCE_GOOGLE_SIZE_SYSTEM = 'source.google_size_system';
|
24
|
+
export const SOURCE_GOOGLE_SIZE_TYPE = 'source.google_size_type';
|
25
|
+
export const SOURCE_GOOGLE_SUBSCRIPTION = 'source.google_subscription';
|
29
26
|
export const SOURCE_GOOGLE_TAX = 'source.google_tax';
|
30
|
-
export const
|
31
|
-
export const
|
32
|
-
export const
|
33
|
-
export const SOURCE_FB_SHIPPING = 'source.fb_shipping';
|
27
|
+
export const SOURCE_GOOGLE_VOLUME_UNIT = 'source.google_volume_unit';
|
28
|
+
export const SOURCE_GOOGLE_WEIGHT_UNIT = 'source.google_weight_unit';
|
29
|
+
export const SOURCE_LANGUAGE = 'source.language';
|
34
30
|
export const SOURCE_MS_AVAILABILITY = 'source.ms_availability';
|
35
31
|
export const SOURCE_MS_SHIPPING = 'source.ms_shipping';
|
36
|
-
export const SOURCE_TRUE_FALSE = 'source.true_false';
|
37
32
|
export const SOURCE_MS_SIZE_SYSTEM = 'source.ms_size_system';
|
33
|
+
export const SOURCE_PRODUCT_TYPE = 'source.product_type';
|
34
|
+
export const SOURCE_TAGS = 'source.tag';
|
38
35
|
export const SOURCE_TIKTOK_SHIPPING = 'source.tiktok_shipping';
|
36
|
+
export const SOURCE_TRUE_FALSE = 'source.true_false';
|
37
|
+
export const SOURCE_VENDORS = 'source.vendor';
|
38
|
+
export const SOURCE_YES_NO = 'source.yes_no';
|
39
39
|
|
40
40
|
export const SOURCE_CUSTOM = 'custom_input';
|
41
41
|
|
@@ -27,7 +27,7 @@ export type ProductUploadMapSource = {
|
|
27
27
|
rules: ProductUploadRules;
|
28
28
|
description?: string;
|
29
29
|
defaultValue: ValueType;
|
30
|
-
validator?: (v: string | number) => SafeParseReturnType<any, any>;
|
30
|
+
validator?: (v: string | number, values: { attribute: string; value: string | number }[]) => SafeParseReturnType<any, any>;
|
31
31
|
show?: () => boolean;
|
32
32
|
allowDuplicates?: boolean;
|
33
33
|
baseMode?: boolean;
|
@@ -96,7 +96,7 @@ export type ProductUploadRuleItem = {
|
|
96
96
|
export type MacroPartType = {
|
97
97
|
content: string;
|
98
98
|
type: 'macro' | 'string';
|
99
|
-
subtype?: 'mapping' | 'action' | 'metafield' |'source';
|
99
|
+
subtype?: 'mapping' | 'action' | 'metafield' | 'source';
|
100
100
|
};
|
101
101
|
|
102
102
|
export type XmlFeedTemplateType = {
|
@@ -2,7 +2,7 @@
|
|
2
2
|
/* eslint-disable quotes */
|
3
3
|
import * as z from 'zod';
|
4
4
|
import { ulid } from 'ulid';
|
5
|
-
import { dateRangeSchema, measureUnitsSchema, validate, validateIfNoMacro } from './index.js';
|
5
|
+
import { dateRangeSchema, measureUnitsSchema, salePriceSchema, validate, validateIfNoMacro } from './index.js';
|
6
6
|
import { XmlFeedTemplateType } from '../../types/profile.types.js';
|
7
7
|
import { XmlFeedFormat } from '../../constants/profile.constants.js';
|
8
8
|
|
@@ -144,7 +144,7 @@ export const facebookFeedTemplate: XmlFeedTemplateType = {
|
|
144
144
|
type: 'macro-input' as any,
|
145
145
|
validator: (v: string | number) => validateIfNoMacro(v, z.enum(['new', 'refurbished', 'used'])),
|
146
146
|
baseMode: true,
|
147
|
-
defaultValue: '{{source.google_condition:}}',
|
147
|
+
defaultValue: '{{source.google_condition:[{"label":"New","value":"new"}]}}',
|
148
148
|
rules: { sections: [] },
|
149
149
|
singleChoice: true,
|
150
150
|
fixedValue: true,
|
@@ -227,6 +227,11 @@ export const facebookFeedTemplate: XmlFeedTemplateType = {
|
|
227
227
|
type: 'macro-input',
|
228
228
|
defaultValue: '',
|
229
229
|
rules: { sections: [] },
|
230
|
+
validator: (v: string | number, values: { attribute: string; value: string | number }[]) =>
|
231
|
+
validateIfNoMacro(
|
232
|
+
v,
|
233
|
+
salePriceSchema({ price: values.find(v => v.attribute === 'price')?.value as any })
|
234
|
+
),
|
230
235
|
},
|
231
236
|
{
|
232
237
|
attribute: 'sale_price_effective_date',
|
@@ -31,7 +31,7 @@ export function validate(
|
|
31
31
|
return validator.safeParse(valueToValidate);
|
32
32
|
}
|
33
33
|
|
34
|
-
export function validateIfNoMacro(value: string | number, validator: ZodType<any, any
|
34
|
+
export function validateIfNoMacro(value: string | number, validator: ZodType<any, any> | ZodType<any, any>[]): SafeParseReturnType<any, any> {
|
35
35
|
if (typeof value === 'string' && hasMacro(value)) {
|
36
36
|
return { success: true, data: value };
|
37
37
|
}
|
@@ -54,7 +54,7 @@ export function resolveSourceMacro(macro: any): any {
|
|
54
54
|
return macro;
|
55
55
|
}
|
56
56
|
return macro.replace(/{{source\..+?}}/g, (macro) => {
|
57
|
-
const {value} = getSourceTagValue(macro.slice(2, -2));
|
57
|
+
const { value } = getSourceTagValue(macro.slice(2, -2));
|
58
58
|
return value?.map(v => v.value)?.join(', ') ?? '';
|
59
59
|
});
|
60
60
|
}
|
@@ -64,10 +64,10 @@ export const dateRangeSchema = z
|
|
64
64
|
.refine(v => !v || v.split('/').length === 2, {
|
65
65
|
message: 'The date range start and end should be separated by a "/"',
|
66
66
|
})
|
67
|
-
.refine(v => !v || z.string().datetime({offset: true}).safeParse(v.split('/')[0]).success, {
|
67
|
+
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v.split('/')[0]).success, {
|
68
68
|
message: 'Date from should be a valid date',
|
69
69
|
})
|
70
|
-
.refine(v => !v || z.string().datetime({offset: true}).safeParse(v.split('/')[1]).success, {
|
70
|
+
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v.split('/')[1]).success, {
|
71
71
|
message: 'Date to should be a valid date',
|
72
72
|
})
|
73
73
|
.refine(v => !v || new Date(v.split('/')[1]) > new Date(v.split('/')[0]), {
|
@@ -196,6 +196,45 @@ export const priceSchema = ({ min = 0, max = 1000000 } = {}) =>
|
|
196
196
|
}
|
197
197
|
});
|
198
198
|
|
199
|
+
export const salePriceSchema = ({ min = 0, max = 1000000, price = '' } = {}) =>
|
200
|
+
z.string().superRefine((v, ctx) => {
|
201
|
+
if (!v) {
|
202
|
+
return true;
|
203
|
+
}
|
204
|
+
|
205
|
+
try {
|
206
|
+
const { currency, value } = parsePriceString({ price: v, min, max });
|
207
|
+
|
208
|
+
if (price) {
|
209
|
+
try {
|
210
|
+
const { currency: priceCurrency } = parsePriceString({ price, min, max });
|
211
|
+
|
212
|
+
if (currency !== priceCurrency) {
|
213
|
+
ctx.addIssue({
|
214
|
+
code: z.ZodIssueCode.custom,
|
215
|
+
message: 'Sale price currency should be the same as the price currency',
|
216
|
+
});
|
217
|
+
return;
|
218
|
+
}
|
219
|
+
|
220
|
+
if (Number(value) >= Number(price)) {
|
221
|
+
ctx.addIssue({
|
222
|
+
code: z.ZodIssueCode.custom,
|
223
|
+
message: 'Sale price should be lower than the price',
|
224
|
+
});
|
225
|
+
return;
|
226
|
+
}
|
227
|
+
} catch (e: any) { }
|
228
|
+
}
|
229
|
+
return true;
|
230
|
+
} catch (e: any) {
|
231
|
+
ctx.addIssue({
|
232
|
+
code: z.ZodIssueCode.custom,
|
233
|
+
message: e.message,
|
234
|
+
});
|
235
|
+
}
|
236
|
+
});
|
237
|
+
|
199
238
|
export function splitByCommaAndTrim(str: string): string[] {
|
200
239
|
return typeof str === 'string'
|
201
240
|
? str
|