@tagsamurai/fats-api-services 1.0.3-alpha.122 → 1.0.3-alpha.124

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.
@@ -2951,6 +2951,9 @@ const AmpManagementServices = {
2951
2951
  initAmp() {
2952
2952
  return API$1.post("");
2953
2953
  },
2954
+ cancelAmp(ampId) {
2955
+ return API$1.delete(`/${ampId}/cancel`);
2956
+ },
2954
2957
  submitAmp(ampId, payload) {
2955
2958
  return API$1.patch(`/${ampId}`, payload);
2956
2959
  },
@@ -2959,6 +2959,9 @@ System.register(["axios"], function(exports, module) {
2959
2959
  initAmp() {
2960
2960
  return API$1.post("");
2961
2961
  },
2962
+ cancelAmp(ampId) {
2963
+ return API$1.delete(`/${ampId}/cancel`);
2964
+ },
2962
2965
  submitAmp(ampId, payload) {
2963
2966
  return API$1.patch(`/${ampId}`, payload);
2964
2967
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.3-alpha.122",
3
+ "version": "1.0.3-alpha.124",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -8,6 +8,7 @@ export declare const AmpManagementServices: {
8
8
  getAmpPrevious(params: GetAmpPreviousParams): Promise<AxiosResponse<FetchListResponse<AmpPrevious>>>;
9
9
  getAmpPreviousFilterOptions(params: GetAmpPreviousFilterOptionsParams): Promise<AxiosResponse<FetchOptionResponse>>;
10
10
  initAmp(): Promise<AxiosResponse<FetchDetailResponse<AmpInit>>>;
11
+ cancelAmp(ampId: string): Promise<AxiosResponse>;
11
12
  submitAmp(ampId: string, payload: SubmitAmpPayload): Promise<AxiosResponse>;
12
13
  getAmpDetail(ampId: string): Promise<AxiosResponse<FetchDetailResponse<AmpDetail>>>;
13
14
  deleteAmp(params: DeleteParams): Promise<AxiosResponse>;
@@ -8,6 +8,7 @@ export interface ContinuousImprovement {
8
8
  proofDocumentFileName?: string;
9
9
  proofDocument?: string;
10
10
  completedDate?: string;
11
+ note?: string;
11
12
  targetDate: string;
12
13
  status: Status;
13
14
  updatedAt: string;
@@ -30,6 +31,7 @@ export interface AuditFinding {
30
31
  pic: Pic;
31
32
  proofDocumentFileName?: string;
32
33
  proofDocument?: string;
34
+ note?: string;
33
35
  targetDate: string;
34
36
  status: Status;
35
37
  updatedAt: string;