@zimbra/api-client 70.0.0 → 71.0.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/schema.graphql +5 -0
- package/dist/src/schema/generated-schema-types.d.ts +4 -0
- package/dist/zm-api-js-client.esm.js +3 -2
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +1 -1
- package/dist/zm-api-js-client.js.map +1 -1
- package/dist/zm-api-js-client.umd.js +1 -1
- package/dist/zm-api-js-client.umd.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/normalize/entities.ts +1 -0
- package/src/schema/generated-schema-types.ts +5 -0
- package/src/schema/schema.graphql +5 -0
- package/src/utils/normalize-mime-parts.ts +1 -2
package/package-lock.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimbra/api-client",
|
|
3
3
|
"amdName": "zmApiJsClient",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "71.0.0",
|
|
5
5
|
"description": "Zimbra JS API Client and GraphQL client for making requests against the Zimbra SOAP API.",
|
|
6
6
|
"main": "dist/zm-api-js-client.js",
|
|
7
7
|
"source": "index.ts",
|
|
@@ -330,6 +330,7 @@ export type AttachmentInput = {
|
|
|
330
330
|
attachmentId?: Maybe<Scalars['String']>;
|
|
331
331
|
documents?: Maybe<Array<Maybe<DocumentInput>>>;
|
|
332
332
|
existingAttachments?: Maybe<Array<Maybe<ExistingAttachmentInput>>>;
|
|
333
|
+
messages?: Maybe<Array<Maybe<EmlInput>>>;
|
|
333
334
|
};
|
|
334
335
|
|
|
335
336
|
export type AuthResponse = {
|
|
@@ -1299,6 +1300,10 @@ export type DtTimeInfo = {
|
|
|
1299
1300
|
utc?: Maybe<Scalars['Float']>;
|
|
1300
1301
|
};
|
|
1301
1302
|
|
|
1303
|
+
export type EmlInput = {
|
|
1304
|
+
id?: Maybe<Scalars['ID']>;
|
|
1305
|
+
};
|
|
1306
|
+
|
|
1302
1307
|
export type EmailAddress = {
|
|
1303
1308
|
__typename?: 'EmailAddress';
|
|
1304
1309
|
address?: Maybe<Scalars['String']>;
|
|
@@ -2013,9 +2013,14 @@ input DocumentInput {
|
|
|
2013
2013
|
id: ID
|
|
2014
2014
|
}
|
|
2015
2015
|
|
|
2016
|
+
input EMLInput {
|
|
2017
|
+
id: ID
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2016
2020
|
input AttachmentInput {
|
|
2017
2021
|
attachmentId: String
|
|
2018
2022
|
documents: [DocumentInput]
|
|
2023
|
+
messages: [EMLInput]
|
|
2019
2024
|
existingAttachments: [ExistingAttachmentInput]
|
|
2020
2025
|
}
|
|
2021
2026
|
|
|
@@ -144,8 +144,7 @@ export function normalizeMimeParts(
|
|
|
144
144
|
if (!isBody && type.split('/')[0] !== 'multipart') {
|
|
145
145
|
let mode = disposition === 'inline' ? 'inlineAttachments' : 'attachments';
|
|
146
146
|
|
|
147
|
-
|
|
148
|
-
part.contentType !== 'application/pkcs7-signature' &&
|
|
147
|
+
part.contentType !== 'application/pkcs7-signature' &&
|
|
149
148
|
part.contentType !== 'application/x-pkcs7-signature' &&
|
|
150
149
|
(acc[mode] || (acc[mode] = [])).push(processAttachment(part, mode));
|
|
151
150
|
|