@gem-sdk/core 1.58.0-dev.63 → 1.58.0-dev.68
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/cjs/helpers/third-party/appConfig.js +7 -0
- package/dist/cjs/helpers/third-party/appSetting.js +15 -0
- package/dist/cjs/helpers/third-party/constant.js +2 -1
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/appSetting.js +15 -0
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/package.json +1 -1
|
@@ -192,7 +192,14 @@ const BestBuyFulfillmentConfig = {
|
|
|
192
192
|
appId: 'd9839db8-b94c-4590-ac73-3469abe7ed9b'
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
|
+
const AftershipEmailMarketingsmsConfig = {
|
|
196
|
+
AftershipEmailMarketingsms: {
|
|
197
|
+
appName: 'aftership-email-marketing-sms',
|
|
198
|
+
appId: '2db13273-f8db-4274-be89-c86a3352fb70'
|
|
199
|
+
}
|
|
200
|
+
};
|
|
195
201
|
|
|
202
|
+
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
196
203
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
197
204
|
exports.BestBuyFulfillmentConfig = BestBuyFulfillmentConfig;
|
|
198
205
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
@@ -109,6 +109,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
109
109
|
shortcode: appSetting?.shortcode
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
+
case 'AftershipEmailMarketingsms':
|
|
113
|
+
{
|
|
114
|
+
return {
|
|
115
|
+
...currentSetting,
|
|
116
|
+
embedded_form_id: appSetting?.formId
|
|
117
|
+
};
|
|
118
|
+
}
|
|
112
119
|
default:
|
|
113
120
|
return currentSetting;
|
|
114
121
|
}
|
|
@@ -448,7 +455,15 @@ const BestBuyFulfillment = {
|
|
|
448
455
|
'pickup-selector': null
|
|
449
456
|
}
|
|
450
457
|
};
|
|
458
|
+
const AftershipEmailMarketingsms = {
|
|
459
|
+
AftershipEmailMarketingsms: {
|
|
460
|
+
embeded_form: {
|
|
461
|
+
embedded_form_id: ''
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
};
|
|
451
465
|
const composeSettingsByWidgetType = {
|
|
466
|
+
...AftershipEmailMarketingsms,
|
|
452
467
|
...BestBuyFulfillment,
|
|
453
468
|
...GloboProductOptionsVariant,
|
|
454
469
|
...WishlistKing,
|
|
@@ -34,7 +34,8 @@ const mapShopifyAppMeta = {
|
|
|
34
34
|
...appConfig.WishlistKingConfig,
|
|
35
35
|
...appConfig.GloboProductOptionsVariantConfig,
|
|
36
36
|
...appConfig.KachingBundlesConfig,
|
|
37
|
-
...appConfig.BestBuyFulfillmentConfig
|
|
37
|
+
...appConfig.BestBuyFulfillmentConfig,
|
|
38
|
+
...appConfig.AftershipEmailMarketingsmsConfig
|
|
38
39
|
};
|
|
39
40
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
40
41
|
|
|
@@ -190,5 +190,11 @@ const BestBuyFulfillmentConfig = {
|
|
|
190
190
|
appId: 'd9839db8-b94c-4590-ac73-3469abe7ed9b'
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
|
+
const AftershipEmailMarketingsmsConfig = {
|
|
194
|
+
AftershipEmailMarketingsms: {
|
|
195
|
+
appName: 'aftership-email-marketing-sms',
|
|
196
|
+
appId: '2db13273-f8db-4274-be89-c86a3352fb70'
|
|
197
|
+
}
|
|
198
|
+
};
|
|
193
199
|
|
|
194
|
-
export { AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
200
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -107,6 +107,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
107
107
|
shortcode: appSetting?.shortcode
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
+
case 'AftershipEmailMarketingsms':
|
|
111
|
+
{
|
|
112
|
+
return {
|
|
113
|
+
...currentSetting,
|
|
114
|
+
embedded_form_id: appSetting?.formId
|
|
115
|
+
};
|
|
116
|
+
}
|
|
110
117
|
default:
|
|
111
118
|
return currentSetting;
|
|
112
119
|
}
|
|
@@ -446,7 +453,15 @@ const BestBuyFulfillment = {
|
|
|
446
453
|
'pickup-selector': null
|
|
447
454
|
}
|
|
448
455
|
};
|
|
456
|
+
const AftershipEmailMarketingsms = {
|
|
457
|
+
AftershipEmailMarketingsms: {
|
|
458
|
+
embeded_form: {
|
|
459
|
+
embedded_form_id: ''
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
};
|
|
449
463
|
const composeSettingsByWidgetType = {
|
|
464
|
+
...AftershipEmailMarketingsms,
|
|
450
465
|
...BestBuyFulfillment,
|
|
451
466
|
...GloboProductOptionsVariant,
|
|
452
467
|
...WishlistKing,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -32,7 +32,8 @@ const mapShopifyAppMeta = {
|
|
|
32
32
|
...WishlistKingConfig,
|
|
33
33
|
...GloboProductOptionsVariantConfig,
|
|
34
34
|
...KachingBundlesConfig,
|
|
35
|
-
...BestBuyFulfillmentConfig
|
|
35
|
+
...BestBuyFulfillmentConfig,
|
|
36
|
+
...AftershipEmailMarketingsmsConfig
|
|
36
37
|
};
|
|
37
38
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
38
39
|
|