@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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type
|
|
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
|
}
|
package/lib/product.d.ts
CHANGED