@chevre/factory 4.375.0-alpha.22 → 4.375.0-alpha.24

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 interface IPaymentService extends Pick<PayActionFactory.IPaymentService,
21
21
  typeOf: OrganizationType.Corporation;
22
22
  id: string;
23
23
  };
24
- movieTickets?: IMovieTicket[];
24
+ movieTickets: IMovieTicket[];
25
25
  paymentMethod: {
26
26
  /**
27
27
  * 決済方法区分
package/lib/project.d.ts CHANGED
@@ -75,7 +75,12 @@ export interface ISubscription {
75
75
  */
76
76
  useOfferCatalogItem?: boolean;
77
77
  }
78
- export type IHasMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'sameAs' | 'typeOf'>;
78
+ export type IHasMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'sameAs' | 'typeOf'> & {
79
+ /**
80
+ * ポリシー識別子(プロジェクト自動生成)
81
+ */
82
+ identifier?: string;
83
+ };
79
84
  export interface IMakesOffer extends Pick<IOffer, 'typeOf' | 'availableAtOrFrom'> {
80
85
  availableAtOrFrom: IAvailableAtOrFrom[];
81
86
  /**
package/lib/seller.d.ts CHANGED
@@ -11,6 +11,10 @@ import { SortType } from './sortType';
11
11
  import { UnitCode } from './unitCode';
12
12
  export type ISellerMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'itemCondition' | 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'url' | 'applicablePaymentMethod'> & {
13
13
  restockingFee: IRestockingFee;
14
+ /**
15
+ * ポリシー識別子(プロジェクト自動生成)
16
+ */
17
+ identifier?: string;
14
18
  };
15
19
  export type IHasMerchantReturnPolicy = ISellerMerchantReturnPolicy[];
16
20
  /**
@@ -1,8 +1,10 @@
1
- import { IAttributes as ICheckMovieTicketActionAttributes } from '../action/check/paymentMethod/movieTicket';
1
+ import { IAttributes as ICheckMovieTicketActionAttributes, IPurpose } from '../action/check/paymentMethod/movieTicket';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import * as TaskFactory from '../task';
4
4
  import { TaskName } from '../taskName';
5
- export type IData = ICheckMovieTicketActionAttributes;
5
+ export interface IData extends Pick<ICheckMovieTicketActionAttributes, 'agent' | 'object' | 'project' | 'purpose' | 'typeOf'> {
6
+ purpose: IPurpose;
7
+ }
6
8
  export interface IAttributes extends TaskFactory.IAttributes {
7
9
  name: TaskName.CheckMovieTicket;
8
10
  data: IData;
@@ -139,6 +139,7 @@ export interface IReturnFeesMovieTicket {
139
139
  export type IReturnPolicyItemCondition = IOfferItemCondition;
140
140
  /**
141
141
  * 取引に適用される返品ポリシー
142
+ * 販売者の返品ポリシー、あるいは、プロジェクトの返品ポリシーから選択される
142
143
  */
143
144
  export type IReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'returnFees' | 'applicablePaymentMethod'> & {
144
145
  returnFees: ReturnFeesEnumeration;
@@ -147,6 +148,10 @@ export type IReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantRetu
147
148
  */
148
149
  returnFeesMovieTicket?: IReturnFeesMovieTicket[];
149
150
  itemCondition?: IReturnPolicyItemCondition;
151
+ /**
152
+ * ポリシー識別子(プロジェクト自動生成)
153
+ */
154
+ identifier?: string;
150
155
  };
151
156
  /**
152
157
  * 取引対象物
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.375.0-alpha.22",
3
+ "version": "4.375.0-alpha.24",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",