feed-common 1.41.1 → 1.42.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/dist/types/company.types.d.ts +4 -3
- package/dist/types/company.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 +9 -0
- package/dist/utils/feed-templates/facebook.template.js.map +1 -1
- package/package.json +1 -1
- package/src/types/company.types.ts +28 -27
- package/src/utils/feed-templates/facebook.template.ts +10 -0
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# [1.42.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.41.2...v1.42.0) (2024-08-31)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* add meta to SSE events payload ([a1e2727](https://github.com/advertikon/package-maxify-feed-common/commit/a1e2727b4a4c9494ca0dd69932b63085564fef8b))
|
7
|
+
|
8
|
+
## [1.41.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.41.1...v1.41.2) (2024-08-28)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* fix feacebook vedo tag ([61ef885](https://github.com/advertikon/package-maxify-feed-common/commit/61ef885a860a6ef54987c33fe4a1001e3c446eb5))
|
14
|
+
|
1
15
|
## [1.41.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.41.0...v1.41.1) (2024-08-25)
|
2
16
|
|
3
17
|
|
@@ -1,17 +1,18 @@
|
|
1
|
-
import { ShopifyRecurringCharge } from
|
1
|
+
import { ShopifyRecurringCharge } from './shopify.types';
|
2
2
|
export type ServerSideEvent = {
|
3
3
|
shop: string;
|
4
4
|
eventID: string;
|
5
|
-
type:
|
5
|
+
type: 'progress' | 'schedule';
|
6
6
|
name: string;
|
7
7
|
status?: boolean;
|
8
|
+
meta?: Record<string, any>;
|
8
9
|
};
|
9
10
|
export type ServerSideProgressEvent = ServerSideEvent & {
|
10
11
|
progress: number;
|
11
12
|
totalCount: number;
|
12
13
|
};
|
13
14
|
export type ServerSideScheduleEvent = ServerSideEvent;
|
14
|
-
export type ShopifySubscriptionInfo = Omit<ShopifyRecurringCharge,
|
15
|
+
export type ShopifySubscriptionInfo = Omit<ShopifyRecurringCharge, 'return_url' | 'decorated_return_url' | 'confirmation_url'>;
|
15
16
|
export type CompanyStats = {
|
16
17
|
totalProductsCount: number;
|
17
18
|
syncedProductsCount: 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;
|
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,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,CAC7D,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACnB,EAAE,CAAC;IACJ,YAAY,EAAE,uBAAuB,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
@@ -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;AA+DnE,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;AA+DnE,eAAO,MAAM,oBAAoB,EAAE,mBAgWlC,CAAC"}
|
@@ -336,6 +336,15 @@ export const facebookFeedTemplate = {
|
|
336
336
|
attribute: `video[${i}].url`,
|
337
337
|
label: `Video URL ${i + 1}`,
|
338
338
|
})),
|
339
|
+
{
|
340
|
+
attribute: 'video',
|
341
|
+
label: 'Video',
|
342
|
+
description: 'Up to 20 fields each containing a link to a product video. video[0].url will be your default video and a 4:5 aspect ratio is recommended. To add multiple videos per product, such as alternative 1:1 or 9:16 aspect ratios, add additional video fields. Example: [{"url": "http://www.jaspersmarket.com/product_video.avi"}]',
|
343
|
+
required: false,
|
344
|
+
type: 'macro-input',
|
345
|
+
defaultValue: '',
|
346
|
+
rules: { sections: [] },
|
347
|
+
},
|
339
348
|
{
|
340
349
|
attribute: 'shipping',
|
341
350
|
label: 'Shipping',
|
@@ -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;CAChG,CAAC;AAEF,MAAM,gBAAgB,GAAG;IACrB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,WAAW;IAClB,WAAW,EAAE,mFAAmF;IAChG,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC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kBAAkB;YACrB,SAAS,EAAE,gBAAgB,CAAC,EAAE;YAC9B,KAAK,EAAE,gBAAgB,CAAC,GAAG,CAAC,EAAE;SACjC,CAAC,CAAC;QACH,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,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,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;CAChG,CAAC;AAEF,MAAM,gBAAgB,GAAG;IACrB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,WAAW;IAClB,WAAW,EAAE,mFAAmF;IAChG,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE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S,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,kBAAkB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC;YACpG,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;QACD,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YACzB,GAAG,kBAAkB;YACrB,SAAS,EAAE,gBAAgB,CAAC,EAAE;YAC9B,KAAK,EAAE,gBAAgB,CAAC,GAAG,CAAC,EAAE;SACjC,CAAC,CAAC;QACH,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,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"}
|
package/package.json
CHANGED
@@ -1,47 +1,48 @@
|
|
1
1
|
/* eslint-disable quotes */
|
2
|
-
import { ShopifyRecurringCharge } from
|
2
|
+
import { ShopifyRecurringCharge } from './shopify.types';
|
3
3
|
|
4
4
|
export type ServerSideEvent = {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
shop: string;
|
6
|
+
eventID: string;
|
7
|
+
type: 'progress' | 'schedule';
|
8
|
+
name: string;
|
9
|
+
status?: boolean;
|
10
|
+
meta?: Record<string, any>;
|
10
11
|
};
|
11
12
|
|
12
13
|
export type ServerSideProgressEvent = ServerSideEvent & {
|
13
|
-
|
14
|
-
|
14
|
+
progress: number;
|
15
|
+
totalCount: number;
|
15
16
|
};
|
16
17
|
|
17
18
|
export type ServerSideScheduleEvent = ServerSideEvent;
|
18
19
|
|
19
20
|
export type ShopifySubscriptionInfo = Omit<
|
20
|
-
|
21
|
-
|
21
|
+
ShopifyRecurringCharge,
|
22
|
+
'return_url' | 'decorated_return_url' | 'confirmation_url'
|
22
23
|
>;
|
23
24
|
|
24
25
|
export type CompanyStats = {
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
26
|
+
totalProductsCount: number;
|
27
|
+
syncedProductsCount: number;
|
28
|
+
limits: AppLimits;
|
29
|
+
maxProducts: number;
|
30
|
+
profilesStats: {
|
31
|
+
count: number;
|
32
|
+
errors: number;
|
33
|
+
warnings: number;
|
34
|
+
profileId: string;
|
35
|
+
profile: string;
|
36
|
+
}[];
|
37
|
+
subscription: ShopifySubscriptionInfo;
|
37
38
|
};
|
38
39
|
|
39
40
|
export type SubscriptionPlan = {
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
41
|
+
code: string;
|
42
|
+
level: number;
|
43
|
+
products: number;
|
44
|
+
profiles: number;
|
45
|
+
price: number;
|
45
46
|
};
|
46
47
|
|
47
48
|
export type AppLimits = { products: number; profiles: number };
|
@@ -377,6 +377,16 @@ export const facebookFeedTemplate: XmlFeedTemplateType = {
|
|
377
377
|
attribute: `video[${i}].url`,
|
378
378
|
label: `Video URL ${i + 1}`,
|
379
379
|
})),
|
380
|
+
{
|
381
|
+
attribute: 'video',
|
382
|
+
label: 'Video',
|
383
|
+
description:
|
384
|
+
'Up to 20 fields each containing a link to a product video. video[0].url will be your default video and a 4:5 aspect ratio is recommended. To add multiple videos per product, such as alternative 1:1 or 9:16 aspect ratios, add additional video fields. Example: [{"url": "http://www.jaspersmarket.com/product_video.avi"}]',
|
385
|
+
required: false,
|
386
|
+
type: 'macro-input',
|
387
|
+
defaultValue: '',
|
388
|
+
rules: { sections: [] },
|
389
|
+
},
|
380
390
|
{
|
381
391
|
attribute: 'shipping',
|
382
392
|
label: 'Shipping',
|