@zimbra/api-client 74.0.0 → 77.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/.tmp/introspected-schema.json +31072 -0
- package/dist/schema.graphql +7 -5
- package/dist/src/batch-client/index.d.ts +2 -2
- package/dist/src/batch-client/types.d.ts +1 -0
- package/dist/src/schema/generated-schema-types.d.ts +7 -5
- package/dist/zm-api-js-client.esm.js +28 -21
- 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/batch-client/index.ts +6 -2
- package/src/batch-client/types.ts +1 -0
- package/src/schema/generated-schema-types.ts +7 -5
- package/src/schema/schema.graphql +7 -5
- package/src/utils/normalize-mime-parts.ts +17 -20
- package/src/utils/normalize-otherAttribute-contact.ts +1 -2
package/dist/schema.graphql
CHANGED
|
@@ -1344,6 +1344,7 @@ type AccountInfoAttrs {
|
|
|
1344
1344
|
zimbraFeatureDocumentEditingEnabled: Boolean
|
|
1345
1345
|
zimbraTwoFactorAuthEnabled: Boolean
|
|
1346
1346
|
zimbraFeatureTrustedDevicesEnabled: Boolean
|
|
1347
|
+
zimbraFeatureAntispamEnabled: Boolean
|
|
1347
1348
|
zimbraFeatureAppSpecificPasswordsEnabled: Boolean
|
|
1348
1349
|
zimbraFeatureMailPriorityEnabled: Boolean
|
|
1349
1350
|
zimbraFileUploadMaxSize: Float
|
|
@@ -1361,6 +1362,7 @@ type AccountInfoAttrs {
|
|
|
1361
1362
|
zimbraFeaturePop3DataSourceEnabled: Boolean
|
|
1362
1363
|
zimbraSignupAffiliate: String
|
|
1363
1364
|
zimbraSignupRecoveryEmail: String
|
|
1365
|
+
zimbraFeatureTasksEnabled: Boolean
|
|
1364
1366
|
zimbraTrialExpirationDate: String
|
|
1365
1367
|
zimbraTrialConvertAtExpiration: Boolean
|
|
1366
1368
|
zimbraHierarchicalAddressBookRoot: String
|
|
@@ -1655,6 +1657,7 @@ type OtherContactAttribute {
|
|
|
1655
1657
|
type ContactAttributes {
|
|
1656
1658
|
firstName: String
|
|
1657
1659
|
phoneticFirstName: String
|
|
1660
|
+
phoneticCompany: String
|
|
1658
1661
|
middleName: String
|
|
1659
1662
|
lastName: String
|
|
1660
1663
|
phoneticLastName: String
|
|
@@ -1668,8 +1671,6 @@ type ContactAttributes {
|
|
|
1668
1671
|
workEmail2: String
|
|
1669
1672
|
homeEmail: String
|
|
1670
1673
|
homeEmail2: String
|
|
1671
|
-
phone: String
|
|
1672
|
-
phone2: String
|
|
1673
1674
|
companyPhone: String
|
|
1674
1675
|
companyPhone2: String
|
|
1675
1676
|
otherPhone: String
|
|
@@ -1761,6 +1762,7 @@ input OtherContactAttributeInput {
|
|
|
1761
1762
|
input ContactAttrsInput {
|
|
1762
1763
|
firstName: String
|
|
1763
1764
|
phoneticFirstName: String
|
|
1765
|
+
phoneticCompany: String
|
|
1764
1766
|
middleName: String
|
|
1765
1767
|
lastName: String
|
|
1766
1768
|
phoneticLastName: String
|
|
@@ -1774,8 +1776,6 @@ input ContactAttrsInput {
|
|
|
1774
1776
|
workEmail2: String
|
|
1775
1777
|
homeEmail: String
|
|
1776
1778
|
homeEmail2: String
|
|
1777
|
-
phone: String
|
|
1778
|
-
phone2: String
|
|
1779
1779
|
companyPhone: String
|
|
1780
1780
|
companyPhone2: String
|
|
1781
1781
|
otherPhone: String
|
|
@@ -2838,6 +2838,7 @@ input EnableTwoFactorAuthInput {
|
|
|
2838
2838
|
twoFactorCode: String
|
|
2839
2839
|
authToken: String
|
|
2840
2840
|
csrfTokenSecured: Boolean!
|
|
2841
|
+
ignoreSameSite: Boolean
|
|
2841
2842
|
}
|
|
2842
2843
|
|
|
2843
2844
|
input ExternalAccountImportInput {
|
|
@@ -2861,7 +2862,7 @@ input GetDocumentShareURLItemInput {
|
|
|
2861
2862
|
|
|
2862
2863
|
input Cursor {
|
|
2863
2864
|
id: ID
|
|
2864
|
-
|
|
2865
|
+
sortVal: String
|
|
2865
2866
|
endSortVal: String
|
|
2866
2867
|
includeOffset: Boolean
|
|
2867
2868
|
}
|
|
@@ -3461,6 +3462,7 @@ type Mutation {
|
|
|
3461
3462
|
twoFactorCode: String
|
|
3462
3463
|
deviceTrusted: Boolean
|
|
3463
3464
|
csrfTokenSecured: Boolean!
|
|
3465
|
+
ignoreSameSite: Boolean
|
|
3464
3466
|
): AuthResponse
|
|
3465
3467
|
enableTwoFactorAuth(
|
|
3466
3468
|
options: EnableTwoFactorAuthInput!
|
|
@@ -74,7 +74,7 @@ export declare class ZimbraBatchClient {
|
|
|
74
74
|
content: any;
|
|
75
75
|
isSecure: any;
|
|
76
76
|
}>;
|
|
77
|
-
enableTwoFactorAuth: ({ name, password, authToken, twoFactorCode, csrfTokenSecured }: EnableTwoFactorAuthInput) => Promise<any>;
|
|
77
|
+
enableTwoFactorAuth: ({ name, password, authToken, twoFactorCode, csrfTokenSecured, ignoreSameSite }: EnableTwoFactorAuthInput) => Promise<any>;
|
|
78
78
|
folderAction: (options: ActionOptions) => Promise<boolean>;
|
|
79
79
|
forwardAppointment: (body: ForwardAppointmentInput) => Promise<boolean>;
|
|
80
80
|
forwardAppointmentInvite: (body: ForwardAppointmentInviteInput) => Promise<boolean>;
|
|
@@ -124,7 +124,7 @@ export declare class ZimbraBatchClient {
|
|
|
124
124
|
importExternalAccount: ({ accountType, id }: ExternalAccountImportInput) => Promise<boolean>;
|
|
125
125
|
itemAction: (options: ActionOptions) => Promise<boolean>;
|
|
126
126
|
jsonRequest: (options: JsonRequestOptions) => Promise<any>;
|
|
127
|
-
login: ({ username, password, recoveryCode, tokenType, persistAuthTokenCookie, twoFactorCode, deviceTrusted, csrfTokenSecured }: LoginOptions) => Promise<{}>;
|
|
127
|
+
login: ({ username, password, recoveryCode, tokenType, persistAuthTokenCookie, twoFactorCode, deviceTrusted, csrfTokenSecured, ignoreSameSite }: LoginOptions) => Promise<{}>;
|
|
128
128
|
logout: () => Promise<boolean>;
|
|
129
129
|
messageAction: (options: ActionOptions) => Promise<boolean>;
|
|
130
130
|
modifyAppointment: (accountName: string, appointment: CalendarItemInput) => Promise<any>;
|
|
@@ -202,6 +202,7 @@ export interface ModifyProfileImageOptions {
|
|
|
202
202
|
export interface LoginOptions {
|
|
203
203
|
csrfTokenSecured: boolean;
|
|
204
204
|
deviceTrusted?: boolean;
|
|
205
|
+
ignoreSameSite?: boolean;
|
|
205
206
|
password: string;
|
|
206
207
|
persistAuthTokenCookie?: boolean;
|
|
207
208
|
recoveryCode?: string;
|
|
@@ -83,6 +83,7 @@ export declare type AccountInfoAttrs = {
|
|
|
83
83
|
zimbraDomainTrialExpirationDate?: Maybe<Scalars['String']>;
|
|
84
84
|
zimbraDumpsterEnabled?: Maybe<Scalars['Boolean']>;
|
|
85
85
|
zimbraExternalSharingEnabled?: Maybe<Scalars['Boolean']>;
|
|
86
|
+
zimbraFeatureAntispamEnabled?: Maybe<Scalars['Boolean']>;
|
|
86
87
|
zimbraFeatureAppSpecificPasswordsEnabled?: Maybe<Scalars['Boolean']>;
|
|
87
88
|
zimbraFeatureBriefcasesEnabled?: Maybe<Scalars['Boolean']>;
|
|
88
89
|
zimbraFeatureCalendarEnabled?: Maybe<Scalars['Boolean']>;
|
|
@@ -108,6 +109,7 @@ export declare type AccountInfoAttrs = {
|
|
|
108
109
|
zimbraFeatureResetPasswordStatus?: Maybe<ResetPasswordStatus>;
|
|
109
110
|
zimbraFeatureSharingEnabled?: Maybe<Scalars['Boolean']>;
|
|
110
111
|
zimbraFeatureTaggingEnabled?: Maybe<Scalars['Boolean']>;
|
|
112
|
+
zimbraFeatureTasksEnabled?: Maybe<Scalars['Boolean']>;
|
|
111
113
|
zimbraFeatureTrustedDevicesEnabled?: Maybe<Scalars['Boolean']>;
|
|
112
114
|
zimbraFeatureTwoFactorAuthAvailable?: Maybe<Scalars['Boolean']>;
|
|
113
115
|
zimbraFeatureTwoFactorAuthRequired?: Maybe<Scalars['Boolean']>;
|
|
@@ -798,8 +800,7 @@ export declare type ContactAttributes = {
|
|
|
798
800
|
otherURL?: Maybe<Scalars['String']>;
|
|
799
801
|
pager?: Maybe<Scalars['String']>;
|
|
800
802
|
pager2?: Maybe<Scalars['String']>;
|
|
801
|
-
|
|
802
|
-
phone2?: Maybe<Scalars['String']>;
|
|
803
|
+
phoneticCompany?: Maybe<Scalars['String']>;
|
|
803
804
|
phoneticFirstName?: Maybe<Scalars['String']>;
|
|
804
805
|
phoneticLastName?: Maybe<Scalars['String']>;
|
|
805
806
|
thumbnailPhoto?: Maybe<Scalars['String']>;
|
|
@@ -876,8 +877,7 @@ export declare type ContactAttrsInput = {
|
|
|
876
877
|
otherURL?: Maybe<Scalars['String']>;
|
|
877
878
|
pager?: Maybe<Scalars['String']>;
|
|
878
879
|
pager2?: Maybe<Scalars['String']>;
|
|
879
|
-
|
|
880
|
-
phone2?: Maybe<Scalars['String']>;
|
|
880
|
+
phoneticCompany?: Maybe<Scalars['String']>;
|
|
881
881
|
phoneticFirstName?: Maybe<Scalars['String']>;
|
|
882
882
|
phoneticLastName?: Maybe<Scalars['String']>;
|
|
883
883
|
type?: Maybe<Scalars['String']>;
|
|
@@ -1019,7 +1019,7 @@ export declare type Cursor = {
|
|
|
1019
1019
|
endSortVal?: Maybe<Scalars['String']>;
|
|
1020
1020
|
id?: Maybe<Scalars['ID']>;
|
|
1021
1021
|
includeOffset?: Maybe<Scalars['Boolean']>;
|
|
1022
|
-
|
|
1022
|
+
sortVal?: Maybe<Scalars['String']>;
|
|
1023
1023
|
};
|
|
1024
1024
|
export declare type CustomMetadata = {
|
|
1025
1025
|
__typename?: 'CustomMetadata';
|
|
@@ -1191,6 +1191,7 @@ export declare type EmailAddressInput = {
|
|
|
1191
1191
|
export declare type EnableTwoFactorAuthInput = {
|
|
1192
1192
|
authToken?: Maybe<Scalars['String']>;
|
|
1193
1193
|
csrfTokenSecured: Scalars['Boolean'];
|
|
1194
|
+
ignoreSameSite?: Maybe<Scalars['Boolean']>;
|
|
1194
1195
|
name: Scalars['String'];
|
|
1195
1196
|
password?: Maybe<Scalars['String']>;
|
|
1196
1197
|
twoFactorCode?: Maybe<Scalars['String']>;
|
|
@@ -2417,6 +2418,7 @@ export declare type MutationItemActionArgs = {
|
|
|
2417
2418
|
export declare type MutationLoginArgs = {
|
|
2418
2419
|
csrfTokenSecured: Scalars['Boolean'];
|
|
2419
2420
|
deviceTrusted?: Maybe<Scalars['Boolean']>;
|
|
2421
|
+
ignoreSameSite?: Maybe<Scalars['Boolean']>;
|
|
2420
2422
|
password?: Maybe<Scalars['String']>;
|
|
2421
2423
|
persistAuthTokenCookie?: Maybe<Scalars['Boolean']>;
|
|
2422
2424
|
recoveryCode?: Maybe<Scalars['String']>;
|