@adtrackify/at-tracking-event-types 4.25.2 → 4.25.4

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.
@@ -49,7 +49,7 @@ export interface CogsRecalcTriggerMessage {
49
49
  pixelId: string;
50
50
  costType: COST_TYPE;
51
51
  changeType: COGS_RECALC_CHANGE_TYPE;
52
- effectiveFrom: string;
52
+ effectiveFrom?: string;
53
53
  effectiveTo?: string;
54
54
  productId?: string;
55
55
  variantId?: string;
@@ -104,16 +104,8 @@ export interface CostConfigBase {
104
104
  }
105
105
  export interface GlobalProductOverrideConfig extends CostConfigBase {
106
106
  costType: COST_TYPE.GLOBAL_PRODUCT_OVERRIDE;
107
- defaultCogs?: {
108
- amount: number;
109
- effectiveFrom: string;
110
- effectiveTo?: string;
111
- };
112
- globalHandlingFee?: {
113
- amount: number;
114
- effectiveFrom: string;
115
- effectiveTo?: string;
116
- };
107
+ defaultCogs?: number;
108
+ globalHandlingFee?: number;
117
109
  }
118
110
  export interface OrderCostEntry {
119
111
  id: string;
@@ -49,7 +49,7 @@ export interface CogsRecalcTriggerMessage {
49
49
  pixelId: string;
50
50
  costType: COST_TYPE;
51
51
  changeType: COGS_RECALC_CHANGE_TYPE;
52
- effectiveFrom: string;
52
+ effectiveFrom?: string;
53
53
  effectiveTo?: string;
54
54
  productId?: string;
55
55
  variantId?: string;
@@ -104,16 +104,8 @@ export interface CostConfigBase {
104
104
  }
105
105
  export interface GlobalProductOverrideConfig extends CostConfigBase {
106
106
  costType: COST_TYPE.GLOBAL_PRODUCT_OVERRIDE;
107
- defaultCogs?: {
108
- amount: number;
109
- effectiveFrom: string;
110
- effectiveTo?: string;
111
- };
112
- globalHandlingFee?: {
113
- amount: number;
114
- effectiveFrom: string;
115
- effectiveTo?: string;
116
- };
107
+ defaultCogs?: number;
108
+ globalHandlingFee?: number;
117
109
  }
118
110
  export interface OrderCostEntry {
119
111
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adtrackify/at-tracking-event-types",
3
- "version": "4.25.2",
3
+ "version": "4.25.4",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist/*"