@chevre/factory 4.270.0-alpha.0 → 4.270.0-alpha.1

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,6 @@
1
1
  import { IExtendId } from '../autoGenerated';
2
2
  import { OrganizationType } from '../organizationType';
3
+ import { SortType } from '../sortType';
3
4
  import { TransactionStatusType } from '../transactionStatusType';
4
5
  import { TransactionTasksExportationStatus } from '../transactionTasksExportationStatus';
5
6
  import * as MoneyTransferActionFactory from './action/moneyTransfer';
@@ -115,3 +116,44 @@ export declare type IAttributes<TStartParams> = TStartParams & {
115
116
  * 口座取引
116
117
  */
117
118
  export declare type ITransaction<TStartParams> = IExtendId<IAttributes<TStartParams>>;
119
+ export interface ISortOrder {
120
+ startDate?: SortType;
121
+ }
122
+ export interface ISearchConditions {
123
+ limit?: number;
124
+ page?: number;
125
+ sort?: ISortOrder;
126
+ project?: {
127
+ id?: {
128
+ $eq?: string;
129
+ };
130
+ };
131
+ typeOf?: {
132
+ $eq?: AccountTransactionType;
133
+ };
134
+ status?: {
135
+ $in: TransactionStatusType[];
136
+ };
137
+ startDate?: {
138
+ $gte?: Date;
139
+ $lte?: Date;
140
+ };
141
+ identifier?: {
142
+ $eq?: string;
143
+ };
144
+ transactionNumber?: {
145
+ $eq?: string;
146
+ };
147
+ object?: {
148
+ fromLocation?: {
149
+ accountNumber?: {
150
+ $eq?: string;
151
+ };
152
+ };
153
+ toLocation?: {
154
+ accountNumber?: {
155
+ $eq?: string;
156
+ };
157
+ };
158
+ };
159
+ }
package/lib/account.d.ts CHANGED
@@ -28,6 +28,7 @@ export declare namespace transaction {
28
28
  export import IRecipient = TransactionFactory.IRecipient;
29
29
  export import IPotentialActions = TransactionFactory.IPotentialActions;
30
30
  export import IResult = TransactionFactory.IResult;
31
+ type ISearchConditions = TransactionFactory.ISearchConditions;
31
32
  type IStartParamsWithoutDetail<T extends AccountTransactionType> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.IStartParamsWithoutDetail : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.IStartParamsWithoutDetail : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.IStartParamsWithoutDetail : never;
32
33
  type IStartParams<T extends AccountTransactionType> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.IStartParams : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.IStartParams : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.IStartParams : never;
33
34
  type IAttributes<T> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.IAttributes : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.IAttributes : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.IAttributes : never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.270.0-alpha.0",
3
+ "version": "4.270.0-alpha.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",