@epilot/message-client 1.0.1 → 1.1.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.
- package/dist/definition.js +1 -1
- package/dist/openapi.d.ts +41 -40
- package/dist/openapi.json +474 -577
- package/package.json +3 -2
- package/package-lock.json +0 -8358
package/dist/openapi.d.ts
CHANGED
|
@@ -36,6 +36,15 @@ declare namespace Components {
|
|
|
36
36
|
send_error?: {
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Message attachments
|
|
41
|
+
*/
|
|
42
|
+
export interface AttachmentsRelation {
|
|
43
|
+
/**
|
|
44
|
+
* It's normal entity relation with some additional properties for sending message attachment.
|
|
45
|
+
*/
|
|
46
|
+
$relation?: File[];
|
|
47
|
+
}
|
|
39
48
|
export interface BaseEntity {
|
|
40
49
|
/**
|
|
41
50
|
* Entity ID
|
|
@@ -81,49 +90,41 @@ declare namespace Components {
|
|
|
81
90
|
*/
|
|
82
91
|
_updated_at: string; // date-time
|
|
83
92
|
}
|
|
84
|
-
/**
|
|
85
|
-
* Message attachments
|
|
86
|
-
*/
|
|
87
93
|
export interface File {
|
|
88
94
|
/**
|
|
89
|
-
*
|
|
95
|
+
* File entity ID
|
|
96
|
+
* example:
|
|
97
|
+
* f820ce3b-07b0-45ae-bcc6-babb2f53f79f
|
|
90
98
|
*/
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\
|
|
122
|
-
* In this case, service doesn't process this attachment.
|
|
123
|
-
*
|
|
124
|
-
*/
|
|
125
|
-
send_as_link?: boolean;
|
|
126
|
-
}[];
|
|
99
|
+
entity_id: string;
|
|
100
|
+
/**
|
|
101
|
+
* File name
|
|
102
|
+
* example:
|
|
103
|
+
* Produktinformationen_epilot360_Double_Opt_in.pdf
|
|
104
|
+
*/
|
|
105
|
+
filename?: string;
|
|
106
|
+
/**
|
|
107
|
+
* To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation.
|
|
108
|
+
*/
|
|
109
|
+
is_message_attachment?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Content ID (for inline)
|
|
112
|
+
* example:
|
|
113
|
+
* fb222496-a1a5-4639-94f2-07b5e35e4068
|
|
114
|
+
*/
|
|
115
|
+
cid?: string;
|
|
116
|
+
/**
|
|
117
|
+
* If true then this attachment should not be offered for download (at least not in the main attachments list).\
|
|
118
|
+
* The usecase is CID embedded image (aka inline image).
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
inline?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\
|
|
124
|
+
* In this case, service doesn't process this attachment.
|
|
125
|
+
*
|
|
126
|
+
*/
|
|
127
|
+
send_as_link?: boolean;
|
|
127
128
|
}
|
|
128
129
|
export interface Message {
|
|
129
130
|
/**
|