@launchedla/snacktime
Advanced tools
Comparing version 0.0.26 to 0.0.27
@@ -105,3 +105,13 @@ interface CommonProps { | ||
} | ||
export declare type Action = UpdatedBundleAction | CronSwappedPatternsAction | ChangedShipDateAction | CancelledBundleAction | RedeemedOfferAction | RedeemedLoyaltyKeyAction | RedeemedBirthdayGiftAction | AcceptedCancellationSaveAction | OrderNowAction | SwapOutOfStockPatternsReportAction | RemoveOOSAddOnsReportAction | ExamineInsufficientInventoryErrorsReportAction | CampaignAddOnVariantsAdded | AddQuickAddOn | CronSwappedAddOnsAction; | ||
interface ChargeFailedAction extends CommonProps { | ||
label: 'ChargeFailed'; | ||
errorType: 'inventory' | 'payment' | 'other' | 'max_retries'; | ||
inventory: { | ||
variantId: number | string; | ||
variantTitle?: string; | ||
quantity: number; | ||
type?: string; | ||
}[]; | ||
} | ||
export declare type Action = UpdatedBundleAction | CronSwappedPatternsAction | ChangedShipDateAction | CancelledBundleAction | RedeemedOfferAction | RedeemedLoyaltyKeyAction | RedeemedBirthdayGiftAction | AcceptedCancellationSaveAction | OrderNowAction | SwapOutOfStockPatternsReportAction | RemoveOOSAddOnsReportAction | ExamineInsufficientInventoryErrorsReportAction | CampaignAddOnVariantsAdded | AddQuickAddOn | CronSwappedAddOnsAction | ChargeFailedAction; | ||
export interface RecordActionRequiredProps { | ||
@@ -108,0 +118,0 @@ customerId?: number; |
{ | ||
"name": "@launchedla/snacktime", | ||
"version": "0.0.26", | ||
"version": "0.0.27", | ||
"description": "Snacktime is a wrapper for the Launched LA internal database that will replicate into Snowflake. It is a replacement for Shopify metafields and an enhanced place to store event-driven data.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -124,2 +124,13 @@ interface CommonProps { | ||
interface ChargeFailedAction extends CommonProps { | ||
label: 'ChargeFailed' | ||
errorType: 'inventory' | 'payment' | 'other' | 'max_retries' | ||
inventory: { | ||
variantId: number | string | ||
variantTitle?: string | ||
quantity: number | ||
type?: string | ||
}[] | ||
} | ||
export type Action = | ||
@@ -141,2 +152,3 @@ | UpdatedBundleAction | ||
| CronSwappedAddOnsAction | ||
| ChargeFailedAction | ||
@@ -143,0 +155,0 @@ export interface RecordActionRequiredProps { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
790903
1864