@tagsamurai/fats-api-services 1.0.3-alpha.54 → 1.0.3-alpha.55
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/api-services.es.js
CHANGED
|
@@ -2777,6 +2777,9 @@ const OpportunityRegisterServices = {
|
|
|
2777
2777
|
},
|
|
2778
2778
|
getOpportunityRegisterClosedListOptions: (params) => {
|
|
2779
2779
|
return API.get("/closed/options", { params });
|
|
2780
|
+
},
|
|
2781
|
+
getOpportunityRegisterActiveDetail: (opportunityId) => {
|
|
2782
|
+
return API.get(`/active/${opportunityId}`);
|
|
2780
2783
|
}
|
|
2781
2784
|
};
|
|
2782
2785
|
export {
|
package/api-services.system.js
CHANGED
|
@@ -2785,6 +2785,9 @@ System.register(["axios"], function(exports, module) {
|
|
|
2785
2785
|
},
|
|
2786
2786
|
getOpportunityRegisterClosedListOptions: (params) => {
|
|
2787
2787
|
return API.get("/closed/options", { params });
|
|
2788
|
+
},
|
|
2789
|
+
getOpportunityRegisterActiveDetail: (opportunityId) => {
|
|
2790
|
+
return API.get(`/active/${opportunityId}`);
|
|
2788
2791
|
}
|
|
2789
2792
|
});
|
|
2790
2793
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
2
|
import { GetOpportunityRegisterActiveListOptionsQueryParams, GetOpportunityRegisterActiveListQueryParams, GetOpportunityRegisterClosedListOptionsQueryParams, GetOpportunityRegisterClosedListQueryParams } from '../dto/opportunityRegister.dto';
|
|
3
3
|
import { FetchDetailResponse, FetchListResponse } from '../types/fetchResponse.type';
|
|
4
|
-
import { OpportunityRegisterActiveList, OpportunityRegisterActiveListOptions, OpportunityRegisterClosedList, OpportunityRegisterClosedListOptions } from '../types/opportunityRegister.type';
|
|
4
|
+
import { OpportunityRegisterActiveDetail, OpportunityRegisterActiveList, OpportunityRegisterActiveListOptions, OpportunityRegisterClosedList, OpportunityRegisterClosedListOptions } from '../types/opportunityRegister.type';
|
|
5
5
|
declare const OpportunityRegisterServices: {
|
|
6
6
|
getOpportunityRegisterActiveList: (params: GetOpportunityRegisterActiveListQueryParams) => Promise<AxiosResponse<FetchListResponse<OpportunityRegisterActiveList>>>;
|
|
7
7
|
getOpportunityRegisterActiveListOptions: (params: GetOpportunityRegisterActiveListOptionsQueryParams) => Promise<AxiosResponse<FetchDetailResponse<OpportunityRegisterActiveListOptions>>>;
|
|
8
8
|
getOpportunityRegisterClosedList: (params: GetOpportunityRegisterClosedListQueryParams) => Promise<AxiosResponse<FetchListResponse<OpportunityRegisterClosedList>>>;
|
|
9
9
|
getOpportunityRegisterClosedListOptions: (params: GetOpportunityRegisterClosedListOptionsQueryParams) => Promise<AxiosResponse<FetchDetailResponse<OpportunityRegisterClosedListOptions>>>;
|
|
10
|
+
getOpportunityRegisterActiveDetail: (opportunityId: string) => Promise<AxiosResponse<FetchDetailResponse<OpportunityRegisterActiveDetail>>>;
|
|
10
11
|
};
|
|
11
12
|
export default OpportunityRegisterServices;
|
|
@@ -16,3 +16,7 @@ export type OpportunityRegisterActiveListOptions = {
|
|
|
16
16
|
picOptions: Option[];
|
|
17
17
|
};
|
|
18
18
|
export type OpportunityRegisterClosedListOptions = OpportunityRegisterActiveListOptions;
|
|
19
|
+
export type OpportunityRegisterActiveDetail = OpportunityRegisterActiveList & {
|
|
20
|
+
proofDocument?: File;
|
|
21
|
+
note?: string;
|
|
22
|
+
};
|