feeef 0.6.2 → 0.6.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.
@@ -12,6 +12,8 @@ export interface CityEntity {
12
12
  name: string;
13
13
  /** Additional metadata as key-value pairs */
14
14
  metadata: Record<string, any>;
15
+ /** Localized names by language code (e.g., { en: "New York", ar: "نيويورك" }) */
16
+ locales?: Record<string, string>;
15
17
  /** Creation timestamp */
16
18
  createdAt: any;
17
19
  }
@@ -12,6 +12,8 @@ export interface CountryEntity {
12
12
  phone: string;
13
13
  /** Additional metadata as key-value pairs */
14
14
  metadata: Record<string, any>;
15
+ /** Localized names by language code (e.g., { en: "United States", ar: "الولايات المتحدة" }) */
16
+ locales?: Record<string, string>;
15
17
  /** Creation timestamp */
16
18
  createdAt: any;
17
19
  }
@@ -12,6 +12,8 @@ export interface StateEntity {
12
12
  name: string;
13
13
  /** Additional metadata as key-value pairs */
14
14
  metadata: Record<string, any>;
15
+ /** Localized names by language code (e.g., { en: "California", ar: "كاليفورنيا" }) */
16
+ locales?: Record<string, string>;
15
17
  /** Creation timestamp */
16
18
  createdAt: any;
17
19
  }
@@ -380,6 +380,27 @@ export interface ZimouIntegration {
380
380
  /** Additional metadata for the integration */
381
381
  metadata?: Record<string, any>;
382
382
  }
383
+ /**
384
+ * ZR Express integration configuration for delivery management.
385
+ * This integration allows order management and tracking via ZR Express API.
386
+ * Uses header-based authentication (x-api-key, x-tenant).
387
+ */
388
+ export interface ZrexpressIntegration {
389
+ /** Unique identifier for this integration instance */
390
+ id: string;
391
+ /** API key for ZR Express (x-api-key header) */
392
+ apiKey: string;
393
+ /** Tenant UUID for ZR Express (x-tenant header) */
394
+ tenantId: string;
395
+ /** Whether this integration is currently active */
396
+ active: boolean;
397
+ /** Whether to send orders directly without confirmation dialog */
398
+ silentMode?: boolean;
399
+ /** Whether to automatically send orders when they are marked as sent */
400
+ autoSend?: boolean;
401
+ /** Additional metadata for the integration */
402
+ metadata?: Record<string, any>;
403
+ }
383
404
  export interface SecurityIntegrationOrdersProtection {
384
405
  frontend: {
385
406
  active: boolean;
@@ -473,6 +494,7 @@ export interface StoreIntegrations {
473
494
  procolis?: any;
474
495
  noest?: any;
475
496
  zimou?: ZimouIntegration;
497
+ zrexpress?: ZrexpressIntegration;
476
498
  security?: SecurityIntegration;
477
499
  }
478
500
  export declare enum StoreSubscriptionStatus {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "feeef",
3
3
  "description": "feeef sdk for javascript",
4
- "version": "0.6.2",
4
+ "version": "0.6.4",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
7
7
  "files": [