plaza-sdk 1.3.18 → 1.3.20
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/index.js +1 -0
- 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/index.js +1 -0
- package/lib/esm/modules/alif-shop-api/index.js +1 -1
- package/lib/types/src/modules/alif-shop-api/core/index.d.ts +3 -0
- package/lib/types/src/modules/alif-shop-api/core/management/api.d.ts +2 -2
- package/lib/types/src/modules/alif-shop-api/core/management/index.d.ts +6 -0
- package/lib/types/src/modules/alif-shop-api/core/management/params.d.ts +1 -6
- package/lib/types/src/modules/alif-shop-api/core/management/types.d.ts +5 -0
- package/lib/types/src/modules/alif-shop-api/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./auth/api.js"),
|
|
1
|
+
"use strict";var e=require("./auth/api.js"),t=require("./products/api.js"),r=require("./management/api.js"),s=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.GenerateReport=r.GenerateReport,exports.ReportsList=r.ReportsList,exports.ApplicationsList=s.ApplicationsList,exports.DeliverableWithType=s.DeliverableWithType,exports.SingleApplication=s.SingleApplication;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./api.js");exports.CheckReport=e.CheckReport,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"),o=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.ApplicationsList=o.ApplicationsList,exports.DeliverableWithType=o.DeliverableWithType,exports.SingleApplication=o.SingleApplication;
|
|
1
|
+
"use strict";var e=require("./core/auth/api.js"),r=require("./core/products/api.js"),t=require("./core/management/api.js"),o=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=t.CheckReport,exports.GenerateReport=t.GenerateReport,exports.ReportsList=t.ReportsList,exports.ApplicationsList=o.ApplicationsList,exports.DeliverableWithType=o.DeliverableWithType,exports.SingleApplication=o.SingleApplication;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{GetToken,RefreshToken}from"./auth/api.js";export{SingleWarehouseProduct,UpdateWarehouseProduct,WarehouseCategoriesList,WarehouseList}from"./products/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,GenerateReport,ReportsList}from"./management/api.js";export{ApplicationsList,DeliverableWithType,SingleApplication}from"./applications/api.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{CheckReport,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{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,GenerateReport,ReportsList}from"./core/management/api.js";export{ApplicationsList,DeliverableWithType,SingleApplication}from"./core/applications/api.js";
|
|
@@ -3,6 +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';
|
|
7
|
+
export { AlifManagementApi, AlifManagementEntity } from './management/types.js';
|
|
8
|
+
export { CheckReportParams, ReportsListParams } from './management/params.js';
|
|
6
9
|
export { ApplicationsList, DeliverableWithType, SingleApplication } from './applications/api.js';
|
|
7
10
|
export { ApplicationsApi, ApplicationsEntity } from './applications/types.js';
|
|
8
11
|
export { ApplicationIdBasedParams, ApplicationsParams } from './applications/params.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { CheckReportParams, ReportsListParams } from './params.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
|
|
7
|
-
declare const GenerateReport: CallerParamPayload<TokenParams,
|
|
7
|
+
declare const GenerateReport: CallerParamPayload<TokenParams, AlifManagementApi.GenerateReport.Request, AlifManagementApi.GenerateReport.Response>;
|
|
8
8
|
declare const CheckReport: CallerParam<CheckReportParams, AlifManagementApi.CheckReport.Response>;
|
|
9
9
|
declare const ReportsList: CallerParam<ReportsListParams, AlifManagementApi.ReportsList.Response>;
|
|
10
10
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { CheckReport, GenerateReport, ReportsList } from './api.js';
|
|
2
|
+
export { AlifManagementApi, AlifManagementEntity } from './types.js';
|
|
3
|
+
export { CheckReportParams, ReportsListParams } from './params.js';
|
|
4
|
+
import '../../../../common/types.js';
|
|
5
|
+
import 'axios';
|
|
6
|
+
import '../../../../common/params.js';
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { TokenParams } from '../../../../common/params.js';
|
|
2
2
|
|
|
3
|
-
interface GenerateReportParams {
|
|
4
|
-
type_id: number;
|
|
5
|
-
datetime_from: string;
|
|
6
|
-
datetime_to: string;
|
|
7
|
-
}
|
|
8
3
|
interface CheckReportParams extends TokenParams {
|
|
9
4
|
report_id: string;
|
|
10
5
|
}
|
|
@@ -12,4 +7,4 @@ interface ReportsListParams extends TokenParams {
|
|
|
12
7
|
app: string;
|
|
13
8
|
}
|
|
14
9
|
|
|
15
|
-
export type { CheckReportParams,
|
|
10
|
+
export type { CheckReportParams, ReportsListParams };
|
|
@@ -32,6 +32,11 @@ declare namespace AlifManagementEntity {
|
|
|
32
32
|
}
|
|
33
33
|
declare namespace AlifManagementApi {
|
|
34
34
|
namespace GenerateReport {
|
|
35
|
+
interface Request {
|
|
36
|
+
type_id: number;
|
|
37
|
+
datetime_from: string;
|
|
38
|
+
datetime_to: string;
|
|
39
|
+
}
|
|
35
40
|
type Response = AlifManagementEntity.GeneratedReport;
|
|
36
41
|
}
|
|
37
42
|
namespace CheckReport {
|
|
@@ -3,6 +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';
|
|
7
|
+
export { AlifManagementApi, AlifManagementEntity } from './core/management/types.js';
|
|
8
|
+
export { CheckReportParams, ReportsListParams } from './core/management/params.js';
|
|
6
9
|
export { ApplicationsList, DeliverableWithType, SingleApplication } from './core/applications/api.js';
|
|
7
10
|
export { ApplicationsApi, ApplicationsEntity } from './core/applications/types.js';
|
|
8
11
|
export { ApplicationIdBasedParams, ApplicationsParams } from './core/applications/params.js';
|