@freelog/tools-lib 0.1.184 → 0.1.186

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.
@@ -17,6 +17,7 @@ import * as Policy from './policies';
17
17
  import * as recombination from './recombinations';
18
18
  import * as Operation from './operation';
19
19
  import * as ResourceType from './resourceType';
20
+ import * as Payment from './payment';
20
21
  declare const FServiceAPI: {
21
22
  Node: typeof Node;
22
23
  Exhibit: typeof Exhibit;
@@ -37,5 +38,6 @@ declare const FServiceAPI: {
37
38
  recombination: typeof recombination;
38
39
  Operation: typeof Operation;
39
40
  ResourceType: typeof ResourceType;
41
+ Payment: typeof Payment;
40
42
  };
41
43
  export default FServiceAPI;
@@ -0,0 +1,35 @@
1
+ import { AxiosRequestConfig } from 'axios';
2
+ interface UploadIDCardParamsType {
3
+ file: File;
4
+ }
5
+ export declare function uploadIDCard(params: UploadIDCardParamsType, config?: AxiosRequestConfig): Promise<any>;
6
+ interface OpenFinancialAccountParamsType {
7
+ accountType: 1 | 2;
8
+ ownerId: number;
9
+ certType: '00';
10
+ certNo: string;
11
+ name: string;
12
+ certValidityType: 0 | 1;
13
+ certBeginDate: string;
14
+ certEndDate?: string;
15
+ mobile: string;
16
+ certImagePaths: string[];
17
+ }
18
+ export declare function openFinancialAccount(params: OpenFinancialAccountParamsType, config?: AxiosRequestConfig): Promise<any>;
19
+ interface BindWithdrawCardParamsType {
20
+ accountId: string;
21
+ cardType: 0 | 1 | 2 | 4;
22
+ bankName: string;
23
+ cardName: string;
24
+ cardNo: string;
25
+ provId: string;
26
+ areaId: string;
27
+ branchCode?: string;
28
+ }
29
+ export declare function bindWithdrawCard({ accountId, ...params }: BindWithdrawCardParamsType, config?: AxiosRequestConfig): Promise<any>;
30
+ interface QueryFinancialAccountInfoParamsType {
31
+ accountType: 1 | 2;
32
+ ownerId: number;
33
+ }
34
+ export declare function queryFinancialAccountInfo(params: QueryFinancialAccountInfoParamsType, config?: AxiosRequestConfig): Promise<any>;
35
+ export {};
@@ -15,6 +15,15 @@ export declare function policiesList(params: PoliciesListParamsType): Promise<an
15
15
  interface PolicyTemplatesParamsType {
16
16
  }
17
17
  export declare function policyTemplates(params?: PolicyTemplatesParamsType): Promise<any>;
18
+ interface PolicyReCompileParamsType {
19
+ _id?: string;
20
+ contract?: string;
21
+ fillArgs: {
22
+ name: string;
23
+ value: string | number;
24
+ }[];
25
+ }
26
+ export declare function policyReCompile(data: PolicyReCompileParamsType): Promise<any>;
18
27
  interface PolicyTranslationParamsType {
19
28
  contract: string;
20
29
  }
@@ -343,7 +343,7 @@ interface ResourceTypesParamsType {
343
343
  }
344
344
  export declare function resourceTypes({ ...params }?: ResourceTypesParamsType): Promise<any>;
345
345
  interface ListSimpleByParentCodeParamsType {
346
- parentCode: string;
346
+ parentCode?: string;
347
347
  name?: string;
348
348
  category?: 1 | 2;
349
349
  excludeParentCode?: boolean;