@chevre/factory 4.393.0-alpha.36 → 4.393.0-alpha.38

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,7 +1,9 @@
1
1
  import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from '../../../../action';
2
2
  import { ICreativeWork as IEmailMessage } from '../../../../creativeWork/message/email';
3
3
  import { ISimpleOrder } from '../../../../order';
4
+ import { IRecipe, ISendMultipleArgs, ISendMultipleResult } from '../../../../recipe/sendEmailMessage';
4
5
  import * as SendActionFactory from '../../send';
6
+ export { IRecipe, ISendMultipleArgs, ISendMultipleResult };
5
7
  export type IAgent = IParticipantAsProject;
6
8
  export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
7
9
  export type IObjectAsEmailMessage = Pick<IEmailMessage, 'about' | 'identifier' | 'name' | 'sender' | 'text' | 'toRecipient' | 'typeOf'>;
@@ -0,0 +1,22 @@
1
+ import * as RecipeFactory from '../recipe';
2
+ export interface ISendMultipleArgs {
3
+ to?: any;
4
+ from?: any;
5
+ customArgs?: any;
6
+ }
7
+ export type ISendMultipleResult = any;
8
+ export interface IDirectionSendMultiple extends RecipeFactory.IHowToDirection {
9
+ beforeMedia?: ISendMultipleArgs;
10
+ afterMedia?: ISendMultipleResult;
11
+ }
12
+ export interface IStepSendMultiple extends RecipeFactory.IHowToStep {
13
+ identifier: RecipeFactory.StepIdentifier.sendMultiple;
14
+ itemListElement: [IDirectionSendMultiple];
15
+ }
16
+ export interface IHowToSection extends RecipeFactory.IHowToSection {
17
+ itemListElement: [IStepSendMultiple];
18
+ }
19
+ export interface IRecipe extends RecipeFactory.IRecipe {
20
+ recipeCategory: RecipeFactory.RecipeCategory.sendEmailMessage;
21
+ step: IHowToSection[];
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/lib/recipe.d.ts CHANGED
@@ -11,7 +11,8 @@ export declare enum RecipeCategory {
11
11
  confirmCOAReserve = "confirmCOAReserve",
12
12
  returnCOAReserve = "returnCOAReserve",
13
13
  authorizeInvoice = "authorizeInvoice",
14
- authorizeInvoice3ds = "authorizeInvoice3ds"
14
+ authorizeInvoice3ds = "authorizeInvoice3ds",
15
+ sendEmailMessage = "sendEmailMessage"
15
16
  }
16
17
  export declare enum StepIdentifier {
17
18
  entryTran = "entryTran",
@@ -26,7 +27,8 @@ export declare enum StepIdentifier {
26
27
  updReserve = "updReserve",
27
28
  stateReserve = "stateReserve",
28
29
  delReserve = "delReserve",
29
- delTmpReserve = "delTmpReserve"
30
+ delTmpReserve = "delTmpReserve",
31
+ sendMultiple = "sendMultiple"
30
32
  }
31
33
  export interface IHowToDirection {
32
34
  typeOf: 'HowToDirection';
package/lib/recipe.js CHANGED
@@ -15,6 +15,7 @@ var RecipeCategory;
15
15
  RecipeCategory["returnCOAReserve"] = "returnCOAReserve";
16
16
  RecipeCategory["authorizeInvoice"] = "authorizeInvoice";
17
17
  RecipeCategory["authorizeInvoice3ds"] = "authorizeInvoice3ds";
18
+ RecipeCategory["sendEmailMessage"] = "sendEmailMessage";
18
19
  })(RecipeCategory = exports.RecipeCategory || (exports.RecipeCategory = {}));
19
20
  var StepIdentifier;
20
21
  (function (StepIdentifier) {
@@ -31,4 +32,5 @@ var StepIdentifier;
31
32
  StepIdentifier["stateReserve"] = "stateReserve";
32
33
  StepIdentifier["delReserve"] = "delReserve";
33
34
  StepIdentifier["delTmpReserve"] = "delTmpReserve";
35
+ StepIdentifier["sendMultiple"] = "sendMultiple";
34
36
  })(StepIdentifier = exports.StepIdentifier || (exports.StepIdentifier = {}));
@@ -1,7 +1,6 @@
1
1
  import { IPurpose as IAuthorizePaymentPurpose } from '../action/authorize/paymentMethod/any';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { OrderStatus } from '../orderStatus';
4
- import { IProject } from '../project';
5
4
  import * as TaskFactory from '../task';
6
5
  import { TaskName } from '../taskName';
7
6
  export type IPurpose = IAuthorizePaymentPurpose & {
@@ -16,7 +15,6 @@ export interface IData {
16
15
  * 承認アクションID指定であれば、指定アクションのみ中止
17
16
  */
18
17
  id?: string;
19
- project: Pick<IProject, 'id' | 'typeOf'>;
20
18
  purpose: IPurpose;
21
19
  }
22
20
  export interface IAttributes extends TaskFactory.IAttributes {
@@ -1,7 +1,6 @@
1
1
  import { IPurpose as IAuthorizeEventServiceOfferPurpose } from '../action/authorize/offer/eventService';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { OrderStatus } from '../orderStatus';
4
- import { IProject } from '../project';
5
4
  import * as TaskFactory from '../task';
6
5
  import { TaskName } from '../taskName';
7
6
  export type IPurpose = IAuthorizeEventServiceOfferPurpose & {
@@ -16,7 +15,6 @@ export interface IData {
16
15
  * 承認アクションID指定であれば、指定アクションのみ中止
17
16
  */
18
17
  id?: string;
19
- project: Pick<IProject, 'id' | 'typeOf'>;
20
18
  purpose: IPurpose;
21
19
  }
22
20
  export interface IAttributes extends TaskFactory.IAttributes {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.393.0-alpha.36",
3
+ "version": "4.393.0-alpha.38",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",