@zimbra/api-client 75.0.0 → 78.0.0-beta
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/.husky/pre-commit +0 -1
- package/dist/schema.graphql +7 -1
- 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 +717 -710
- package/dist/zm-api-js-client.esm.js +351 -65
- 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 +1836 -2743
- package/package.json +29 -31
- package/src/batch-client/index.ts +6 -2
- package/src/batch-client/types.ts +1 -0
- package/src/schema/generated-schema-types.ts +717 -710
- package/src/schema/schema.graphql +7 -1
- package/src/utils/normalize-mime-parts.ts +17 -20
- package/src/utils/normalize-otherAttribute-contact.ts +1 -0
package/.husky/pre-commit
CHANGED
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
|
|
@@ -1759,6 +1762,7 @@ input OtherContactAttributeInput {
|
|
|
1759
1762
|
input ContactAttrsInput {
|
|
1760
1763
|
firstName: String
|
|
1761
1764
|
phoneticFirstName: String
|
|
1765
|
+
phoneticCompany: String
|
|
1762
1766
|
middleName: String
|
|
1763
1767
|
lastName: String
|
|
1764
1768
|
phoneticLastName: String
|
|
@@ -2834,6 +2838,7 @@ input EnableTwoFactorAuthInput {
|
|
|
2834
2838
|
twoFactorCode: String
|
|
2835
2839
|
authToken: String
|
|
2836
2840
|
csrfTokenSecured: Boolean!
|
|
2841
|
+
ignoreSameSite: Boolean
|
|
2837
2842
|
}
|
|
2838
2843
|
|
|
2839
2844
|
input ExternalAccountImportInput {
|
|
@@ -2857,7 +2862,7 @@ input GetDocumentShareURLItemInput {
|
|
|
2857
2862
|
|
|
2858
2863
|
input Cursor {
|
|
2859
2864
|
id: ID
|
|
2860
|
-
|
|
2865
|
+
sortVal: String
|
|
2861
2866
|
endSortVal: String
|
|
2862
2867
|
includeOffset: Boolean
|
|
2863
2868
|
}
|
|
@@ -3457,6 +3462,7 @@ type Mutation {
|
|
|
3457
3462
|
twoFactorCode: String
|
|
3458
3463
|
deviceTrusted: Boolean
|
|
3459
3464
|
csrfTokenSecured: Boolean!
|
|
3465
|
+
ignoreSameSite: Boolean
|
|
3460
3466
|
): AuthResponse
|
|
3461
3467
|
enableTwoFactorAuth(
|
|
3462
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;
|