@chevre/factory 4.368.0 → 4.369.0-alpha.1

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.
@@ -4,12 +4,16 @@ import { ISimpleOrder } from '../../../../order';
4
4
  import * as SendActionFactory from '../../send';
5
5
  export type IAgent = IParticipantAsProject;
6
6
  export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
7
- /**
8
- * オブジェクト
9
- * 「Eメール通知」を送信する
10
- */
11
- export type IObject = IEmailMessage;
12
- export type IResult = any;
7
+ export type IObjectAsEmailMessage = Pick<IEmailMessage, 'about' | 'identifier' | 'name' | 'sender' | 'text' | 'toRecipient' | 'typeOf'>;
8
+ export type IOptimizedObject = Pick<IEmailMessage, 'identifier' | 'typeOf'> & {
9
+ identifier: string;
10
+ text?: never;
11
+ };
12
+ export type IObject = IObjectAsEmailMessage | IOptimizedObject;
13
+ export interface IResult {
14
+ statusCode?: number;
15
+ statusMessage?: string;
16
+ }
13
17
  export type IPurpose = ISimpleOrder;
14
18
  export interface IPotentialActions {
15
19
  }
@@ -28,6 +28,8 @@ export interface ICreativeWork extends Pick<CreativeWorkFactory.ICreativeWork, '
28
28
  toRecipient: IParticipant[];
29
29
  about: IAbout;
30
30
  text: string;
31
+ name?: string;
32
+ identifier?: string;
31
33
  }
32
34
  export interface ICustomizedParticipant {
33
35
  name?: string;
package/lib/product.d.ts CHANGED
@@ -58,6 +58,7 @@ export interface ICredentials {
58
58
  authorizeServerDomain?: string;
59
59
  clientId?: string;
60
60
  clientSecret?: string;
61
+ useSeatInfoSyncCancel?: boolean;
61
62
  }
62
63
  export interface IAvailableChannel {
63
64
  typeOf: 'ServiceChannel';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.368.0",
3
+ "version": "4.369.0-alpha.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",