Skip to content

Commit 5d32771

Browse files
committed
MigrationCenter.getRecentGroupIds added
1 parent 3f89144 commit 5d32771

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @code.store/arcxp-sdk-ts
22

3+
## 4.49.0
4+
5+
### Minor Changes
6+
7+
- MigrationCenter.getRecentGroupIds added
8+
39
## 4.48.0
410

511
### Minor Changes

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code.store/arcxp-sdk-ts",
3-
"version": "4.48.0",
3+
"version": "4.49.0",
44
"description": "A strongly typed set of ArcXP API's and utilities reduce the amount of work required to develop with ArcXP, starting with reducing the boilerplate code you have to write.",
55
"type": "commonjs",
66
"main": "./dist/index.js",
@@ -13,7 +13,9 @@
1313
"url": "https://github.com/code-store-platform/arcxp-sdk-ts"
1414
},
1515
"homepage": "https://github.com/code-store-platform/arcxp-sdk-ts",
16-
"files": ["dist"],
16+
"files": [
17+
"dist"
18+
],
1719
"scripts": {
1820
"build": "tsc",
1921
"format": "npx @biomejs/biome format --write .",
@@ -25,7 +27,11 @@
2527
"cs": "npx changeset && npx changeset version",
2628
"swaggerToTypes": "npx swagger-typescript-api -p ./tmp/swagger.json -o ./tmp -n swaggerTypes.ts"
2729
},
28-
"keywords": ["ArcXP", "SDK", "Code.Store"],
30+
"keywords": [
31+
"ArcXP",
32+
"SDK",
33+
"Code.Store"
34+
],
2935
"author": "code.store",
3036
"license": "MIT",
3137
"dependencies": {

src/api/migration-center/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type {
55
DetailReport,
66
DetailReportRequest,
77
GetANSParams,
8+
GetRecentGroupIdsResponse,
89
GetRemainingTimeParams,
910
GetRemainingTimeResponse,
1011
PostANSParams,
@@ -54,4 +55,9 @@ export class ArcMigrationCenter extends ArcAbstractAPI {
5455
const { data } = await this.client.get<GetRemainingTimeResponse>('/report/remaining-time', { params });
5556
return data;
5657
}
58+
59+
async getRecentGroupIds() {
60+
const { data } = await this.client.get<GetRecentGroupIdsResponse>('/report/group-ids');
61+
return data;
62+
}
5763
}

src/api/migration-center/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,7 @@ export type GetRemainingTimeResponse = {
196196
estCount: number;
197197
reportDate: string;
198198
};
199+
200+
export type GetRecentGroupIdsResponse = {
201+
groupIds: string[];
202+
};

0 commit comments

Comments
 (0)