@arrowsphere/api-client 3.170.0-rc-bdj-2 → 3.171.0-rc-bdj-1
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/CHANGELOG.md
CHANGED
|
@@ -3,10 +3,14 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
4
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [3.170.0] - 2025.02.11
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [graphql-api] add entities report reportStatus
|
|
10
|
+
|
|
6
11
|
## [3.169.0] - 2025.02.07
|
|
7
12
|
|
|
8
13
|
### Added
|
|
9
|
-
- [order] Define a new type for programs
|
|
10
14
|
- [graphql-api] add queries getLocalContact, getSpecialPriceRatesHistory
|
|
11
15
|
### Updated
|
|
12
16
|
- [graphql-api] update query findOneById
|
|
@@ -33,4 +33,5 @@ export declare class ReportsClient extends AbstractRestfulClient {
|
|
|
33
33
|
getListReports(perPage?: number, page?: number, month?: string, parameters?: Parameters): Promise<GetResult<DataListReports>>;
|
|
34
34
|
getReport(reportReference: string, parameters?: Parameters): Promise<GetResult<DataListReports>>;
|
|
35
35
|
validateReport(reportReference: string, parameters?: Parameters): Promise<GetResult<ReportValidationReference>>;
|
|
36
|
+
deleteReport(reportReference: string, parameters?: Parameters): Promise<void>;
|
|
36
37
|
}
|
|
@@ -45,6 +45,10 @@ class ReportsClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
45
45
|
this.path = `/${reportReference}`;
|
|
46
46
|
return new getResult_1.GetResult(reportValidationReference_1.ReportValidationReference, await this.patch(parameters));
|
|
47
47
|
}
|
|
48
|
+
async deleteReport(reportReference, parameters = {}) {
|
|
49
|
+
this.path = `/${reportReference}`;
|
|
50
|
+
return await this.delete(parameters);
|
|
51
|
+
}
|
|
48
52
|
}
|
|
49
53
|
exports.ReportsClient = ReportsClient;
|
|
50
54
|
//# sourceMappingURL=reportsClient.js.map
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/ArrowSphere/nodejs-api-client.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "3.
|
|
7
|
+
"version": "3.171.0-rc-bdj-1",
|
|
8
8
|
"description": "Node.js client for ArrowSphere's public API",
|
|
9
9
|
"main": "build/index.js",
|
|
10
10
|
"types": "build/index.d.ts",
|