plaza-sdk 1.3.21 → 1.3.22
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/alif-shop-api/core/index.js +1 -1
- package/lib/cjs/modules/alif-shop-api/core/management/api.js +1 -1
- package/lib/cjs/modules/alif-shop-api/core/management/index.js +1 -1
- package/lib/cjs/modules/alif-shop-api/index.js +1 -1
- package/lib/esm/modules/alif-shop-api/core/index.js +1 -1
- package/lib/esm/modules/alif-shop-api/core/management/api.js +1 -1
- package/lib/esm/modules/alif-shop-api/core/management/index.js +1 -1
- package/lib/esm/modules/alif-shop-api/index.js +1 -1
- package/lib/types/src/modules/alif-shop-api/core/index.d.ts +2 -2
- package/lib/types/src/modules/alif-shop-api/core/management/api.d.ts +4 -3
- package/lib/types/src/modules/alif-shop-api/core/management/index.d.ts +2 -2
- package/lib/types/src/modules/alif-shop-api/core/management/params.d.ts +2 -2
- package/lib/types/src/modules/alif-shop-api/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./auth/api.js"),t=require("./products/api.js"),r=require("./management/api.js"),
|
|
1
|
+
"use strict";var e=require("./auth/api.js"),t=require("./products/api.js"),r=require("./management/api.js"),o=require("./applications/api.js");exports.GetToken=e.GetToken,exports.RefreshToken=e.RefreshToken,exports.SingleWarehouseProduct=t.SingleWarehouseProduct,exports.UpdateWarehouseProduct=t.UpdateWarehouseProduct,exports.WarehouseCategoriesList=t.WarehouseCategoriesList,exports.WarehouseList=t.WarehouseList,exports.CheckReport=r.CheckReport,exports.DownloadReport=r.DownloadReport,exports.GenerateReport=r.GenerateReport,exports.ReportsList=r.ReportsList,exports.ApplicationsList=o.ApplicationsList,exports.DeliverableWithType=o.DeliverableWithType,exports.SingleApplication=o.SingleApplication;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../common/utils.js");exports.CheckReport=(r,t)=>r.get("/excel/excel/v1/reports/check",{params:{report_id:t.report_id},headers:e.pasteAuthHeaderAndApikey(t?.token)}),exports.GenerateReport=(r,t,
|
|
1
|
+
"use strict";var e=require("../../../../common/utils.js");exports.CheckReport=(r,t)=>r.get("/excel/excel/v1/reports/check",{params:{report_id:t.report_id},headers:e.pasteAuthHeaderAndApikey(t?.token)}),exports.DownloadReport=(r,t)=>r.get("/excel/excel/v1/reports/download",{params:{report_id:t.report_id},responseType:"blob",headers:e.pasteAuthHeaderAndApikey(t?.token)}),exports.GenerateReport=(r,t,p)=>r.post("/excel/excel/v1/reports/generate",p,{headers:e.pasteAuthHeaderAndApikey(t?.token)}),exports.ReportsList=(r,t)=>r.get("/excel/excel/v1/reports",{params:{app:t.app},headers:e.pasteAuthHeaderAndApikey(t?.token)});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./api.js");exports.CheckReport=e.CheckReport,exports.GenerateReport=e.GenerateReport,exports.ReportsList=e.ReportsList;
|
|
1
|
+
"use strict";var e=require("./api.js");exports.CheckReport=e.CheckReport,exports.DownloadReport=e.DownloadReport,exports.GenerateReport=e.GenerateReport,exports.ReportsList=e.ReportsList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./core/auth/api.js"),r=require("./core/products/api.js"),
|
|
1
|
+
"use strict";var e=require("./core/auth/api.js"),r=require("./core/products/api.js"),o=require("./core/management/api.js"),t=require("./core/applications/api.js");exports.GetToken=e.GetToken,exports.RefreshToken=e.RefreshToken,exports.SingleWarehouseProduct=r.SingleWarehouseProduct,exports.UpdateWarehouseProduct=r.UpdateWarehouseProduct,exports.WarehouseCategoriesList=r.WarehouseCategoriesList,exports.WarehouseList=r.WarehouseList,exports.CheckReport=o.CheckReport,exports.DownloadReport=o.DownloadReport,exports.GenerateReport=o.GenerateReport,exports.ReportsList=o.ReportsList,exports.ApplicationsList=t.ApplicationsList,exports.DeliverableWithType=t.DeliverableWithType,exports.SingleApplication=t.SingleApplication;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{GetToken,RefreshToken}from"./auth/api.js";export{SingleWarehouseProduct,UpdateWarehouseProduct,WarehouseCategoriesList,WarehouseList}from"./products/api.js";export{CheckReport,GenerateReport,ReportsList}from"./management/api.js";export{ApplicationsList,DeliverableWithType,SingleApplication}from"./applications/api.js";
|
|
1
|
+
export{GetToken,RefreshToken}from"./auth/api.js";export{SingleWarehouseProduct,UpdateWarehouseProduct,WarehouseCategoriesList,WarehouseList}from"./products/api.js";export{CheckReport,DownloadReport,GenerateReport,ReportsList}from"./management/api.js";export{ApplicationsList,DeliverableWithType,SingleApplication}from"./applications/api.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{pasteAuthHeaderAndApikey as e}from"../../../../common/utils.js";const r=(r,t
|
|
1
|
+
import{pasteAuthHeaderAndApikey as e}from"../../../../common/utils.js";const r=(r,o,t)=>r.post("/excel/excel/v1/reports/generate",t,{headers:e(o?.token)}),o=(r,o)=>r.get("/excel/excel/v1/reports/check",{params:{report_id:o.report_id},headers:e(o?.token)}),t=(r,o)=>r.get("/excel/excel/v1/reports",{params:{app:o.app},headers:e(o?.token)}),p=(r,o)=>r.get("/excel/excel/v1/reports/download",{params:{report_id:o.report_id},responseType:"blob",headers:e(o?.token)});export{o as CheckReport,p as DownloadReport,r as GenerateReport,t as ReportsList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CheckReport,GenerateReport,ReportsList}from"./api.js";
|
|
1
|
+
export{CheckReport,DownloadReport,GenerateReport,ReportsList}from"./api.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{GetToken,RefreshToken}from"./core/auth/api.js";export{SingleWarehouseProduct,UpdateWarehouseProduct,WarehouseCategoriesList,WarehouseList}from"./core/products/api.js";export{CheckReport,GenerateReport,ReportsList}from"./core/management/api.js";export{ApplicationsList,DeliverableWithType,SingleApplication}from"./core/applications/api.js";
|
|
1
|
+
export{GetToken,RefreshToken}from"./core/auth/api.js";export{SingleWarehouseProduct,UpdateWarehouseProduct,WarehouseCategoriesList,WarehouseList}from"./core/products/api.js";export{CheckReport,DownloadReport,GenerateReport,ReportsList}from"./core/management/api.js";export{ApplicationsList,DeliverableWithType,SingleApplication}from"./core/applications/api.js";
|
|
@@ -3,9 +3,9 @@ export { AuthApi } from './auth/types.js';
|
|
|
3
3
|
export { SingleWarehouseProduct, UpdateWarehouseProduct, WarehouseCategoriesList, WarehouseList } from './products/api.js';
|
|
4
4
|
export { ProductsApi, ProductsEntity } from './products/types.js';
|
|
5
5
|
export { ProductIdBasedParams, WarehouseProductsListParams } from './products/params.js';
|
|
6
|
-
export { CheckReport, GenerateReport, ReportsList } from './management/api.js';
|
|
6
|
+
export { CheckReport, DownloadReport, GenerateReport, ReportsList } from './management/api.js';
|
|
7
7
|
export { AlifManagementApi, AlifManagementEntity } from './management/types.js';
|
|
8
|
-
export {
|
|
8
|
+
export { ReportIdBasedParams, ReportsListParams } from './management/params.js';
|
|
9
9
|
export { ApplicationsList, DeliverableWithType, SingleApplication } from './applications/api.js';
|
|
10
10
|
export { ApplicationsApi, ApplicationsEntity } from './applications/types.js';
|
|
11
11
|
export { ApplicationIdBasedParams, ApplicationsParams } from './applications/params.js';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { CallerParamPayload, CallerParam } from '../../../../common/types.js';
|
|
2
2
|
import { TokenParams } from '../../../../common/params.js';
|
|
3
3
|
import { AlifManagementApi } from './types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ReportIdBasedParams, ReportsListParams } from './params.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
|
|
7
7
|
declare const GenerateReport: CallerParamPayload<TokenParams, AlifManagementApi.GenerateReport.Request, AlifManagementApi.GenerateReport.Response>;
|
|
8
|
-
declare const CheckReport: CallerParam<
|
|
8
|
+
declare const CheckReport: CallerParam<ReportIdBasedParams, AlifManagementApi.CheckReport.Response>;
|
|
9
9
|
declare const ReportsList: CallerParam<ReportsListParams, AlifManagementApi.ReportsList.Response>;
|
|
10
|
+
declare const DownloadReport: CallerParam<ReportIdBasedParams, Blob>;
|
|
10
11
|
|
|
11
|
-
export { CheckReport, GenerateReport, ReportsList };
|
|
12
|
+
export { CheckReport, DownloadReport, GenerateReport, ReportsList };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CheckReport, GenerateReport, ReportsList } from './api.js';
|
|
1
|
+
export { CheckReport, DownloadReport, GenerateReport, ReportsList } from './api.js';
|
|
2
2
|
export { AlifManagementApi, AlifManagementEntity } from './types.js';
|
|
3
|
-
export {
|
|
3
|
+
export { ReportIdBasedParams, ReportsListParams } from './params.js';
|
|
4
4
|
import '../../../../common/types.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../../../common/params.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TokenParams } from '../../../../common/params.js';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface ReportIdBasedParams extends TokenParams {
|
|
4
4
|
report_id: string;
|
|
5
5
|
}
|
|
6
6
|
interface ReportsListParams extends TokenParams {
|
|
7
7
|
app: string;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export type {
|
|
10
|
+
export type { ReportIdBasedParams, ReportsListParams };
|
|
@@ -3,9 +3,9 @@ export { AuthApi } from './core/auth/types.js';
|
|
|
3
3
|
export { SingleWarehouseProduct, UpdateWarehouseProduct, WarehouseCategoriesList, WarehouseList } from './core/products/api.js';
|
|
4
4
|
export { ProductsApi, ProductsEntity } from './core/products/types.js';
|
|
5
5
|
export { ProductIdBasedParams, WarehouseProductsListParams } from './core/products/params.js';
|
|
6
|
-
export { CheckReport, GenerateReport, ReportsList } from './core/management/api.js';
|
|
6
|
+
export { CheckReport, DownloadReport, GenerateReport, ReportsList } from './core/management/api.js';
|
|
7
7
|
export { AlifManagementApi, AlifManagementEntity } from './core/management/types.js';
|
|
8
|
-
export {
|
|
8
|
+
export { ReportIdBasedParams, ReportsListParams } from './core/management/params.js';
|
|
9
9
|
export { ApplicationsList, DeliverableWithType, SingleApplication } from './core/applications/api.js';
|
|
10
10
|
export { ApplicationsApi, ApplicationsEntity } from './core/applications/types.js';
|
|
11
11
|
export { ApplicationIdBasedParams, ApplicationsParams } from './core/applications/params.js';
|