@riocrypto/common 1.0.1281 → 1.0.1282

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.
@@ -182,6 +182,7 @@ export declare class RioAdminClient {
182
182
  volume: number;
183
183
  revenue: number;
184
184
  }[]>;
185
+ returnOrderToNotPaid(id: string): Promise<void>;
185
186
  getTotalUsers(months: number): Promise<{
186
187
  businessUsers: number;
187
188
  individualUsers: number;
@@ -604,6 +604,11 @@ class RioAdminClient {
604
604
  return response.data;
605
605
  });
606
606
  }
607
+ returnOrderToNotPaid(id) {
608
+ return __awaiter(this, void 0, void 0, function* () {
609
+ const response = yield this.axios.post(`/api/orders/${id}/return-to-not-paid`, {});
610
+ });
611
+ }
607
612
  getTotalUsers(months) {
608
613
  return __awaiter(this, void 0, void 0, function* () {
609
614
  const response = yield this.axios.get(`/api/data/users/total`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1281",
3
+ "version": "1.0.1282",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",