@tagsamurai/fats-api-services 1.0.3-alpha.50 → 1.0.3-alpha.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.3-alpha.50",
3
+ "version": "1.0.3-alpha.52",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -8,3 +8,7 @@ export type GetOpportunityRegisterActiveListQueryParams = TableParams & {
8
8
  export type GetOpportunityRegisterClosedListQueryParams = GetOpportunityRegisterActiveListQueryParams & {
9
9
  completedDate?: number[];
10
10
  };
11
+ export type GetOpportunityRegisterActiveListOptionsQueryParams = {
12
+ picOptions: boolean;
13
+ };
14
+ export type GetOpportunityRegisterClosedListOptionsQueryParams = GetOpportunityRegisterActiveListOptionsQueryParams;
@@ -1,9 +1,11 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import { GetOpportunityRegisterActiveListQueryParams, GetOpportunityRegisterClosedListQueryParams } from '../dto/opportunityRegister.dto';
3
- import { FetchListResponse } from '../types/fetchResponse.type';
4
- import { OpportunityRegisterActiveList, OpportunityRegisterClosedList } from '../types/opportunityRegister.type';
2
+ import { GetOpportunityRegisterActiveListOptionsQueryParams, GetOpportunityRegisterActiveListQueryParams, GetOpportunityRegisterClosedListOptionsQueryParams, GetOpportunityRegisterClosedListQueryParams } from '../dto/opportunityRegister.dto';
3
+ import { FetchDetailResponse, FetchListResponse } from '../types/fetchResponse.type';
4
+ import { OpportunityRegisterActiveList, OpportunityRegisterActiveListOptions, OpportunityRegisterClosedList, OpportunityRegisterClosedListOptions } from '../types/opportunityRegister.type';
5
5
  declare const OpportunityRegisterServices: {
6
6
  getOpportunityRegisterActiveList: (params: GetOpportunityRegisterActiveListQueryParams) => Promise<AxiosResponse<FetchListResponse<OpportunityRegisterActiveList>>>;
7
+ getOpportunityRegisterActiveListOptions: (params: GetOpportunityRegisterActiveListOptionsQueryParams) => Promise<AxiosResponse<FetchDetailResponse<OpportunityRegisterActiveListOptions>>>;
7
8
  getOpportunityRegisterClosedListList: (params: GetOpportunityRegisterClosedListQueryParams) => Promise<AxiosResponse<FetchListResponse<OpportunityRegisterClosedList>>>;
9
+ getOpportunityRegisterClosedListOptions: (params: GetOpportunityRegisterClosedListOptionsQueryParams) => Promise<AxiosResponse<FetchDetailResponse<OpportunityRegisterClosedListOptions>>>;
8
10
  };
9
11
  export default OpportunityRegisterServices;
@@ -10,7 +10,7 @@ declare const RiskRegisterServices: {
10
10
  postRisk: (data: RiskForm) => Promise<AxiosResponse<FetchResponse>>;
11
11
  editRisk: (data: RiskForm) => Promise<AxiosResponse<FetchResponse>>;
12
12
  cancelRisk: (id: string, data: CancelForm) => Promise<AxiosResponse<FetchResponse>>;
13
- verifyRisk: (id: string, data: RiskForm) => Promise<AxiosResponse<FetchResponse>>;
14
- reopenRisk: (id: string, data: RiskForm) => Promise<AxiosResponse<FetchResponse>>;
13
+ verifyRisk: (id: string, data: RiskReview) => Promise<AxiosResponse<FetchResponse>>;
14
+ reopenRisk: (id: string, data: RiskReview) => Promise<AxiosResponse<FetchResponse>>;
15
15
  };
16
16
  export default RiskRegisterServices;
@@ -15,3 +15,4 @@ export type OpportunityRegisterClosedList = OpportunityRegisterActiveList & {
15
15
  export type OpportunityRegisterActiveListOptions = {
16
16
  picOptions: Option[];
17
17
  };
18
+ export type OpportunityRegisterClosedListOptions = OpportunityRegisterActiveListOptions;