@adtrackify/at-service-common 1.0.55 → 1.0.56
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 +10 -0
- package/dist/index.js +5102 -14
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/helpers/index.ts +1 -0
- package/src/helpers/subscription-helper.ts +113 -0
package/dist/index.d.ts
CHANGED
|
@@ -436,6 +436,7 @@ declare module '@adtrackify/at-service-common/helpers/index' {
|
|
|
436
436
|
export * from '@adtrackify/at-service-common/helpers/logging-helper';
|
|
437
437
|
export * from '@adtrackify/at-service-common/helpers/response-helper';
|
|
438
438
|
export * from '@adtrackify/at-service-common/helpers/shopify-helper';
|
|
439
|
+
export * from '@adtrackify/at-service-common/helpers/subscription-helper';
|
|
439
440
|
|
|
440
441
|
}
|
|
441
442
|
declare module '@adtrackify/at-service-common/helpers/input-validation-helper' {
|
|
@@ -497,6 +498,15 @@ declare module '@adtrackify/at-service-common/helpers/shopify-helper' {
|
|
|
497
498
|
export const isShopifyRequestValid: (validationParams: ShopifyRequestValidationParameters, validationHmac: string, shopifyAppApiSecret: string) => boolean;
|
|
498
499
|
export const validateShopifyRequest: (validationParams: ShopifyRequestValidationParameters, validationHmac: string, shopifyAppApiSecret: string) => boolean;
|
|
499
500
|
|
|
501
|
+
}
|
|
502
|
+
declare module '@adtrackify/at-service-common/helpers/subscription-helper' {
|
|
503
|
+
import { SubscriptionPlan } from '@adtrackify/at-tracking-event-types';
|
|
504
|
+
export const StripeBillingMap: any;
|
|
505
|
+
export const SubscriptionPlanSeedItems: {
|
|
506
|
+
items: SubscriptionPlan[];
|
|
507
|
+
};
|
|
508
|
+
export const getPlanDetails: (planId: number, stage: string) => SubscriptionPlan;
|
|
509
|
+
|
|
500
510
|
}
|
|
501
511
|
declare module '@adtrackify/at-service-common/index' {
|
|
502
512
|
export * from '@adtrackify/at-service-common/clients/index';
|