@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.
@@ -21,7 +21,7 @@ export declare enum CategorySetIdentifier {
21
21
  */
22
22
  DistributorType = "DistributorType",
23
23
  /**
24
- * メンバーシップタイプ
24
+ * メンバーシップ区分
25
25
  */
26
26
  MembershipType = "MembershipType",
27
27
  /**
@@ -20,7 +20,7 @@ var CategorySetIdentifier;
20
20
  */
21
21
  CategorySetIdentifier["DistributorType"] = "DistributorType";
22
22
  /**
23
- * メンバーシップタイプ
23
+ * メンバーシップ区分
24
24
  */
25
25
  CategorySetIdentifier["MembershipType"] = "MembershipType";
26
26
  /**
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
  }
@@ -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<IPermit, 'typeOf'> & {
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<IPermit, 'typeOf'> & {
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<IPermit, 'typeOf'> & {
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
  }
@@ -91,7 +91,7 @@ export interface IInvoiceAsServiceOutput extends Pick<IInvoice, 'typeOf'> {
91
91
  paymentMethod?: IPaymentMethodAsServiceOutput;
92
92
  }
93
93
  /**
94
- * 出力されるメンバーシップ
94
+ * 出力メンバーシップ
95
95
  */
96
96
  export type IPermitAsServiceOutput = Pick<IPermit, 'typeOf'> & {
97
97
  /**
@@ -116,9 +116,12 @@ export type ICreateParams = Pick<IUnitPriceOffer, 'acceptedPaymentMethod' | 'eli
116
116
  * カテゴリー
117
117
  */
118
118
  category?: Pick<ICategory, 'codeValue'>;
119
- eligibleMembershipType?: Pick<IEligibleCategoryCode, 'codeValue'>[];
120
- eligibleMonetaryAmount?: Pick<IEligibleMonetaryAmount, 'currency' | 'value'>[];
121
- eligibleSeatingType?: Pick<IEligibleCategoryCode, 'codeValue'>[];
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.381.0-alpha.7",
3
+ "version": "4.381.0-alpha.8",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",