@cinerino/sdk 15.0.0-alpha.16 → 15.0.0-alpha.18
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,8 +1,11 @@
|
|
|
1
1
|
import { factory } from '../factory';
|
|
2
2
|
import { Service } from '../service';
|
|
3
|
+
type IFindParams = Pick<factory.report.accountingReport.ISearchConditions, '$unwindAcceptedOffers' | 'limit' | 'order' | 'page'>;
|
|
4
|
+
type IReportAsFindResult = factory.report.accountingReport.IReport;
|
|
3
5
|
/**
|
|
4
6
|
* 経理レポートサービス
|
|
5
7
|
*/
|
|
6
8
|
export declare class AccountingReportService extends Service {
|
|
7
|
-
findAccountingReports(params:
|
|
9
|
+
findAccountingReports(params: IFindParams): Promise<IReportAsFindResult[]>;
|
|
8
10
|
}
|
|
11
|
+
export {};
|
|
@@ -24,7 +24,7 @@ export interface ISearchOrdersOptions {
|
|
|
24
24
|
/**
|
|
25
25
|
* 管理者による注文検索条件
|
|
26
26
|
*/
|
|
27
|
-
export type IFindParams = Pick<factory.order.ISearchConditions, 'confirmationNumbers' | '
|
|
27
|
+
export type IFindParams = Pick<factory.order.ISearchConditions, 'confirmationNumbers' | 'name' | 'orderDate' | 'orderNumbers' | 'orderStatuses' | 'sort'> & {
|
|
28
28
|
$projection?: IProjection;
|
|
29
29
|
$projectDisabled?: '1';
|
|
30
30
|
} & ISearchOrdersOptions & {
|
|
@@ -37,18 +37,46 @@ export type IFindParams = Pick<factory.order.ISearchConditions, 'confirmationNum
|
|
|
37
37
|
* min: 1
|
|
38
38
|
*/
|
|
39
39
|
page: number;
|
|
40
|
+
customer?: Pick<factory.order.ICustomerSearchConditions, 'email' | 'familyName' | 'givenName' | 'identifiers' | 'ids' | 'telephone'>;
|
|
41
|
+
/**
|
|
42
|
+
* 決済方法
|
|
43
|
+
*/
|
|
44
|
+
paymentMethods?: Pick<factory.order.IPaymentMethodsSearchConditions, 'accountIds' | 'additionalProperty' | 'paymentMethodIds'> & {
|
|
45
|
+
/**
|
|
46
|
+
* 決済方法区分コード
|
|
47
|
+
*/
|
|
48
|
+
typeOfs?: string[];
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* オファー
|
|
52
|
+
*/
|
|
40
53
|
acceptedOffers?: {
|
|
41
54
|
itemOffered?: {
|
|
42
55
|
/**
|
|
43
|
-
*
|
|
44
|
-
* 予約IDなど
|
|
56
|
+
* 予約ID
|
|
45
57
|
*/
|
|
46
58
|
ids?: string[];
|
|
47
59
|
/**
|
|
48
60
|
* 予約番号
|
|
49
61
|
*/
|
|
50
62
|
reservationNumbers?: string[];
|
|
51
|
-
reservationFor?: Pick<factory.order.IReservationForSearchConditions, 'ids' | 'location' | 'startFrom' | 'startThrough'
|
|
63
|
+
reservationFor?: Pick<factory.order.IReservationForSearchConditions, 'ids' | 'location' | 'startFrom' | 'startThrough'> & {
|
|
64
|
+
superEvent?: {
|
|
65
|
+
/**
|
|
66
|
+
* 施設コンテンツID
|
|
67
|
+
*/
|
|
68
|
+
ids?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* 施設
|
|
71
|
+
*/
|
|
72
|
+
location?: {
|
|
73
|
+
/**
|
|
74
|
+
* 施設コード
|
|
75
|
+
*/
|
|
76
|
+
branchCodes?: string[];
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
52
80
|
};
|
|
53
81
|
};
|
|
54
82
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "15.0.0-alpha.
|
|
3
|
+
"version": "15.0.0-alpha.18",
|
|
4
4
|
"description": "Cinerino SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"watchify": "3.11.1"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@chevre/factory": "8.1.0-alpha.
|
|
75
|
+
"@chevre/factory": "8.1.0-alpha.3",
|
|
76
76
|
"debug": "4.4.3",
|
|
77
77
|
"http-status": "2.1.0",
|
|
78
78
|
"idtoken-verifier": "2.2.4",
|