@chevre/factory 8.2.0-alpha.8 → 8.2.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.
@@ -352,16 +352,9 @@ export interface IOrder extends ISimpleOrder {
352
352
  * Date order was returned.
353
353
  */
354
354
  dateReturned?: Date;
355
- /**
356
- * The identifier property represents any kind of identifier for any kind of Thing
357
- */
358
- identifier?: IIdentifier;
359
- /**
360
- * Was the offer accepted as a gift for someone other than the buyer.
361
- */
362
- isGift?: boolean;
363
355
  /**
364
356
  * 注文名称
357
+ * 注文作成後に管理者によって編集可能
365
358
  */
366
359
  name?: string;
367
360
  orderedItem?: IOrderedItem[];
@@ -391,11 +384,6 @@ export interface IOrder extends ISimpleOrder {
391
384
  * The party taking the order (e.g. Amazon.com is a merchant for many sellers). Also accepts a string (e.g. "Amazon.com").
392
385
  */
393
386
  seller: ISeller;
394
- /**
395
- * URL (recommended for confirmation cards/ Search Answers)
396
- * URL of the Order, typically a link to the merchant's website where the user can retrieve further details about an order.
397
- */
398
- url?: string;
399
387
  }
400
388
  /**
401
389
  * ソート条件
@@ -2,7 +2,7 @@ import { IAttributes as ISendEmailMessageActionAttributes } from '../action/tran
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { IClientUser } from '../clientUser';
4
4
  import { CreativeWorkType } from '../creativeWorkType';
5
- import { ICustomer as IOrderCustomer, IBroker, IIdentifier as IOrderIdentifier, ISeller as IOrderSeller, IOrder } from '../order';
5
+ import { ICustomer as IOrderCustomer, IBroker, ISeller as IOrderSeller, IOrder } from '../order';
6
6
  import { IProject } from '../project';
7
7
  import { IAgent as IBaseAgent, IPassportBeforeStart, ISeller as IBaseSeller, ISearchConditions as IBaseSearchConditions, ISendEmailMessageParams, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../transaction';
8
8
  import { TransactionType } from '../transactionType';
@@ -31,6 +31,10 @@ export interface IPaymentMethodByPaymentUrl {
31
31
  export interface IObject {
32
32
  broker?: Pick<IBroker, 'id' | 'typeOf'>;
33
33
  customer?: ICustomerInObject;
34
+ /**
35
+ * passportによって決定するカスタマータイプ
36
+ */
37
+ customerType?: string;
34
38
  /**
35
39
  * 確認番号
36
40
  */
@@ -39,14 +43,11 @@ export interface IObject {
39
43
  * 注文番号
40
44
  */
41
45
  orderNumber?: string;
42
- /**
43
- * 注文名称
44
- */
45
- name?: string;
46
46
  /**
47
47
  * 決済URLでの決済情報
48
48
  */
49
49
  paymentMethods?: IPaymentMethodByPaymentUrl;
50
+ name?: never;
50
51
  identifier?: never;
51
52
  clientUser?: never;
52
53
  passport?: never;
@@ -62,10 +63,7 @@ export interface IStartParamsWithoutDetail {
62
63
  clientUser?: IClientUserBeforeStart;
63
64
  customer?: ICustomerInObject;
64
65
  passport?: IPassportBeforeStart;
65
- /**
66
- * 注文名称
67
- */
68
- name?: string;
66
+ name?: never;
69
67
  };
70
68
  }
71
69
  export type ISeller = IBaseSeller & Pick<IOrderSeller, 'additionalProperty'>;
@@ -105,14 +103,8 @@ export interface IPotentialActionsParams {
105
103
  * 取引結果の注文パラメータ
106
104
  */
107
105
  export interface IResultOrderParams {
108
- /**
109
- * 注文識別子指定
110
- */
111
- identifier?: IOrderIdentifier;
112
- /**
113
- * 注文確認URLのカスタム指定
114
- */
115
- url?: string;
106
+ identifier?: never;
107
+ url?: never;
116
108
  }
117
109
  /**
118
110
  * 取引結果パラメータ
@@ -140,7 +132,10 @@ export interface IConfirmParams {
140
132
  */
141
133
  result?: IResultParams;
142
134
  }
143
- export type IOrderAsResult = Pick<IOrder, 'confirmationNumber' | 'identifier' | 'orderDate' | 'orderNumber' | 'orderStatus' | 'price' | 'priceCurrency' | 'typeOf' | 'url'> & {};
135
+ export type IOrderAsResult = Pick<IOrder, 'confirmationNumber' | 'orderDate' | 'orderNumber' | 'orderStatus' | 'price' | 'priceCurrency' | 'typeOf'> & {
136
+ identifier?: never;
137
+ url?: never;
138
+ };
144
139
  export interface IAuthorizeActionAsResult {
145
140
  id: string;
146
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "8.2.0-alpha.8",
3
+ "version": "8.2.0",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [