@tagsamurai/fats-api-services 1.0.3-alpha.110 → 1.0.3-alpha.111
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
|
@@ -2819,9 +2819,6 @@ const OpportunityRegisterServices = {
|
|
|
2819
2819
|
getOpportunityRegisterClosedListOptions: (params) => {
|
|
2820
2820
|
return API$3.get("/closed/options", { params });
|
|
2821
2821
|
},
|
|
2822
|
-
getOpportunityRegisterActiveDetail: (opportunityId) => {
|
|
2823
|
-
return API$3.get(`/active/${opportunityId}`);
|
|
2824
|
-
},
|
|
2825
2822
|
getOpportunityLogData: (opportunityId) => {
|
|
2826
2823
|
return API$3.get(`/${opportunityId}/log`);
|
|
2827
2824
|
},
|
package/api-services.system.js
CHANGED
|
@@ -2827,9 +2827,6 @@ System.register(["axios"], function(exports, module) {
|
|
|
2827
2827
|
getOpportunityRegisterClosedListOptions: (params) => {
|
|
2828
2828
|
return API$3.get("/closed/options", { params });
|
|
2829
2829
|
},
|
|
2830
|
-
getOpportunityRegisterActiveDetail: (opportunityId) => {
|
|
2831
|
-
return API$3.get(`/active/${opportunityId}`);
|
|
2832
|
-
},
|
|
2833
2830
|
getOpportunityLogData: (opportunityId) => {
|
|
2834
2831
|
return API$3.get(`/${opportunityId}/log`);
|
|
2835
2832
|
},
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
2
|
import { AddOpportunityBody, CancelOpportunityBody, EditOpportunityBody, GetOpportunityRegisterActiveListOptionsQueryParams, GetOpportunityRegisterActiveListQueryParams, GetOpportunityRegisterClosedListOptionsQueryParams, GetOpportunityRegisterClosedListQueryParams, ReviewOpportunityActionBody } from '../dto/opportunityRegister.dto';
|
|
3
3
|
import { FetchDetailResponse, FetchListResponse, FetchResponse, ShortFetchListResponse } from '../types/fetchResponse.type';
|
|
4
|
-
import { OpportunityLogData,
|
|
4
|
+
import { OpportunityLogData, 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>>>;
|
|
11
10
|
getOpportunityLogData: (opportunityId: string) => Promise<AxiosResponse<ShortFetchListResponse<OpportunityLogData>>>;
|
|
12
11
|
editActiveOpportunity: (opportunityId: string, body: EditOpportunityBody) => Promise<AxiosResponse<FetchResponse>>;
|
|
13
12
|
addActiveOpportunity: (body: AddOpportunityBody) => Promise<AxiosResponse<FetchResponse>>;
|
|
@@ -21,10 +21,6 @@ export type OpportunityRegisterActiveListOptions = {
|
|
|
21
21
|
statusOptions: Option[];
|
|
22
22
|
};
|
|
23
23
|
export type OpportunityRegisterClosedListOptions = OpportunityRegisterActiveListOptions;
|
|
24
|
-
export type OpportunityRegisterActiveDetail = OpportunityRegisterActiveList & {
|
|
25
|
-
proofDocument?: File;
|
|
26
|
-
note?: string;
|
|
27
|
-
};
|
|
28
24
|
export type OpportunityLogData = {
|
|
29
25
|
_id: string;
|
|
30
26
|
activity: string;
|