@nomalism-com/api 0.52.1 → 0.52.2
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/dist/index.cjs +4 -0
- package/dist/index.js +4 -0
- package/dist/modules/stock/onlineStore.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1975,6 +1975,10 @@ var Repository50 = class {
|
|
|
1975
1975
|
);
|
|
1976
1976
|
return response.data;
|
|
1977
1977
|
}
|
|
1978
|
+
async findOrderStatus(body) {
|
|
1979
|
+
const response = await this.api.post(`${this.route}orders/status`, body);
|
|
1980
|
+
return response.data;
|
|
1981
|
+
}
|
|
1978
1982
|
};
|
|
1979
1983
|
|
|
1980
1984
|
// src/modules/stock/priceTable.ts
|
package/dist/index.js
CHANGED
|
@@ -1942,6 +1942,10 @@ var Repository50 = class {
|
|
|
1942
1942
|
);
|
|
1943
1943
|
return response.data;
|
|
1944
1944
|
}
|
|
1945
|
+
async findOrderStatus(body) {
|
|
1946
|
+
const response = await this.api.post(`${this.route}orders/status`, body);
|
|
1947
|
+
return response.data;
|
|
1948
|
+
}
|
|
1945
1949
|
};
|
|
1946
1950
|
|
|
1947
1951
|
// src/modules/stock/priceTable.ts
|
|
@@ -8,4 +8,5 @@ export default class Repository implements Nomalism.OnlineStore.IRepository {
|
|
|
8
8
|
findStock(body: Nomalism.OnlineStore.IFindStockRequest): Promise<Nomalism.OnlineStore.IFindStockResponse[]>;
|
|
9
9
|
createOrder(body: Nomalism.OnlineStore.ICreateOrderRequest): Promise<Nomalism.OnlineStore.ICreateOrderResponse>;
|
|
10
10
|
cancelOrder(body: Nomalism.OnlineStore.ICancelOrderRequest): Promise<Nomalism.OnlineStore.ICancelOrderResponse>;
|
|
11
|
+
findOrderStatus(body: Nomalism.OnlineStore.IFindOrderStatusRequest): Promise<Nomalism.OnlineStore.IFindOrderStatusResponse[]>;
|
|
11
12
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepare": "husky"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nomalism-com/types": "^0.52.
|
|
33
|
+
"@nomalism-com/types": "^0.52.2",
|
|
34
34
|
"axios": "^1.21.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|