walmart_marketplace
Version:
Walmart Marketplace CA Generated Connector
1,019 lines • 106 kB
TypeScript
declare var Partial: any;
export declare type get_shipment_consolidation_type = undefined;
export declare const get_shipment_consolidation: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"domestic tracking no.": string;
"carrier id": number;
}, headers: Partial<{
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
"Accept": string;
"Content-Type": string;
}>) => {
method: string;
url: string;
headers: {
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
Accept?: string;
"Content-Type"?: string;
};
};
export declare type create_shipment_consolidation_type = undefined;
export declare const create_shipment_consolidation: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, data: any, headers: Partial<{
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
"Accept": string;
"Content-Type": string;
}>) => {
method: string;
url: string;
data: any;
headers: {
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
Accept?: string;
"Content-Type"?: string;
};
};
export declare type get_international_shipment_type = undefined;
export declare const get_international_shipment: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"shipment id": string;
}, headers: Partial<{
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
"Accept": string;
"Content-Type": string;
}>) => {
method: string;
url: string;
headers: {
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
Accept?: string;
"Content-Type"?: string;
};
};
export declare type create_international_shipment_type = undefined;
export declare const create_international_shipment: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, data: any, headers: Partial<{
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
"Accept": string;
"Content-Type": string;
}>) => {
method: string;
url: string;
data: any;
headers: {
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
Accept?: string;
"Content-Type"?: string;
};
};
export declare type get_document_type = undefined;
export declare const get_document: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"shipment id": string;
"Document Type"?: string;
}, headers: Partial<{
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
"Accept": string;
"Content-Type": string;
}>) => {
method: string;
url: string;
headers: {
"WM.TEST_MODE"?: boolean;
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
Accept?: string;
"Content-Type"?: string;
};
};
export declare type get_all_feed_statuses_type = {
errors?: {
code: string;
field?: string;
description?: string;
info?: string;
severity?: 'INFO' | 'WARN' | 'ERROR';
category?: 'APPLICATION' | 'SYSTEM' | 'REQUEST' | 'DATA';
causes?: {
code?: string;
field?: string;
type?: string;
description?: string;
}[];
errorIdentifiers?: {};
component?: string;
type?: string;
serviceName?: string;
gatewayErrorCategory?: 'INTERNAL_DATA_ERROR' | 'EXTERNAL_DATA_ERROR' | 'SYSTEM_ERROR';
}[];
totalResults?: number;
offset?: number;
limit?: number;
results?: {
feed?: {
feedId?: string;
feedSource?: string;
feedType?: string;
partnerId?: string;
itemsReceived?: number;
itemsSucceeded?: number;
itemsFailed?: number;
itemsProcessing?: number;
feedStatus?: string;
feedDate?: number;
batchId?: string;
modifiedDtm?: number;
}[];
};
};
export declare const get_all_feed_statuses: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"feedId"?: string;
"offset"?: string;
"limit"?: string;
}, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type bulk_content_setup_type = {
feedId?: string;
additionalAttributes?: {};
errors?: {};
};
export declare const bulk_content_setup: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"feedType": string;
}, data: any, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
data: any;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type get_feed_item_status_type = {
errors?: {
code: string;
field?: string;
description?: string;
info?: string;
severity?: 'INFO' | 'WARN' | 'ERROR';
category?: 'APPLICATION' | 'SYSTEM' | 'REQUEST' | 'DATA';
causes?: {
code?: string;
field?: string;
type?: string;
description?: string;
}[];
errorIdentifiers?: {};
component?: string;
type?: string;
serviceName?: string;
gatewayErrorCategory?: 'INTERNAL_DATA_ERROR' | 'EXTERNAL_DATA_ERROR' | 'SYSTEM_ERROR';
}[];
feedId?: string;
feedStatus?: 'RECEIVED' | 'INPROGRESS' | 'PROCESSED' | 'ERROR';
ingestionErrors?: {
ingestionError?: {
type: 'DATA_ERROR' | 'SYSTEM_ERROR' | 'TIMEOUT_ERROR';
code: string;
description?: string;
}[];
};
itemsReceived?: number;
itemsSucceeded?: number;
itemsFailed?: number;
itemsProcessing?: number;
offset?: number;
limit?: number;
itemDetails?: {
itemIngestionStatus?: {
martId?: number;
sku?: string;
wpid?: string;
index?: number;
ingestionStatus: 'INPROGRESS' | 'SUCCESS' | 'DATA_ERROR' | 'SYSTEM_ERROR' | 'TIMEOUT_ERROR';
ingestionErrors?: {
ingestionError?: {
type: 'DATA_ERROR' | 'SYSTEM_ERROR' | 'TIMEOUT_ERROR';
code: string;
description?: string;
}[];
};
}[];
};
};
export declare const get_feed_item_status: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"includeDetails"?: string;
"offset"?: string;
"limit"?: string;
}, path: {
"feedId": string;
}, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type get_inventory_type = {
sku: string;
quantity: {
unit: 'EACH';
amount: number;
};
fulfillmentLagTime: number;
partnerId?: string;
offerId?: string;
};
export declare const get_inventory: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"sku": string;
}, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type update_inventory_for_an_item_ca_type = {
sku: string;
quantity: {
unit: 'EACH';
amount: number;
};
fulfillmentLagTime: number;
partnerId?: string;
offerId?: string;
};
export declare const update_inventory_for_an_item_ca: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"sku": string;
}, data: {
sku: string;
quantity: {
unit: 'EACH';
amount: number;
};
fulfillmentLagTime: number;
partnerId?: string;
offerId?: string;
}, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
data: {
sku: string;
quantity: {
unit: 'EACH';
amount: number;
};
fulfillmentLagTime: number;
partnerId?: string;
offerId?: string;
};
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type update_bulk_inventory_type = {
feedId?: string;
additionalAttributes?: {};
errors?: {};
};
export declare const update_bulk_inventory: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"feedType": string;
}, data: any, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
data: any;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type get_all_items_type = {
errors?: {
code: string;
field?: string;
description?: string;
info?: string;
severity?: 'INFO' | 'WARN' | 'ERROR';
category?: 'APPLICATION' | 'SYSTEM' | 'REQUEST' | 'DATA';
causes?: {
code?: string;
field?: string;
type?: string;
description?: string;
}[];
errorIdentifiers?: {};
component?: string;
type?: string;
serviceName?: string;
gatewayErrorCategory?: 'INTERNAL_DATA_ERROR' | 'EXTERNAL_DATA_ERROR' | 'SYSTEM_ERROR';
}[];
itemResponse: {
mart?: 'WALMART_US' | 'WALMART_CA' | 'ASDA_GM' | 'WALMART_MEXICO';
sku?: string;
wpid?: string;
upc?: string;
gtin?: string;
productName?: string;
shelf?: string;
productType?: string;
price?: {
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount?: number;
};
publishedStatus?: string;
}[];
totalItems?: number;
nextCursor?: string;
};
export declare const get_all_items: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"nextCursor"?: string;
"sku"?: string;
"offset"?: string;
"limit"?: string;
}, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type get_an_item_type = {
mart?: 'WALMART_US' | 'WALMART_CA' | 'ASDA_GM' | 'WALMART_MEXICO';
sku?: string;
wpid?: string;
upc?: string;
gtin?: string;
productName?: string;
shelf?: string;
productType?: string;
price?: {
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount?: number;
};
publishedStatus?: string;
};
export declare const get_an_item: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, path: {
"sku": string;
}, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type retire_an_item_type = {
errors?: {
code: string;
field?: string;
description?: string;
info?: string;
severity?: 'INFO' | 'WARN' | 'ERROR';
category?: 'APPLICATION' | 'SYSTEM' | 'REQUEST' | 'DATA';
causes?: {
code?: string;
field?: string;
type?: string;
description?: string;
}[];
errorIdentifiers?: {};
component?: string;
type?: string;
serviceName?: string;
gatewayErrorCategory?: 'INTERNAL_DATA_ERROR' | 'EXTERNAL_DATA_ERROR' | 'SYSTEM_ERROR';
}[];
sku: string;
message?: string;
};
export declare const retire_an_item: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, path: {
"SKU": string;
}, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type bulk_item_setup_ca_type = {
feedId?: string;
additionalAttributes?: {};
errors?: {};
};
export declare const bulk_item_setup_ca: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"feedType": string;
}, data: any, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
data: any;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type get_all_released_orders_type = {
meta: {
totalCount?: number;
limit?: number;
nextCursor?: string;
};
elements: {
order?: {
purchaseOrderId: string;
customerOrderId: string;
customerEmailId: string;
orderDate: string;
shippingInfo: {
phone: string;
estimatedDeliveryDate: string;
estimatedShipDate: string;
methodCode: 'STANDARD' | 'EXPRESS' | 'ONE_DAY' | 'FREIGHT' | 'WHITE_GLOVE' | 'VALUE';
postalAddress: {
name: string;
address1: string;
address2?: string;
city: string;
state: string;
postalCode: string;
country: string;
addressType?: string;
};
};
orderLines: {
orderLine?: {
lineNumber: string;
item: {
productName: string;
sku: string;
};
charges: {
charge?: {
chargeType: string;
chargeName: string;
chargeAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
tax?: {
taxName: string;
taxAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
};
}[];
};
orderLineQuantity: {
unitOfMeasurement: string;
amount: string;
};
statusDate: string;
orderLineStatuses: {
orderLineStatus?: {
status: 'CREATED' | 'ACKNOWLEDGED' | 'SHIPPED' | 'CANCELLED' | 'REFUND';
statusQuantity: {
unitOfMeasurement: string;
amount: string;
};
cancellationReason?: string;
trackingInfo?: {
shipDateTime: string;
carrierName: {
otherCarrier?: string;
carrier?: 'UPS' | 'USPS' | 'FED_EX' | 'CPC' | 'PCLINT' | 'DHL' | 'GLB' | 'PURINTL_SWWGROUND' | 'FEDEX_SWWEXPRESS';
};
methodCode: 'STANDARD' | 'EXPRESS' | 'ONE_DAY' | 'FREIGHT' | 'WHITE_GLOVE' | 'VALUE';
trackingNumber: string;
trackingURL?: string;
};
}[];
};
refund?: {
refundId?: string;
refundComments?: string;
refundCharges: {
refundCharge?: {
refundReason: 'BILLING_ERROR' | 'TAX_EXEMPT_CUSTOMER' | 'ITEM_NOT_AS_ADVERTISED' | 'INCORRECT_ITEM_RECEIVED' | 'CANCELLED_YET_SHIPPED' | 'ITEM_NOT_RECEIVED_BY_CUSTOMER' | 'INCORRECT_SHIPPING_PRICE' | 'DAMAGED_ITEM' | 'DEFECTIVE_ITEM' | 'CUSTOMER_CHANGED_MIND' | 'CUSTOMER_RECEIVED_ITEM_LATE' | 'FINANCE_GOODWILL' | 'FINANCE_ROLLBACK' | 'MISSING_PARTS_INSTRUCTIONS' | 'BUYER_CANCELED' | 'CUSTOMER_RETURNED_ITEM' | 'GENERAL_ADJUSTMENT' | 'MERCHANDISE_NOT_RECEIVED' | 'QUALITY_MISSING_PARTS_INSTRUCTIONS' | 'SHIPPING_DELIVERY_DAMAGED' | 'SHIPPING_DELIVERY_SHIPPING_PRICE_DISCREPANCY' | 'OTHERS';
charge: {
chargeType: string;
chargeName: string;
chargeAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
tax?: {
taxName: string;
taxAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
};
};
}[];
};
};
originalCarrierMethod?: string;
referenceLineId?: string;
fulfillment?: {
fulfillmentOption?: string;
shipMethod?: string;
storeId?: string;
offerId?: string;
pickUpDateTime?: string;
pickUpBy?: string;
};
intentToCancel?: string;
configId?: string;
}[];
};
}[];
};
};
export declare const get_all_released_orders: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"createdStartDate"?: string;
"createdEndDate"?: string;
"limit"?: string;
"productInfo"?: string;
}, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type get_all_orders_type = {
meta: {
totalCount?: number;
limit?: number;
nextCursor?: string;
};
elements: {
order?: {
purchaseOrderId: string;
customerOrderId: string;
customerEmailId: string;
orderDate: string;
shippingInfo: {
phone: string;
estimatedDeliveryDate: string;
estimatedShipDate: string;
methodCode: 'STANDARD' | 'EXPRESS' | 'ONE_DAY' | 'FREIGHT' | 'WHITE_GLOVE' | 'VALUE';
postalAddress: {
name: string;
address1: string;
address2?: string;
city: string;
state: string;
postalCode: string;
country: string;
addressType?: string;
};
};
orderLines: {
orderLine?: {
lineNumber: string;
item: {
productName: string;
sku: string;
};
charges: {
charge?: {
chargeType: string;
chargeName: string;
chargeAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
tax?: {
taxName: string;
taxAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
};
}[];
};
orderLineQuantity: {
unitOfMeasurement: string;
amount: string;
};
statusDate: string;
orderLineStatuses: {
orderLineStatus?: {
status: 'CREATED' | 'ACKNOWLEDGED' | 'SHIPPED' | 'CANCELLED' | 'REFUND';
statusQuantity: {
unitOfMeasurement: string;
amount: string;
};
cancellationReason?: string;
trackingInfo?: {
shipDateTime: string;
carrierName: {
otherCarrier?: string;
carrier?: 'UPS' | 'USPS' | 'FED_EX' | 'CPC' | 'PCLINT' | 'DHL' | 'GLB' | 'PURINTL_SWWGROUND' | 'FEDEX_SWWEXPRESS';
};
methodCode: 'STANDARD' | 'EXPRESS' | 'ONE_DAY' | 'FREIGHT' | 'WHITE_GLOVE' | 'VALUE';
trackingNumber: string;
trackingURL?: string;
};
}[];
};
refund?: {
refundId?: string;
refundComments?: string;
refundCharges: {
refundCharge?: {
refundReason: 'BILLING_ERROR' | 'TAX_EXEMPT_CUSTOMER' | 'ITEM_NOT_AS_ADVERTISED' | 'INCORRECT_ITEM_RECEIVED' | 'CANCELLED_YET_SHIPPED' | 'ITEM_NOT_RECEIVED_BY_CUSTOMER' | 'INCORRECT_SHIPPING_PRICE' | 'DAMAGED_ITEM' | 'DEFECTIVE_ITEM' | 'CUSTOMER_CHANGED_MIND' | 'CUSTOMER_RECEIVED_ITEM_LATE' | 'FINANCE_GOODWILL' | 'FINANCE_ROLLBACK' | 'MISSING_PARTS_INSTRUCTIONS' | 'BUYER_CANCELED' | 'CUSTOMER_RETURNED_ITEM' | 'GENERAL_ADJUSTMENT' | 'MERCHANDISE_NOT_RECEIVED' | 'QUALITY_MISSING_PARTS_INSTRUCTIONS' | 'SHIPPING_DELIVERY_DAMAGED' | 'SHIPPING_DELIVERY_SHIPPING_PRICE_DISCREPANCY' | 'OTHERS';
charge: {
chargeType: string;
chargeName: string;
chargeAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
tax?: {
taxName: string;
taxAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
};
};
}[];
};
};
originalCarrierMethod?: string;
referenceLineId?: string;
fulfillment?: {
fulfillmentOption?: string;
shipMethod?: string;
storeId?: string;
offerId?: string;
pickUpDateTime?: string;
pickUpBy?: string;
};
intentToCancel?: string;
configId?: string;
}[];
};
}[];
};
};
export declare const get_all_orders: (auth: {
walmart_consumer: string;
walmart_channel: string;
walmart_secret: string;
}, query: {
"sku"?: string;
"customerOrderId"?: string;
"purchaseOrderId"?: string;
"status"?: string;
"createdStartDate": string;
"createdEndDate"?: string;
"fromExpectedShipDate"?: string;
"toExpectedShipDate"?: string;
"limit"?: string;
"productInfo"?: string;
}, headers: Partial<{
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": string;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string;
"WM_SEC.AUTH_SIGNATURE": string;
"WM_CONSUMER.ID": string;
}>) => {
method: string;
url: string;
headers: {
"WM_CONSUMER.CHANNEL.TYPE": string;
"WM_QOS.CORRELATION_ID": any;
"WM_SVC.NAME": string;
"WM_SEC.TIMESTAMP": string | number;
"WM_SEC.AUTH_SIGNATURE": any;
"WM_CONSUMER.ID": string;
};
};
export declare type get_an_order_type = {
purchaseOrderId: string;
customerOrderId: string;
customerEmailId: string;
orderDate: string;
shippingInfo: {
phone: string;
estimatedDeliveryDate: string;
estimatedShipDate: string;
methodCode: 'STANDARD' | 'EXPRESS' | 'ONE_DAY' | 'FREIGHT' | 'WHITE_GLOVE' | 'VALUE';
postalAddress: {
name: string;
address1: string;
address2?: string;
city: string;
state: string;
postalCode: string;
country: string;
addressType?: string;
};
};
orderLines: {
orderLine?: {
lineNumber: string;
item: {
productName: string;
sku: string;
};
charges: {
charge?: {
chargeType: string;
chargeName: string;
chargeAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
tax?: {
taxName: string;
taxAmount: {
currency: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RUR' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XFU' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZWL';
amount: number;
};
};
}[];
};
orderLineQuantity: {
unitOfMeasurement: string;
amount: string;
};
statusDate: string;
orderLineStatuses: {
orderLineStatus?: {
status: 'CREATED' | 'ACKNOWLEDGED' | 'SHIPPED' | 'CANCELLED' | 'REFUND';
statusQuantity: {
unitOfMeasurement: string;
amount: string;
};
cancellationReason?: string;
trackingInfo?: {
shipDateTime: string;
carrierName: {
otherCarrier?: string;
carrier?: 'UPS' | 'USPS' | 'FED_EX' | 'CPC' | 'PCLINT' | 'DHL' | 'GLB' | 'PURINTL_SWWGROUND' | 'FEDEX_SWWEXPRESS';
};
methodCode: 'STANDARD' | 'EXPRESS' | 'ONE_DAY' | 'FREIGHT' | 'WHITE_GLOVE' | 'VALUE';
trackingNumber: string;
trackingURL?: string;
};
}[];
};
refund?: {
refundId?: string;
refundComments?: string;
refundCharges: {
refundCharge?: {
refundReason: 'BILLING_ERROR' | 'TAX_EXEMPT_CUSTOMER' | 'ITEM_NOT_AS_ADVERTISED' | 'INCORRECT_ITEM_RECEIVED' | 'CANCELLED_YET_SHIPPED' | 'ITEM_NOT_RECEIVED_BY_CUSTOMER' | 'INCORRECT_SHIPPING_PRICE' | 'DAMAGED_ITEM' | 'DEFECTIVE_ITEM' | 'CUSTOMER_CHANGED_MIND' | 'CUSTOMER_RECEIVED_ITEM_LATE' | 'FINANCE_GOODWILL' | 'FINANCE_ROLLBACK' | 'MISSING_PARTS_INSTRUCTIONS' | 'BUYER_CANCELED' | 'CUSTOMER_RETURNED_ITEM' | 'GENERAL_ADJUSTMENT' | 'MERCHANDISE_NOT_REC