shopoflex-types 1.0.110 → 1.0.112
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/common.d.ts +27 -0
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -249,6 +249,32 @@ export interface LanguageConfig {
|
|
|
249
249
|
active: boolean;
|
|
250
250
|
font: string;
|
|
251
251
|
}
|
|
252
|
+
export interface PixelsOptions {
|
|
253
|
+
facebook?: {
|
|
254
|
+
pixelId?: string;
|
|
255
|
+
active?: boolean;
|
|
256
|
+
};
|
|
257
|
+
googleAnalytics?: {
|
|
258
|
+
trackingId?: string;
|
|
259
|
+
active?: boolean;
|
|
260
|
+
};
|
|
261
|
+
gtm?: {
|
|
262
|
+
gtmId?: string;
|
|
263
|
+
active?: boolean;
|
|
264
|
+
};
|
|
265
|
+
hotjar?: {
|
|
266
|
+
siteId?: number;
|
|
267
|
+
active?: boolean;
|
|
268
|
+
};
|
|
269
|
+
snapchat?: {
|
|
270
|
+
pixelId?: string;
|
|
271
|
+
active?: boolean;
|
|
272
|
+
};
|
|
273
|
+
tiktok?: {
|
|
274
|
+
pixelId?: string;
|
|
275
|
+
active?: boolean;
|
|
276
|
+
};
|
|
277
|
+
}
|
|
252
278
|
export interface Vendor {
|
|
253
279
|
_id?: string;
|
|
254
280
|
industry?: string;
|
|
@@ -313,6 +339,7 @@ export interface Vendor {
|
|
|
313
339
|
usersCount: number;
|
|
314
340
|
};
|
|
315
341
|
allowCustomPricing?: boolean;
|
|
342
|
+
pixelsOptions?: PixelsOptions;
|
|
316
343
|
addToWallet(amount: number): Promise<this>;
|
|
317
344
|
deductCommission(orderValue: number, source?: 'pos' | 'online'): Promise<this>;
|
|
318
345
|
canProcessOrder(orderValue: number, source?: 'pos' | 'online'): boolean;
|