@code.store/arcxp-sdk-ts 4.48.0 → 4.49.0

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,5 +1,5 @@
1
1
  import { type ArcAPIOptions, ArcAbstractAPI } from '../abstract-api';
2
- import type { Count, CountRequest, DetailReport, DetailReportRequest, GetANSParams, GetRemainingTimeParams, GetRemainingTimeResponse, PostANSParams, PostANSPayload, Summary, SummaryReportRequest } from './types';
2
+ import type { Count, CountRequest, DetailReport, DetailReportRequest, GetANSParams, GetRecentGroupIdsResponse, GetRemainingTimeParams, GetRemainingTimeResponse, PostANSParams, PostANSPayload, Summary, SummaryReportRequest } from './types';
3
3
  export declare class ArcMigrationCenter extends ArcAbstractAPI {
4
4
  constructor(options: ArcAPIOptions);
5
5
  summary(params?: SummaryReportRequest): Promise<{
@@ -11,4 +11,5 @@ export declare class ArcMigrationCenter extends ArcAbstractAPI {
11
11
  postAns(params: PostANSParams, payload: PostANSPayload): Promise<any>;
12
12
  getAns(params: GetANSParams): Promise<any>;
13
13
  getRemainingTime(params: GetRemainingTimeParams): Promise<GetRemainingTimeResponse>;
14
+ getRecentGroupIds(): Promise<GetRecentGroupIdsResponse>;
14
15
  }
@@ -36,6 +36,10 @@ class ArcMigrationCenter extends abstract_api_1.ArcAbstractAPI {
36
36
  const { data } = await this.client.get('/report/remaining-time', { params });
37
37
  return data;
38
38
  }
39
+ async getRecentGroupIds() {
40
+ const { data } = await this.client.get('/report/group-ids');
41
+ return data;
42
+ }
39
43
  }
40
44
  exports.ArcMigrationCenter = ArcMigrationCenter;
41
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/migration-center/index.ts"],"names":[],"mappings":";;;AAAA,kDAAqE;AAerE,MAAa,kBAAmB,SAAQ,6BAAc;IACpD,YAAY,OAAsB;QAChC,KAAK,CAAC,EAAE,GAAG,OAAO,EAAE,OAAO,EA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W,EAAE;aACxC;SACF,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,MAAqB,EAAE,OAAuB;QAC1D,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;QAC7E,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,MAAoB;QAC/B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;QACnE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,gBAAgB,CAAC,MAA8B;QACnD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAA2B,wBAAwB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;QACvG,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,iBAAiB;QACrB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAA4B,mBAAmB,CAAC,CAAC;QACvF,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AA9CD,gDA8CC"}
@@ -182,4 +182,7 @@ export type GetRemainingTimeResponse = {
182
182
  estCount: number;
183
183
  reportDate: string;
184
184
  };
185
+ export type GetRecentGroupIdsResponse = {
186
+ groupIds: string[];
187
+ };
185
188
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code.store/arcxp-sdk-ts",
3
- "version": "4.48.0",
3
+ "version": "4.49.0",
4
4
  "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.",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",
@@ -13,7 +13,9 @@
13
13
  "url": "https://github.com/code-store-platform/arcxp-sdk-ts"
14
14
  },
15
15
  "homepage": "https://github.com/code-store-platform/arcxp-sdk-ts",
16
- "files": ["dist"],
16
+ "files": [
17
+ "dist"
18
+ ],
17
19
  "scripts": {
18
20
  "build": "tsc",
19
21
  "format": "npx @biomejs/biome format --write .",
@@ -25,7 +27,11 @@
25
27
  "cs": "npx changeset && npx changeset version",
26
28
  "swaggerToTypes": "npx swagger-typescript-api -p ./tmp/swagger.json -o ./tmp -n swaggerTypes.ts"
27
29
  },
28
- "keywords": ["ArcXP", "SDK", "Code.Store"],
30
+ "keywords": [
31
+ "ArcXP",
32
+ "SDK",
33
+ "Code.Store"
34
+ ],
29
35
  "author": "code.store",
30
36
  "license": "MIT",
31
37
  "dependencies": {