@noresponse/node 8.1.2 → 8.1.3
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/CHANGELOG.md +34 -0
- package/dist/commonjs/funcs/lists-create.d.ts +1 -1
- package/dist/commonjs/funcs/lists-create.js +1 -1
- package/dist/commonjs/funcs/lists-delete.d.ts +1 -1
- package/dist/commonjs/funcs/lists-delete.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/conflict-error-code.d.ts +1 -0
- package/dist/commonjs/models/conflict-error-code.d.ts.map +1 -1
- package/dist/commonjs/models/conflict-error-code.js +1 -0
- package/dist/commonjs/models/conflict-error-code.js.map +1 -1
- package/dist/commonjs/sdk/lists.d.ts +2 -2
- package/dist/commonjs/sdk/lists.js +2 -2
- package/dist/esm/funcs/lists-create.d.ts +1 -1
- package/dist/esm/funcs/lists-create.js +1 -1
- package/dist/esm/funcs/lists-delete.d.ts +1 -1
- package/dist/esm/funcs/lists-delete.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/conflict-error-code.d.ts +1 -0
- package/dist/esm/models/conflict-error-code.d.ts.map +1 -1
- package/dist/esm/models/conflict-error-code.js +1 -0
- package/dist/esm/models/conflict-error-code.js.map +1 -1
- package/dist/esm/sdk/lists.d.ts +2 -2
- package/dist/esm/sdk/lists.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 8.1.3
|
|
4
|
+
|
|
5
|
+
* `sdk.assessments.create()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
6
|
+
* `sdk.assessments.get()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
7
|
+
* `sdk.assessments.delete()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
8
|
+
* `sdk.assessments.recordOutcome()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
9
|
+
* `sdk.assessments.query()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
10
|
+
* `sdk.accounts.listChanged()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
11
|
+
* `sdk.accounts.get()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
12
|
+
* `sdk.accounts.delete()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
13
|
+
* `sdk.accounts.listAssessments()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
14
|
+
* `sdk.accounts.recordEnforcement()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
15
|
+
* `sdk.keyUsage.record()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
16
|
+
* `sdk.keys.rotate()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
17
|
+
* `sdk.keys.create()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
18
|
+
* `sdk.keys.list()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
19
|
+
* `sdk.keys.revoke()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
20
|
+
* `sdk.integrations.create()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
21
|
+
* `sdk.integrations.list()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
22
|
+
* `sdk.integrations.delete()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
23
|
+
* `sdk.integrations.rotate()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
24
|
+
* `sdk.webhookEndpoints.list()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
25
|
+
* `sdk.webhookEndpoints.create()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
26
|
+
* `sdk.webhookEndpoints.delete()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
27
|
+
* `sdk.webhookEndpoints.rotateSigningKey()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
28
|
+
* `sdk.webhookEndpoints.sendTestEvent()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
29
|
+
* `sdk.webhookEndpoints.listDeliveries()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
30
|
+
* `sdk.webhookEndpoints.replayDelivery()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
31
|
+
* `sdk.settings.get()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
32
|
+
* `sdk.settings.update()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
33
|
+
* `sdk.lists.list()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
34
|
+
* `sdk.lists.create()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
35
|
+
* `sdk.lists.delete()`: `error.code.enum(listEntryTooBroad)` **Added**
|
|
36
|
+
|
|
3
37
|
## 8.1.2
|
|
4
38
|
|
|
5
39
|
* `sdk.lists.list()`: **Added**
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Add an entry to an environment's list.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists
|
|
15
|
+
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists, a full list 409 list_limit_reached, and an entry matching more than 5,000 accounts 409 list_entry_too_broad. Requires the management scope; the other environment answers 404 not_found.
|
|
16
16
|
*/
|
|
17
17
|
export declare function listsCreate(client: NoResponseCore, request: operations.CreateListEntryRequest, options?: RequestOptions): APIPromise<Result<operations.CreateListEntryResponse, errors.BadRequestError | errors.AuthenticationError | errors.PermissionDeniedError | errors.NotFoundError | errors.ConflictError | errors.RateLimitError | NoResponseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=lists-create.d.ts.map
|
|
@@ -49,7 +49,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
49
49
|
* Add an entry to an environment's list.
|
|
50
50
|
*
|
|
51
51
|
* @remarks
|
|
52
|
-
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists
|
|
52
|
+
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists, a full list 409 list_limit_reached, and an entry matching more than 5,000 accounts 409 list_entry_too_broad. Requires the management scope; the other environment answers 404 not_found.
|
|
53
53
|
*/
|
|
54
54
|
function listsCreate(client, request, options) {
|
|
55
55
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Remove an entry from an environment's list.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Removes an entry from the signing key's environment's list and re-decides
|
|
15
|
+
* Removes an entry from the signing key's environment's list and re-decides the accounts it matched, the 5,000 most recently assessed at most, each sending account.risk_changed when its decision changes. An unknown or already removed entry answers 404 not_found. Requires the management scope.
|
|
16
16
|
*/
|
|
17
17
|
export declare function listsDelete(client: NoResponseCore, request: operations.DeleteListEntryRequest, options?: RequestOptions): APIPromise<Result<operations.DeleteListEntryResponse | undefined, errors.BadRequestError | errors.AuthenticationError | errors.PermissionDeniedError | errors.NotFoundError | errors.ConflictError | errors.RateLimitError | NoResponseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=lists-delete.d.ts.map
|
|
@@ -50,7 +50,7 @@ const types$ = __importStar(require("../types/primitives.js"));
|
|
|
50
50
|
* Remove an entry from an environment's list.
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Removes an entry from the signing key's environment's list and re-decides
|
|
53
|
+
* Removes an entry from the signing key's environment's list and re-decides the accounts it matched, the 5,000 most recently assessed at most, each sending account.risk_changed when its decision changes. An unknown or already removed entry answers 404 not_found. Requires the management scope.
|
|
54
54
|
*/
|
|
55
55
|
function listsDelete(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1";
|
|
34
|
-
readonly sdkVersion: "8.1.
|
|
34
|
+
readonly sdkVersion: "8.1.3";
|
|
35
35
|
readonly genVersion: "internal";
|
|
36
|
-
readonly userAgent: "noresponse-sdk/typescript 8.1.
|
|
36
|
+
readonly userAgent: "noresponse-sdk/typescript 8.1.3 internal 1 @noresponse/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "1",
|
|
31
|
-
sdkVersion: "8.1.
|
|
31
|
+
sdkVersion: "8.1.3",
|
|
32
32
|
genVersion: "internal",
|
|
33
|
-
userAgent: "noresponse-sdk/typescript 8.1.
|
|
33
|
+
userAgent: "noresponse-sdk/typescript 8.1.3 internal 1 @noresponse/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -14,6 +14,7 @@ export declare const ConflictErrorCode: {
|
|
|
14
14
|
readonly SelfRevocation: "self_revocation";
|
|
15
15
|
readonly ListEntryExists: "list_entry_exists";
|
|
16
16
|
readonly ListLimitReached: "list_limit_reached";
|
|
17
|
+
readonly ListEntryTooBroad: "list_entry_too_broad";
|
|
17
18
|
};
|
|
18
19
|
/**
|
|
19
20
|
* Machine codes an HTTP 409 answer can carry.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conflict-error-code.d.ts","sourceRoot":"","sources":["../../../src/models/conflict-error-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"conflict-error-code.d.ts","sourceRoot":"","sources":["../../../src/models/conflict-error-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;CAYpB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEnE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,WAAW,CACzD,iBAAiB,EACjB,OAAO,CACqC,CAAC"}
|
|
@@ -49,6 +49,7 @@ exports.ConflictErrorCode = {
|
|
|
49
49
|
SelfRevocation: "self_revocation",
|
|
50
50
|
ListEntryExists: "list_entry_exists",
|
|
51
51
|
ListLimitReached: "list_limit_reached",
|
|
52
|
+
ListEntryTooBroad: "list_entry_too_broad",
|
|
52
53
|
};
|
|
53
54
|
/** @internal */
|
|
54
55
|
exports.ConflictErrorCode$inboundSchema = openEnums.inboundSchema(exports.ConflictErrorCode);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conflict-error-code.js","sourceRoot":"","sources":["../../../src/models/conflict-error-code.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAY,SAAS,8CAA0B;AAG/C;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,oBAAoB,EAAE,wBAAwB;IAC9C,qBAAqB,EAAE,0BAA0B;IACjD,2BAA2B,EAAE,gCAAgC;IAC7D,yBAAyB,EAAE,6BAA6B;IACxD,mBAAmB,EAAE,uBAAuB;IAC5C,gBAAgB,EAAE,oBAAoB;IACtC,eAAe,EAAE,mBAAmB;IACpC,cAAc,EAAE,iBAAiB;IACjC,eAAe,EAAE,mBAAmB;IACpC,gBAAgB,EAAE,oBAAoB;
|
|
1
|
+
{"version":3,"file":"conflict-error-code.js","sourceRoot":"","sources":["../../../src/models/conflict-error-code.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAY,SAAS,8CAA0B;AAG/C;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,oBAAoB,EAAE,wBAAwB;IAC9C,qBAAqB,EAAE,0BAA0B;IACjD,2BAA2B,EAAE,gCAAgC;IAC7D,yBAAyB,EAAE,6BAA6B;IACxD,mBAAmB,EAAE,uBAAuB;IAC5C,gBAAgB,EAAE,oBAAoB;IACtC,eAAe,EAAE,mBAAmB;IACpC,cAAc,EAAE,iBAAiB;IACjC,eAAe,EAAE,mBAAmB;IACpC,gBAAgB,EAAE,oBAAoB;IACtC,iBAAiB,EAAE,sBAAsB;CACjC,CAAC;AAMX,gBAAgB;AACH,QAAA,+BAA+B,GAGxC,SAAS,CAAC,aAAa,CAAC,QAAA,iBAAiB,CAAC,CAAC"}
|
|
@@ -12,14 +12,14 @@ export declare class Lists extends ClientSDK {
|
|
|
12
12
|
* Add an entry to an environment's list.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists
|
|
15
|
+
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists, a full list 409 list_limit_reached, and an entry matching more than 5,000 accounts 409 list_entry_too_broad. Requires the management scope; the other environment answers 404 not_found.
|
|
16
16
|
*/
|
|
17
17
|
create(request: operations.CreateListEntryRequest, options?: RequestOptions): Promise<operations.CreateListEntryResponse>;
|
|
18
18
|
/**
|
|
19
19
|
* Remove an entry from an environment's list.
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Removes an entry from the signing key's environment's list and re-decides
|
|
22
|
+
* Removes an entry from the signing key's environment's list and re-decides the accounts it matched, the 5,000 most recently assessed at most, each sending account.risk_changed when its decision changes. An unknown or already removed entry answers 404 not_found. Requires the management scope.
|
|
23
23
|
*/
|
|
24
24
|
delete(request: operations.DeleteListEntryRequest, options?: RequestOptions): Promise<operations.DeleteListEntryResponse | undefined>;
|
|
25
25
|
}
|
|
@@ -20,7 +20,7 @@ class Lists extends sdks_js_1.ClientSDK {
|
|
|
20
20
|
* Add an entry to an environment's list.
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
|
-
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists
|
|
23
|
+
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists, a full list 409 list_limit_reached, and an entry matching more than 5,000 accounts 409 list_entry_too_broad. Requires the management scope; the other environment answers 404 not_found.
|
|
24
24
|
*/
|
|
25
25
|
async create(request, options) {
|
|
26
26
|
return (0, fp_js_1.unwrapAsync)((0, lists_create_js_1.listsCreate)(this, request, options));
|
|
@@ -29,7 +29,7 @@ class Lists extends sdks_js_1.ClientSDK {
|
|
|
29
29
|
* Remove an entry from an environment's list.
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Removes an entry from the signing key's environment's list and re-decides
|
|
32
|
+
* Removes an entry from the signing key's environment's list and re-decides the accounts it matched, the 5,000 most recently assessed at most, each sending account.risk_changed when its decision changes. An unknown or already removed entry answers 404 not_found. Requires the management scope.
|
|
33
33
|
*/
|
|
34
34
|
async delete(request, options) {
|
|
35
35
|
return (0, fp_js_1.unwrapAsync)((0, lists_delete_js_1.listsDelete)(this, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Add an entry to an environment's list.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists
|
|
15
|
+
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists, a full list 409 list_limit_reached, and an entry matching more than 5,000 accounts 409 list_entry_too_broad. Requires the management scope; the other environment answers 404 not_found.
|
|
16
16
|
*/
|
|
17
17
|
export declare function listsCreate(client: NoResponseCore, request: operations.CreateListEntryRequest, options?: RequestOptions): APIPromise<Result<operations.CreateListEntryResponse, errors.BadRequestError | errors.AuthenticationError | errors.PermissionDeniedError | errors.NotFoundError | errors.ConflictError | errors.RateLimitError | NoResponseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=lists-create.d.ts.map
|
|
@@ -13,7 +13,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
13
13
|
* Add an entry to an environment's list.
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists
|
|
16
|
+
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists, a full list 409 list_limit_reached, and an entry matching more than 5,000 accounts 409 list_entry_too_broad. Requires the management scope; the other environment answers 404 not_found.
|
|
17
17
|
*/
|
|
18
18
|
export function listsCreate(client, request, options) {
|
|
19
19
|
return new APIPromise($do(client, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Remove an entry from an environment's list.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Removes an entry from the signing key's environment's list and re-decides
|
|
15
|
+
* Removes an entry from the signing key's environment's list and re-decides the accounts it matched, the 5,000 most recently assessed at most, each sending account.risk_changed when its decision changes. An unknown or already removed entry answers 404 not_found. Requires the management scope.
|
|
16
16
|
*/
|
|
17
17
|
export declare function listsDelete(client: NoResponseCore, request: operations.DeleteListEntryRequest, options?: RequestOptions): APIPromise<Result<operations.DeleteListEntryResponse | undefined, errors.BadRequestError | errors.AuthenticationError | errors.PermissionDeniedError | errors.NotFoundError | errors.ConflictError | errors.RateLimitError | NoResponseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=lists-delete.d.ts.map
|
|
@@ -14,7 +14,7 @@ import * as types$ from "../types/primitives.js";
|
|
|
14
14
|
* Remove an entry from an environment's list.
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Removes an entry from the signing key's environment's list and re-decides
|
|
17
|
+
* Removes an entry from the signing key's environment's list and re-decides the accounts it matched, the 5,000 most recently assessed at most, each sending account.risk_changed when its decision changes. An unknown or already removed entry answers 404 not_found. Requires the management scope.
|
|
18
18
|
*/
|
|
19
19
|
export function listsDelete(client, request, options) {
|
|
20
20
|
return new APIPromise($do(client, request, options));
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1";
|
|
34
|
-
readonly sdkVersion: "8.1.
|
|
34
|
+
readonly sdkVersion: "8.1.3";
|
|
35
35
|
readonly genVersion: "internal";
|
|
36
|
-
readonly userAgent: "noresponse-sdk/typescript 8.1.
|
|
36
|
+
readonly userAgent: "noresponse-sdk/typescript 8.1.3 internal 1 @noresponse/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -24,8 +24,8 @@ export function serverURLFromOptions(options) {
|
|
|
24
24
|
export const SDK_METADATA = {
|
|
25
25
|
language: "typescript",
|
|
26
26
|
openapiDocVersion: "1",
|
|
27
|
-
sdkVersion: "8.1.
|
|
27
|
+
sdkVersion: "8.1.3",
|
|
28
28
|
genVersion: "internal",
|
|
29
|
-
userAgent: "noresponse-sdk/typescript 8.1.
|
|
29
|
+
userAgent: "noresponse-sdk/typescript 8.1.3 internal 1 @noresponse/node",
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=config.js.map
|
|
@@ -14,6 +14,7 @@ export declare const ConflictErrorCode: {
|
|
|
14
14
|
readonly SelfRevocation: "self_revocation";
|
|
15
15
|
readonly ListEntryExists: "list_entry_exists";
|
|
16
16
|
readonly ListLimitReached: "list_limit_reached";
|
|
17
|
+
readonly ListEntryTooBroad: "list_entry_too_broad";
|
|
17
18
|
};
|
|
18
19
|
/**
|
|
19
20
|
* Machine codes an HTTP 409 answer can carry.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conflict-error-code.d.ts","sourceRoot":"","sources":["../../../src/models/conflict-error-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"conflict-error-code.d.ts","sourceRoot":"","sources":["../../../src/models/conflict-error-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;CAYpB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEnE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,WAAW,CACzD,iBAAiB,EACjB,OAAO,CACqC,CAAC"}
|
|
@@ -13,6 +13,7 @@ export const ConflictErrorCode = {
|
|
|
13
13
|
SelfRevocation: "self_revocation",
|
|
14
14
|
ListEntryExists: "list_entry_exists",
|
|
15
15
|
ListLimitReached: "list_limit_reached",
|
|
16
|
+
ListEntryTooBroad: "list_entry_too_broad",
|
|
16
17
|
};
|
|
17
18
|
/** @internal */
|
|
18
19
|
export const ConflictErrorCode$inboundSchema = openEnums.inboundSchema(ConflictErrorCode);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conflict-error-code.js","sourceRoot":"","sources":["../../../src/models/conflict-error-code.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,oBAAoB,EAAE,wBAAwB;IAC9C,qBAAqB,EAAE,0BAA0B;IACjD,2BAA2B,EAAE,gCAAgC;IAC7D,yBAAyB,EAAE,6BAA6B;IACxD,mBAAmB,EAAE,uBAAuB;IAC5C,gBAAgB,EAAE,oBAAoB;IACtC,eAAe,EAAE,mBAAmB;IACpC,cAAc,EAAE,iBAAiB;IACjC,eAAe,EAAE,mBAAmB;IACpC,gBAAgB,EAAE,oBAAoB;
|
|
1
|
+
{"version":3,"file":"conflict-error-code.js","sourceRoot":"","sources":["../../../src/models/conflict-error-code.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,oBAAoB,EAAE,wBAAwB;IAC9C,qBAAqB,EAAE,0BAA0B;IACjD,2BAA2B,EAAE,gCAAgC;IAC7D,yBAAyB,EAAE,6BAA6B;IACxD,mBAAmB,EAAE,uBAAuB;IAC5C,gBAAgB,EAAE,oBAAoB;IACtC,eAAe,EAAE,mBAAmB;IACpC,cAAc,EAAE,iBAAiB;IACjC,eAAe,EAAE,mBAAmB;IACpC,gBAAgB,EAAE,oBAAoB;IACtC,iBAAiB,EAAE,sBAAsB;CACjC,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAGxC,SAAS,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC"}
|
package/dist/esm/sdk/lists.d.ts
CHANGED
|
@@ -12,14 +12,14 @@ export declare class Lists extends ClientSDK {
|
|
|
12
12
|
* Add an entry to an environment's list.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists
|
|
15
|
+
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists, a full list 409 list_limit_reached, and an entry matching more than 5,000 accounts 409 list_entry_too_broad. Requires the management scope; the other environment answers 404 not_found.
|
|
16
16
|
*/
|
|
17
17
|
create(request: operations.CreateListEntryRequest, options?: RequestOptions): Promise<operations.CreateListEntryResponse>;
|
|
18
18
|
/**
|
|
19
19
|
* Remove an entry from an environment's list.
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Removes an entry from the signing key's environment's list and re-decides
|
|
22
|
+
* Removes an entry from the signing key's environment's list and re-decides the accounts it matched, the 5,000 most recently assessed at most, each sending account.risk_changed when its decision changes. An unknown or already removed entry answers 404 not_found. Requires the management scope.
|
|
23
23
|
*/
|
|
24
24
|
delete(request: operations.DeleteListEntryRequest, options?: RequestOptions): Promise<operations.DeleteListEntryResponse | undefined>;
|
|
25
25
|
}
|
package/dist/esm/sdk/lists.js
CHANGED
|
@@ -17,7 +17,7 @@ export class Lists extends ClientSDK {
|
|
|
17
17
|
* Add an entry to an environment's list.
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists
|
|
20
|
+
* Adds an exact email (kind email) or an email domain (kind email_domain) to the signing key's environment's list with the action block or allow, and answers the entry with its value in canonical form. An account matches when one of its assessments sent the email, or an email of the domain: a block entry decides block for every flow and an allow entry allow, block winning when both match, and the account's risk carries list_match with the entry's id while its score is unchanged. Every matching account is re-decided at once and sends account.risk_changed when its decision changes. A value already on the list answers 409 list_entry_exists, a full list 409 list_limit_reached, and an entry matching more than 5,000 accounts 409 list_entry_too_broad. Requires the management scope; the other environment answers 404 not_found.
|
|
21
21
|
*/
|
|
22
22
|
async create(request, options) {
|
|
23
23
|
return unwrapAsync(listsCreate(this, request, options));
|
|
@@ -26,7 +26,7 @@ export class Lists extends ClientSDK {
|
|
|
26
26
|
* Remove an entry from an environment's list.
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
* Removes an entry from the signing key's environment's list and re-decides
|
|
29
|
+
* Removes an entry from the signing key's environment's list and re-decides the accounts it matched, the 5,000 most recently assessed at most, each sending account.risk_changed when its decision changes. An unknown or already removed entry answers 404 not_found. Requires the management scope.
|
|
30
30
|
*/
|
|
31
31
|
async delete(request, options) {
|
|
32
32
|
return unwrapAsync(listsDelete(this, request, options));
|