@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/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.1cac479.0",
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 = (options: GetSMimePublicCertsOptions) =>
1436
+ public getSMimePublicCerts = ({ contactAddr, store }: GetSMimePublicCertsOptions) =>
1437
1437
  this.jsonRequest({
1438
1438
  name: 'GetSMIMEPublicCerts',
1439
1439
  body: {
1440
1440
  store: {
1441
- _content: options.store
1441
+ _content: store
1442
1442
  },
1443
- email: {
1444
- _content: options.contactAddr
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
  });
@@ -308,7 +308,7 @@ export interface CreateSearchFolderOptions {
308
308
  }
309
309
 
310
310
  export interface GetSMimePublicCertsOptions {
311
- contactAddr: string;
311
+ contactAddr: string | Array<string>;
312
312
  store: string;
313
313
  }
314
314
 
@@ -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