@cinerino/sdk 18.3.0-alpha.5 → 18.3.0-alpha.6
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.
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { factory } from '../factory';
|
|
2
2
|
import { Service } from '../service';
|
|
3
|
+
type IAccountTitleCategory = Pick<factory.accountTitle.IAccountTitle, 'codeValue' | 'name' | 'project' | 'typeOf'> & {
|
|
4
|
+
additionalProperty?: never;
|
|
5
|
+
};
|
|
6
|
+
type IAccountTitleSet = Pick<factory.accountTitle.IAccountTitle, 'codeValue' | 'name' | 'project' | 'typeOf' | 'inCodeSet'> & {
|
|
7
|
+
additionalProperty?: never;
|
|
8
|
+
};
|
|
9
|
+
type IAccountTitle = Pick<factory.accountTitle.IAccountTitle, 'additionalProperty' | 'codeValue' | 'name' | 'project' | 'typeOf' | 'inCodeSet'>;
|
|
10
|
+
type ISavingAccountTitle = Pick<IAccountTitle, 'additionalProperty' | 'codeValue' | 'name'> & {
|
|
11
|
+
inCodeSet: {
|
|
12
|
+
codeValue: string;
|
|
13
|
+
inCodeSet: {
|
|
14
|
+
codeValue: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
3
18
|
/**
|
|
4
19
|
* 勘定科目サービス
|
|
5
20
|
*/
|
|
@@ -7,17 +22,17 @@ export declare class AccountTitleService extends Service {
|
|
|
7
22
|
/**
|
|
8
23
|
* 科目分類作成
|
|
9
24
|
*/
|
|
10
|
-
createAccounTitleCategory(params:
|
|
25
|
+
createAccounTitleCategory(params: Pick<IAccountTitleCategory, 'codeValue' | 'name'>): Promise<IAccountTitleCategory>;
|
|
11
26
|
/**
|
|
12
27
|
* 科目分類検索
|
|
13
28
|
*/
|
|
14
29
|
searchAccountTitleCategories(params: factory.accountTitle.ISearchConditions): Promise<{
|
|
15
|
-
data:
|
|
30
|
+
data: IAccountTitleCategory[];
|
|
16
31
|
}>;
|
|
17
32
|
/**
|
|
18
33
|
* 科目分類更新
|
|
19
34
|
*/
|
|
20
|
-
updateAccounTitleCategory(params:
|
|
35
|
+
updateAccounTitleCategory(params: Pick<IAccountTitleCategory, 'codeValue' | 'name'>): Promise<void>;
|
|
21
36
|
/**
|
|
22
37
|
* 科目分類削除
|
|
23
38
|
* 不可逆的な物理削除です
|
|
@@ -28,17 +43,17 @@ export declare class AccountTitleService extends Service {
|
|
|
28
43
|
/**
|
|
29
44
|
* 科目追加
|
|
30
45
|
*/
|
|
31
|
-
createAccounTitleSet(params:
|
|
46
|
+
createAccounTitleSet(params: Pick<IAccountTitleSet, 'codeValue' | 'name' | 'inCodeSet'>): Promise<Pick<IAccountTitleSet, 'codeValue'>>;
|
|
32
47
|
/**
|
|
33
48
|
* 科目検索
|
|
34
49
|
*/
|
|
35
50
|
searchAccountTitleSets(params: factory.accountTitle.ISearchConditions): Promise<{
|
|
36
|
-
data:
|
|
51
|
+
data: Pick<IAccountTitleSet, 'codeValue' | 'inCodeSet' | 'name'>[];
|
|
37
52
|
}>;
|
|
38
53
|
/**
|
|
39
54
|
* 科目更新
|
|
40
55
|
*/
|
|
41
|
-
updateAccounTitleSet(params:
|
|
56
|
+
updateAccounTitleSet(params: Pick<IAccountTitleSet, 'codeValue' | 'name' | 'inCodeSet'>): Promise<void>;
|
|
42
57
|
/**
|
|
43
58
|
* 科目削除
|
|
44
59
|
* 不可逆的な物理削除です
|
|
@@ -52,16 +67,16 @@ export declare class AccountTitleService extends Service {
|
|
|
52
67
|
/**
|
|
53
68
|
* 細目追加
|
|
54
69
|
*/
|
|
55
|
-
create(params:
|
|
70
|
+
create(params: ISavingAccountTitle): Promise<IAccountTitle>;
|
|
56
71
|
/**
|
|
57
72
|
* 細目更新
|
|
58
73
|
*/
|
|
59
|
-
update(params:
|
|
74
|
+
update(params: ISavingAccountTitle): Promise<void>;
|
|
60
75
|
/**
|
|
61
76
|
* 細目検索
|
|
62
77
|
*/
|
|
63
78
|
search(params: Omit<factory.accountTitle.ISearchConditions, 'project'>): Promise<{
|
|
64
|
-
data:
|
|
79
|
+
data: IAccountTitle[];
|
|
65
80
|
}>;
|
|
66
81
|
/**
|
|
67
82
|
* 細目削除
|
|
@@ -77,3 +92,4 @@ export declare class AccountTitleService extends Service {
|
|
|
77
92
|
};
|
|
78
93
|
}): Promise<void>;
|
|
79
94
|
}
|
|
95
|
+
export {};
|