@zimbra/api-client 101.0.1-master.1cac479.0 → 101.0.1-master.50ef899.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 +1 -1
- package/dist/src/batch-client/index.d.ts +1 -1
- package/dist/src/batch-client/types.d.ts +1 -1
- package/dist/src/schema/generated-schema-types.d.ts +1 -1
- package/dist/zm-api-js-client.esm.js +57 -49
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +4 -4
- 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.json +1 -1
- package/src/batch-client/index.ts +8 -5
- package/src/batch-client/types.ts +1 -1
- package/src/schema/generated-schema-types.ts +1 -1
- package/src/schema/schema.graphql +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimbra/api-client",
|
|
3
3
|
"amdName": "zmApiJsClient",
|
|
4
|
-
"version": "101.0.1-master.
|
|
4
|
+
"version": "101.0.1-master.50ef899.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",
|
|
@@ -1433,16 +1433,19 @@ export class ZimbraBatchClient {
|
|
|
1433
1433
|
namespace: Namespace.Account
|
|
1434
1434
|
}).then(certificate => normalize(SmimeCertInfoResponse)(certificate || {}));
|
|
1435
1435
|
|
|
1436
|
-
public getSMimePublicCerts = (
|
|
1436
|
+
public getSMimePublicCerts = ({ contactAddr, store }: GetSMimePublicCertsOptions) =>
|
|
1437
1437
|
this.jsonRequest({
|
|
1438
1438
|
name: 'GetSMIMEPublicCerts',
|
|
1439
1439
|
body: {
|
|
1440
1440
|
store: {
|
|
1441
|
-
_content:
|
|
1441
|
+
_content: store
|
|
1442
1442
|
},
|
|
1443
|
-
email:
|
|
1444
|
-
|
|
1445
|
-
|
|
1443
|
+
email:
|
|
1444
|
+
typeof contactAddr === 'string'
|
|
1445
|
+
? {
|
|
1446
|
+
_content: contactAddr
|
|
1447
|
+
}
|
|
1448
|
+
: contactAddr.map(add => ({ _content: add }))
|
|
1446
1449
|
},
|
|
1447
1450
|
namespace: Namespace.Account
|
|
1448
1451
|
});
|
|
@@ -3907,7 +3907,7 @@ export type QueryGetSMimeCertInfoArgs = {
|
|
|
3907
3907
|
|
|
3908
3908
|
|
|
3909
3909
|
export type QueryGetSMimePublicCertsArgs = {
|
|
3910
|
-
contactAddr: Scalars['String']['input']
|
|
3910
|
+
contactAddr: Array<InputMaybe<Scalars['String']['input']>>;
|
|
3911
3911
|
store: Scalars['String']['input'];
|
|
3912
3912
|
};
|
|
3913
3913
|
|
|
@@ -3648,7 +3648,7 @@ type Query {
|
|
|
3648
3648
|
getMessagesMetadata(ids: [ID!]!, isLocal: Boolean): [MessageInfo]
|
|
3649
3649
|
getRights(input: GetRightsInput!): RightsResponse
|
|
3650
3650
|
getSMimePublicCerts(
|
|
3651
|
-
contactAddr: String!
|
|
3651
|
+
contactAddr: [String]!
|
|
3652
3652
|
store: String!
|
|
3653
3653
|
): SMimePublicCertsResponse
|
|
3654
3654
|
getSMimeCertInfo(certId: String): SmimeCertInfoResponse
|