@chevre/factory 4.374.0-alpha.21 → 4.374.0-alpha.23

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.
@@ -1,5 +1,6 @@
1
1
  import * as ActionFactory from '../../action';
2
2
  import { ActionType } from '../../actionType';
3
+ import { AssetTransactionType } from '../../assetTransactionType';
3
4
  import { IInvoice } from '../../invoice';
4
5
  import { IEntryTranArgs, IEntryTranResult, IExecTranArgs, IExecTranResult, IRecipe as IAuthorizeInvoiceRecipe } from '../../recipe/authorizeInvoice';
5
6
  import { IRecipe as IAuthorizeInvoice3dsRecipe, ISecureTran2Args, ISecureTran2Result } from '../../recipe/authorizeInvoice3ds';
@@ -9,10 +10,14 @@ export type IAgent = ActionFactory.IParticipantAsProject;
9
10
  export type IObject = Pick<IInvoice, 'paymentMethodId' | 'typeOf'>;
10
11
  export interface IResult {
11
12
  }
12
- export interface IAttributes extends Pick<AuthorizeActionFactory.IAttributes<IObject, IResult>, 'agent' | 'error' | 'object' | 'result' | 'project' | 'typeOf'> {
13
+ export interface ISameAs extends ActionFactory.ISameAs {
14
+ typeOf: AssetTransactionType.Pay;
15
+ }
16
+ export interface IAttributes extends Pick<AuthorizeActionFactory.IAttributes<IObject, IResult>, 'agent' | 'error' | 'object' | 'result' | 'project' | 'typeOf' | 'sameAs'> {
13
17
  typeOf: ActionType.AuthorizeAction;
14
18
  object: IObject;
15
19
  agent: IAgent;
20
+ sameAs: ISameAs;
16
21
  }
17
22
  /**
18
23
  * 請求承認アクション
package/lib/action.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { ActionStatusType } from './actionStatusType';
2
2
  import { ActionType } from './actionType';
3
+ import { AssetTransactionType } from './assetTransactionType';
3
4
  import { IExtendId } from './autoGenerated';
4
5
  import { CreativeWorkType } from './creativeWorkType';
5
6
  import { OrganizationType } from './organizationType';
@@ -47,10 +48,10 @@ export interface IPurpose {
47
48
  }
48
49
  export interface ISameAs {
49
50
  /**
50
- * タスクID
51
+ * タスクID or 資産取引ID
51
52
  */
52
53
  id: string;
53
- typeOf: 'Task';
54
+ typeOf: 'Task' | AssetTransactionType.Pay;
54
55
  }
55
56
  /**
56
57
  * アクション属性
@@ -20,7 +20,6 @@ export interface IData {
20
20
  * アクション失敗時に即時に決済取引を中止するかどうか
21
21
  */
22
22
  useCancelPayTransactionOnFailed: boolean;
23
- useCheckMovieTicketBeforePay: boolean;
24
23
  useCheckByIdentifierIfNotYet: boolean;
25
24
  useUnlockTransactionProcess: boolean;
26
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.374.0-alpha.21",
3
+ "version": "4.374.0-alpha.23",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -56,7 +56,7 @@
56
56
  "@aws-sdk/client-cognito-identity-provider": "3.438.0",
57
57
  "@motionpicture/coa-service": "9.4.0",
58
58
  "@motionpicture/gmo-service": "5.3.0",
59
- "@surfrock/sdk": "1.3.0-alpha.2",
59
+ "@surfrock/sdk": "1.3.0",
60
60
  "@waiter/factory": "2.2.0",
61
61
  "setprototypeof": "1.2.0"
62
62
  },