@remit/api-openapi-types 0.0.115 → 0.0.117
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 +8 -2
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -323,7 +323,7 @@ explained to the user as a failed delete.
|
|
|
323
323
|
/**
|
|
324
324
|
* The stage 1 rule that let a message through without a spam check, when the sender decided it (RFC 041).
|
|
325
325
|
*/
|
|
326
|
-
export type SpamSenderScreenRule = "ReportedSender" | "NeverSpam" | "Vip" | "WellKnown" | "Newsletter";
|
|
326
|
+
export type SpamSenderScreenRule = "ReportedSender" | "NeverSpam" | "Vip" | "WellKnown" | "KnownSender" | "Newsletter";
|
|
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
|
*/
|
|
@@ -356,6 +356,10 @@ member (naming the file, the size and the cap), so a refusal must be
|
|
|
356
356
|
distinguishable from a network failure without parsing prose.
|
|
357
357
|
*/
|
|
358
358
|
export type OutboxAttachmentRejectionReason = "EmptyFile" | "UnusableFilename" | "FileTooLarge" | "MessageTooLarge" | "TooManyAttachments" | "ReservationExpired" | "UploadMissing" | "SizeMismatch";
|
|
359
|
+
/**
|
|
360
|
+
* Names a boolean trust flag of `AddressFlags` that `GET /addresses/search` can filter on
|
|
361
|
+
*/
|
|
362
|
+
export type AddressTrustFlag = "neverSpam" | "blocked" | "vip";
|
|
359
363
|
/**
|
|
360
364
|
* Names a key of `AddressFlags` that a client may address in `PATCH /addresses/{addressId}`. `wellknown` is deliberately absent: it is server-owned, derived from engagement counters, and is never written or removed by a client.
|
|
361
365
|
*/
|
|
@@ -9008,6 +9012,7 @@ declare namespace Paths {
|
|
|
9008
9012
|
export interface QueryParameters {
|
|
9009
9013
|
q: string;
|
|
9010
9014
|
limit?: number;
|
|
9015
|
+
flag?: Components.Schemas.AddressTrustFlag;
|
|
9011
9016
|
}
|
|
9012
9017
|
namespace Responses {
|
|
9013
9018
|
export type $200 = { continuationToken?: Components.Schemas.String800; items: Components.Schemas.AddressResponse[] };
|
|
@@ -11860,7 +11865,7 @@ export interface Operations {
|
|
|
11860
11865
|
};
|
|
11861
11866
|
'AddressOperations_searchAddresses': {
|
|
11862
11867
|
params: {};
|
|
11863
|
-
query: { q: string; limit?: number };
|
|
11868
|
+
query: { q: string; limit?: number; flag?: Components.Schemas.AddressTrustFlag };
|
|
11864
11869
|
headers: {};
|
|
11865
11870
|
cookies: {};
|
|
11866
11871
|
requestBody: undefined;
|
|
@@ -12365,6 +12370,7 @@ export type SpamJudgeName = Components.Schemas.SpamJudgeName;
|
|
|
12365
12370
|
export type SpamFailureKind = Components.Schemas.SpamFailureKind;
|
|
12366
12371
|
export type OutboxAttachmentState = Components.Schemas.OutboxAttachmentState;
|
|
12367
12372
|
export type OutboxAttachmentRejectionReason = Components.Schemas.OutboxAttachmentRejectionReason;
|
|
12373
|
+
export type AddressTrustFlag = Components.Schemas.AddressTrustFlag;
|
|
12368
12374
|
export type AddressFlagKey = Components.Schemas.AddressFlagKey;
|
|
12369
12375
|
export type MessageClassificationState = Components.Schemas.MessageClassificationState;
|
|
12370
12376
|
export type AuthResultVerdict = Components.Schemas.AuthResultVerdict;
|