feed-common 1.43.1 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/dist/constants/profile.constants.d.ts.map +1 -1
- package/dist/constants/profile.constants.js +6 -5
- package/dist/constants/profile.constants.js.map +1 -1
- package/dist/types/company.types.d.ts +11 -0
- package/dist/types/company.types.d.ts.map +1 -1
- package/dist/utils/company.d.ts +12 -5
- package/dist/utils/company.d.ts.map +1 -1
- package/dist/utils/company.js.map +1 -1
- package/dist/utils/feed-templates/microsoft.template.d.ts +30 -0
- package/dist/utils/feed-templates/microsoft.template.d.ts.map +1 -0
- package/dist/utils/feed-templates/microsoft.template.js +146 -0
- package/dist/utils/feed-templates/microsoft.template.js.map +1 -0
- package/package.json +1 -1
- package/src/constants/profile.constants.ts +6 -5
- package/src/types/company.types.ts +12 -0
- package/src/utils/company.ts +10 -21
- package/src/utils/feed-templates/microsoft.template.ts +156 -0
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [1.44.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.43.1...v1.44.0) (2024-09-14)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* change subscripion plan type ([24a2cb2](https://github.com/advertikon/package-maxify-feed-common/commit/24a2cb2c7e362ddf7fee6364fc8afe6fc50a4271))
|
7
|
+
|
1
8
|
## [1.43.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.43.0...v1.43.1) (2024-09-03)
|
2
9
|
|
3
10
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAEhG,eAAO,MAAM,cAAc,kBAAkB,CAAC;AAC9C,eAAO,MAAM,WAAW,eAAe,CAAC;AACxC,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAA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+
{"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAEhG,eAAO,MAAM,cAAc,kBAAkB,CAAC;AAC9C,eAAO,MAAM,WAAW,eAAe,CAAC;AACxC,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAE5C,oBAAY,eAAe;IACvB,QAAQ,aAAa;IACrB,YAAY,gBAAgB;IAC5B,MAAM,WAAW;IACjB,UAAU,cAAc;IACxB,WAAW,eAAe;IAC1B,eAAe,kBAAkB;IACjC,SAAS,aAAa;IACtB,aAAa,gBAAgB;IAC7B,EAAE,OAAO;IACT,MAAM,UAAU;IAChB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,aAAa,gBAAgB;IAC7B,gBAAgB,mBAAmB;IACnC,KAAK,UAAU;IACf,SAAS,aAAa;CACzB;AAED,oBAAY,gBAAgB;IACxB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,KAAK,UAAU;CAClB;AAED,oBAAY,kBAAkB;IAC1B,gBAAgB,oBAAoB;IACpC,cAAc,kBAAkB;IAChC,KAAK,UAAU;IACf,SAAS,aAAa;IACtB,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,uBAAuB,0BAA0B;IACjD,IAAI,SAAS;IACb,GAAG,QAAQ;I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QAAQ;CACd;AAED,oBAAY,WAAW;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;CACpB"}
|
@@ -187,11 +187,12 @@ export const ProductUploadRuleFilters = [
|
|
187
187
|
operators: ProductUploadRulesOperators.number,
|
188
188
|
value: RULES_ATTRIBUTES.PRICE,
|
189
189
|
},
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
190
|
+
// Known limitation: Description is not stored in MongoDB
|
191
|
+
// {
|
192
|
+
// label: 'Description',
|
193
|
+
// operators: ProductUploadRulesOperators.string,
|
194
|
+
// value: RULES_ATTRIBUTES.DESCRIPTION,
|
195
|
+
// },
|
195
196
|
{
|
196
197
|
label: 'Image',
|
197
198
|
operators: ProductUploadRulesOperators.string,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.constants.js","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAEA,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;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,eAiBX;AAjBD,WAAY,eAAe;IACvB,wCAAqB,CAAA;IACrB,+CAA4B,CAAA;IAC5B,oCAAiB,CAAA;IACjB,2CAAwB,CAAA;IACxB,6CAA0B,CAAA;IAC1B,oDAAiC,CAAA;IACjC,yCAAsB,CAAA;IACt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AY,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,WAMX;AAND,WAAY,WAAW;IACnB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;AACrB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB"}
|
1
|
+
{"version":3,"file":"profile.constants.js","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAEA,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;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,eAiBX;AAjBD,WAAY,eAAe;IACvB,wCAAqB,CAAA;IACrB,+CAA4B,CAAA;IAC5B,oCAAiB,CAAA;IACjB,2CAAwB,CAAA;IACxB,6CAA0B,CAAA;IAC1B,oDAAiC,CAAA;IACjC,yCAAsB,CAAA;IACtB,gDAA6B,CAAA;IAC7B,4BAAS,CAAA;IACT,mCAAgB,CAAA;IAChB,gCAAa,CAAA;IACb,sCAAmB,CAAA;IACnB,gDAA6B,CAAA;IAC7B,sDAAmC,CAAA;IACnC,kCAAe,CAAA;IACf,yCAAsB,CAAA;AAC1B,CAAC,EA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AAA;IACjB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;AACrB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB"}
|
@@ -35,6 +35,17 @@ export type SubscriptionPlan = {
|
|
35
35
|
profiles: number;
|
36
36
|
price: number;
|
37
37
|
};
|
38
|
+
export type SubscriptionItemType = {
|
39
|
+
code: string;
|
40
|
+
level: number;
|
41
|
+
name: string;
|
42
|
+
products: number;
|
43
|
+
profiles: number;
|
44
|
+
price?: number;
|
45
|
+
status?: 'active' | 'trialing' | 'canceled' | 'expired' | 'pending' | 'unpaid';
|
46
|
+
trial_days?: number;
|
47
|
+
currency?: string;
|
48
|
+
};
|
38
49
|
export type AppLimits = {
|
39
50
|
products: number;
|
40
51
|
profiles: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"company.types.d.ts","sourceRoot":"","sources":["../../src/types/company.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC;AAEtD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACtC,sBAAsB,EACtB,YAAY,GAAG,sBAAsB,GAAG,kBAAkB,CA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AAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
package/dist/utils/company.d.ts
CHANGED
@@ -1,10 +1,17 @@
|
|
1
|
-
import { ServerSideEvent, ServerSideProgressEvent, ServerSideScheduleEvent
|
2
|
-
import { ShopifyRecurringCharge } from '../types/shopify.types.js';
|
1
|
+
import { ServerSideEvent, ServerSideProgressEvent, ServerSideScheduleEvent } from '../types/company.types.js';
|
3
2
|
export declare function isServerSideProgressEvent(event: ServerSideEvent): event is ServerSideProgressEvent;
|
4
3
|
export declare function isServerSideScheduleEvent(event: ServerSideEvent): event is ServerSideScheduleEvent;
|
5
|
-
export declare function makeSubscriptionCode(plan:
|
6
|
-
|
7
|
-
|
4
|
+
export declare function makeSubscriptionCode(plan: {
|
5
|
+
code: string;
|
6
|
+
level: number;
|
7
|
+
}): string;
|
8
|
+
export declare function makeSubscriptionName(plan: {
|
9
|
+
code: string;
|
10
|
+
level: number;
|
11
|
+
}): string;
|
12
|
+
export declare function extractSubscriptionCode(subscription: {
|
13
|
+
name: string | null;
|
14
|
+
}): string | null;
|
8
15
|
export declare function parseSubscriptionName(name: string | null): {
|
9
16
|
code: string | null;
|
10
17
|
level: string | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../src/utils/company.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../src/utils/company.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAE9G,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,IAAI,uBAAuB,CAElG;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,IAAI,uBAAuB,CAElG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,UAEzE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,UAEzE;AAED,wBAAgB,uBAAuB,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,MAAM,GAAG,IAAI,CAE5F;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG;IACxD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,CAGA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"company.js","sourceRoot":"","sources":["../../src/utils/company.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"company.js","sourceRoot":"","sources":["../../src/utils/company.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,yBAAyB,CAAC,KAAsB;IAC5D,OAAO,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,KAAsB;IAC5D,OAAO,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAqC;IACtE,OAAO,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAqC;IACtE,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,YAAqC;IACzE,OAAO,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,IAAmB;IAIrD,MAAM,KAAK,GAAG,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACrC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AACzD,CAAC"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { XmlFeedFormat } from '../../constants/profile.constants.js';
|
2
|
+
import { z } from 'zod';
|
3
|
+
export declare const microsoftTemplate: {
|
4
|
+
formats: XmlFeedFormat[];
|
5
|
+
documentation: string;
|
6
|
+
mapping: ({
|
7
|
+
attribute: string;
|
8
|
+
label: string;
|
9
|
+
description: string;
|
10
|
+
required: boolean;
|
11
|
+
type: string;
|
12
|
+
validator: (v: string | number) => z.SafeParseReturnType<any, any>;
|
13
|
+
defaultValue: string;
|
14
|
+
rules: {
|
15
|
+
sections: never[];
|
16
|
+
};
|
17
|
+
} | {
|
18
|
+
attribute: string;
|
19
|
+
label: string;
|
20
|
+
description: string;
|
21
|
+
required: boolean;
|
22
|
+
type: string;
|
23
|
+
defaultValue: string;
|
24
|
+
rules: {
|
25
|
+
sections: never[];
|
26
|
+
};
|
27
|
+
validator?: undefined;
|
28
|
+
})[];
|
29
|
+
};
|
30
|
+
//# sourceMappingURL=microsoft.template.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"microsoft.template.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/microsoft.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB;;;;;;;;;uBAiCH,MAAM,GAAG,MAAM;;;;;;;;;;;;;;;;;CAqHzC,CAAC"}
|
@@ -0,0 +1,146 @@
|
|
1
|
+
/* eslint-disable max-len */
|
2
|
+
import { validate, validateIfNoMacro } from './index.js';
|
3
|
+
import { XmlFeedFormat } from '../../constants/profile.constants.js';
|
4
|
+
import { z } from 'zod';
|
5
|
+
export const microsoftTemplate = {
|
6
|
+
formats: [XmlFeedFormat.TSV],
|
7
|
+
documentation: 'https://help.ads.microsoft.com/#apex/ads/en/51084',
|
8
|
+
mapping: [
|
9
|
+
{
|
10
|
+
attribute: 'description',
|
11
|
+
label: 'Description',
|
12
|
+
description: 'Item description. The description from the landing page of your offer must be the same description as indicated in the feed. Alphanumeric 10000 character limit. No HTML code and no promotional text. Example: Bright yellow 100% cotton dress shirt',
|
13
|
+
required: true,
|
14
|
+
type: 'macro-input',
|
15
|
+
validator: v => validateIfNoMacro(v, z.string().min(1).max(10000)),
|
16
|
+
defaultValue: '{{shopify.description}}',
|
17
|
+
rules: { sections: [] },
|
18
|
+
},
|
19
|
+
{
|
20
|
+
attribute: 'id',
|
21
|
+
label: 'ID',
|
22
|
+
description: 'A unique identifier for the item. ID must be unique for each item in your feed per market. If you have multiple feeds, IDs of items across different feeds still need to be unique. The ID is the same as the merchant product ID (MPID). 50 Unicode character limit. Example: ISI1',
|
23
|
+
required: true,
|
24
|
+
type: 'macro-input',
|
25
|
+
validator: v => validateIfNoMacro(v, z.string().min(1)),
|
26
|
+
defaultValue: '{{shopify.id}}-{{shopify.variant_id}}',
|
27
|
+
rules: { sections: [] },
|
28
|
+
},
|
29
|
+
{
|
30
|
+
attribute: 'image_link',
|
31
|
+
label: 'Image link',
|
32
|
+
description: 'URL of an image of the item. Alphanumeric 2000 character limit. Link must be HTTP or HTTPs only. Image must be: bmp, gif, exif, jpg, png, tiff. The recommended minimum size is 220px by 220px. The image size cannot exceed 3.9 MB. No watermarks or free shipping text. Only one image per item. Example: http://www.contoso.com/images/ISI1.jpg',
|
33
|
+
required: true,
|
34
|
+
type: 'macro-input',
|
35
|
+
validator: (v) => validateIfNoMacro(v, z.string().url()),
|
36
|
+
defaultValue: '{{shopify.image}}',
|
37
|
+
rules: { sections: [] },
|
38
|
+
},
|
39
|
+
{
|
40
|
+
attribute: 'link',
|
41
|
+
label: 'Link',
|
42
|
+
description:
|
43
|
+
// eslint-disable-next-line quotes
|
44
|
+
"Direct URL of the item's page on your website. Link should point to the specific product instead of your store’s home page or pages with multiple products. The Product URL domain must match the Store URL domain. 0-2000 characters. HTTP or HTTPs only and no redirects. For redirect URLs, use the ads_redirect field. Example: http://www.contoso.com/product.asp?pn=ISI1",
|
45
|
+
required: true,
|
46
|
+
type: 'macro-input',
|
47
|
+
validator: (v) => validateIfNoMacro(v, z.string().url()),
|
48
|
+
defaultValue: 'https://{{shopify.shop_domain}}/products/{{shopify.handle}}',
|
49
|
+
rules: { sections: [] },
|
50
|
+
},
|
51
|
+
{
|
52
|
+
attribute: 'price',
|
53
|
+
label: 'Price',
|
54
|
+
description: 'Base price, excluding tax and shipping, submitted in local currency. The price from the landing page of your offer must be the same price as indicated in the feed. This information is verified and it is recommended to keep the landing page updated with the latest product information using structured data markup. Number plus currency (per ISO 4217). 0.00 to 10000000.00 (10 million). Example: 23.99 USD',
|
55
|
+
required: true,
|
56
|
+
type: 'macro-input',
|
57
|
+
validator: (v) => validateIfNoMacro(v, z.string().min(0).max(10000000)),
|
58
|
+
defaultValue: '{{shopify.price}} {{shopify.shop_currency}}',
|
59
|
+
rules: { sections: [] },
|
60
|
+
},
|
61
|
+
{
|
62
|
+
attribute: 'title',
|
63
|
+
label: 'Title',
|
64
|
+
description:
|
65
|
+
// eslint-disable-next-line quotes
|
66
|
+
"Title of the item. Alphanumeric 150 character limit Don't enclose in quotes. Example: Women's shoes",
|
67
|
+
required: true,
|
68
|
+
type: 'macro-input',
|
69
|
+
validator: (v) => validateIfNoMacro(v, z.string().min(1)),
|
70
|
+
defaultValue: '{{shopify.title}}',
|
71
|
+
rules: { sections: [] },
|
72
|
+
},
|
73
|
+
{
|
74
|
+
attribute: 'shipping(price)',
|
75
|
+
label: 'Shipping',
|
76
|
+
description: 'Cost of shipping, submitted in local currency. This is a required field for Austria and Germany only. Fill in only one of Shipping, Shipping:Country or Shipping:Country:Service. For free shipping, use 0. Numeric 0.01 to 10000000.00 (10 million). Example: 12.99',
|
77
|
+
required: false,
|
78
|
+
type: 'macro-input',
|
79
|
+
validator: (v) => validateIfNoMacro(v, z.string().min(0.01).max(10000000)),
|
80
|
+
defaultValue: '',
|
81
|
+
rules: { sections: [] },
|
82
|
+
},
|
83
|
+
{
|
84
|
+
attribute: 'shipping(country:price)',
|
85
|
+
label: 'Shipping:Country',
|
86
|
+
description: 'Cost of shipping, submitted in local currency. This is a required field for Austria and Germany only. Fill in only one of Shipping, Shipping:Country or Shipping:Service:Country. For free shipping, use 0. Numeric 0.01 to 10000000.00 (10 million). Example: DE:6.49 or DE:6.49, UK:6.49',
|
87
|
+
required: false,
|
88
|
+
type: 'macro-input',
|
89
|
+
validator: (v) => validateIfNoMacro(v, z.string()),
|
90
|
+
defaultValue: '',
|
91
|
+
rules: { sections: [] },
|
92
|
+
},
|
93
|
+
{
|
94
|
+
attribute: 'shipping(country:service:price)',
|
95
|
+
label: 'Shipping:Country:Service',
|
96
|
+
description: 'Cost of shipping, submitted in local currency. This is a required field for Austria and Germany only. Fill in only one of Shipping, Shipping:Country or Shipping:Country:Service. For free shipping, use 0. Numeric 0.01 to 10000000.00 (10 million). Example: DE:Standard:10, DE:Express:20',
|
97
|
+
required: false,
|
98
|
+
type: 'macro-input',
|
99
|
+
validator: (v) => validateIfNoMacro(v, z.string()),
|
100
|
+
defaultValue: '',
|
101
|
+
rules: { sections: [] },
|
102
|
+
},
|
103
|
+
{
|
104
|
+
attribute: 'brand',
|
105
|
+
label: 'Brand',
|
106
|
+
description: 'Item’s manufacturer, brand or publisher. Do not add your store name as the brand unless you manufacture the product. Alphanumeric 70-character limit 10-word limit. Example: Contoso',
|
107
|
+
required: false,
|
108
|
+
type: 'macro-input',
|
109
|
+
validator: (v) => validateIfNoMacro(v, z.string().max(1000)),
|
110
|
+
defaultValue: '{{shopify.vendor}}',
|
111
|
+
rules: { sections: [] },
|
112
|
+
},
|
113
|
+
{
|
114
|
+
attribute: 'gtin',
|
115
|
+
label: 'GTIN',
|
116
|
+
description: 'Global Trade Item Number.Up to 10 GTIN values can be provided, with a maximum of 14 digits per value. For multiple GTIN values, separate by a comma and space. Numeric 14 digits max per value. Multi-value. Example: 00012345600012',
|
117
|
+
required: false,
|
118
|
+
type: 'macro-input',
|
119
|
+
defaultValue: '',
|
120
|
+
rules: { sections: [] },
|
121
|
+
},
|
122
|
+
{
|
123
|
+
attribute: 'identifier_exists',
|
124
|
+
label: 'Identifier exists',
|
125
|
+
description:
|
126
|
+
// eslint-disable-next-line quotes
|
127
|
+
"Used to indicate that unique product identifiers (gtin, brand, and mpn) aren't available for a product. Products that may not have an identifier_exists attribute include custom goods, like homemade products, or products that were made before gtins were created, like antiques. Boolean: TRUE or FALSE. Example: FALSE",
|
128
|
+
required: false,
|
129
|
+
type: 'macro-input',
|
130
|
+
validator: (v) => validateIfNoMacro(v, z.enum(['TRUE', 'FALSE', ''])),
|
131
|
+
defaultValue: 'TRUE',
|
132
|
+
rules: { sections: [] },
|
133
|
+
},
|
134
|
+
{
|
135
|
+
attribute: 'mpn',
|
136
|
+
label: 'MPN',
|
137
|
+
description: 'Manufacturer Part Number. MPN should be specific to one unique product. MPNs are assigned by the manufacturer. Alphanumeric 70 character limit. Example: ADNK-5020',
|
138
|
+
required: false,
|
139
|
+
type: 'macro-input',
|
140
|
+
defaultValue: '',
|
141
|
+
validator: (v) => validate(v, z.string().max(70).optional()),
|
142
|
+
rules: { sections: [] },
|
143
|
+
},
|
144
|
+
],
|
145
|
+
};
|
146
|
+
//# sourceMappingURL=microsoft.template.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"microsoft.template.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/microsoft.template.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAC5B,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MA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AE,MAAM;YACjB,KAAK,EAAE,MAAM;YACb,WAAW,EACP,sOAAsO;YAC1O,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,YAAY,EAAE,EAAE;YAChB,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;QACD;YACI,SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,mBAAmB;YAC1B,WAAW;YACP,kCAAkC;YAClC,6TAA6T;YACjU,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;YACtF,YAAY,EAAE,MAAM;YACpB,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;QACD;YACI,SAAS,EAAE,KAAK;YAChB,KAAK,EAAE,KAAK;YACZ,WAAW,EACP,oKAAoK;YACxK,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,YAAY,EAAE,EAAE;YAChB,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;YAC7E,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;KACJ;CACJ,CAAC"}
|
package/package.json
CHANGED
@@ -193,11 +193,12 @@ export const ProductUploadRuleFilters: ProductUploadRuleFilterType[] = [
|
|
193
193
|
operators: ProductUploadRulesOperators.number,
|
194
194
|
value: RULES_ATTRIBUTES.PRICE,
|
195
195
|
},
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
196
|
+
// Known limitation: Description is not stored in MongoDB
|
197
|
+
// {
|
198
|
+
// label: 'Description',
|
199
|
+
// operators: ProductUploadRulesOperators.string,
|
200
|
+
// value: RULES_ATTRIBUTES.DESCRIPTION,
|
201
|
+
// },
|
201
202
|
{
|
202
203
|
label: 'Image',
|
203
204
|
operators: ProductUploadRulesOperators.string,
|
@@ -46,4 +46,16 @@ export type SubscriptionPlan = {
|
|
46
46
|
price: number;
|
47
47
|
};
|
48
48
|
|
49
|
+
export type SubscriptionItemType = {
|
50
|
+
code: string;
|
51
|
+
level: number;
|
52
|
+
name: string;
|
53
|
+
products: number;
|
54
|
+
profiles: number;
|
55
|
+
price?: number;
|
56
|
+
status?: 'active' | 'trialing' | 'canceled' | 'expired' | 'pending' | 'unpaid';
|
57
|
+
trial_days?: number;
|
58
|
+
currency?: string;
|
59
|
+
};
|
60
|
+
|
49
61
|
export type AppLimits = { products: number; profiles: number };
|
package/src/utils/company.ts
CHANGED
@@ -1,40 +1,29 @@
|
|
1
|
-
import {
|
2
|
-
ServerSideEvent,
|
3
|
-
ServerSideProgressEvent,
|
4
|
-
ServerSideScheduleEvent,
|
5
|
-
SubscriptionPlan,
|
6
|
-
} from '../types/company.types.js';
|
7
|
-
import { ShopifyRecurringCharge } from '../types/shopify.types.js';
|
1
|
+
import { ServerSideEvent, ServerSideProgressEvent, ServerSideScheduleEvent } from '../types/company.types.js';
|
8
2
|
|
9
|
-
export function isServerSideProgressEvent
|
10
|
-
|
11
|
-
): event is ServerSideProgressEvent {
|
12
|
-
return event.type === 'progress';
|
3
|
+
export function isServerSideProgressEvent(event: ServerSideEvent): event is ServerSideProgressEvent {
|
4
|
+
return event.type === 'progress';
|
13
5
|
}
|
14
6
|
|
15
|
-
export function isServerSideScheduleEvent
|
16
|
-
|
17
|
-
): event is ServerSideScheduleEvent {
|
18
|
-
return event.type === 'schedule';
|
7
|
+
export function isServerSideScheduleEvent(event: ServerSideEvent): event is ServerSideScheduleEvent {
|
8
|
+
return event.type === 'schedule';
|
19
9
|
}
|
20
10
|
|
21
|
-
export function makeSubscriptionCode
|
22
|
-
|
11
|
+
export function makeSubscriptionCode(plan: { code: string; level: number }) {
|
12
|
+
return `${plan.code}${plan.level}`;
|
23
13
|
}
|
24
14
|
|
25
|
-
export function makeSubscriptionName
|
15
|
+
export function makeSubscriptionName(plan: { code: string; level: number }) {
|
26
16
|
return makeSubscriptionCode(plan);
|
27
17
|
}
|
28
18
|
|
29
|
-
export function extractSubscriptionCode
|
19
|
+
export function extractSubscriptionCode(subscription: { name: string | null }): string | null {
|
30
20
|
return subscription.name?.match(/^G\d+/i)?.[0] ?? null;
|
31
21
|
}
|
32
22
|
|
33
|
-
export function parseSubscriptionName
|
23
|
+
export function parseSubscriptionName(name: string | null): {
|
34
24
|
code: string | null;
|
35
25
|
level: string | null;
|
36
26
|
} {
|
37
27
|
const match = name?.match(/^G(\d+)/);
|
38
28
|
return { code: 'G', level: match ? match[1] : null };
|
39
29
|
}
|
40
|
-
|
@@ -0,0 +1,156 @@
|
|
1
|
+
/* eslint-disable max-len */
|
2
|
+
import { validate, validateIfNoMacro } from './index.js';
|
3
|
+
import { XmlFeedFormat } from '../../constants/profile.constants.js';
|
4
|
+
import { z } from 'zod';
|
5
|
+
|
6
|
+
export const microsoftTemplate = {
|
7
|
+
formats: [XmlFeedFormat.TSV],
|
8
|
+
documentation: 'https://help.ads.microsoft.com/#apex/ads/en/51084',
|
9
|
+
mapping: [
|
10
|
+
{
|
11
|
+
attribute: 'description',
|
12
|
+
label: 'Description',
|
13
|
+
description:
|
14
|
+
'Item description. The description from the landing page of your offer must be the same description as indicated in the feed. Alphanumeric 10000 character limit. No HTML code and no promotional text. Example: Bright yellow 100% cotton dress shirt',
|
15
|
+
required: true,
|
16
|
+
type: 'macro-input',
|
17
|
+
validator: v => validateIfNoMacro(v, z.string().min(1).max(10000)),
|
18
|
+
defaultValue: '{{shopify.description}}',
|
19
|
+
rules: { sections: [] },
|
20
|
+
},
|
21
|
+
{
|
22
|
+
attribute: 'id',
|
23
|
+
label: 'ID',
|
24
|
+
description:
|
25
|
+
'A unique identifier for the item. ID must be unique for each item in your feed per market. If you have multiple feeds, IDs of items across different feeds still need to be unique. The ID is the same as the merchant product ID (MPID). 50 Unicode character limit. Example: ISI1',
|
26
|
+
required: true,
|
27
|
+
type: 'macro-input',
|
28
|
+
validator: v => validateIfNoMacro(v, z.string().min(1)),
|
29
|
+
defaultValue: '{{shopify.id}}-{{shopify.variant_id}}',
|
30
|
+
rules: { sections: [] },
|
31
|
+
},
|
32
|
+
{
|
33
|
+
attribute: 'image_link',
|
34
|
+
label: 'Image link',
|
35
|
+
description:
|
36
|
+
'URL of an image of the item. Alphanumeric 2000 character limit. Link must be HTTP or HTTPs only. Image must be: bmp, gif, exif, jpg, png, tiff. The recommended minimum size is 220px by 220px. The image size cannot exceed 3.9 MB. No watermarks or free shipping text. Only one image per item. Example: http://www.contoso.com/images/ISI1.jpg',
|
37
|
+
required: true,
|
38
|
+
type: 'macro-input',
|
39
|
+
validator: (v: string | number) => validateIfNoMacro(v, z.string().url()),
|
40
|
+
defaultValue: '{{shopify.image}}',
|
41
|
+
rules: { sections: [] },
|
42
|
+
},
|
43
|
+
{
|
44
|
+
attribute: 'link',
|
45
|
+
label: 'Link',
|
46
|
+
description:
|
47
|
+
// eslint-disable-next-line quotes
|
48
|
+
"Direct URL of the item's page on your website. Link should point to the specific product instead of your store’s home page or pages with multiple products. The Product URL domain must match the Store URL domain. 0-2000 characters. HTTP or HTTPs only and no redirects. For redirect URLs, use the ads_redirect field. Example: http://www.contoso.com/product.asp?pn=ISI1",
|
49
|
+
required: true,
|
50
|
+
type: 'macro-input',
|
51
|
+
validator: (v: string | number) => validateIfNoMacro(v, z.string().url()),
|
52
|
+
defaultValue: 'https://{{shopify.shop_domain}}/products/{{shopify.handle}}',
|
53
|
+
rules: { sections: [] },
|
54
|
+
},
|
55
|
+
{
|
56
|
+
attribute: 'price',
|
57
|
+
label: 'Price',
|
58
|
+
description:
|
59
|
+
'Base price, excluding tax and shipping, submitted in local currency. The price from the landing page of your offer must be the same price as indicated in the feed. This information is verified and it is recommended to keep the landing page updated with the latest product information using structured data markup. Number plus currency (per ISO 4217). 0.00 to 10000000.00 (10 million). Example: 23.99 USD',
|
60
|
+
required: true,
|
61
|
+
type: 'macro-input',
|
62
|
+
validator: (v: string | number) => validateIfNoMacro(v, z.string().min(0).max(10000000)),
|
63
|
+
defaultValue: '{{shopify.price}} {{shopify.shop_currency}}',
|
64
|
+
rules: { sections: [] },
|
65
|
+
},
|
66
|
+
{
|
67
|
+
attribute: 'title',
|
68
|
+
label: 'Title',
|
69
|
+
description:
|
70
|
+
// eslint-disable-next-line quotes
|
71
|
+
"Title of the item. Alphanumeric 150 character limit Don't enclose in quotes. Example: Women's shoes",
|
72
|
+
required: true,
|
73
|
+
type: 'macro-input',
|
74
|
+
validator: (v: string | number) => validateIfNoMacro(v, z.string().min(1)),
|
75
|
+
defaultValue: '{{shopify.title}}',
|
76
|
+
rules: { sections: [] },
|
77
|
+
},
|
78
|
+
{
|
79
|
+
attribute: 'shipping(price)',
|
80
|
+
label: 'Shipping',
|
81
|
+
description:
|
82
|
+
'Cost of shipping, submitted in local currency. This is a required field for Austria and Germany only. Fill in only one of Shipping, Shipping:Country or Shipping:Country:Service. For free shipping, use 0. Numeric 0.01 to 10000000.00 (10 million). Example: 12.99',
|
83
|
+
required: false,
|
84
|
+
type: 'macro-input',
|
85
|
+
validator: (v: string | number) => validateIfNoMacro(v, z.string().min(0.01).max(10000000)),
|
86
|
+
defaultValue: '',
|
87
|
+
rules: { sections: [] },
|
88
|
+
},
|
89
|
+
{
|
90
|
+
attribute: 'shipping(country:price)',
|
91
|
+
label: 'Shipping:Country',
|
92
|
+
description:
|
93
|
+
'Cost of shipping, submitted in local currency. This is a required field for Austria and Germany only. Fill in only one of Shipping, Shipping:Country or Shipping:Service:Country. For free shipping, use 0. Numeric 0.01 to 10000000.00 (10 million). Example: DE:6.49 or DE:6.49, UK:6.49',
|
94
|
+
required: false,
|
95
|
+
type: 'macro-input',
|
96
|
+
validator: (v: string | number) => validateIfNoMacro(v, z.string()),
|
97
|
+
defaultValue: '',
|
98
|
+
rules: { sections: [] },
|
99
|
+
},
|
100
|
+
{
|
101
|
+
attribute: 'shipping(country:service:price)',
|
102
|
+
label: 'Shipping:Country:Service',
|
103
|
+
description:
|
104
|
+
'Cost of shipping, submitted in local currency. This is a required field for Austria and Germany only. Fill in only one of Shipping, Shipping:Country or Shipping:Country:Service. For free shipping, use 0. Numeric 0.01 to 10000000.00 (10 million). Example: DE:Standard:10, DE:Express:20',
|
105
|
+
required: false,
|
106
|
+
type: 'macro-input',
|
107
|
+
validator: (v: string | number) => validateIfNoMacro(v, z.string()),
|
108
|
+
defaultValue: '',
|
109
|
+
rules: { sections: [] },
|
110
|
+
},
|
111
|
+
{
|
112
|
+
attribute: 'brand',
|
113
|
+
label: 'Brand',
|
114
|
+
description:
|
115
|
+
'Item’s manufacturer, brand or publisher. Do not add your store name as the brand unless you manufacture the product. Alphanumeric 70-character limit 10-word limit. Example: Contoso',
|
116
|
+
required: false,
|
117
|
+
type: 'macro-input',
|
118
|
+
validator: (v: string | number) => validateIfNoMacro(v, z.string().max(1000)),
|
119
|
+
defaultValue: '{{shopify.vendor}}',
|
120
|
+
rules: { sections: [] },
|
121
|
+
},
|
122
|
+
{
|
123
|
+
attribute: 'gtin',
|
124
|
+
label: 'GTIN',
|
125
|
+
description:
|
126
|
+
'Global Trade Item Number.Up to 10 GTIN values can be provided, with a maximum of 14 digits per value. For multiple GTIN values, separate by a comma and space. Numeric 14 digits max per value. Multi-value. Example: 00012345600012',
|
127
|
+
required: false,
|
128
|
+
type: 'macro-input',
|
129
|
+
defaultValue: '',
|
130
|
+
rules: { sections: [] },
|
131
|
+
},
|
132
|
+
{
|
133
|
+
attribute: 'identifier_exists',
|
134
|
+
label: 'Identifier exists',
|
135
|
+
description:
|
136
|
+
// eslint-disable-next-line quotes
|
137
|
+
"Used to indicate that unique product identifiers (gtin, brand, and mpn) aren't available for a product. Products that may not have an identifier_exists attribute include custom goods, like homemade products, or products that were made before gtins were created, like antiques. Boolean: TRUE or FALSE. Example: FALSE",
|
138
|
+
required: false,
|
139
|
+
type: 'macro-input',
|
140
|
+
validator: (v: string | number) => validateIfNoMacro(v, z.enum(['TRUE', 'FALSE', ''])),
|
141
|
+
defaultValue: 'TRUE',
|
142
|
+
rules: { sections: [] },
|
143
|
+
},
|
144
|
+
{
|
145
|
+
attribute: 'mpn',
|
146
|
+
label: 'MPN',
|
147
|
+
description:
|
148
|
+
'Manufacturer Part Number. MPN should be specific to one unique product. MPNs are assigned by the manufacturer. Alphanumeric 70 character limit. Example: ADNK-5020',
|
149
|
+
required: false,
|
150
|
+
type: 'macro-input',
|
151
|
+
defaultValue: '',
|
152
|
+
validator: (v: string | number) => validate(v, z.string().max(70).optional()),
|
153
|
+
rules: { sections: [] },
|
154
|
+
},
|
155
|
+
],
|
156
|
+
};
|