plaza-sdk 1.6.3 → 1.6.4

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.
@@ -1 +1 @@
1
- "use strict";var e=require("../../../../common/utils.js");exports.ApplicationsList=(i,{token:a,...p})=>i.get("/application/applications/applications",{params:p,headers:e.pasteAuthHeaderAndApikey(a)}),exports.DeliverableWithType=(i,a)=>i.get(`/delivery/deliveries/deliverable/${a.applicationId}/with-type`,{params:{deliverable_type:"application"},headers:e.pasteAuthHeaderAndApikey(a?.token)}),exports.SingleApplication=(i,a)=>i.get(`/application/applications/applications/${a.applicationId}`,{headers:e.pasteAuthHeaderAndApikey(a?.token)});
1
+ "use strict";var e=require("../../../../common/utils.js");exports.ApplicationsList=(a,{token:p,...i})=>a.get("/application/applications/applications",{params:i,headers:e.pasteAuthHeaderAndApikey(p)}),exports.ApplicationsListAllShops=(a,{token:p,...i})=>a.get("/application/manager/applications",{params:i,headers:e.pasteAuthHeaderAndApikey(p)}),exports.DeliverableWithType=(a,p)=>a.get(`/delivery/deliveries/deliverable/${p.applicationId}/with-type`,{params:{deliverable_type:"application"},headers:e.pasteAuthHeaderAndApikey(p?.token)}),exports.SingleApplication=(a,p)=>a.get(`/application/applications/applications/${p.applicationId}`,{headers:e.pasteAuthHeaderAndApikey(p?.token)});
@@ -1 +1 @@
1
- "use strict";var i=require("./api.js");exports.ApplicationsList=i.ApplicationsList,exports.DeliverableWithType=i.DeliverableWithType,exports.SingleApplication=i.SingleApplication;
1
+ "use strict";var i=require("./api.js");exports.ApplicationsList=i.ApplicationsList,exports.ApplicationsListAllShops=i.ApplicationsListAllShops,exports.DeliverableWithType=i.DeliverableWithType,exports.SingleApplication=i.SingleApplication;
@@ -1 +1 @@
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
+ "use strict";var e=require("./auth/api.js"),t=require("./products/api.js"),o=require("./management/api.js"),r=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=o.CheckReport,exports.DownloadReport=o.DownloadReport,exports.GenerateReport=o.GenerateReport,exports.ReportsList=o.ReportsList,exports.ApplicationsList=r.ApplicationsList,exports.ApplicationsListAllShops=r.ApplicationsListAllShops,exports.DeliverableWithType=r.DeliverableWithType,exports.SingleApplication=r.SingleApplication;
@@ -1 +1 @@
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
+ "use strict";var e=require("./core/auth/api.js"),o=require("./core/products/api.js"),t=require("./core/management/api.js"),r=require("./core/applications/api.js");exports.GetToken=e.GetToken,exports.RefreshToken=e.RefreshToken,exports.SingleWarehouseProduct=o.SingleWarehouseProduct,exports.UpdateWarehouseProduct=o.UpdateWarehouseProduct,exports.WarehouseCategoriesList=o.WarehouseCategoriesList,exports.WarehouseList=o.WarehouseList,exports.CheckReport=t.CheckReport,exports.DownloadReport=t.DownloadReport,exports.GenerateReport=t.GenerateReport,exports.ReportsList=t.ReportsList,exports.ApplicationsList=r.ApplicationsList,exports.ApplicationsListAllShops=r.ApplicationsListAllShops,exports.DeliverableWithType=r.DeliverableWithType,exports.SingleApplication=r.SingleApplication;
@@ -1 +1 @@
1
- import{pasteAuthHeaderAndApikey as a}from"../../../../common/utils.js";const e=(e,{token:i,...p})=>e.get("/application/applications/applications",{params:p,headers:a(i)}),i=(e,i)=>e.get(`/application/applications/applications/${i.applicationId}`,{headers:a(i?.token)}),p=(e,i)=>e.get(`/delivery/deliveries/deliverable/${i.applicationId}/with-type`,{params:{deliverable_type:"application"},headers:a(i?.token)});export{e as ApplicationsList,p as DeliverableWithType,i as SingleApplication};
1
+ import{pasteAuthHeaderAndApikey as a}from"../../../../common/utils.js";const e=(e,{token:i,...p})=>e.get("/application/applications/applications",{params:p,headers:a(i)}),i=(e,{token:i,...p})=>e.get("/application/manager/applications",{params:p,headers:a(i)}),p=(e,i)=>e.get(`/application/applications/applications/${i.applicationId}`,{headers:a(i?.token)}),t=(e,i)=>e.get(`/delivery/deliveries/deliverable/${i.applicationId}/with-type`,{params:{deliverable_type:"application"},headers:a(i?.token)});export{e as ApplicationsList,i as ApplicationsListAllShops,t as DeliverableWithType,p as SingleApplication};
@@ -1 +1 @@
1
- export{ApplicationsList,DeliverableWithType,SingleApplication}from"./api.js";
1
+ export{ApplicationsList,ApplicationsListAllShops,DeliverableWithType,SingleApplication}from"./api.js";
@@ -1 +1 @@
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
+ 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,ApplicationsListAllShops,DeliverableWithType,SingleApplication}from"./applications/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,DownloadReport,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,ApplicationsListAllShops,DeliverableWithType,SingleApplication}from"./core/applications/api.js";
@@ -6,7 +6,8 @@ import '../../common/interfaces.js';
6
6
  import '../../../../common/params.js';
7
7
 
8
8
  declare const ApplicationsList: CallerParam<ApplicationsParams, ApplicationsApi.List.Response>;
9
+ declare const ApplicationsListAllShops: CallerParam<ApplicationsParams, ApplicationsApi.List.Response>;
9
10
  declare const SingleApplication: CallerParam<ApplicationIdBasedParams, ApplicationsApi.Single.Response>;
10
11
  declare const DeliverableWithType: CallerParam<ApplicationIdBasedParams, ApplicationsApi.DeliverableList.Response>;
11
12
 
12
- export { ApplicationsList, DeliverableWithType, SingleApplication };
13
+ export { ApplicationsList, ApplicationsListAllShops, DeliverableWithType, SingleApplication };
@@ -1,4 +1,4 @@
1
- export { ApplicationsList, DeliverableWithType, SingleApplication } from './api.js';
1
+ export { ApplicationsList, ApplicationsListAllShops, DeliverableWithType, SingleApplication } from './api.js';
2
2
  export { ApplicationsApi, ApplicationsEntity } from './types.js';
3
3
  export { ApplicationIdBasedParams, ApplicationsParams } from './params.js';
4
4
  import '../../../../common/types.js';
@@ -6,7 +6,7 @@ export { ProductIdBasedParams, WarehouseProductsListParams } from './products/pa
6
6
  export { CheckReport, DownloadReport, GenerateReport, ReportsList } from './management/api.js';
7
7
  export { AlifManagementApi, AlifManagementEntity } from './management/types.js';
8
8
  export { ReportIdBasedParams, ReportsListParams } from './management/params.js';
9
- export { ApplicationsList, DeliverableWithType, SingleApplication } from './applications/api.js';
9
+ export { ApplicationsList, ApplicationsListAllShops, DeliverableWithType, SingleApplication } from './applications/api.js';
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';
@@ -6,7 +6,7 @@ export { ProductIdBasedParams, WarehouseProductsListParams } from './core/produc
6
6
  export { CheckReport, DownloadReport, GenerateReport, ReportsList } from './core/management/api.js';
7
7
  export { AlifManagementApi, AlifManagementEntity } from './core/management/types.js';
8
8
  export { ReportIdBasedParams, ReportsListParams } from './core/management/params.js';
9
- export { ApplicationsList, DeliverableWithType, SingleApplication } from './core/applications/api.js';
9
+ export { ApplicationsList, ApplicationsListAllShops, 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';
12
12
  export { AlifShopEntity } from './core/types.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plaza-sdk",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "outputDir": "./lib",
5
5
  "exports": {
6
6
  ".": {