@mailsac/api
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -425,3 +425,3 @@ export interface ErrorResponseBody { | ||
/** The most recent email addresses viewed by this account in the UI */ | ||
recents?: EmailStringList[]; | ||
recents?: EmailString[]; | ||
/** Inbox labels created by the account */ | ||
@@ -435,2 +435,22 @@ labels?: string[]; | ||
firehose?: number; | ||
/** Entitlement flag indicating whether the account has access to Public Domains */ | ||
allowPublicDomains?: 0 | 1; | ||
/** Flag indicating whether account is allowed to view analytics */ | ||
viewAnalytics?: 0 | 1; | ||
/** Flag indicating whether account has access to API */ | ||
apiAccess?: 0 | 1; | ||
wsDomain?: 0 | 1; | ||
manyKeys?: 0 | 1; | ||
internalUnlimited?: 0 | 1; | ||
totalSent?: number; | ||
/** Date in ISO 8601 */ | ||
lastLogin?: Date; | ||
allowMultipleUsers?: 0 | 1; | ||
/** Number of users */ | ||
userLimit?: number; | ||
disableSpam?: boolean; | ||
stripeId?: string; | ||
moAPIDisabled?: number; | ||
moAPILimitWarningEmail?: number; | ||
apiKeyName?: string; | ||
} | ||
@@ -467,2 +487,6 @@ /** Describes current user stats */ | ||
totalSent?: number; | ||
/** Count of paid ops performed in the previous month */ | ||
lastMonthOps?: number; | ||
/** Domain set to default */ | ||
defaultDomain?: string; | ||
} | ||
@@ -573,3 +597,3 @@ /** Describes metadata for attachment */ | ||
* @title mailsac API Specification | ||
* @version 1.0.5 | ||
* @version 1.0.6 | ||
* @baseUrl https://mailsac.com/api | ||
@@ -1051,3 +1075,5 @@ * | ||
*/ | ||
accountStats: (params?: RequestParams) => Promise<AxiosResponse<CurrentUserStats, any>>; | ||
accountStats: (query?: { | ||
overrideAccountId?: string; | ||
}, params?: RequestParams) => Promise<AxiosResponse<CurrentUserStats, any>>; | ||
}; | ||
@@ -1054,0 +1080,0 @@ attachments: { |
@@ -112,3 +112,3 @@ "use strict"; | ||
* @title mailsac API Specification | ||
* @version 1.0.5 | ||
* @version 1.0.6 | ||
* @baseUrl https://mailsac.com/api | ||
@@ -494,3 +494,3 @@ * | ||
*/ | ||
accountStats: (params = {}) => this.request(Object.assign({ path: `/me/stats`, method: "GET", secure: true }, params)), | ||
accountStats: (query, params = {}) => this.request(Object.assign({ path: `/me/stats`, method: "GET", query: query, secure: true }, params)), | ||
}; | ||
@@ -497,0 +497,0 @@ this.attachments = { |
# `new Mailsac({ headers: { "Mailsac-Key": 'REPLACE_APIKEY_HERE' } })` | ||
## account | ||
### `account.accountStats(params = {})` | ||
### `account.accountStats(query, params = {})` | ||
### `account.user(params = {})` | ||
@@ -6,0 +6,0 @@ |
{ | ||
"name": "@mailsac/api", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Official Mailsac API client library", | ||
@@ -5,0 +5,0 @@ "main": "mailsac-client.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
332104
3829