@cinerino/sdk 18.3.0-alpha.4 → 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.
@@ -8,9 +8,9 @@ import { Service } from '../service';
8
8
  export declare class EventService extends Service {
9
9
  /**
10
10
  * イベント検索
11
- * @deprecated use findSubEvents
11
+ * @deprecated use findSubEvents(2026-10-14~)
12
12
  */
13
- projectFields(params: IFindParamsLegacy): Promise<factory.event.screeningEvent.IEvent[]>;
13
+ projectFieldsDeprecated(params: IFindParamsLegacy): Promise<factory.event.screeningEvent.IEvent[]>;
14
14
  /**
15
15
  * イベント検索
16
16
  */
@@ -9,9 +9,9 @@ const service_1 = require("../service");
9
9
  class EventService extends service_1.Service {
10
10
  /**
11
11
  * イベント検索
12
- * @deprecated use findSubEvents
12
+ * @deprecated use findSubEvents(2026-10-14~)
13
13
  */
14
- async projectFields(params) {
14
+ async projectFieldsDeprecated(params) {
15
15
  return this.fetch({
16
16
  uri: '/events',
17
17
  method: 'GET',
@@ -28,7 +28,8 @@ class EventService extends service_1.Service {
28
28
  uri: '/subEvents',
29
29
  method: 'GET',
30
30
  qs: params,
31
- expectedStatusCodes: [http_status_1.status.OK]
31
+ expectedStatusCodes: [http_status_1.status.OK],
32
+ stringifyOptions: { arrayFormat: 'repeat' }
32
33
  })
33
34
  .then(async (response) => response.json());
34
35
  }
@@ -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: factory.accountTitle.IAccountTitle): Promise<factory.accountTitle.IAccountTitle>;
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: factory.accountTitle.IAccountTitle[];
30
+ data: IAccountTitleCategory[];
16
31
  }>;
17
32
  /**
18
33
  * 科目分類更新
19
34
  */
20
- updateAccounTitleCategory(params: factory.accountTitle.IAccountTitle): Promise<void>;
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: factory.accountTitle.IAccountTitle): Promise<factory.accountTitle.IAccountTitle>;
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: factory.accountTitle.IAccountTitle[];
51
+ data: Pick<IAccountTitleSet, 'codeValue' | 'inCodeSet' | 'name'>[];
37
52
  }>;
38
53
  /**
39
54
  * 科目更新
40
55
  */
41
- updateAccounTitleSet(params: factory.accountTitle.IAccountTitle): Promise<void>;
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: factory.accountTitle.IAccountTitle): Promise<factory.accountTitle.IAccountTitle>;
70
+ create(params: ISavingAccountTitle): Promise<IAccountTitle>;
56
71
  /**
57
72
  * 細目更新
58
73
  */
59
- update(params: factory.accountTitle.IAccountTitle): Promise<void>;
74
+ update(params: ISavingAccountTitle): Promise<void>;
60
75
  /**
61
76
  * 細目検索
62
77
  */
63
78
  search(params: Omit<factory.accountTitle.ISearchConditions, 'project'>): Promise<{
64
- data: factory.accountTitle.IAccountTitle[];
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 {};