Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@e2y/mirakl-client

Package Overview
Dependencies
Maintainers
7
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@e2y/mirakl-client - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

lib/client/orders/types/Cancellation.d.ts

92

lib/client/orders/types/Orders.d.ts

@@ -1,33 +0,79 @@

import { Address } from '../../../types/Address';
export interface OrderLineInOrder {
product_sku: string;
order_line_id: string;
order_line_state: string;
order_line_state_reason_code?: string;
order_line_state_reason_label?: string;
shipping_price: number;
price: number;
}
import { OrderLineInOrder } from './OrderLineInOrder';
import { OrderShippingAddress } from './OrderShippingAddress';
import { OrderStatus } from './OrderStatus';
import { Promotion } from './Promotion';
import { ShopCustomer } from './ShopCustomer';
export interface Order {
acceptance_decision_date?: string;
can_cancel: boolean;
can_evaluate: boolean;
can_shop_ship: boolean;
channel?: {
code: string;
label: string;
};
commercial_id: string;
customer: {
billing_address: Address;
civility: string;
customer_id: string;
email: string;
firstname: string;
lastname: string;
locale: string;
shipping_address: Address;
commissionable?: boolean;
created_date: string;
currency_iso_code: string;
customer: ShopCustomer;
customer_debited_date?: string;
delivery_date?: {
earliest: string;
latest: string;
};
has_invoice: string;
has_incident?: boolean;
fulfillment: {
center: {
code: string;
};
};
has_customer_message: boolean;
has_incident: boolean;
has_invoice: boolean;
imprint_number?: string;
last_updated_date: string;
leadtime_to_ship: number;
order_additional_fields?: {
code: string;
type: string;
value: string;
}[];
order_id: string;
order_lines: OrderLineInOrder[];
order_state: string;
order_state: OrderStatus | string;
order_state_reason_code?: string;
order_state_reason_label?: string;
order_tax_mode: 'TAX_INCLUDED' | 'TAX_EXCLUDED';
payment_duration?: number;
payment_type: string;
payment_workflow?: string;
price: number;
shipping_price: string;
promotions?: {
applied_promotions: Promotion[];
total_deduced_amount: number;
};
quote_id?: string;
references?: {
order_reference_for_customer: string;
order_reference_for_seller: string;
};
shipping_carrier_code?: string;
shipping_company?: string;
shipping_deadline?: string;
shipping_from?: OrderShippingAddress;
shipping_price: number;
shipping_pudo_id?: string;
shipping_tracking?: string;
shipping_tracking_url?: string;
shipping_type_code: string;
shipping_type_label: string;
shipping_zone_code: string;
shipping_zone_label: string;
shop_id: number;
shop_name: string;
total_commission: number;
total_price: number;
transaction_date?: string;
transaction_number?: string;
waiting_tax_confirmation?: boolean;
}

@@ -34,0 +80,0 @@ export interface Orders {

@@ -1,4 +0,2 @@

export interface ShopAdditionalField {
code: string;
value: string;
}
import { CodeValue } from '../../../types/CodeValue';
export declare type ShopAdditionalField = CodeValue;
{
"name": "@e2y/mirakl-client",
"version": "1.1.3",
"version": "1.1.4",
"description": "Mirakl Api Client",

@@ -45,3 +45,3 @@ "author": "e2y",

},
"gitHead": "d8437fd63c0ad6a93322c69fb83c9bec8cdd1f94"
"gitHead": "e162d47a2325659f74a6e1b6accca2e7cd52d848"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc