@remit/api-openapi-types 0.0.110 → 0.0.112
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 +1 -1
- package/types.d.ts +119 -41
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -253,6 +253,10 @@ current enum emitter anyway, so the wire contract uses the bare form.
|
|
|
253
253
|
* Why a classification provider cannot run.
|
|
254
254
|
*/
|
|
255
255
|
export type ClassificationUnrunnableReason = "NoBaseUrl" | "NoApiKey";
|
|
256
|
+
/**
|
|
257
|
+
* What a `Junk` verdict of one kind does (RFC 041). The owner picks one for `Spam` and one for `Phishing`.
|
|
258
|
+
*/
|
|
259
|
+
export type SpamLabelPlacement = "MoveToSpam" | "WarnOnly";
|
|
256
260
|
/**
|
|
257
261
|
* Why a classification provider call gave no usable answer.
|
|
258
262
|
*/
|
|
@@ -265,6 +269,14 @@ current enum emitter anyway, so the wire contract uses the bare form.
|
|
|
265
269
|
* Header-derived message category. Set by classifyByHeaders during body-sync. Defaults to `uncategorized`, which covers both a message that has not been classified yet and one the classifier declined to categorize; `Message.classificationState` is what tells those apart.
|
|
266
270
|
*/
|
|
267
271
|
export type MessageCategory = "uncategorized" | "personal" | "newsletter" | "marketing" | "automated" | "transactional" | "social" | "coldOutreach";
|
|
272
|
+
/**
|
|
273
|
+
* What the spam service tells Remit to do with a checked message (RFC 041).
|
|
274
|
+
*/
|
|
275
|
+
export type SpamAction = "None" | "Warn" | "Junk";
|
|
276
|
+
/**
|
|
277
|
+
* What the spam service suspects a checked message of (RFC 041).
|
|
278
|
+
*/
|
|
279
|
+
export type SpamKind = "Spam" | "Phishing";
|
|
268
280
|
/**
|
|
269
281
|
* Sort order for list operations
|
|
270
282
|
*/
|
|
@@ -277,10 +289,6 @@ current enum emitter anyway, so the wire contract uses the bare form.
|
|
|
277
289
|
* Trust level for the From address, derived at read time from AddressFlags + counters.
|
|
278
290
|
*/
|
|
279
291
|
export type SenderTrust = "unknown" | "wellknown" | "vip";
|
|
280
|
-
/**
|
|
281
|
-
* How the From display name relates to the From domain. `Corresponds` — the name is contained in the domain. `Lookalike` — the name is one or two characters away from a domain label. `ForeignAddress` — the name spells out an email address at a domain the sender does not send from. `Unrelated` — no relation. `NoClaim` — the name is empty, or is an address at the sending domain, so it claims no other identity.
|
|
282
|
-
*/
|
|
283
|
-
export type DisplayNameCorrespondence = "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim";
|
|
284
292
|
/**
|
|
285
293
|
* Message lifecycle status for move/delete operations
|
|
286
294
|
*/
|
|
@@ -316,14 +324,6 @@ explained to the user as a failed delete.
|
|
|
316
324
|
* The stage 1 rule that let a message through without a spam check, when the sender decided it (RFC 041).
|
|
317
325
|
*/
|
|
318
326
|
export type SpamSenderScreenRule = "ReportedSender" | "NeverSpam" | "Vip" | "WellKnown" | "Newsletter";
|
|
319
|
-
/**
|
|
320
|
-
* What the spam service tells Remit to do with a checked message (RFC 041).
|
|
321
|
-
*/
|
|
322
|
-
export type SpamAction = "None" | "Warn" | "Junk";
|
|
323
|
-
/**
|
|
324
|
-
* What the spam service suspects a checked message of (RFC 041).
|
|
325
|
-
*/
|
|
326
|
-
export type SpamKind = "Spam" | "Phishing";
|
|
327
327
|
/**
|
|
328
328
|
* The stable name of one check the spam service ran and found something with (RFC 041). A client holds one sentence per name.
|
|
329
329
|
*/
|
|
@@ -360,10 +360,6 @@ distinguishable from a network failure without parsing prose.
|
|
|
360
360
|
* Whether the header classifier has examined a message's body (issue #331). Persistence-level state on `Message`, deliberately off the wire: no response model carries it. It exists because `category` cannot answer this question — `uncategorized` is both the value a metadata-synced row starts at and the answer the classifier gives when it has nothing to say, so a guard reading `category` alone cannot tell "never examined" from "examined and declined" and re-reads the stored body on every sync pass forever.
|
|
361
361
|
*/
|
|
362
362
|
export type MessageClassificationState = "NotExamined" | "Examined";
|
|
363
|
-
/**
|
|
364
|
-
* Sender-authenticity tier for a message, resolved at body-sync from the trusted Authentication-Results header and the sender's pair-keyed standing. First match wins, in tier order: `Impersonation`, `Aligned`, `Authenticated`, `Routine`, `NotChecked`, `Caution`. `NotEvaluated` is the sentinel for a message the derivation has never run on — it is the default and what every message written before this field existed carries, and it is distinct from `NotChecked`, which is a result.
|
|
365
|
-
*/
|
|
366
|
-
export type AuthenticityVerdict = "NotEvaluated" | "NotChecked" | "Aligned" | "Authenticated" | "Routine" | "Caution" | "Impersonation";
|
|
367
363
|
/**
|
|
368
364
|
* Authentication verdict for a single auth mechanism, as reported in the Authentication-Results header.
|
|
369
365
|
*/
|
|
@@ -439,7 +435,7 @@ distinguishable from a network failure without parsing prose.
|
|
|
439
435
|
/**
|
|
440
436
|
* Known user-setting keys. Each maps, in the registry, to a required value kind and a zod schema. New keys are added deliberately by extending this enum and the registry — never as an ad-hoc column.
|
|
441
437
|
*/
|
|
442
|
-
export type AccountSettingName = "Theme" | "Density" | "DefaultComposerFormat" | "PinnedFolders" | "AccountSignaturePlainText" | "AccountSignatureHtml" | "AccountDisplayName" | "AccountMuted" | "AccountComposeLanguages" | "MailboxDisplayName" | "MailboxMuted" | "FolderRoleAppointment" | "FolderRoleAppointmentLabel" | "MailboxRole" | "DefaultInvitationSenderAccountId" | "ClassificationPresetId" | "ClassificationModel" | "ClassificationBaseUrl" | "ClassificationApiKey" | "ClassificationEnabled" | "ClassificationDailyLimit" | "ClassificationUsage";
|
|
438
|
+
export type AccountSettingName = "Theme" | "Density" | "DefaultComposerFormat" | "PinnedFolders" | "AccountSignaturePlainText" | "AccountSignatureHtml" | "AccountDisplayName" | "AccountMuted" | "AccountComposeLanguages" | "MailboxDisplayName" | "MailboxMuted" | "FolderRoleAppointment" | "FolderRoleAppointmentLabel" | "MailboxRole" | "DefaultInvitationSenderAccountId" | "ClassificationPresetId" | "ClassificationModel" | "ClassificationBaseUrl" | "ClassificationApiKey" | "ClassificationEnabled" | "ClassificationDailyLimit" | "ClassificationUsage" | "SpamPlacementSpam" | "SpamPlacementPhishing";
|
|
443
439
|
/**
|
|
444
440
|
* Lifecycle of one applied configuration import. An import is Complete the moment every folder reference in the file has been bound to a real mailbox; until then it is Pending, waiting on the IMAP discovery that will produce those mailboxes.
|
|
445
441
|
*/
|
|
@@ -448,6 +444,10 @@ distinguishable from a network failure without parsing prose.
|
|
|
448
444
|
* Which piece of configuration a still-unbound folder reference belongs to. A mailbox id is regenerated by every discovery, so an imported file names folders by IMAP path and the binder writes the row once a path resolves.
|
|
449
445
|
*/
|
|
450
446
|
export type ConfigImportRefKind = "FolderRole" | "MailboxOverride" | "FilterAction";
|
|
447
|
+
/**
|
|
448
|
+
* How the From display name relates to the From domain. `Corresponds` — the name is contained in the domain. `Lookalike` — the name is one or two characters away from a domain label. `ForeignAddress` — the name spells out an email address at a domain the sender does not send from. `Unrelated` — no relation. `NoClaim` — the name is empty, or is an address at the sending domain, so it claims no other identity.
|
|
449
|
+
*/
|
|
450
|
+
export type DisplayNameCorrespondence = "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim";
|
|
451
451
|
/**
|
|
452
452
|
* Whether sync still retries a warned message. Derived from stage and attempts, never stored.
|
|
453
453
|
*/
|
|
@@ -3861,6 +3861,10 @@ field on this resource rather than one more operation.
|
|
|
3861
3861
|
* The classification provider in effect, `Unrunnable` when one is chosen but cannot run, or `NotConfigured`.
|
|
3862
3862
|
*/
|
|
3863
3863
|
classification: ClassificationNotConfigured | ClassificationConfigured | ClassificationUnrunnable;
|
|
3864
|
+
/**
|
|
3865
|
+
* How Remit acts on spam verdicts.
|
|
3866
|
+
*/
|
|
3867
|
+
spam: SpamSettings;
|
|
3864
3868
|
}
|
|
3865
3869
|
/**
|
|
3866
3870
|
* A classification provider the reader can pick.
|
|
@@ -3987,6 +3991,37 @@ field on this resource rather than one more operation.
|
|
|
3987
3991
|
presetId: ClassificationPresetId;
|
|
3988
3992
|
reason: ClassificationUnrunnableReason;
|
|
3989
3993
|
}
|
|
3994
|
+
/**
|
|
3995
|
+
* How Remit acts on spam verdicts for the caller.
|
|
3996
|
+
*/
|
|
3997
|
+
export interface SpamSettings {
|
|
3998
|
+
/**
|
|
3999
|
+
* The thresholds in effect. They come from the deployment (`SPAM_CLEAN_BELOW` and `SPAM_AT`). `Unset` when the deployment uses rspamd, which applies its own.
|
|
4000
|
+
*/
|
|
4001
|
+
thresholds: SpamThresholdsUnset | SpamThresholdsSet;
|
|
4002
|
+
/**
|
|
4003
|
+
* What a `Junk` verdict of kind `Spam` does.
|
|
4004
|
+
*/
|
|
4005
|
+
spamPlacement: SpamLabelPlacement;
|
|
4006
|
+
/**
|
|
4007
|
+
* What a `Junk` verdict of kind `Phishing` does.
|
|
4008
|
+
*/
|
|
4009
|
+
phishingPlacement: SpamLabelPlacement;
|
|
4010
|
+
}
|
|
4011
|
+
/**
|
|
4012
|
+
* No thresholds are set, so every verdict's action is `None` and nothing moves.
|
|
4013
|
+
*/
|
|
4014
|
+
export interface SpamThresholdsUnset {
|
|
4015
|
+
state: "Unset";
|
|
4016
|
+
}
|
|
4017
|
+
/**
|
|
4018
|
+
* The two scores that turn a spam score into an action: below `cleanBelow` nothing happens, from `spamAt` up the message goes to Junk, and between the two the owner is warned.
|
|
4019
|
+
*/
|
|
4020
|
+
export interface SpamThresholdsSet {
|
|
4021
|
+
state: "Set";
|
|
4022
|
+
cleanBelow: number;
|
|
4023
|
+
spamAt: number;
|
|
4024
|
+
}
|
|
3990
4025
|
/**
|
|
3991
4026
|
* A change to the caller's settings. Every field is optional and absence means untouched.
|
|
3992
4027
|
*/
|
|
@@ -4019,6 +4054,14 @@ field on this resource rather than one more operation.
|
|
|
4019
4054
|
* The most classification calls per mail account per UTC day. Needs a provider in effect, saved or inherited.
|
|
4020
4055
|
*/
|
|
4021
4056
|
classificationDailyLimit?: number;
|
|
4057
|
+
/**
|
|
4058
|
+
* What a `Junk` verdict of kind `Spam` does: move the message to Junk, or warn only. Applies to mail arriving from now on.
|
|
4059
|
+
*/
|
|
4060
|
+
spamPlacementSpam?: SpamLabelPlacement;
|
|
4061
|
+
/**
|
|
4062
|
+
* What a `Junk` verdict of kind `Phishing` does: move the message to Junk, or warn only. Applies to mail arriving from now on.
|
|
4063
|
+
*/
|
|
4064
|
+
spamPlacementPhishing?: SpamLabelPlacement;
|
|
4022
4065
|
}
|
|
4023
4066
|
/**
|
|
4024
4067
|
* The classification provider form as it stands, saved or not.
|
|
@@ -4100,6 +4143,14 @@ field on this resource rather than one more operation.
|
|
|
4100
4143
|
*/
|
|
4101
4144
|
byLabel: ClassifierLabelCount[];
|
|
4102
4145
|
corrections: ClassifierCorrections;
|
|
4146
|
+
/**
|
|
4147
|
+
* Spam verdicts of action `Warn` or `Junk` per arrival day, action and kind, in date order. A day with none is absent.
|
|
4148
|
+
*/
|
|
4149
|
+
spamByDay: SpamDayCount[];
|
|
4150
|
+
/**
|
|
4151
|
+
* Checked messages per spam score band of width 0.05, lowest first. A band with none is absent. Summing the bands from a threshold up counts the messages that threshold reaches.
|
|
4152
|
+
*/
|
|
4153
|
+
spamScoreBands: SpamScoreBand[];
|
|
4103
4154
|
}
|
|
4104
4155
|
/**
|
|
4105
4156
|
* Examined messages in one category.
|
|
@@ -4128,6 +4179,28 @@ field on this resource rather than one more operation.
|
|
|
4128
4179
|
*/
|
|
4129
4180
|
categoryOverridden: number;
|
|
4130
4181
|
}
|
|
4182
|
+
/**
|
|
4183
|
+
* Spam verdicts on mail that arrived on one day, for one action and kind.
|
|
4184
|
+
*/
|
|
4185
|
+
export interface SpamDayCount {
|
|
4186
|
+
/**
|
|
4187
|
+
* The arrival day, YYYY-MM-DD, in the zone offset of `since`.
|
|
4188
|
+
*/
|
|
4189
|
+
date: string;
|
|
4190
|
+
/**
|
|
4191
|
+
* `Warn` or `Junk`: the judge's action, before the owner's per-label setting.
|
|
4192
|
+
*/
|
|
4193
|
+
action: SpamAction;
|
|
4194
|
+
kind: SpamKind;
|
|
4195
|
+
count: number;
|
|
4196
|
+
}
|
|
4197
|
+
/**
|
|
4198
|
+
* Checked messages whose spam score falls in one band, `from` inclusive to `from + 0.05` exclusive; the last band includes 1.
|
|
4199
|
+
*/
|
|
4200
|
+
export interface SpamScoreBand {
|
|
4201
|
+
from: number;
|
|
4202
|
+
count: number;
|
|
4203
|
+
}
|
|
4131
4204
|
/**
|
|
4132
4205
|
* Tasks due in the requested window, in due order. Unpaginated: the window is the bound.
|
|
4133
4206
|
*/
|
|
@@ -4819,9 +4892,9 @@ every reader of either would otherwise narrow on the kind first.
|
|
|
4819
4892
|
*/
|
|
4820
4893
|
abandonedMutation: MessageMutation;
|
|
4821
4894
|
/**
|
|
4822
|
-
*
|
|
4895
|
+
* The account that owns the message, resolved at read time from the row's mailbox. The ThreadMessage row has no column of its own.
|
|
4823
4896
|
*/
|
|
4824
|
-
accountId
|
|
4897
|
+
accountId: UUID;
|
|
4825
4898
|
/**
|
|
4826
4899
|
* Present only when Remit auto-moved this message on body-sync. Absent means the message was not auto-moved by Remit.
|
|
4827
4900
|
*/
|
|
@@ -4842,6 +4915,10 @@ every reader of either would otherwise narrow on the kind first.
|
|
|
4842
4915
|
* The spam outcome of the underlying Message (RFC 041), projected at read time. `NotChecked` when the Message row is missing from the batch.
|
|
4843
4916
|
*/
|
|
4844
4917
|
spamVerdict: SpamVerdictNotChecked | SpamVerdictScreenedOut | SpamChecked | SpamFailed;
|
|
4918
|
+
/**
|
|
4919
|
+
* True once the owner marked the underlying Message Not spam, projected at read time. While true, `spamVerdict` raises no warning. `false` when the Message row is missing from the batch.
|
|
4920
|
+
*/
|
|
4921
|
+
spamCleared: boolean;
|
|
4845
4922
|
}
|
|
4846
4923
|
/**
|
|
4847
4924
|
* Structured sender-authenticity signal, derived from headers at classification time. Absent for messages classified before this field was introduced — clients should treat absence as no-signal.
|
|
@@ -4859,14 +4936,6 @@ every reader of either would otherwise narrow on the kind first.
|
|
|
4859
4936
|
* True when DKIM signing domain(s) are present and none aligns with the From domain
|
|
4860
4937
|
*/
|
|
4861
4938
|
dkimMismatch: boolean;
|
|
4862
|
-
/**
|
|
4863
|
-
* How the From display name relates to the From domain. Display-only: it never decides placement. Present only when the sender is not bulk-shaped (no List-Unsubscribe) — absence means the comparison was never made, never that it found nothing.
|
|
4864
|
-
*/
|
|
4865
|
-
displayNameCorrespondence?: DisplayNameCorrespondence;
|
|
4866
|
-
/**
|
|
4867
|
-
* Registrable domains (eTLD+1) the body's links point at, excluding the From address's own registrable domain. Display-only: it never decides placement. An empty array means every link stayed on the sender's domain, absence means the comparison was never made.
|
|
4868
|
-
*/
|
|
4869
|
-
offDomainLinkDomains?: string[];
|
|
4870
4939
|
/**
|
|
4871
4940
|
* Registrable domain of the first verified DKIM `header.d` in trusted Authentication-Results order, or the reserved literal `unverified` when no identity could be established. Unlike `dkimDomain`, which is the unverified `d=` claim the sender wrote, this is only set from a signature the trusted Authentication-Results reported as passing. Absent for messages classified before the field existed.
|
|
4872
4941
|
*/
|
|
@@ -6002,10 +6071,6 @@ either way and cannot tell which it received.
|
|
|
6002
6071
|
* Structured sender-authenticity signal derived from DKIM headers at classification time. Absent for messages classified before this field was introduced — absence means no signal.
|
|
6003
6072
|
*/
|
|
6004
6073
|
authenticity?: MessageAuthenticity;
|
|
6005
|
-
/**
|
|
6006
|
-
* Sender-authenticity tier resolved at body-sync. Defaults to `NotEvaluated`, the named pending state every message written before the derivation existed carries. Top-level rather than a member of `authenticity` on purpose: that blob is absent for all unsigned mail, so a guard keyed on its absence cannot tell "never derived" from "nothing to derive" and would re-derive unsigned mail forever.
|
|
6007
|
-
*/
|
|
6008
|
-
authenticityVerdict: AuthenticityVerdict;
|
|
6009
6074
|
/**
|
|
6010
6075
|
* Provider authentication-results signal parsed from Authentication-Results header. Absent for messages synced before this field was introduced.
|
|
6011
6076
|
*/
|
|
@@ -6046,6 +6111,10 @@ either way and cannot tell which it received.
|
|
|
6046
6111
|
* The spam outcome for this message (RFC 041). Defaults to `NotChecked`; body sync records `ScreenedOut` when stage 1 let the message through, or the spam service's answer.
|
|
6047
6112
|
*/
|
|
6048
6113
|
spamVerdict: SpamVerdictNotChecked | SpamVerdictScreenedOut | SpamChecked | SpamFailed;
|
|
6114
|
+
/**
|
|
6115
|
+
* True once the owner marked this message Not spam, until they report it as spam again. A cleared message carries no Spam or Phishing label, and a rescan records its verdict without labelling or moving it, so clients read this before `spamVerdict` and raise no warning while it is true.
|
|
6116
|
+
*/
|
|
6117
|
+
spamCleared: boolean;
|
|
6049
6118
|
createdAt: number;
|
|
6050
6119
|
updatedAt: number;
|
|
6051
6120
|
}
|
|
@@ -6193,10 +6262,6 @@ either way and cannot tell which it received.
|
|
|
6193
6262
|
* Structured sender-authenticity signal derived from DKIM headers at classification time. Absent for messages classified before this field was introduced — absence means no signal.
|
|
6194
6263
|
*/
|
|
6195
6264
|
authenticity?: MessageAuthenticity;
|
|
6196
|
-
/**
|
|
6197
|
-
* Sender-authenticity tier resolved at body-sync. Defaults to `NotEvaluated`, the named pending state every message written before the derivation existed carries. Top-level rather than a member of `authenticity` on purpose: that blob is absent for all unsigned mail, so a guard keyed on its absence cannot tell "never derived" from "nothing to derive" and would re-derive unsigned mail forever.
|
|
6198
|
-
*/
|
|
6199
|
-
authenticityVerdict: AuthenticityVerdict;
|
|
6200
6265
|
/**
|
|
6201
6266
|
* Provider authentication-results signal parsed from Authentication-Results header. Absent for messages synced before this field was introduced.
|
|
6202
6267
|
*/
|
|
@@ -6237,6 +6302,10 @@ either way and cannot tell which it received.
|
|
|
6237
6302
|
* The spam outcome for this message (RFC 041). Defaults to `NotChecked`; body sync records `ScreenedOut` when stage 1 let the message through, or the spam service's answer.
|
|
6238
6303
|
*/
|
|
6239
6304
|
spamVerdict: SpamVerdictNotChecked | SpamVerdictScreenedOut | SpamChecked | SpamFailed;
|
|
6305
|
+
/**
|
|
6306
|
+
* True once the owner marked this message Not spam, until they report it as spam again. A cleared message carries no Spam or Phishing label, and a rescan records its verdict without labelling or moving it, so clients read this before `spamVerdict` and raise no warning while it is true.
|
|
6307
|
+
*/
|
|
6308
|
+
spamCleared: boolean;
|
|
6240
6309
|
createdAt: number;
|
|
6241
6310
|
updatedAt: number;
|
|
6242
6311
|
/**
|
|
@@ -6288,6 +6357,10 @@ either way and cannot tell which it received.
|
|
|
6288
6357
|
* The spam outcome for this message (RFC 041). Defaults to `NotChecked`; body sync records `ScreenedOut` when stage 1 let the message through, or the spam service's answer.
|
|
6289
6358
|
*/
|
|
6290
6359
|
spamVerdict: SpamVerdictNotChecked | SpamVerdictScreenedOut | SpamChecked | SpamFailed;
|
|
6360
|
+
/**
|
|
6361
|
+
* True once the owner marked this message Not spam, until they report it as spam again. A cleared message carries no Spam or Phishing label, and a rescan records its verdict without labelling or moving it, so clients read this before `spamVerdict` and raise no warning while it is true.
|
|
6362
|
+
*/
|
|
6363
|
+
spamCleared: boolean;
|
|
6291
6364
|
/**
|
|
6292
6365
|
* Message-ID header value for quick reference
|
|
6293
6366
|
*/
|
|
@@ -9566,7 +9639,7 @@ reader organizes the event, none otherwise.
|
|
|
9566
9639
|
config?: AxiosRequestConfig
|
|
9567
9640
|
): OperationResponse<Paths.TestClassificationProvider.Responses.$200>;
|
|
9568
9641
|
/**
|
|
9569
|
-
* ClassificationStatsOperations_getClassificationStats - Count what the classifier decided for mail that arrived on or after `since`, and how often the reader corrected it. Refused with 400 when `since` is not an ISO 8601 date-time with zone offset.
|
|
9642
|
+
* ClassificationStatsOperations_getClassificationStats - Count what the classifier and the spam service decided for mail that arrived on or after `since`, and how often the reader corrected it. Refused with 400 when `since` is not an ISO 8601 date-time with zone offset.
|
|
9570
9643
|
*/
|
|
9571
9644
|
'ClassificationStatsOperations_getClassificationStats'(
|
|
9572
9645
|
parameters?: Parameters<Paths.GetClassificationStats.QueryParameters> | null,
|
|
@@ -10562,7 +10635,7 @@ reader organizes the event, none otherwise.
|
|
|
10562
10635
|
};
|
|
10563
10636
|
['/classification-stats']: {
|
|
10564
10637
|
/**
|
|
10565
|
-
* ClassificationStatsOperations_getClassificationStats - Count what the classifier decided for mail that arrived on or after `since`, and how often the reader corrected it. Refused with 400 when `since` is not an ISO 8601 date-time with zone offset.
|
|
10638
|
+
* ClassificationStatsOperations_getClassificationStats - Count what the classifier and the spam service decided for mail that arrived on or after `since`, and how often the reader corrected it. Refused with 400 when `since` is not an ISO 8601 date-time with zone offset.
|
|
10566
10639
|
*/
|
|
10567
10640
|
'get'(
|
|
10568
10641
|
parameters?: Parameters<Paths.GetClassificationStats.QueryParameters> | null,
|
|
@@ -12013,6 +12086,9 @@ export type ClassificationSources = Components.Schemas.ClassificationSources;
|
|
|
12013
12086
|
export type ClassificationUsage = Components.Schemas.ClassificationUsage;
|
|
12014
12087
|
export type ClassificationCostPriced = Components.Schemas.ClassificationCostPriced;
|
|
12015
12088
|
export type ClassificationUnrunnable = Components.Schemas.ClassificationUnrunnable;
|
|
12089
|
+
export type SpamSettings = Components.Schemas.SpamSettings;
|
|
12090
|
+
export type SpamThresholdsUnset = Components.Schemas.SpamThresholdsUnset;
|
|
12091
|
+
export type SpamThresholdsSet = Components.Schemas.SpamThresholdsSet;
|
|
12016
12092
|
export type UpdateUserSettingsInput = Components.Schemas.UpdateUserSettingsInput;
|
|
12017
12093
|
export type ClassificationTestInput = Components.Schemas.ClassificationTestInput;
|
|
12018
12094
|
export type ClassificationTestPassed = Components.Schemas.ClassificationTestPassed;
|
|
@@ -12021,6 +12097,8 @@ export type ClassifierStats = Components.Schemas.ClassifierStats;
|
|
|
12021
12097
|
export type ClassifierCategoryCount = Components.Schemas.ClassifierCategoryCount;
|
|
12022
12098
|
export type ClassifierLabelCount = Components.Schemas.ClassifierLabelCount;
|
|
12023
12099
|
export type ClassifierCorrections = Components.Schemas.ClassifierCorrections;
|
|
12100
|
+
export type SpamDayCount = Components.Schemas.SpamDayCount;
|
|
12101
|
+
export type SpamScoreBand = Components.Schemas.SpamScoreBand;
|
|
12024
12102
|
export type CalendarTaskListResponse = Components.Schemas.CalendarTaskListResponse;
|
|
12025
12103
|
export type CalendarTask = Components.Schemas.CalendarTask;
|
|
12026
12104
|
export type CalendarTaskResponse = Components.Schemas.CalendarTaskResponse;
|
|
@@ -12207,21 +12285,21 @@ export type ClassificationPresetGroup = Components.Schemas.ClassificationPresetG
|
|
|
12207
12285
|
export type ClassificationAdapterShape = Components.Schemas.ClassificationAdapterShape;
|
|
12208
12286
|
export type ClassificationValueSource = Components.Schemas.ClassificationValueSource;
|
|
12209
12287
|
export type ClassificationUnrunnableReason = Components.Schemas.ClassificationUnrunnableReason;
|
|
12288
|
+
export type SpamLabelPlacement = Components.Schemas.SpamLabelPlacement;
|
|
12210
12289
|
export type ClassificationFailureKind = Components.Schemas.ClassificationFailureKind;
|
|
12211
12290
|
export type ClassificationField = Components.Schemas.ClassificationField;
|
|
12212
12291
|
export type MessageCategory = Components.Schemas.MessageCategory;
|
|
12292
|
+
export type SpamAction = Components.Schemas.SpamAction;
|
|
12293
|
+
export type SpamKind = Components.Schemas.SpamKind;
|
|
12213
12294
|
export type SortOrder = Components.Schemas.SortOrder;
|
|
12214
12295
|
export type StarColor = Components.Schemas.StarColor;
|
|
12215
12296
|
export type SenderTrust = Components.Schemas.SenderTrust;
|
|
12216
|
-
export type DisplayNameCorrespondence = Components.Schemas.DisplayNameCorrespondence;
|
|
12217
12297
|
export type MessageStatus = Components.Schemas.MessageStatus;
|
|
12218
12298
|
export type MessageSyncStatus = Components.Schemas.MessageSyncStatus;
|
|
12219
12299
|
export type MessageMutation = Components.Schemas.MessageMutation;
|
|
12220
12300
|
export type PlacementAction = Components.Schemas.PlacementAction;
|
|
12221
12301
|
export type PlacementConfidence = Components.Schemas.PlacementConfidence;
|
|
12222
12302
|
export type SpamSenderScreenRule = Components.Schemas.SpamSenderScreenRule;
|
|
12223
|
-
export type SpamAction = Components.Schemas.SpamAction;
|
|
12224
|
-
export type SpamKind = Components.Schemas.SpamKind;
|
|
12225
12303
|
export type SpamReasonName = Components.Schemas.SpamReasonName;
|
|
12226
12304
|
export type SpamModelOutcome = Components.Schemas.SpamModelOutcome;
|
|
12227
12305
|
export type SpamFailureKind = Components.Schemas.SpamFailureKind;
|
|
@@ -12229,7 +12307,6 @@ export type OutboxAttachmentState = Components.Schemas.OutboxAttachmentState;
|
|
|
12229
12307
|
export type OutboxAttachmentRejectionReason = Components.Schemas.OutboxAttachmentRejectionReason;
|
|
12230
12308
|
export type AddressFlagKey = Components.Schemas.AddressFlagKey;
|
|
12231
12309
|
export type MessageClassificationState = Components.Schemas.MessageClassificationState;
|
|
12232
|
-
export type AuthenticityVerdict = Components.Schemas.AuthenticityVerdict;
|
|
12233
12310
|
export type AuthResultVerdict = Components.Schemas.AuthResultVerdict;
|
|
12234
12311
|
export type AddressRole = Components.Schemas.AddressRole;
|
|
12235
12312
|
export type MediaType = Components.Schemas.MediaType;
|
|
@@ -12251,6 +12328,7 @@ export type SenderOverride = Components.Schemas.SenderOverride;
|
|
|
12251
12328
|
export type AccountSettingName = Components.Schemas.AccountSettingName;
|
|
12252
12329
|
export type ConfigImportState = Components.Schemas.ConfigImportState;
|
|
12253
12330
|
export type ConfigImportRefKind = Components.Schemas.ConfigImportRefKind;
|
|
12331
|
+
export type DisplayNameCorrespondence = Components.Schemas.DisplayNameCorrespondence;
|
|
12254
12332
|
export type SyncWarningState = Components.Schemas.SyncWarningState;
|
|
12255
12333
|
export type ProviderSpamVerdict = Components.Schemas.ProviderSpamVerdict;
|
|
12256
12334
|
export type MessagePlacementMoveState = Components.Schemas.MessagePlacementMoveState;
|