@chevre/factory 4.271.0 → 4.272.0-alpha.0
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.
- package/lib/invoice.d.ts +14 -12
- package/lib/invoice.js +0 -48
- package/lib/project.d.ts +0 -1
- package/package.json +1 -1
package/lib/invoice.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { IMonetaryAmount } from './monetaryAmount';
|
|
|
2
2
|
import * as OrderFactory from './order';
|
|
3
3
|
import { PaymentStatusType } from './paymentStatusType';
|
|
4
4
|
import * as PersonFactory from './person';
|
|
5
|
+
import { IAccounting } from './priceSpecification';
|
|
6
|
+
import { IPriceSpecification } from './reservation/event';
|
|
5
7
|
import * as SellerFactory from './seller';
|
|
6
8
|
import { PaymentServiceType } from './service/paymentService';
|
|
7
9
|
export declare type IBroker = SellerFactory.ISeller | PersonFactory.IPerson;
|
|
@@ -9,6 +11,17 @@ export declare type IProvider = SellerFactory.ISeller | PersonFactory.IPerson;
|
|
|
9
11
|
export interface IReferenceOrder extends OrderFactory.IOrder {
|
|
10
12
|
acceptedOffers: OrderFactory.IAcceptedOffer<OrderFactory.IItemOffered>[];
|
|
11
13
|
}
|
|
14
|
+
export declare type IReservationPriceAccounting = Pick<IAccounting, 'accountsReceivable'>;
|
|
15
|
+
export declare type IReservationPriceSpecification = Pick<IPriceSpecification, 'price' | 'typeOf'> & {
|
|
16
|
+
accounting: IReservationPriceAccounting;
|
|
17
|
+
};
|
|
18
|
+
export interface IReservation {
|
|
19
|
+
/**
|
|
20
|
+
* 予約価格
|
|
21
|
+
*/
|
|
22
|
+
price?: number;
|
|
23
|
+
priceSpecification: IReservationPriceSpecification;
|
|
24
|
+
}
|
|
12
25
|
export interface IMovieTicketAsPaymentServiceOutput {
|
|
13
26
|
/**
|
|
14
27
|
* 購入管理番号
|
|
@@ -17,12 +30,7 @@ export interface IMovieTicketAsPaymentServiceOutput {
|
|
|
17
30
|
/**
|
|
18
31
|
* 利用対象予約
|
|
19
32
|
*/
|
|
20
|
-
serviceOutput?:
|
|
21
|
-
/**
|
|
22
|
-
* 予約価格
|
|
23
|
-
*/
|
|
24
|
-
price?: number;
|
|
25
|
-
};
|
|
33
|
+
serviceOutput?: IReservation;
|
|
26
34
|
}
|
|
27
35
|
export declare type IPaymentServiceOutput = IMovieTicketAsPaymentServiceOutput[];
|
|
28
36
|
/**
|
|
@@ -104,9 +112,3 @@ export interface IInvoice {
|
|
|
104
112
|
*/
|
|
105
113
|
totalPaymentDue?: ITotalPaymentDue;
|
|
106
114
|
}
|
|
107
|
-
/**
|
|
108
|
-
* ソート条件インターフェース
|
|
109
|
-
*/
|
|
110
|
-
/**
|
|
111
|
-
* インボイス検索条件インターフェース
|
|
112
|
-
*/
|
package/lib/invoice.js
CHANGED
|
@@ -1,50 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/**
|
|
4
|
-
* ソート条件インターフェース
|
|
5
|
-
*/
|
|
6
|
-
// export interface ISortOrder {
|
|
7
|
-
// createdAt?: SortType;
|
|
8
|
-
// }
|
|
9
|
-
// export interface ICustomerSearchConditions {
|
|
10
|
-
// typeOf?: PersonType;
|
|
11
|
-
// ids?: string[];
|
|
12
|
-
// identifiers?: PersonFactory.IIdentifier;
|
|
13
|
-
// /**
|
|
14
|
-
// * メールアドレス
|
|
15
|
-
// */
|
|
16
|
-
// email?: string;
|
|
17
|
-
// /**
|
|
18
|
-
// * 電話番号
|
|
19
|
-
// */
|
|
20
|
-
// telephone?: string;
|
|
21
|
-
// memberOf?: {
|
|
22
|
-
// /**
|
|
23
|
-
// * 会員番号
|
|
24
|
-
// */
|
|
25
|
-
// membershipNumbers?: string[];
|
|
26
|
-
// };
|
|
27
|
-
// }
|
|
28
|
-
// export interface IReferencesOrderSearchConditions {
|
|
29
|
-
// orderNumbers?: string[];
|
|
30
|
-
// }
|
|
31
|
-
/**
|
|
32
|
-
* インボイス検索条件インターフェース
|
|
33
|
-
*/
|
|
34
|
-
// export interface ISearchConditions {
|
|
35
|
-
// limit?: number;
|
|
36
|
-
// page?: number;
|
|
37
|
-
// sort?: ISortOrder;
|
|
38
|
-
// project?: {
|
|
39
|
-
// id?: { $eq?: string };
|
|
40
|
-
// };
|
|
41
|
-
// createdFrom?: Date;
|
|
42
|
-
// createdThrough?: Date;
|
|
43
|
-
// accountIds?: string[];
|
|
44
|
-
// confirmationNumbers?: string[];
|
|
45
|
-
// customer?: ICustomerSearchConditions;
|
|
46
|
-
// paymentMethods?: string[];
|
|
47
|
-
// paymentMethodIds?: string[];
|
|
48
|
-
// paymentStatuses?: PaymentStatusType[];
|
|
49
|
-
// referencesOrder?: IReferencesOrderSearchConditions;
|
|
50
|
-
// }
|
package/lib/project.d.ts
CHANGED
|
@@ -46,7 +46,6 @@ export interface IWebhookSettings {
|
|
|
46
46
|
*/
|
|
47
47
|
export interface ISettings {
|
|
48
48
|
importEventsInWeeks?: number;
|
|
49
|
-
onPaymentStatusChanged?: IOnPaymentStatusChanged;
|
|
50
49
|
onReservationUsed?: IOnReservationUsed;
|
|
51
50
|
cognito?: ICognitoSettings;
|
|
52
51
|
onOrderStatusChanged?: IOnOrderStatusChanged;
|