plaza-sdk 2.0.1 → 2.1.0
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/lib/cjs/modules/uzum-market-api/common/index.js +1 -0
- package/lib/cjs/modules/uzum-market-api/index.js +1 -1
- package/lib/cjs/modules/yandex-market-api/core/index.js +1 -1
- package/lib/cjs/modules/yandex-market-api/core/orders/api.js +1 -0
- package/lib/cjs/modules/yandex-market-api/core/orders/index.js +1 -0
- package/lib/cjs/modules/yandex-market-api/core/orders/params.js +1 -0
- package/lib/cjs/modules/yandex-market-api/core/orders/types.js +1 -0
- package/lib/cjs/modules/yandex-market-api/index.js +1 -1
- package/lib/esm/modules/uzum-market-api/common/index.js +1 -0
- package/lib/esm/modules/uzum-market-api/index.js +1 -1
- package/lib/esm/modules/yandex-market-api/core/index.js +1 -1
- package/lib/esm/modules/yandex-market-api/core/orders/api.js +1 -0
- package/lib/esm/modules/yandex-market-api/core/orders/index.js +1 -0
- package/lib/esm/modules/yandex-market-api/core/orders/params.js +1 -0
- package/lib/esm/modules/yandex-market-api/core/orders/types.js +1 -0
- package/lib/esm/modules/yandex-market-api/index.js +1 -1
- package/lib/types/src/common/index.d.ts +1 -1
- package/lib/types/src/common/interfaces.d.ts +5 -1
- package/lib/types/src/index.d.ts +1 -1
- package/lib/types/src/modules/alif-shop-api/common/index.d.ts +2 -0
- package/lib/types/src/modules/alif-shop-api/core/index.d.ts +2 -2
- package/lib/types/src/modules/alif-shop-api/index.d.ts +2 -2
- package/lib/types/src/modules/alif-shop-client-api/common/index.d.ts +2 -0
- package/lib/types/src/modules/alif-shop-client-api/core/index.d.ts +2 -2
- package/lib/types/src/modules/alif-shop-client-api/index.d.ts +2 -2
- package/lib/types/src/modules/uzum-market-api/common/index.d.ts +6 -0
- package/lib/types/src/modules/uzum-market-api/common/interfaces.d.ts +2 -2
- package/lib/types/src/modules/uzum-market-api/core/index.d.ts +3 -3
- package/lib/types/src/modules/uzum-market-api/core/orders/api.d.ts +1 -1
- package/lib/types/src/modules/uzum-market-api/core/orders/index.d.ts +1 -1
- package/lib/types/src/modules/uzum-market-api/core/orders/types.d.ts +1 -1
- package/lib/types/src/modules/uzum-market-api/core/products/api.d.ts +1 -1
- package/lib/types/src/modules/uzum-market-api/core/products/index.d.ts +1 -1
- package/lib/types/src/modules/uzum-market-api/core/products/types.d.ts +1 -1
- package/lib/types/src/modules/uzum-market-api/index.d.ts +4 -4
- package/lib/types/src/modules/yandex-market-api/common/index.d.ts +4 -0
- package/lib/types/src/modules/yandex-market-api/common/params.d.ts +4 -1
- package/lib/types/src/modules/yandex-market-api/common/types.d.ts +8 -1
- package/lib/types/src/modules/yandex-market-api/core/index.d.ts +7 -4
- package/lib/types/src/modules/yandex-market-api/core/orders/api.d.ts +15 -0
- package/lib/types/src/modules/yandex-market-api/core/orders/index.d.ts +11 -0
- package/lib/types/src/modules/yandex-market-api/core/orders/params.d.ts +26 -0
- package/lib/types/src/modules/yandex-market-api/core/orders/types.d.ts +21 -0
- package/lib/types/src/modules/yandex-market-api/core/products/api.d.ts +1 -0
- package/lib/types/src/modules/yandex-market-api/core/products/index.d.ts +1 -0
- package/lib/types/src/modules/yandex-market-api/core/products/params.d.ts +2 -4
- package/lib/types/src/modules/yandex-market-api/core/products/types.d.ts +1 -0
- package/lib/types/src/modules/yandex-market-api/core/stores/api.d.ts +3 -3
- package/lib/types/src/modules/yandex-market-api/core/stores/index.d.ts +1 -1
- package/lib/types/src/modules/yandex-market-api/core/stores/params.d.ts +1 -6
- package/lib/types/src/modules/yandex-market-api/core/stores/types.d.ts +1 -0
- package/lib/types/src/modules/yandex-market-api/core/types.d.ts +143 -1
- package/lib/types/src/modules/yandex-market-api/index.d.ts +8 -5
- package/package.json +1 -1
- package/lib/types/src/modules/alif-shop-api/common/utils.d.ts +0 -2
- package/lib/types/src/modules/index.d.ts +0 -2
- package/lib/types/src/modules/uzum-market-api/common/utils.d.ts +0 -2
- /package/lib/cjs/modules/{index.js → alif-shop-api/common/index.js} +0 -0
- /package/lib/cjs/modules/{alif-shop-api/common/utils.js → alif-shop-client-api/common/index.js} +0 -0
- /package/lib/cjs/modules/{uzum-market-api/common/utils.js → yandex-market-api/common/index.js} +0 -0
- /package/lib/esm/modules/{index.js → alif-shop-api/common/index.js} +0 -0
- /package/lib/esm/modules/{alif-shop-api/common/utils.js → alif-shop-client-api/common/index.js} +0 -0
- /package/lib/esm/modules/{uzum-market-api/common/utils.js → yandex-market-api/common/index.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var s=require("./constants.js");exports.uzumOrderStatuses=s.uzumOrderStatuses;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./core/auth/api.js"),
|
|
1
|
+
"use strict";var e=require("./common/constants.js"),r=require("./core/auth/api.js"),t=require("./core/orders/api.js"),o=require("./core/finances/api.js"),s=require("./core/products/api.js");exports.uzumOrderStatuses=e.uzumOrderStatuses,exports.CheckToken=r.CheckToken,exports.GetToken=r.GetToken,exports.RefreshToken=r.RefreshToken,exports.CancelOrderPrice=t.CancelOrderPrice,exports.ChangeDeliverUntilPrice=t.ChangeDeliverUntilPrice,exports.OrdersList=t.OrdersList,exports.SingleOrder=t.SingleOrder,exports.ExpensesList=o.ExpensesList,exports.AddPromotion=s.AddPromotion,exports.ArchiveProduct=s.ArchiveProduct,exports.CheckSkuExists=s.CheckSkuExists,exports.CreateProduct=s.CreateProduct,exports.GetProduct=s.GetProduct,exports.InvolvedProductsList=s.InvolvedProductsList,exports.ProductDescription=s.ProductDescription,exports.ProductsList=s.ProductsList,exports.RemovePromotion=s.RemovePromotion,exports.SendSkuData=s.SendSkuData,exports.UnarchiveProduct=s.UnarchiveProduct;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var s=require("./stores/api.js"),a=require("./products/api.js");exports.
|
|
1
|
+
"use strict";var s=require("./orders/api.js"),r=require("./stores/api.js"),a=require("./products/api.js");exports.CampaignOrder=s.CampaignOrder,exports.CampaignOrders=s.CampaignOrders,exports.Campaign=r.Campaign,exports.Campaigns=r.Campaigns,exports.BusinessOfferMappings=a.BusinessOfferMappings,exports.CampaignStocks=a.CampaignStocks;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("../../../../common/utils.js");exports.CampaignOrder=(a,r)=>a.get(`/v2/campaigns/${r.campaignId}/orders/${r.orderId}`,{headers:e.pasteApiKeyHeader(r.apiKey)}),exports.CampaignOrders=(a,r)=>a.get(`/v2/campaigns/${r.campaignId}/orders`,{headers:e.pasteApiKeyHeader(r.apiKey)});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var r=require("./api.js");exports.CampaignOrder=r.CampaignOrder,exports.CampaignOrders=r.CampaignOrders;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var s=require("./core/stores/api.js"),a=require("./core/products/api.js");exports.Campaign=s.Campaign,exports.Campaigns=s.Campaigns,exports.BusinessOfferMappings=a.BusinessOfferMappings,exports.CampaignStocks=a.CampaignStocks;
|
|
1
|
+
"use strict";var r=require("./core/orders/api.js"),s=require("./core/stores/api.js"),a=require("./core/products/api.js");exports.CampaignOrder=r.CampaignOrder,exports.CampaignOrders=r.CampaignOrders,exports.Campaign=s.Campaign,exports.Campaigns=s.Campaigns,exports.BusinessOfferMappings=a.BusinessOfferMappings,exports.CampaignStocks=a.CampaignStocks;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{uzumOrderStatuses}from"./constants.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CheckToken,GetToken,RefreshToken}from"./core/auth/api.js";export{CancelOrderPrice,ChangeDeliverUntilPrice,OrdersList,SingleOrder}from"./core/orders/api.js";export{ExpensesList}from"./core/finances/api.js";export{AddPromotion,ArchiveProduct,CheckSkuExists,CreateProduct,GetProduct,InvolvedProductsList,ProductDescription,ProductsList,RemovePromotion,SendSkuData,UnarchiveProduct}from"./core/products/api.js";
|
|
1
|
+
export{uzumOrderStatuses}from"./common/constants.js";export{CheckToken,GetToken,RefreshToken}from"./core/auth/api.js";export{CancelOrderPrice,ChangeDeliverUntilPrice,OrdersList,SingleOrder}from"./core/orders/api.js";export{ExpensesList}from"./core/finances/api.js";export{AddPromotion,ArchiveProduct,CheckSkuExists,CreateProduct,GetProduct,InvolvedProductsList,ProductDescription,ProductsList,RemovePromotion,SendSkuData,UnarchiveProduct}from"./core/products/api.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Campaign,Campaigns}from"./stores/api.js";export{BusinessOfferMappings,CampaignStocks}from"./products/api.js";
|
|
1
|
+
export{CampaignOrder,CampaignOrders}from"./orders/api.js";export{Campaign,Campaigns}from"./stores/api.js";export{BusinessOfferMappings,CampaignStocks}from"./products/api.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{pasteApiKeyHeader as a}from"../../../../common/utils.js";const e=(e,r)=>e.get(`/v2/campaigns/${r.campaignId}/orders/${r.orderId}`,{headers:a(r.apiKey)}),r=(e,r)=>e.get(`/v2/campaigns/${r.campaignId}/orders`,{headers:a(r.apiKey)});export{e as CampaignOrder,r as CampaignOrders};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{CampaignOrder,CampaignOrders}from"./api.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Campaign,Campaigns}from"./core/stores/api.js";export{BusinessOfferMappings,CampaignStocks}from"./core/products/api.js";
|
|
1
|
+
export{CampaignOrder,CampaignOrders}from"./core/orders/api.js";export{Campaign,Campaigns}from"./core/stores/api.js";export{BusinessOfferMappings,CampaignStocks}from"./core/products/api.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BooleanNullable, BoundFunction, CallerNoParam, CallerParam, CallerParamPayload, CallerPayload, NumberNullable, NumberRange, StringNullable, TailParameters } from './types.js';
|
|
2
2
|
export { bindHttp, getNumber, pasteApiKeyHeader, pasteAuthHeader, pasteAuthHeaderAndApikey, pasteAuthHeaderWithoutAccessKey, withHttp, wrapWithHttp } from './utils.js';
|
|
3
3
|
export { ApiKeyParams, SlugParams, TokenParams, UsernamePasswordParams } from './params.js';
|
|
4
|
-
export { IMultiLang, IMultiLangArray } from './interfaces.js';
|
|
4
|
+
export { AddressGps, IMultiLang, IMultiLangArray } from './interfaces.js';
|
|
5
5
|
import 'axios';
|
package/lib/types/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BooleanNullable, BoundFunction, CallerNoParam, CallerParam, CallerParamPayload, CallerPayload, NumberNullable, NumberRange, StringNullable, TailParameters } from './common/types.js';
|
|
2
2
|
export { bindHttp, getNumber, pasteApiKeyHeader, pasteAuthHeader, pasteAuthHeaderAndApikey, pasteAuthHeaderWithoutAccessKey, withHttp, wrapWithHttp } from './common/utils.js';
|
|
3
3
|
export { ApiKeyParams, SlugParams, TokenParams, UsernamePasswordParams } from './common/params.js';
|
|
4
|
-
export { IMultiLang, IMultiLangArray } from './common/interfaces.js';
|
|
4
|
+
export { AddressGps, IMultiLang, IMultiLangArray } from './common/interfaces.js';
|
|
5
5
|
import 'axios';
|
|
@@ -10,8 +10,8 @@ export { ApplicationsList, ApplicationsListAllShops, DeliverableWithType, Single
|
|
|
10
10
|
export { ApplicationsApi, ApplicationsEntity } from './applications/types.js';
|
|
11
11
|
export { ApplicationIdBasedParams, ApplicationsParams } from './applications/params.js';
|
|
12
12
|
export { AlifShopEntity } from './types.js';
|
|
13
|
+
import '../common/types.js';
|
|
14
|
+
import '../common/interfaces.js';
|
|
13
15
|
import '../../../common/types.js';
|
|
14
16
|
import 'axios';
|
|
15
17
|
import '../../../common/params.js';
|
|
16
|
-
import '../common/types.js';
|
|
17
|
-
import '../common/interfaces.js';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { CardImage } from './common/types.js';
|
|
2
|
+
export { ILinks, IMeta, IMetaLink, IMetaWithPagination, IMetaWithTotalLast, IPaginatedResponse } from './common/interfaces.js';
|
|
1
3
|
export { GetToken, RefreshToken } from './core/auth/api.js';
|
|
2
4
|
export { AuthApi } from './core/auth/types.js';
|
|
3
5
|
export { SingleWarehouseProduct, UpdateWarehouseProduct, WarehouseCategoriesList, WarehouseList } from './core/products/api.js';
|
|
@@ -13,5 +15,3 @@ export { AlifShopEntity } from './core/types.js';
|
|
|
13
15
|
import '../../common/types.js';
|
|
14
16
|
import 'axios';
|
|
15
17
|
import '../../common/params.js';
|
|
16
|
-
import './common/types.js';
|
|
17
|
-
import './common/interfaces.js';
|
|
@@ -3,9 +3,9 @@ export { CategoryOffersList, SearchOffersList, SingleModeratedOffer, SingleOffer
|
|
|
3
3
|
export { AlifClientApi } from './products/types.js';
|
|
4
4
|
export { CategoryOffersListParams, SearchOffersListParams } from './products/params.js';
|
|
5
5
|
export { AlifShopClientApiEntity } from './types.js';
|
|
6
|
+
import '../common/interfaces.js';
|
|
6
7
|
import '../../../common/types.js';
|
|
7
8
|
import 'axios';
|
|
8
9
|
import '../../../common/params.js';
|
|
9
|
-
import '../common/interfaces.js';
|
|
10
|
-
import '../../../common/interfaces.js';
|
|
11
10
|
import '../../alif-shop-api/common/interfaces.js';
|
|
11
|
+
import '../../../common/interfaces.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
export { AlifBrand, AttributeItem, MediaItem, ModeratedAttributeItem, ModereatedCardGroupItem, PartnerByName, PartnerBySlug, TermItem, TitleMedia } from './common/interfaces.js';
|
|
1
2
|
export { Login, RequestLogin } from './core/auth/api.js';
|
|
2
3
|
export { CategoryOffersList, SearchOffersList, SingleModeratedOffer, SingleOffer } from './core/products/api.js';
|
|
3
4
|
export { AlifClientApi } from './core/products/types.js';
|
|
4
5
|
export { CategoryOffersListParams, SearchOffersListParams } from './core/products/params.js';
|
|
5
6
|
export { AlifShopClientApiEntity } from './core/types.js';
|
|
7
|
+
import '../../common/interfaces.js';
|
|
6
8
|
import '../../common/types.js';
|
|
7
9
|
import 'axios';
|
|
8
10
|
import '../../common/params.js';
|
|
9
|
-
import '../../common/interfaces.js';
|
|
10
|
-
import './common/interfaces.js';
|
|
11
11
|
import '../alif-shop-api/common/interfaces.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { OrderStatuses, ProductStatuses } from './types.js';
|
|
2
|
+
export { uzumOrderStatuses } from './constants.js';
|
|
3
|
+
export { Category, CharacteristicValue, ColorImage, Comment, Commission, DefinedCharacteristic, DimensionalGroup, Dimensions, Filter, FilterValue, ProductFilterValue, ProductMedia, PromotionSku, RankInfo, RatingInfo, SkuCharacteristic, Status, StatusValue } from './interfaces.js';
|
|
4
|
+
import '../../../common/types.js';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import '../../../common/interfaces.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { ProductStatuses } from './types.js';
|
|
2
|
+
import './constants.js';
|
|
1
3
|
import { NumberNullable, BooleanNullable, StringNullable } from '../../../common/types.js';
|
|
2
4
|
import { IMultiLang } from '../../../common/interfaces.js';
|
|
3
|
-
import { ProductStatuses } from './types.js';
|
|
4
5
|
import 'axios';
|
|
5
|
-
import './constants.js';
|
|
6
6
|
|
|
7
7
|
interface StatusValue {
|
|
8
8
|
value: string;
|
|
@@ -11,11 +11,11 @@ export { AddPromotion, ArchiveProduct, CheckSkuExists, CreateProduct, GetProduct
|
|
|
11
11
|
export { ProductsApi } from './products/types.js';
|
|
12
12
|
export { CorePaginationParams, InvolvedProductsParams, ProductIdBasedParams, ProductListParams, SkuBasedParams, SkuIdBasedParams, TokenAndShopId } from './products/params.js';
|
|
13
13
|
export { UzumMarketEntity } from './types.js';
|
|
14
|
+
import '../common/types.js';
|
|
15
|
+
import '../common/constants.js';
|
|
16
|
+
import '../common/interfaces.js';
|
|
14
17
|
import '../../../common/types.js';
|
|
15
18
|
import 'axios';
|
|
16
19
|
import './auth/enums.js';
|
|
17
20
|
import '../../../common/params.js';
|
|
18
|
-
import '../common/types.js';
|
|
19
|
-
import '../common/constants.js';
|
|
20
|
-
import '../common/interfaces.js';
|
|
21
21
|
import '../../../common/interfaces.js';
|
|
@@ -4,9 +4,9 @@ import { OrdersListParams, OrderIdBasedParams, OrderIdsBasedParams } from './par
|
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../types.js';
|
|
6
6
|
import '../../common/interfaces.js';
|
|
7
|
-
import '../../../../common/interfaces.js';
|
|
8
7
|
import '../../common/types.js';
|
|
9
8
|
import '../../common/constants.js';
|
|
9
|
+
import '../../../../common/interfaces.js';
|
|
10
10
|
import '../../../../common/params.js';
|
|
11
11
|
|
|
12
12
|
declare const OrdersList: CallerParam<OrdersListParams, OrdersApi.OrdersList.Response>;
|
|
@@ -5,7 +5,7 @@ import '../../../../common/types.js';
|
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../types.js';
|
|
7
7
|
import '../../common/interfaces.js';
|
|
8
|
-
import '../../../../common/interfaces.js';
|
|
9
8
|
import '../../common/types.js';
|
|
10
9
|
import '../../common/constants.js';
|
|
10
|
+
import '../../../../common/interfaces.js';
|
|
11
11
|
import '../../../../common/params.js';
|
|
@@ -2,9 +2,9 @@ import { UzumMarketEntity } from '../types.js';
|
|
|
2
2
|
import '../../../../common/types.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../common/interfaces.js';
|
|
5
|
-
import '../../../../common/interfaces.js';
|
|
6
5
|
import '../../common/types.js';
|
|
7
6
|
import '../../common/constants.js';
|
|
7
|
+
import '../../../../common/interfaces.js';
|
|
8
8
|
|
|
9
9
|
declare namespace OrdersEntity {
|
|
10
10
|
interface AllowedOrder {
|
|
@@ -3,9 +3,9 @@ import { SkuIdBasedParams, ProductListParams, TokenAndShopId, InvolvedProductsPa
|
|
|
3
3
|
import { CallerParam, CallerParamPayload } from '../../../../common/types.js';
|
|
4
4
|
import '../types.js';
|
|
5
5
|
import '../../common/interfaces.js';
|
|
6
|
-
import '../../../../common/interfaces.js';
|
|
7
6
|
import '../../common/types.js';
|
|
8
7
|
import '../../common/constants.js';
|
|
8
|
+
import '../../../../common/interfaces.js';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import '../../../../common/params.js';
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ import '../../../../common/types.js';
|
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../types.js';
|
|
7
7
|
import '../../common/interfaces.js';
|
|
8
|
-
import '../../../../common/interfaces.js';
|
|
9
8
|
import '../../common/types.js';
|
|
10
9
|
import '../../common/constants.js';
|
|
10
|
+
import '../../../../common/interfaces.js';
|
|
11
11
|
import '../../../../common/params.js';
|
|
@@ -2,9 +2,9 @@ import { UzumMarketEntity } from '../types.js';
|
|
|
2
2
|
import '../../../../common/types.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../common/interfaces.js';
|
|
5
|
-
import '../../../../common/interfaces.js';
|
|
6
5
|
import '../../common/types.js';
|
|
7
6
|
import '../../common/constants.js';
|
|
7
|
+
import '../../../../common/interfaces.js';
|
|
8
8
|
|
|
9
9
|
declare namespace ProductsApi {
|
|
10
10
|
namespace ArchiveProduct {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { OrderStatuses, ProductStatuses } from './common/types.js';
|
|
2
|
+
export { uzumOrderStatuses } from './common/constants.js';
|
|
3
|
+
export { Category, CharacteristicValue, ColorImage, Comment, Commission, DefinedCharacteristic, DimensionalGroup, Dimensions, Filter, FilterValue, ProductFilterValue, ProductMedia, PromotionSku, RankInfo, RatingInfo, SkuCharacteristic, Status, StatusValue } from './common/interfaces.js';
|
|
1
4
|
export { CheckToken, GetToken, RefreshToken } from './core/auth/api.js';
|
|
2
5
|
export { AuthApi, AuthEntity } from './core/auth/types.js';
|
|
3
6
|
export { GetTokenParams, RefreshTokenParams } from './core/auth/params.js';
|
|
@@ -13,9 +16,6 @@ export { CorePaginationParams, InvolvedProductsParams, ProductIdBasedParams, Pro
|
|
|
13
16
|
export { UzumMarketEntity } from './core/types.js';
|
|
14
17
|
import '../../common/types.js';
|
|
15
18
|
import 'axios';
|
|
19
|
+
import '../../common/interfaces.js';
|
|
16
20
|
import './core/auth/enums.js';
|
|
17
21
|
import '../../common/params.js';
|
|
18
|
-
import './common/interfaces.js';
|
|
19
|
-
import '../../common/interfaces.js';
|
|
20
|
-
import './common/types.js';
|
|
21
|
-
import './common/constants.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { CampaignStockType, CurrencyType, Language, OrderBuyerType, OrderDeliveryDispatchType, OrderDeliveryPartnerType, OrderDeliveryType, OrderStatus, OrderSubstatus, PlacementType, ResultStatus, Turnover, VatValue } from './types.js';
|
|
2
|
+
export { CampaignIdBasedParams, PagedParams, TokenPagedParams } from './params.js';
|
|
3
|
+
export { CommodityCode, Dimensions, Pager, Paging, ResultResponse, TimePeriod } from './interfaces.js';
|
|
4
|
+
import '../../../common/params.js';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ApiKeyParams } from '../../../common/params.js';
|
|
2
2
|
|
|
3
|
+
interface CampaignIdBasedParams extends ApiKeyParams {
|
|
4
|
+
campaignId: number;
|
|
5
|
+
}
|
|
3
6
|
interface PagedParams extends ApiKeyParams {
|
|
4
7
|
page?: number;
|
|
5
8
|
pageSize?: number;
|
|
@@ -9,4 +12,4 @@ interface TokenPagedParams extends ApiKeyParams {
|
|
|
9
12
|
page_token?: string;
|
|
10
13
|
}
|
|
11
14
|
|
|
12
|
-
export type { PagedParams, TokenPagedParams };
|
|
15
|
+
export type { CampaignIdBasedParams, PagedParams, TokenPagedParams };
|
|
@@ -3,6 +3,13 @@ type PlacementType = "FBY" | "FBS" | "DBS" | "EXPRESS";
|
|
|
3
3
|
type Turnover = "LOW" | "ALMOST_LOW" | "HIGH" | "VERY_HIGH" | "NO_SALES" | "FREE_STORE";
|
|
4
4
|
type CampaignStockType = "FIT" | "FREEZE" | "AVAILABLE" | "QUARANTINE" | "UTILIZATION" | "DEFECT" | "EXPIRED";
|
|
5
5
|
type Language = "RU" | "UZ";
|
|
6
|
+
type OrderBuyerType = "PERSON" | "BUSINESS";
|
|
6
7
|
type CurrencyType = "UZS" | "USD" | "RUB";
|
|
8
|
+
type OrderDeliveryType = "DELIVERY" | "PICKUP" | "POST" | "DIGITAL" | "UNKNOWN";
|
|
9
|
+
type OrderDeliveryPartnerType = "SHOP" | "YANDEX_MARKET" | "UNKNOWN";
|
|
10
|
+
type OrderDeliveryDispatchType = "UNKNOWN" | "BUYER" | "MARKET_BRANDED_OUTLET" | "SHOP_OUTLET";
|
|
11
|
+
type VatValue = "NO_VAT" | "VAT_0" | "VAT_10" | "VAT_10_110" | "VAT_20" | "VAT_20_120" | "VAT_18" | "VAT_18_118" | "VAT_12" | "VAT_05" | "VAT_07" | "UNKNOWN_VALUE";
|
|
12
|
+
type OrderStatus = "PLACING" | "RETURNED" | "RESERVED" | "PARTIALLY_RETURNED" | "PENDING" | "CANCELLED" | "DELIVERED" | "PICKUP" | "UNPAID" | "PROCESSING" | "DELIVERY" | "UNKNOWN";
|
|
13
|
+
type OrderSubstatus = "RESERVATION_EXPIRED" | "USER_NOT_PAID" | "USER_UNREACHABLE" | "USER_CHANGED_MIND" | "USER_REFUSED_DELIVERY" | "USER_REFUSED_PRODUCT" | "SHOP_FAILED" | "USER_REFUSED_QUALITY" | "REPLACING_ORDER" | "PROCESSING_EXPIRED" | "PENDING_EXPIRED" | "SHOP_PENDING_CANCELLED" | "PENDING_CANCELLED" | "USER_FRAUD" | "RESERVATION_FAILED" | "USER_PLACED_OTHER_ORDER" | "USER_BOUGHT_CHEAPER" | "MISSING_ITEM" | "BROKEN_ITEM" | "WRONG_ITEM" | "PICKUP_EXPIRED" | "DELIVERY_PROBLEMS" | "LATE_CONTACT" | "CUSTOM" | "DELIVERY_SERVICE_FAILED" | "WAREHOUSE_FAILED_TO_SHIP" | "DELIVERY_SERVICE_UNDELIVERED" | "PREORDER" | "AWAIT_CONFIRMATION" | "STARTED" | "PACKAGING" | "READY_TO_SHIP" | "SHIPPED" | "ASYNC_PROCESSING" | "WAITING_USER_INPUT" | "WAITING_BANK_DECISION" | "BANK_REJECT_CREDIT_OFFER" | "CUSTOMER_REJECT_CREDIT_OFFER" | "CREDIT_OFFER_FAILED" | "AWAIT_DELIVERY_DATES_CONFIRMATION" | "SERVICE_FAULT" | "DELIVERY_SERVICE_RECEIVED" | "USER_RECEIVED" | "WAITING_FOR_STOCKS" | "AS_PART_OF_MULTI_ORDER" | "READY_FOR_LAST_MILE" | "LAST_MILE_STARTED" | "ANTIFRAUD" | "DELIVERY_USER_NOT_RECEIVED" | "DELIVERY_SERVICE_DELIVERED" | "DELIVERED_USER_NOT_RECEIVED" | "USER_WANTED_ANOTHER_PAYMENT_METHOD" | "USER_RECEIVED_TECHNICAL_ERROR" | "USER_FORGOT_TO_USE_BONUS" | "DELIVERY_SERVICE_NOT_RECEIVED" | "DELIVERY_SERVICE_LOST" | "SHIPPED_TO_WRONG_DELIVERY_SERVICE" | "DELIVERED_USER_RECEIVED" | "WAITING_TINKOFF_DECISION" | "COURIER_SEARCH" | "COURIER_FOUND" | "COURIER_IN_TRANSIT_TO_SENDER" | "COURIER_ARRIVED_TO_SENDER" | "COURIER_RECEIVED" | "COURIER_NOT_FOUND" | "COURIER_NOT_DELIVER_ORDER" | "COURIER_RETURNS_ORDER" | "COURIER_RETURNED_ORDER" | "WAITING_USER_DELIVERY_INPUT" | "PICKUP_SERVICE_RECEIVED" | "PICKUP_USER_RECEIVED" | "CANCELLED_COURIER_NOT_FOUND" | "COURIER_NOT_COME_FOR_ORDER" | "DELIVERY_NOT_MANAGED_REGION" | "INCOMPLETE_CONTACT_INFORMATION" | "INCOMPLETE_MULTI_ORDER" | "INAPPROPRIATE_WEIGHT_SIZE" | "TECHNICAL_ERROR" | "SORTING_CENTER_LOST" | "COURIER_SEARCH_NOT_STARTED" | "LOST" | "AWAIT_PAYMENT" | "AWAIT_LAVKA_RESERVATION" | "USER_WANTS_TO_CHANGE_ADDRESS" | "FULL_NOT_RANSOM" | "PRESCRIPTION_MISMATCH" | "DROPOFF_LOST" | "DROPOFF_CLOSED" | "DELIVERY_TO_STORE_STARTED" | "USER_WANTS_TO_CHANGE_DELIVERY_DATE" | "WRONG_ITEM_DELIVERED" | "DAMAGED_BOX" | "AWAIT_DELIVERY_DATES" | "LAST_MILE_COURIER_SEARCH" | "PICKUP_POINT_CLOSED" | "LEGAL_INFO_CHANGED" | "USER_HAS_NO_TIME_TO_PICKUP_ORDER" | "DELIVERY_CUSTOMS_ARRIVED" | "DELIVERY_CUSTOMS_CLEARED" | "FIRST_MILE_DELIVERY_SERVICE_RECEIVED" | "AWAIT_AUTO_DELIVERY_DATES" | "AWAIT_USER_PERSONAL_DATA" | "NO_PERSONAL_DATA_EXPIRED" | "CUSTOMS_PROBLEMS" | "AWAIT_CASHIER" | "WAITING_POSTPAID_BUDGET_RESERVATION" | "AWAIT_SERVICEABLE_CONFIRMATION" | "POSTPAID_BUDGET_RESERVATION_FAILED" | "AWAIT_CUSTOM_PRICE_CONFIRMATION" | "READY_FOR_PICKUP" | "TOO_MANY_DELIVERY_DATE_CHANGES" | "TOO_LONG_DELIVERY" | "DEFERRED_PAYMENT" | "POSTPAID_FAILED" | "INCORRECT_PERSONAL_DATA" | "UNKNOWN";
|
|
7
14
|
|
|
8
|
-
export type { CampaignStockType, CurrencyType, Language, PlacementType, ResultStatus, Turnover };
|
|
15
|
+
export type { CampaignStockType, CurrencyType, Language, OrderBuyerType, OrderDeliveryDispatchType, OrderDeliveryPartnerType, OrderDeliveryType, OrderStatus, OrderSubstatus, PlacementType, ResultStatus, Turnover, VatValue };
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
export { CampaignOrder, CampaignOrders } from './orders/api.js';
|
|
2
|
+
export { OrdersApi } from './orders/types.js';
|
|
3
|
+
export { CampaignOrderParams, CampaignOrdersParams } from './orders/params.js';
|
|
1
4
|
export { Campaign, Campaigns } from './stores/api.js';
|
|
2
5
|
export { StoresApi } from './stores/types.js';
|
|
3
|
-
export { CampaignParams } from './stores/params.js';
|
|
4
6
|
export { BusinessOfferMappings, CampaignStocks } from './products/api.js';
|
|
5
7
|
export { ProductsApi, ProductsEntity } from './products/types.js';
|
|
6
8
|
export { BusinessOfferMappingsParams, CampaignStocksParams } from './products/params.js';
|
|
7
9
|
export { YandexMarketEntity } from './types.js';
|
|
10
|
+
import '../common/types.js';
|
|
11
|
+
import '../common/params.js';
|
|
12
|
+
import '../common/interfaces.js';
|
|
8
13
|
import '../../../common/types.js';
|
|
9
14
|
import 'axios';
|
|
10
|
-
import '
|
|
15
|
+
import '../../../common/interfaces.js';
|
|
11
16
|
import '../../../common/params.js';
|
|
12
|
-
import '../common/interfaces.js';
|
|
13
|
-
import '../common/types.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CallerParam } from '../../../../common/types.js';
|
|
2
|
+
import { OrdersApi } from './types.js';
|
|
3
|
+
import { CampaignOrderParams, CampaignOrdersParams } from './params.js';
|
|
4
|
+
import 'axios';
|
|
5
|
+
import '../../common/interfaces.js';
|
|
6
|
+
import '../../common/types.js';
|
|
7
|
+
import '../types.js';
|
|
8
|
+
import '../../../../common/interfaces.js';
|
|
9
|
+
import '../../common/params.js';
|
|
10
|
+
import '../../../../common/params.js';
|
|
11
|
+
|
|
12
|
+
declare const CampaignOrder: CallerParam<CampaignOrderParams, OrdersApi.CampaignOrder.Response>;
|
|
13
|
+
declare const CampaignOrders: CallerParam<CampaignOrdersParams, OrdersApi.CampaignOrders.Response>;
|
|
14
|
+
|
|
15
|
+
export { CampaignOrder, CampaignOrders };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { CampaignOrder, CampaignOrders } from './api.js';
|
|
2
|
+
export { OrdersApi } from './types.js';
|
|
3
|
+
export { CampaignOrderParams, CampaignOrdersParams } from './params.js';
|
|
4
|
+
import '../../../../common/types.js';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import '../../common/interfaces.js';
|
|
7
|
+
import '../../common/types.js';
|
|
8
|
+
import '../types.js';
|
|
9
|
+
import '../../../../common/interfaces.js';
|
|
10
|
+
import '../../common/params.js';
|
|
11
|
+
import '../../../../common/params.js';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OrderStatus, OrderSubstatus, OrderBuyerType, OrderDeliveryDispatchType } from '../../common/types.js';
|
|
2
|
+
import { CampaignIdBasedParams, PagedParams, TokenPagedParams } from '../../common/params.js';
|
|
3
|
+
import '../../../../common/params.js';
|
|
4
|
+
|
|
5
|
+
interface CampaignOrderParams extends CampaignIdBasedParams {
|
|
6
|
+
orderId: string;
|
|
7
|
+
}
|
|
8
|
+
interface CampaignOrdersParams extends PagedParams, TokenPagedParams, CampaignIdBasedParams {
|
|
9
|
+
fake?: boolean;
|
|
10
|
+
toDate?: string;
|
|
11
|
+
hasCis?: boolean;
|
|
12
|
+
fromDate?: string;
|
|
13
|
+
orderIds?: number[];
|
|
14
|
+
updatedAtTo?: string;
|
|
15
|
+
updatedAtFrom?: string;
|
|
16
|
+
status?: OrderStatus;
|
|
17
|
+
onlyEstimatedDelivery?: boolean;
|
|
18
|
+
supplierShipmentDateTo?: string;
|
|
19
|
+
substatus?: OrderSubstatus;
|
|
20
|
+
supplierShipmentDateFrom?: string;
|
|
21
|
+
buyerType?: OrderBuyerType;
|
|
22
|
+
onlyWaitingForCancellationApprove?: boolean;
|
|
23
|
+
dispatchType?: OrderDeliveryDispatchType;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type { CampaignOrderParams, CampaignOrdersParams };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Paging, Pager } from '../../common/interfaces.js';
|
|
2
|
+
import { YandexMarketEntity } from '../types.js';
|
|
3
|
+
import '../../common/types.js';
|
|
4
|
+
import '../../../../common/interfaces.js';
|
|
5
|
+
|
|
6
|
+
declare namespace OrdersApi {
|
|
7
|
+
namespace CampaignOrder {
|
|
8
|
+
interface Response {
|
|
9
|
+
order: YandexMarketEntity.CampaignOrder;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
namespace CampaignOrders {
|
|
13
|
+
interface Response {
|
|
14
|
+
orders: YandexMarketEntity.CampaignOrder[];
|
|
15
|
+
paging: Paging;
|
|
16
|
+
pager: Pager;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { OrdersApi };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { Language } from '../../common/types.js';
|
|
2
|
-
import { TokenPagedParams } from '../../common/params.js';
|
|
2
|
+
import { TokenPagedParams, CampaignIdBasedParams } from '../../common/params.js';
|
|
3
3
|
import '../../../../common/params.js';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
campaignId: number;
|
|
7
|
-
}
|
|
5
|
+
type CampaignStocksParams = TokenPagedParams & CampaignIdBasedParams;
|
|
8
6
|
interface BusinessOfferMappingsParams extends TokenPagedParams {
|
|
9
7
|
businessId: number;
|
|
10
8
|
language?: Language;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ResultResponse, Paging } from '../../common/interfaces.js';
|
|
2
2
|
import { YandexMarketEntity } from '../types.js';
|
|
3
3
|
import '../../common/types.js';
|
|
4
|
+
import '../../../../common/interfaces.js';
|
|
4
5
|
|
|
5
6
|
declare namespace ProductsEntity {
|
|
6
7
|
interface BusinessOfferMapping {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { CallerParam } from '../../../../common/types.js';
|
|
2
|
-
import { PagedParams } from '../../common/params.js';
|
|
2
|
+
import { PagedParams, CampaignIdBasedParams } from '../../common/params.js';
|
|
3
3
|
import { StoresApi } from './types.js';
|
|
4
|
-
import { CampaignParams } from './params.js';
|
|
5
4
|
import 'axios';
|
|
6
5
|
import '../../../../common/params.js';
|
|
7
6
|
import '../../common/interfaces.js';
|
|
8
7
|
import '../../common/types.js';
|
|
9
8
|
import '../types.js';
|
|
9
|
+
import '../../../../common/interfaces.js';
|
|
10
10
|
|
|
11
11
|
declare const Campaigns: CallerParam<PagedParams, StoresApi.Campaigns.Response>;
|
|
12
|
-
declare const Campaign: CallerParam<
|
|
12
|
+
declare const Campaign: CallerParam<CampaignIdBasedParams, StoresApi.Campaign.Response>;
|
|
13
13
|
|
|
14
14
|
export { Campaign, Campaigns };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { Campaign, Campaigns } from './api.js';
|
|
2
2
|
export { StoresApi } from './types.js';
|
|
3
|
-
export { CampaignParams } from './params.js';
|
|
4
3
|
import '../../../../common/types.js';
|
|
5
4
|
import 'axios';
|
|
6
5
|
import '../../common/params.js';
|
|
@@ -8,3 +7,4 @@ import '../../../../common/params.js';
|
|
|
8
7
|
import '../../common/interfaces.js';
|
|
9
8
|
import '../../common/types.js';
|
|
10
9
|
import '../types.js';
|
|
10
|
+
import '../../../../common/interfaces.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { AddressGps } from '../../../common/interfaces.js';
|
|
2
|
+
import { PlacementType, CampaignStockType, Turnover, CurrencyType, OrderDeliveryType, OrderDeliveryPartnerType, VatValue, OrderBuyerType, OrderStatus, OrderSubstatus } from '../common/types.js';
|
|
1
3
|
import { Dimensions, TimePeriod, CommodityCode } from '../common/interfaces.js';
|
|
2
|
-
import { PlacementType, CampaignStockType, Turnover, CurrencyType } from '../common/types.js';
|
|
3
4
|
|
|
4
5
|
declare namespace YandexMarketEntity {
|
|
5
6
|
interface Business {
|
|
@@ -83,6 +84,147 @@ declare namespace YandexMarketEntity {
|
|
|
83
84
|
showcaseType: "B2B" | "B2C";
|
|
84
85
|
showcaseUrl: string;
|
|
85
86
|
}
|
|
87
|
+
interface Promo {
|
|
88
|
+
subsidy: number;
|
|
89
|
+
type: string;
|
|
90
|
+
discount: number;
|
|
91
|
+
marketPromoId: string;
|
|
92
|
+
shopPromoId: string;
|
|
93
|
+
}
|
|
94
|
+
interface Subsidy {
|
|
95
|
+
type: "YANDEX_CASHBACK" | "SUBSIDY" | "DELIVERY";
|
|
96
|
+
amount: number;
|
|
97
|
+
}
|
|
98
|
+
interface Address {
|
|
99
|
+
apartment: string;
|
|
100
|
+
block: string;
|
|
101
|
+
postcode: string;
|
|
102
|
+
building: string;
|
|
103
|
+
country: string;
|
|
104
|
+
city: string;
|
|
105
|
+
district: string;
|
|
106
|
+
street: string;
|
|
107
|
+
house: string;
|
|
108
|
+
entrance: string;
|
|
109
|
+
entryphone: string;
|
|
110
|
+
phone: string;
|
|
111
|
+
estate: string;
|
|
112
|
+
floor: string;
|
|
113
|
+
recipient: string;
|
|
114
|
+
subway: string;
|
|
115
|
+
gps?: AddressGps;
|
|
116
|
+
}
|
|
117
|
+
interface ShipmentBox {
|
|
118
|
+
id: number;
|
|
119
|
+
fulfilmentId: string;
|
|
120
|
+
}
|
|
121
|
+
interface ShipmentTrack {
|
|
122
|
+
deliveryServiceId: number;
|
|
123
|
+
trackCode: string;
|
|
124
|
+
}
|
|
125
|
+
interface Shipment {
|
|
126
|
+
/** @deprecated No longer supported, please use an alternative and newer version. */
|
|
127
|
+
id: number;
|
|
128
|
+
shipmentDate: string;
|
|
129
|
+
shipmentTime: string;
|
|
130
|
+
tracks: ShipmentTrack[];
|
|
131
|
+
boxes: ShipmentBox[];
|
|
132
|
+
}
|
|
133
|
+
interface DeliveryDates {
|
|
134
|
+
fromDate: string;
|
|
135
|
+
toDate: string;
|
|
136
|
+
fromTime: string;
|
|
137
|
+
toTime: string;
|
|
138
|
+
realDeliveryDate: string;
|
|
139
|
+
}
|
|
140
|
+
interface Courier {
|
|
141
|
+
fullName: string;
|
|
142
|
+
phone: string;
|
|
143
|
+
phoneExtension: string;
|
|
144
|
+
vehicleDescription: string;
|
|
145
|
+
vehicleNumber: string;
|
|
146
|
+
}
|
|
147
|
+
interface Region {
|
|
148
|
+
id: number;
|
|
149
|
+
name: string;
|
|
150
|
+
type: string;
|
|
151
|
+
parent?: Region;
|
|
152
|
+
}
|
|
153
|
+
interface Delivery {
|
|
154
|
+
/** @deprecated No longer supported, please use an alternative and newer version. */
|
|
155
|
+
id: string;
|
|
156
|
+
/** @deprecated No longer supported, please use an alternative and newer version. */
|
|
157
|
+
price: number;
|
|
158
|
+
serviceName: string;
|
|
159
|
+
dates: DeliveryDates;
|
|
160
|
+
type: OrderDeliveryType;
|
|
161
|
+
deliveryPartnerType: OrderDeliveryPartnerType;
|
|
162
|
+
region: Region;
|
|
163
|
+
address: Address;
|
|
164
|
+
courier: Courier;
|
|
165
|
+
dispatchType: string;
|
|
166
|
+
deliveryServiceId: number;
|
|
167
|
+
liftPrice: number;
|
|
168
|
+
liftType: string;
|
|
169
|
+
eacCode: string;
|
|
170
|
+
eacType: string;
|
|
171
|
+
estimated: boolean;
|
|
172
|
+
outletCode: string;
|
|
173
|
+
outletStorageLimitDate: string;
|
|
174
|
+
shipments: Shipment[];
|
|
175
|
+
tracks: ShipmentTrack[];
|
|
176
|
+
vat: VatValue;
|
|
177
|
+
}
|
|
178
|
+
interface Buyer {
|
|
179
|
+
type: OrderBuyerType;
|
|
180
|
+
id: string;
|
|
181
|
+
middleName: string;
|
|
182
|
+
}
|
|
183
|
+
interface CampaignOrderItem {
|
|
184
|
+
id: number;
|
|
185
|
+
offerId: string;
|
|
186
|
+
offerName: string;
|
|
187
|
+
price: number;
|
|
188
|
+
buyerPrice: number;
|
|
189
|
+
buyerPriceBeforeDiscount: number;
|
|
190
|
+
priceBeforeDiscount: number;
|
|
191
|
+
count: number;
|
|
192
|
+
vat: string;
|
|
193
|
+
shopSku: string;
|
|
194
|
+
subsidy: number;
|
|
195
|
+
partnerWarehouseId: string;
|
|
196
|
+
promos: Promo[];
|
|
197
|
+
subsidies: Subsidy[];
|
|
198
|
+
}
|
|
199
|
+
interface CampaignOrder {
|
|
200
|
+
id: number;
|
|
201
|
+
status: OrderStatus;
|
|
202
|
+
substatus: OrderSubstatus;
|
|
203
|
+
creationDate: string;
|
|
204
|
+
updatedAt: string;
|
|
205
|
+
currency: CurrencyType;
|
|
206
|
+
itemsTotal: number;
|
|
207
|
+
deliveryTotal: number;
|
|
208
|
+
/** @deprecated No longer supported, please use an alternative and newer version. */
|
|
209
|
+
buyerItemsTotal: number;
|
|
210
|
+
/** @deprecated No longer supported, please use an alternative and newer version. */
|
|
211
|
+
buyerTotal: number;
|
|
212
|
+
buyerItemsTotalBeforeDiscount: number;
|
|
213
|
+
/** @deprecated No longer supported, please use an alternative and newer version. */
|
|
214
|
+
buyerTotalBeforeDiscount: number;
|
|
215
|
+
paymentType: "PREPAID" | "POSTPAID" | "UNKNOWN";
|
|
216
|
+
paymentMethod: string;
|
|
217
|
+
fake: boolean;
|
|
218
|
+
items: CampaignOrderItem[];
|
|
219
|
+
subsidies: Subsidy[];
|
|
220
|
+
delivery: Delivery;
|
|
221
|
+
buyer: Buyer;
|
|
222
|
+
taxSystem: string;
|
|
223
|
+
cancelRequested: boolean;
|
|
224
|
+
expiryDate: string;
|
|
225
|
+
externalOrderId: string;
|
|
226
|
+
notes: string;
|
|
227
|
+
}
|
|
86
228
|
}
|
|
87
229
|
|
|
88
230
|
export { YandexMarketEntity };
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
export { CampaignStockType, CurrencyType, Language, OrderBuyerType, OrderDeliveryDispatchType, OrderDeliveryPartnerType, OrderDeliveryType, OrderStatus, OrderSubstatus, PlacementType, ResultStatus, Turnover, VatValue } from './common/types.js';
|
|
2
|
+
export { CampaignIdBasedParams, PagedParams, TokenPagedParams } from './common/params.js';
|
|
3
|
+
export { CommodityCode, Dimensions, Pager, Paging, ResultResponse, TimePeriod } from './common/interfaces.js';
|
|
4
|
+
export { CampaignOrder, CampaignOrders } from './core/orders/api.js';
|
|
5
|
+
export { OrdersApi } from './core/orders/types.js';
|
|
6
|
+
export { CampaignOrderParams, CampaignOrdersParams } from './core/orders/params.js';
|
|
1
7
|
export { Campaign, Campaigns } from './core/stores/api.js';
|
|
2
8
|
export { StoresApi } from './core/stores/types.js';
|
|
3
|
-
export { CampaignParams } from './core/stores/params.js';
|
|
4
9
|
export { BusinessOfferMappings, CampaignStocks } from './core/products/api.js';
|
|
5
10
|
export { ProductsApi, ProductsEntity } from './core/products/types.js';
|
|
6
11
|
export { BusinessOfferMappingsParams, CampaignStocksParams } from './core/products/params.js';
|
|
7
12
|
export { YandexMarketEntity } from './core/types.js';
|
|
13
|
+
import '../../common/params.js';
|
|
8
14
|
import '../../common/types.js';
|
|
9
15
|
import 'axios';
|
|
10
|
-
import '
|
|
11
|
-
import '../../common/params.js';
|
|
12
|
-
import './common/interfaces.js';
|
|
13
|
-
import './common/types.js';
|
|
16
|
+
import '../../common/interfaces.js';
|
package/package.json
CHANGED
|
File without changes
|
/package/lib/cjs/modules/{alif-shop-api/common/utils.js → alif-shop-client-api/common/index.js}
RENAMED
|
File without changes
|
/package/lib/cjs/modules/{uzum-market-api/common/utils.js → yandex-market-api/common/index.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/lib/esm/modules/{alif-shop-api/common/utils.js → alif-shop-client-api/common/index.js}
RENAMED
|
File without changes
|
/package/lib/esm/modules/{uzum-market-api/common/utils.js → yandex-market-api/common/index.js}
RENAMED
|
File without changes
|