@chevre/factory 4.381.0-alpha.7 → 4.381.0-alpha.8
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/categoryCode.d.ts +1 -1
- package/lib/categoryCode.js +1 -1
- package/lib/offer.d.ts +7 -7
- package/lib/priceSpecification.d.ts +3 -3
- package/lib/project.d.ts +1 -1
- package/lib/reservation.d.ts +4 -4
- package/lib/seller.d.ts +2 -2
- package/lib/service/paymentService.d.ts +1 -1
- package/lib/unitPriceOffer.d.ts +9 -6
- package/package.json +1 -1
package/lib/categoryCode.d.ts
CHANGED
package/lib/categoryCode.js
CHANGED
package/lib/offer.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type IEligibleMonetaryAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency
|
|
|
28
28
|
value: number;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 対象サブ予約条件
|
|
32
32
|
*/
|
|
33
33
|
export interface IEligibleSubReservation {
|
|
34
34
|
/**
|
|
@@ -37,7 +37,7 @@ export interface IEligibleSubReservation {
|
|
|
37
37
|
amountOfThisGood: number;
|
|
38
38
|
typeOfGood: {
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* 座席タイプ
|
|
41
41
|
*/
|
|
42
42
|
seatingType: string;
|
|
43
43
|
};
|
|
@@ -136,20 +136,20 @@ export interface IOffer extends Pick<IThing, 'name' | 'description' | 'alternate
|
|
|
136
136
|
*/
|
|
137
137
|
category?: ICategory;
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* 対象メンバーシップ区分
|
|
140
140
|
*/
|
|
141
141
|
eligibleMembershipType?: [IEligibleCategoryCode];
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* 対象座席タイプ
|
|
144
144
|
*/
|
|
145
145
|
eligibleSeatingType?: [IEligibleCategoryCode];
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* 対象金額
|
|
148
148
|
* 6ポイントで無料、などの設定に使用
|
|
149
149
|
*/
|
|
150
150
|
eligibleMonetaryAmount?: [IEligibleMonetaryAmount];
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* 対象サブ予約条件
|
|
153
153
|
*/
|
|
154
154
|
eligibleSubReservation?: [IEligibleSubReservation];
|
|
155
155
|
/**
|
|
@@ -157,7 +157,7 @@ export interface IOffer extends Pick<IThing, 'name' | 'description' | 'alternate
|
|
|
157
157
|
*/
|
|
158
158
|
eligibleDuration?: IQuantitativeValue<UnitCode.Sec>;
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
160
|
+
* 対象数量
|
|
161
161
|
*/
|
|
162
162
|
eligibleQuantity?: IEligibleQuantity;
|
|
163
163
|
/**
|
|
@@ -21,8 +21,8 @@ export interface IAccounting {
|
|
|
21
21
|
accountsReceivable?: number;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* n以上n
|
|
24
|
+
* 対象数量
|
|
25
|
+
* n以上n以下のアイテム数に対象する設定
|
|
26
26
|
*/
|
|
27
27
|
export type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode>, 'maxValue' | 'minValue' | 'typeOf' | 'unitCode'>;
|
|
28
28
|
export type IEligibleTransactionVolume = Pick<IPriceSpecification<PriceSpecificationType>, 'typeOf' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded'>;
|
|
@@ -35,7 +35,7 @@ export interface IPriceSpecification<T extends PriceSpecificationType> {
|
|
|
35
35
|
typeOf: T;
|
|
36
36
|
name?: string | IMultilingualString;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* 対象数量
|
|
39
39
|
*/
|
|
40
40
|
eligibleQuantity?: IEligibleQuantity;
|
|
41
41
|
eligibleTransactionVolume?: IEligibleTransactionVolume;
|
package/lib/project.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export type IHasMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'sameAs' | 't
|
|
|
82
82
|
export interface IMakesOffer extends Pick<IOffer, 'typeOf' | 'availableAtOrFrom'> {
|
|
83
83
|
availableAtOrFrom: IAvailableAtOrFrom[];
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* 対象カスタマータイプ
|
|
86
86
|
*/
|
|
87
87
|
eligibleCustomerType?: IBusinessEntityType[];
|
|
88
88
|
}
|
package/lib/reservation.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { IMultilingualString } from './multilingualString';
|
|
|
4
4
|
import * as OfferFactory from './offer';
|
|
5
5
|
import { OfferType } from './offerType';
|
|
6
6
|
import { OrganizationType } from './organizationType';
|
|
7
|
-
import { IPermit } from './permit';
|
|
8
7
|
import { PersonType } from './personType';
|
|
9
8
|
import * as MovieTheaterFactory from './place/movieTheater';
|
|
10
9
|
import * as ScreeningRoomFactory from './place/screeningRoom';
|
|
@@ -14,6 +13,7 @@ import { PriceCurrency } from './priceCurrency';
|
|
|
14
13
|
import { IPriceSpecification as IGenericPriceSpecification } from './priceSpecification';
|
|
15
14
|
import { PriceSpecificationType } from './priceSpecificationType';
|
|
16
15
|
import { IServiceType, ProductType } from './product';
|
|
16
|
+
import { IProgramMembership } from './programMembership';
|
|
17
17
|
import { IProject } from './project';
|
|
18
18
|
import { IPropertyValue } from './propertyValue';
|
|
19
19
|
import { ReservationStatusType } from './reservationStatusType';
|
|
@@ -162,14 +162,14 @@ export interface IBroker {
|
|
|
162
162
|
id: string;
|
|
163
163
|
name?: string;
|
|
164
164
|
}
|
|
165
|
-
export type IProgramMembershipIssuedThroughFaceToFace = Pick<
|
|
165
|
+
export type IProgramMembershipIssuedThroughFaceToFace = Pick<IProgramMembership, 'typeOf'> & {
|
|
166
166
|
identifier: string;
|
|
167
167
|
issuedThrough: {
|
|
168
168
|
serviceType: Pick<IServiceType, 'codeValue'>;
|
|
169
169
|
typeOf: PaymentServiceType.FaceToFace;
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
|
-
export type IProgramMembershipIssuedThroughCreditCard = Pick<
|
|
172
|
+
export type IProgramMembershipIssuedThroughCreditCard = Pick<IProgramMembership, 'typeOf'> & {
|
|
173
173
|
identifier: string;
|
|
174
174
|
issuedThrough: {
|
|
175
175
|
id: string;
|
|
@@ -177,7 +177,7 @@ export type IProgramMembershipIssuedThroughCreditCard = Pick<IPermit, 'typeOf'>
|
|
|
177
177
|
typeOf: PaymentServiceType.CreditCard;
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
|
-
export type IProgramMembershipIssuedThroughMembershipService = Pick<
|
|
180
|
+
export type IProgramMembershipIssuedThroughMembershipService = Pick<IProgramMembership, 'typeOf'> & {
|
|
181
181
|
identifier: string;
|
|
182
182
|
issuedThrough: {
|
|
183
183
|
id: string;
|
package/lib/seller.d.ts
CHANGED
|
@@ -30,11 +30,11 @@ export type IEligibleTransactionDuration = Pick<IQuantitativeValue<UnitCode.Sec>
|
|
|
30
30
|
export interface IMakesOffer extends Pick<IOffer, 'typeOf' | 'availableAtOrFrom'> {
|
|
31
31
|
availableAtOrFrom: IAvailableAtOrFrom[];
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* 対象カスタマータイプ
|
|
34
34
|
*/
|
|
35
35
|
eligibleCustomerType?: IBusinessEntityType[];
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 対象取引期間
|
|
38
38
|
*/
|
|
39
39
|
eligibleTransactionDuration: IEligibleTransactionDuration;
|
|
40
40
|
}
|
package/lib/unitPriceOffer.d.ts
CHANGED
|
@@ -116,9 +116,12 @@ export type ICreateParams = Pick<IUnitPriceOffer, 'acceptedPaymentMethod' | 'eli
|
|
|
116
116
|
* カテゴリー
|
|
117
117
|
*/
|
|
118
118
|
category?: Pick<ICategory, 'codeValue'>;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
/**
|
|
120
|
+
* 対象メンバーシップ
|
|
121
|
+
*/
|
|
122
|
+
eligibleMembershipType?: [Pick<IEligibleCategoryCode, 'codeValue'>];
|
|
123
|
+
eligibleMonetaryAmount?: [Pick<IEligibleMonetaryAmount, 'currency' | 'value'>];
|
|
124
|
+
eligibleSeatingType?: [Pick<IEligibleCategoryCode, 'codeValue'>];
|
|
122
125
|
/**
|
|
123
126
|
* 返品ポリシー
|
|
124
127
|
*/
|
|
@@ -236,7 +239,7 @@ export interface ISearchConditions {
|
|
|
236
239
|
};
|
|
237
240
|
eligibleMembershipType?: {
|
|
238
241
|
/**
|
|
239
|
-
*
|
|
242
|
+
* 対象メンバーシップ区分
|
|
240
243
|
*/
|
|
241
244
|
codeValue?: {
|
|
242
245
|
$eq?: string;
|
|
@@ -244,7 +247,7 @@ export interface ISearchConditions {
|
|
|
244
247
|
};
|
|
245
248
|
eligibleMonetaryAmount?: {
|
|
246
249
|
/**
|
|
247
|
-
*
|
|
250
|
+
* 対象通貨区分
|
|
248
251
|
*/
|
|
249
252
|
currency?: {
|
|
250
253
|
$eq?: string;
|
|
@@ -252,7 +255,7 @@ export interface ISearchConditions {
|
|
|
252
255
|
};
|
|
253
256
|
eligibleSeatingType?: {
|
|
254
257
|
/**
|
|
255
|
-
*
|
|
258
|
+
* 対象座席区分
|
|
256
259
|
*/
|
|
257
260
|
codeValue?: {
|
|
258
261
|
$eq?: string;
|