@noresponse/node 9.4.5 → 9.5.0

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.
Files changed (119) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +17 -0
  3. package/dist/commonjs/funcs/accounts-search.d.ts +1 -1
  4. package/dist/commonjs/funcs/accounts-search.js +1 -1
  5. package/dist/commonjs/funcs/assessments-search.d.ts +1 -1
  6. package/dist/commonjs/funcs/assessments-search.js +1 -1
  7. package/dist/commonjs/lib/config.d.ts +2 -2
  8. package/dist/commonjs/lib/config.js +2 -2
  9. package/dist/commonjs/models/account-directory-page-item.d.ts +5 -0
  10. package/dist/commonjs/models/account-directory-page-item.d.ts.map +1 -1
  11. package/dist/commonjs/models/account-directory-page-item.js +3 -0
  12. package/dist/commonjs/models/account-directory-page-item.js.map +1 -1
  13. package/dist/commonjs/models/account-directory-search-request.d.ts +8 -2
  14. package/dist/commonjs/models/account-directory-search-request.d.ts.map +1 -1
  15. package/dist/commonjs/models/account-directory-search-request.js +3 -0
  16. package/dist/commonjs/models/account-directory-search-request.js.map +1 -1
  17. package/dist/commonjs/models/assessment-search-item.d.ts +5 -0
  18. package/dist/commonjs/models/assessment-search-item.d.ts.map +1 -1
  19. package/dist/commonjs/models/assessment-search-item.js +3 -0
  20. package/dist/commonjs/models/assessment-search-item.js.map +1 -1
  21. package/dist/commonjs/models/assessment-search-request.d.ts +8 -2
  22. package/dist/commonjs/models/assessment-search-request.d.ts.map +1 -1
  23. package/dist/commonjs/models/assessment-search-request.js +3 -0
  24. package/dist/commonjs/models/assessment-search-request.js.map +1 -1
  25. package/dist/commonjs/models/identifier-expression-leaf.d.ts +16 -0
  26. package/dist/commonjs/models/identifier-expression-leaf.d.ts.map +1 -0
  27. package/dist/commonjs/models/identifier-expression-leaf.js +47 -0
  28. package/dist/commonjs/models/identifier-expression-leaf.js.map +1 -0
  29. package/dist/commonjs/models/identifier-expression-node-level-one.d.ts +21 -0
  30. package/dist/commonjs/models/identifier-expression-node-level-one.d.ts.map +1 -0
  31. package/dist/commonjs/models/identifier-expression-node-level-one.js +50 -0
  32. package/dist/commonjs/models/identifier-expression-node-level-one.js.map +1 -0
  33. package/dist/commonjs/models/identifier-expression-node-level-two.d.ts +21 -0
  34. package/dist/commonjs/models/identifier-expression-node-level-two.d.ts.map +1 -0
  35. package/dist/commonjs/models/identifier-expression-node-level-two.js +50 -0
  36. package/dist/commonjs/models/identifier-expression-node-level-two.js.map +1 -0
  37. package/dist/commonjs/models/identifier-expression-node.d.ts +21 -0
  38. package/dist/commonjs/models/identifier-expression-node.d.ts.map +1 -0
  39. package/dist/commonjs/models/identifier-expression-node.js +50 -0
  40. package/dist/commonjs/models/identifier-expression-node.js.map +1 -0
  41. package/dist/commonjs/models/identifier-expression.d.ts +22 -0
  42. package/dist/commonjs/models/identifier-expression.d.ts.map +1 -0
  43. package/dist/commonjs/models/identifier-expression.js +49 -0
  44. package/dist/commonjs/models/identifier-expression.js.map +1 -0
  45. package/dist/commonjs/models/identifier-term-match.d.ts +38 -0
  46. package/dist/commonjs/models/identifier-term-match.d.ts.map +1 -0
  47. package/dist/commonjs/models/identifier-term-match.js +65 -0
  48. package/dist/commonjs/models/identifier-term-match.js.map +1 -0
  49. package/dist/commonjs/models/index.d.ts +7 -0
  50. package/dist/commonjs/models/index.d.ts.map +1 -1
  51. package/dist/commonjs/models/index.js +7 -0
  52. package/dist/commonjs/models/index.js.map +1 -1
  53. package/dist/commonjs/models/scope-enum.d.ts +16 -0
  54. package/dist/commonjs/models/scope-enum.d.ts.map +1 -0
  55. package/dist/commonjs/models/scope-enum.js +47 -0
  56. package/dist/commonjs/models/scope-enum.js.map +1 -0
  57. package/dist/commonjs/sdk/accounts.d.ts +1 -1
  58. package/dist/commonjs/sdk/accounts.js +1 -1
  59. package/dist/commonjs/sdk/assessments.d.ts +1 -1
  60. package/dist/commonjs/sdk/assessments.js +1 -1
  61. package/dist/esm/funcs/accounts-search.d.ts +1 -1
  62. package/dist/esm/funcs/accounts-search.js +1 -1
  63. package/dist/esm/funcs/assessments-search.d.ts +1 -1
  64. package/dist/esm/funcs/assessments-search.js +1 -1
  65. package/dist/esm/lib/config.d.ts +2 -2
  66. package/dist/esm/lib/config.js +2 -2
  67. package/dist/esm/models/account-directory-page-item.d.ts +5 -0
  68. package/dist/esm/models/account-directory-page-item.d.ts.map +1 -1
  69. package/dist/esm/models/account-directory-page-item.js +3 -0
  70. package/dist/esm/models/account-directory-page-item.js.map +1 -1
  71. package/dist/esm/models/account-directory-search-request.d.ts +8 -2
  72. package/dist/esm/models/account-directory-search-request.d.ts.map +1 -1
  73. package/dist/esm/models/account-directory-search-request.js +3 -0
  74. package/dist/esm/models/account-directory-search-request.js.map +1 -1
  75. package/dist/esm/models/assessment-search-item.d.ts +5 -0
  76. package/dist/esm/models/assessment-search-item.d.ts.map +1 -1
  77. package/dist/esm/models/assessment-search-item.js +3 -0
  78. package/dist/esm/models/assessment-search-item.js.map +1 -1
  79. package/dist/esm/models/assessment-search-request.d.ts +8 -2
  80. package/dist/esm/models/assessment-search-request.d.ts.map +1 -1
  81. package/dist/esm/models/assessment-search-request.js +3 -0
  82. package/dist/esm/models/assessment-search-request.js.map +1 -1
  83. package/dist/esm/models/identifier-expression-leaf.d.ts +16 -0
  84. package/dist/esm/models/identifier-expression-leaf.d.ts.map +1 -0
  85. package/dist/esm/models/identifier-expression-leaf.js +10 -0
  86. package/dist/esm/models/identifier-expression-leaf.js.map +1 -0
  87. package/dist/esm/models/identifier-expression-node-level-one.d.ts +21 -0
  88. package/dist/esm/models/identifier-expression-node-level-one.d.ts.map +1 -0
  89. package/dist/esm/models/identifier-expression-node-level-one.js +13 -0
  90. package/dist/esm/models/identifier-expression-node-level-one.js.map +1 -0
  91. package/dist/esm/models/identifier-expression-node-level-two.d.ts +21 -0
  92. package/dist/esm/models/identifier-expression-node-level-two.d.ts.map +1 -0
  93. package/dist/esm/models/identifier-expression-node-level-two.js +13 -0
  94. package/dist/esm/models/identifier-expression-node-level-two.js.map +1 -0
  95. package/dist/esm/models/identifier-expression-node.d.ts +21 -0
  96. package/dist/esm/models/identifier-expression-node.d.ts.map +1 -0
  97. package/dist/esm/models/identifier-expression-node.js +13 -0
  98. package/dist/esm/models/identifier-expression-node.js.map +1 -0
  99. package/dist/esm/models/identifier-expression.d.ts +22 -0
  100. package/dist/esm/models/identifier-expression.d.ts.map +1 -0
  101. package/dist/esm/models/identifier-expression.js +12 -0
  102. package/dist/esm/models/identifier-expression.js.map +1 -0
  103. package/dist/esm/models/identifier-term-match.d.ts +38 -0
  104. package/dist/esm/models/identifier-term-match.d.ts.map +1 -0
  105. package/dist/esm/models/identifier-term-match.js +28 -0
  106. package/dist/esm/models/identifier-term-match.js.map +1 -0
  107. package/dist/esm/models/index.d.ts +7 -0
  108. package/dist/esm/models/index.d.ts.map +1 -1
  109. package/dist/esm/models/index.js +7 -0
  110. package/dist/esm/models/index.js.map +1 -1
  111. package/dist/esm/models/scope-enum.d.ts +16 -0
  112. package/dist/esm/models/scope-enum.d.ts.map +1 -0
  113. package/dist/esm/models/scope-enum.js +11 -0
  114. package/dist/esm/models/scope-enum.js.map +1 -0
  115. package/dist/esm/sdk/accounts.d.ts +1 -1
  116. package/dist/esm/sdk/accounts.js +1 -1
  117. package/dist/esm/sdk/assessments.d.ts +1 -1
  118. package/dist/esm/sdk/assessments.js +1 -1
  119. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.5.0
4
+
5
+ * `sdk.assessments.search()`:
6
+ * `request.identifierExpression` **Added**
7
+ * `response.items[].matchedIdentifiers` **Added**
8
+ * `sdk.accounts.search()`:
9
+ * `request.identifierExpression` **Added**
10
+ * `response.items[].matchedIdentifiers` **Added**
11
+
3
12
  ## 9.4.5
4
13
 
5
14
  * `sdk.assessments.search()`:
package/README.md CHANGED
@@ -403,6 +403,23 @@ if (result.ok) console.log(result.value.result.status);
403
403
 
404
404
  </details>
405
405
 
406
+ ## Combine submitted identifiers
407
+
408
+ Search accounts and assessments with explicit AND/OR combinations of submitted
409
+ email, phone and customer-namespace username terms. Use `IdentifierExpression`
410
+ and its required `scope`: `assessment` requires one submission to satisfy the
411
+ whole expression; `account` can combine different retained submissions of the
412
+ same account and is accepted only by account search. Pass the expression through the generated search request `identifierExpression` field.
413
+
414
+ Expressions have at most eight raw terms and three group levels. The original
415
+ exact, canonical and explicit mailbox matching rules still apply to each term.
416
+ Expression results contain indexed `IdentifierTermMatch` records with the
417
+ original submitted value and originating assessment, separate from current
418
+ account risk. Single-identifier and legacy email filters retain their behavior.
419
+
420
+ See the [combined-search contract and examples](https://docs.noresponse.org/reference/investigation#combine-submitted-identifiers)
421
+ for the expression shape, scope differences, permissions and pagination.
422
+
406
423
  ## Support
407
424
 
408
425
  [Open an issue](https://github.com/noresponsehq/node/issues) and include the request ID from the response or error.
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Search distinct accounts by submitted identifier or account ID
14
14
  *
15
15
  * @remarks
16
- * Search distinct accounts observed in retained assessments in this environment. identifier matches an exact, canonical or explicitly selected mailbox form of a submitted email, phone or customer-namespace username. It matches historical retained inputs and returns matched_identifier with the original value and matching assessment. Each row has its newest retained assessment, current account decision when available, retained assessment count, and total distinct-account count. identifier and legacy email are mutually exclusive; account_id and needs_action combine with either using AND. Set needs_action to select accounts with a retained open or in-progress review, or a current review/block account decision without an effective retained account outcome. This filter applies before counting and pagination and adds waiting_for reasons. Current decisions include account list overrides and shared-key scoring and preserve admission holds. Typed identifier search uses stable opaque account order; ordinary and legacy email searches retain newest-seen order. Results are live across pages; each page's items and total share a database snapshot, while current account risk is read separately. Cursors are expiring and bound to scope, operation and filters. Totals are exact below 10000 and capped at 10000. Requires history or investigate authority and identifier-read permission for identifier or email filtering. needs_action additionally requires management scope. Source-discovered associations are not searched and equality is not verified ownership.
16
+ * Search distinct accounts observed in retained assessments in this environment. identifier matches an exact, canonical or explicitly selected mailbox form of a submitted email, phone or customer-namespace username. It matches historical retained inputs and returns matched_identifier with the original value and matching assessment. Each row has its newest retained assessment, current account decision when available, retained assessment count, and total distinct-account count. identifier and legacy email are mutually exclusive; account_id and needs_action combine with either using AND. Set needs_action to select accounts with a retained open or in-progress review, or a current review/block account decision without an effective retained account outcome. This filter applies before counting and pagination and adds waiting_for reasons. Current decisions include account list overrides and shared-key scoring and preserve admission holds. Typed identifier search uses stable opaque account order; ordinary and legacy email searches retain newest-seen order. Results are live across pages; each page's items and total share a database snapshot, while current account risk is read separately. Cursors are expiring and bound to scope, operation and filters. Totals are exact below 10000 and capped at 10000. Requires history or investigate authority and identifier-read permission for identifier, identifier_expression or email filtering. needs_action additionally requires management scope. Source-discovered associations are not searched and equality is not verified ownership. identifier_expression combines submitted terms with bounded AND/OR, at most 8 raw terms and 3 group levels. Each node selects exactly one of term, and, or. Groups have 2 to 8 operands. Duplicate normalized terms are idempotent and still count toward the limit. identifier_expression, identifier and email are mutually exclusive. Expression results use matched_identifiers with original submitted witnesses and zero-based depth-first term_index. All satisfied unique terms are returned in first-occurrence order. Cursors bind scope, ordered structure, original values, matching modes and all other filters; changing only page limit is allowed. Required expression scope assessment evaluates the whole expression in one retained submission; scope account allows different retained submissions of the same account to satisfy different terms. Both use stable opaque account ordering and distinct-account counting before pagination.
17
17
  */
18
18
  export declare function accountsSearch(client: NoResponseCore, request: models.AccountDirectorySearchRequest, options?: RequestOptions): APIPromise<Result<operations.SearchAccountsResponse, errors.BadRequestError | errors.AuthenticationError | errors.PermissionDeniedError | errors.NotFoundError | errors.ConflictError | errors.RateLimitError | NoResponseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
19
19
  //# sourceMappingURL=accounts-search.d.ts.map
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
50
50
  * Search distinct accounts by submitted identifier or account ID
51
51
  *
52
52
  * @remarks
53
- * Search distinct accounts observed in retained assessments in this environment. identifier matches an exact, canonical or explicitly selected mailbox form of a submitted email, phone or customer-namespace username. It matches historical retained inputs and returns matched_identifier with the original value and matching assessment. Each row has its newest retained assessment, current account decision when available, retained assessment count, and total distinct-account count. identifier and legacy email are mutually exclusive; account_id and needs_action combine with either using AND. Set needs_action to select accounts with a retained open or in-progress review, or a current review/block account decision without an effective retained account outcome. This filter applies before counting and pagination and adds waiting_for reasons. Current decisions include account list overrides and shared-key scoring and preserve admission holds. Typed identifier search uses stable opaque account order; ordinary and legacy email searches retain newest-seen order. Results are live across pages; each page's items and total share a database snapshot, while current account risk is read separately. Cursors are expiring and bound to scope, operation and filters. Totals are exact below 10000 and capped at 10000. Requires history or investigate authority and identifier-read permission for identifier or email filtering. needs_action additionally requires management scope. Source-discovered associations are not searched and equality is not verified ownership.
53
+ * Search distinct accounts observed in retained assessments in this environment. identifier matches an exact, canonical or explicitly selected mailbox form of a submitted email, phone or customer-namespace username. It matches historical retained inputs and returns matched_identifier with the original value and matching assessment. Each row has its newest retained assessment, current account decision when available, retained assessment count, and total distinct-account count. identifier and legacy email are mutually exclusive; account_id and needs_action combine with either using AND. Set needs_action to select accounts with a retained open or in-progress review, or a current review/block account decision without an effective retained account outcome. This filter applies before counting and pagination and adds waiting_for reasons. Current decisions include account list overrides and shared-key scoring and preserve admission holds. Typed identifier search uses stable opaque account order; ordinary and legacy email searches retain newest-seen order. Results are live across pages; each page's items and total share a database snapshot, while current account risk is read separately. Cursors are expiring and bound to scope, operation and filters. Totals are exact below 10000 and capped at 10000. Requires history or investigate authority and identifier-read permission for identifier, identifier_expression or email filtering. needs_action additionally requires management scope. Source-discovered associations are not searched and equality is not verified ownership. identifier_expression combines submitted terms with bounded AND/OR, at most 8 raw terms and 3 group levels. Each node selects exactly one of term, and, or. Groups have 2 to 8 operands. Duplicate normalized terms are idempotent and still count toward the limit. identifier_expression, identifier and email are mutually exclusive. Expression results use matched_identifiers with original submitted witnesses and zero-based depth-first term_index. All satisfied unique terms are returned in first-occurrence order. Cursors bind scope, ordered structure, original values, matching modes and all other filters; changing only page limit is allowed. Required expression scope assessment evaluates the whole expression in one retained submission; scope account allows different retained submissions of the same account to satisfy different terms. Both use stable opaque account ordering and distinct-account counting before pagination.
54
54
  */
55
55
  function accountsSearch(client, request, options) {
56
56
  return new async_js_1.APIPromise($do(client, request, options));
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Search assessments across this environment
14
14
  *
15
15
  * @remarks
16
- * Search retained assessments created in [from,to), at most 366 days. identifier directly matches that assessment's submitted email, phone or customer-namespace username using exact, canonical or explicitly selected email mailbox matching. matched_identifier explains the original value and match basis. Legacy email keeps its account-wide mailbox semantics and cannot be combined with identifier. Other filters combine using AND and describe assessment decisions, separate from current account decisions. Each item carries the original submitted identifiers and its first_decision when available. Newest-created order has an assessment-ID tie break. Results are live across pages; each page's total and items use one database snapshot. Totals are exact below 10000 and capped at 10000. Requires history or investigate authority and identifier-read permission for identifier/email filters; detailed mode also requires detailed permission. No Idempotency-Key.
16
+ * Search retained assessments created in [from,to), at most 366 days. identifier directly matches that assessment's submitted email, phone or customer-namespace username using exact, canonical or explicitly selected email mailbox matching. matched_identifier explains the original value and match basis. Legacy email keeps its account-wide mailbox semantics and cannot be combined with identifier. Other filters combine using AND and describe assessment decisions, separate from current account decisions. Each item carries the original submitted identifiers and its first_decision when available. Newest-created order has an assessment-ID tie break. Results are live across pages; each page's total and items use one database snapshot. Totals are exact below 10000 and capped at 10000. Requires history or investigate authority and identifier-read permission for identifier, identifier_expression or email filters; detailed mode also requires detailed permission. No Idempotency-Key. identifier_expression combines submitted terms with bounded AND/OR, at most 8 raw terms and 3 group levels. Each node selects exactly one of term, and, or. Groups have 2 to 8 operands. Duplicate normalized terms are idempotent and still count toward the limit. identifier_expression, identifier and email are mutually exclusive. Expression results use matched_identifiers with original submitted witnesses and zero-based depth-first term_index. All satisfied unique terms are returned in first-occurrence order. Cursors bind scope, ordered structure, original values, matching modes and all other filters; changing only page limit is allowed. Expression scope must be assessment: each returned assessment itself satisfies the complete expression. Scope account is rejected with 400 invalid_request; use account search for historical combinations.
17
17
  */
18
18
  export declare function assessmentsSearch(client: NoResponseCore, request: models.AssessmentSearchRequest, options?: RequestOptions): APIPromise<Result<operations.SearchAssessmentsResponse, errors.BadRequestError | errors.AuthenticationError | errors.PermissionDeniedError | errors.NotFoundError | errors.ConflictError | errors.RateLimitError | NoResponseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
19
19
  //# sourceMappingURL=assessments-search.d.ts.map
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
50
50
  * Search assessments across this environment
51
51
  *
52
52
  * @remarks
53
- * Search retained assessments created in [from,to), at most 366 days. identifier directly matches that assessment's submitted email, phone or customer-namespace username using exact, canonical or explicitly selected email mailbox matching. matched_identifier explains the original value and match basis. Legacy email keeps its account-wide mailbox semantics and cannot be combined with identifier. Other filters combine using AND and describe assessment decisions, separate from current account decisions. Each item carries the original submitted identifiers and its first_decision when available. Newest-created order has an assessment-ID tie break. Results are live across pages; each page's total and items use one database snapshot. Totals are exact below 10000 and capped at 10000. Requires history or investigate authority and identifier-read permission for identifier/email filters; detailed mode also requires detailed permission. No Idempotency-Key.
53
+ * Search retained assessments created in [from,to), at most 366 days. identifier directly matches that assessment's submitted email, phone or customer-namespace username using exact, canonical or explicitly selected email mailbox matching. matched_identifier explains the original value and match basis. Legacy email keeps its account-wide mailbox semantics and cannot be combined with identifier. Other filters combine using AND and describe assessment decisions, separate from current account decisions. Each item carries the original submitted identifiers and its first_decision when available. Newest-created order has an assessment-ID tie break. Results are live across pages; each page's total and items use one database snapshot. Totals are exact below 10000 and capped at 10000. Requires history or investigate authority and identifier-read permission for identifier, identifier_expression or email filters; detailed mode also requires detailed permission. No Idempotency-Key. identifier_expression combines submitted terms with bounded AND/OR, at most 8 raw terms and 3 group levels. Each node selects exactly one of term, and, or. Groups have 2 to 8 operands. Duplicate normalized terms are idempotent and still count toward the limit. identifier_expression, identifier and email are mutually exclusive. Expression results use matched_identifiers with original submitted witnesses and zero-based depth-first term_index. All satisfied unique terms are returned in first-occurrence order. Cursors bind scope, ordered structure, original values, matching modes and all other filters; changing only page limit is allowed. Expression scope must be assessment: each returned assessment itself satisfies the complete expression. Scope account is rejected with 400 invalid_request; use account search for historical combinations.
54
54
  */
55
55
  function assessmentsSearch(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: "9.4.5";
34
+ readonly sdkVersion: "9.5.0";
35
35
  readonly genVersion: "internal";
36
- readonly userAgent: "noresponse-sdk/typescript 9.4.5 internal 1 @noresponse/node";
36
+ readonly userAgent: "noresponse-sdk/typescript 9.5.0 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: "9.4.5",
31
+ sdkVersion: "9.5.0",
32
32
  genVersion: "internal",
33
- userAgent: "noresponse-sdk/typescript 9.4.5 internal 1 @noresponse/node",
33
+ userAgent: "noresponse-sdk/typescript 9.5.0 internal 1 @noresponse/node",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -5,6 +5,7 @@ import { Account } from "./account.js";
5
5
  import { AssessmentRevision } from "./assessment-revision.js";
6
6
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
7
7
  import { IdentifierMatch } from "./identifier-match.js";
8
+ import { IdentifierTermMatch } from "./identifier-term-match.js";
8
9
  export declare const WaitingFor: {
9
10
  readonly Outcome: "outcome";
10
11
  readonly Review: "review";
@@ -35,6 +36,10 @@ export type AccountDirectoryPageItem = {
35
36
  * Why this result matched a typed identifier search. value is the original value submitted in assessment_id. Provenance records a customer submission, not a source discovery or verified ownership. Equality is deterministic and has no inferred confidence score. An account result names its newest retained matching assessment, which can differ from latest.
36
37
  */
37
38
  matchedIdentifier?: IdentifierMatch | undefined;
39
+ /**
40
+ * Present only for identifier_expression. All satisfied unique terms, ordered by term_index, with original submitted values and retained assessment witnesses. A duplicate normalized term appears once at its first raw leaf index. The legacy single identifier filter instead returns matched_identifier.
41
+ */
42
+ matchedIdentifiers?: Array<IdentifierTermMatch> | undefined;
38
43
  };
39
44
  /** @internal */
40
45
  export declare const WaitingFor$inboundSchema: z.ZodMiniType<WaitingFor, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"account-directory-page-item.d.ts","sourceRoot":"","sources":["../../../src/models/account-directory-page-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAIjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAEnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAE/B,eAAO,MAAM,UAAU;;;CAGb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,kBAAkB,CAAC;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CACnC,CAAC;AAEtC,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,wBAAwB,EACxB,OAAO,CAiBR,CAAC;AAEF,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
1
+ {"version":3,"file":"account-directory-page-item.d.ts","sourceRoot":"","sources":["../../../src/models/account-directory-page-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAIjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAEnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,mBAAmB,EAEpB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,UAAU;;;CAGb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,kBAAkB,CAAC;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;CAC7D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CACnC,CAAC;AAEtC,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,wBAAwB,EACxB,OAAO,CAqBR,CAAC;AAEF,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
@@ -43,6 +43,7 @@ const types = __importStar(require("../types/primitives.js"));
43
43
  const account_js_1 = require("./account.js");
44
44
  const assessment_revision_js_1 = require("./assessment-revision.js");
45
45
  const identifier_match_js_1 = require("./identifier-match.js");
46
+ const identifier_term_match_js_1 = require("./identifier-term-match.js");
46
47
  exports.WaitingFor = {
47
48
  Outcome: "outcome",
48
49
  Review: "review",
@@ -57,11 +58,13 @@ exports.AccountDirectoryPageItem$inboundSchema = z.pipe(z.object({
57
58
  current: types.optional(account_js_1.Account$inboundSchema),
58
59
  assessments: types.number(),
59
60
  matched_identifier: types.optional(identifier_match_js_1.IdentifierMatch$inboundSchema),
61
+ matched_identifiers: types.optional(z.array(identifier_term_match_js_1.IdentifierTermMatch$inboundSchema)),
60
62
  }), z.transform((v) => {
61
63
  return (0, primitives_js_1.remap)(v, {
62
64
  "waiting_for": "waitingFor",
63
65
  "account_id": "accountId",
64
66
  "matched_identifier": "matchedIdentifier",
67
+ "matched_identifiers": "matchedIdentifiers",
65
68
  });
66
69
  }));
67
70
  function accountDirectoryPageItemFromJSON(jsonString) {
@@ -1 +1 @@
1
- {"version":3,"file":"account-directory-page-item.js","sourceRoot":"","sources":["../../../src/models/account-directory-page-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,kDAA8C;AAC9C,MAAY,SAAS,8CAA0B;AAG/C,MAAY,KAAK,mDAA+B;AAChD,6CAA8D;AAC9D,qEAGkC;AAElC,+DAG+B;AAElB,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AA8BX,gBAAgB;AACH,QAAA,wBAAwB,GACnC,SAAS,CAAC,aAAa,CAAC,QAAA,UAAU,CAAC,CAAC;AAEtC,gBAAgB;AACH,QAAA,sCAAsC,GAG/C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAA,wBAAwB,CAAC,CAAC;IAC9D,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;IAC1B,MAAM,EAAE,yDAAgC;IACxC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,kCAAqB,CAAC;IAC9C,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;IAC3B,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC,mDAA6B,CAAC;CAClE,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,WAAW;QACzB,oBAAoB,EAAE,mBAAmB;KAC1C,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,0CACE,UAAkB,EAC6C;IAC/D,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,sCAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"account-directory-page-item.js","sourceRoot":"","sources":["../../../src/models/account-directory-page-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,kDAA8C;AAC9C,MAAY,SAAS,8CAA0B;AAG/C,MAAY,KAAK,mDAA+B;AAChD,6CAA8D;AAC9D,qEAGkC;AAElC,+DAG+B;AAC/B,yEAGoC;AAEvB,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAkCX,gBAAgB;AACH,QAAA,wBAAwB,GACnC,SAAS,CAAC,aAAa,CAAC,QAAA,UAAU,CAAC,CAAC;AAEtC,gBAAgB;AACH,QAAA,sCAAsC,GAG/C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAA,wBAAwB,CAAC,CAAC;IAC9D,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;IAC1B,MAAM,EAAE,yDAAgC;IACxC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,kCAAqB,CAAC;IAC9C,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;IAC3B,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC,mDAA6B,CAAC;IACjE,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CACjC,CAAC,CAAC,KAAK,CAAC,4DAAiC,CAAC,CAC3C;CACF,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,WAAW;QACzB,oBAAoB,EAAE,mBAAmB;QACzC,qBAAqB,EAAE,oBAAoB;KAC5C,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,0CACE,UAAkB,EAC6C;IAC/D,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,sCAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AAAA,CACH"}
@@ -1,7 +1,8 @@
1
1
  import * as z from "zod/v4-mini";
2
+ import { IdentifierExpression, IdentifierExpression$Outbound } from "./identifier-expression.js";
2
3
  import { IdentifierSearch, IdentifierSearch$Outbound } from "./identifier-search.js";
3
4
  /**
4
- * Bounded distinct-account search for one authenticated workspace/environment. identifier matches any retained admitted assessment of an account, including historical submitted values. email preserves the legacy canonical-mailbox filter. identifier and email cannot be combined. All other filters combine using AND. Typed identifier search uses stable opaque account order; ordinary and legacy email searches retain newest-seen ordering. Pages are live, not a cross-page snapshot. Requires history or investigate authority and identifier-read permission for identifier or email filtering.
5
+ * Bounded distinct-account search for one authenticated workspace/environment. identifier matches any retained admitted assessment of an account, including historical submitted values. email preserves the legacy canonical-mailbox filter. identifier and email cannot be combined. All other filters combine using AND. Typed identifier search uses stable opaque account order; ordinary and legacy email searches retain newest-seen ordering. Pages are live, not a cross-page snapshot. Requires history or investigate authority and identifier-read permission for identifier, identifier_expression or email filtering. identifier_expression explicitly chooses scope assessment (one whole matching submission) or account (terms may match different retained submissions of one account). At most 8 raw terms and 3 group levels. Mutually exclusive with identifier and email. Expression search uses the same stable opaque account order as typed identifier search.
5
6
  */
6
7
  export type AccountDirectorySearchRequest = {
7
8
  /**
@@ -18,13 +19,17 @@ export type AccountDirectorySearchRequest = {
18
19
  email?: string | undefined;
19
20
  limit?: number | undefined;
20
21
  /**
21
- * Opaque, expiring cursor bound to this environment, operation and every filter. Keep the filters unchanged.
22
+ * Opaque, expiring cursor bound to workspace, environment, operation and all filters, including expression scope, ordered structure and original term values. Keep grouping, operand order, matching modes and values unchanged; an omitted match is equivalent to exact. The page limit may change.
22
23
  */
23
24
  cursor?: string | undefined;
24
25
  /**
25
26
  * One customer-submitted identifier. Defaults to exact comparison of the original submitted value. canonical uses the supported identifier normalisation without an ownership claim: email preserves local-part case, NFC-normalises it and lowercases the domain without removing dots or tags; phone uses international E.164 without extensions or an inferred region; username uses NFC and Unicode case folding within the customer namespace. mailbox is email-only and explicitly selects existing list rules: case-insensitive, remove +tag, and ignore local-part dots at gmail.com and googlemail.com; googlemail.com maps to gmail.com. Username requires namespace customer. Email and phone forbid namespace. Source-discovered identifiers and platform handles are not searched. Unsupported kinds, namespaces, modes and invalid values return 400. Search equality does not establish verified ownership or merge accounts.
26
27
  */
27
28
  identifier?: IdentifierSearch | undefined;
29
+ /**
30
+ * A bounded AND/OR expression over submitted identifiers. Required scope assessment means the entire expression must match one retained assessment. Scope account permits each term to match a different retained assessment of the same account and is accepted only by account search. Exactly one of term, and or or is allowed at every node. Groups contain 2 to 8 operands, with at most 3 nested group levels and 8 raw term occurrences over the entire expression. A root term is allowed. Duplicate terms with the same kind, match rule, namespace and normalized comparison are idempotent, but count toward the raw limit. Match rules default to exact and preserve the existing identifier contract. Only retained submitted identifiers can satisfy a term. Unknown fields, unsupported scopes and malformed or oversized expressions return 400 invalid_request.
31
+ */
32
+ identifierExpression?: IdentifierExpression | undefined;
28
33
  };
29
34
  /** @internal */
30
35
  export type AccountDirectorySearchRequest$Outbound = {
@@ -34,6 +39,7 @@ export type AccountDirectorySearchRequest$Outbound = {
34
39
  limit: number;
35
40
  cursor?: string | undefined;
36
41
  identifier?: IdentifierSearch$Outbound | undefined;
42
+ identifier_expression?: IdentifierExpression$Outbound | undefined;
37
43
  };
38
44
  /** @internal */
39
45
  export declare const AccountDirectorySearchRequest$outboundSchema: z.ZodMiniType<AccountDirectorySearchRequest$Outbound, AccountDirectorySearchRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"account-directory-search-request.d.ts","sourceRoot":"","sources":["../../../src/models/account-directory-search-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,WAAW,CACtE,sCAAsC,EACtC,6BAA6B,CAgB9B,CAAC;AAEF,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR"}
1
+ {"version":3,"file":"account-directory-search-request.d.ts","sourceRoot":"","sources":["../../../src/models/account-directory-search-request.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37,6 +37,7 @@ exports.AccountDirectorySearchRequest$outboundSchema = void 0;
37
37
  exports.accountDirectorySearchRequestToJSON = accountDirectorySearchRequestToJSON;
38
38
  const z = __importStar(require("zod/v4-mini"));
39
39
  const primitives_js_1 = require("../lib/primitives.js");
40
+ const identifier_expression_js_1 = require("./identifier-expression.js");
40
41
  const identifier_search_js_1 = require("./identifier-search.js");
41
42
  /** @internal */
42
43
  exports.AccountDirectorySearchRequest$outboundSchema = z.pipe(z.object({
@@ -46,10 +47,12 @@ exports.AccountDirectorySearchRequest$outboundSchema = z.pipe(z.object({
46
47
  limit: z._default(z.int(), 25),
47
48
  cursor: z.optional(z.string()),
48
49
  identifier: z.optional(identifier_search_js_1.IdentifierSearch$outboundSchema),
50
+ identifierExpression: z.optional(identifier_expression_js_1.IdentifierExpression$outboundSchema),
49
51
  }), z.transform((v) => {
50
52
  return (0, primitives_js_1.remap)(v, {
51
53
  needsAction: "needs_action",
52
54
  accountId: "account_id",
55
+ identifierExpression: "identifier_expression",
53
56
  });
54
57
  }));
55
58
  function accountDirectorySearchRequestToJSON(accountDirectorySearchRequest) {
@@ -1 +1 @@
1
- {"version":3,"file":"account-directory-search-request.js","sourceRoot":"","sources":["../../../src/models/account-directory-search-request.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,iEAIgC;AAuChC,gBAAgB;AACH,QAAA,4CAA4C,GAGrD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;IAC3C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7B,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,sDAA+B,CAAC;CACxD,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,6CACE,6BAA4D,EACpD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,4CAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"account-directory-search-request.js","sourceRoot":"","sources":["../../../src/models/account-directory-search-request.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,yEAIoC;AACpC,iEAIgC;AA4ChC,gBAAgB;AACH,QAAA,4CAA4C,GAGrD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;IAC3C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7B,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,sDAA+B,CAAC;IACvD,oBAAoB,EAAE,CAAC,CAAC,QAAQ,CAAC,8DAAmC,CAAC;CACtE,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,YAAY;QACvB,oBAAoB,EAAE,uBAAuB;KAC9C,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,6CACE,6BAA4D,EACpD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,4CAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AAAA,CACH"}
@@ -6,6 +6,7 @@ import { Depth } from "./depth.js";
6
6
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
7
7
  import { Flow } from "./flow.js";
8
8
  import { IdentifierMatch } from "./identifier-match.js";
9
+ import { IdentifierTermMatch } from "./identifier-term-match.js";
9
10
  import { Status } from "./status.js";
10
11
  /**
11
12
  * One stored assessment revision, exactly as GET /v1/assessments/{assessment_id}/versions/{version} returns it, with the decision of the assessment's first answer. It is not re-scored and carries no current account risk.
@@ -43,6 +44,10 @@ export type AssessmentSearchItem = {
43
44
  * Why this result matched a typed identifier search. value is the original value submitted in assessment_id. Provenance records a customer submission, not a source discovery or verified ownership. Equality is deterministic and has no inferred confidence score. An account result names its newest retained matching assessment, which can differ from latest.
44
45
  */
45
46
  matchedIdentifier?: IdentifierMatch | undefined;
47
+ /**
48
+ * Present only for identifier_expression. All satisfied unique terms, ordered by term_index, with original submitted values and retained assessment witnesses. A duplicate normalized term appears once at its first raw leaf index. The legacy single identifier filter instead returns matched_identifier.
49
+ */
50
+ matchedIdentifiers?: Array<IdentifierTermMatch> | undefined;
46
51
  };
47
52
  /** @internal */
48
53
  export declare const AssessmentSearchItem$inboundSchema: z.ZodMiniType<AssessmentSearchItem, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"assessment-search-item.d.ts","sourceRoot":"","sources":["../../../src/models/assessment-search-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EACL,gBAAgB,EAEjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAA0B,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,KAAK,EAAuB,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAsB,MAAM,WAAW,CAAC;AACrD,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,aAAa,EAAE,GAAG,CAAC;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,iBAAiB,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,CAmBR,CAAC;AAEF,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
1
+ {"version":3,"file":"assessment-search-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U,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -44,6 +44,7 @@ const decision_js_1 = require("./decision.js");
44
44
  const depth_js_1 = require("./depth.js");
45
45
  const flow_js_1 = require("./flow.js");
46
46
  const identifier_match_js_1 = require("./identifier-match.js");
47
+ const identifier_term_match_js_1 = require("./identifier-term-match.js");
47
48
  const status_js_1 = require("./status.js");
48
49
  /** @internal */
49
50
  exports.AssessmentSearchItem$inboundSchema = z.pipe(z.object({
@@ -55,11 +56,13 @@ exports.AssessmentSearchItem$inboundSchema = z.pipe(z.object({
55
56
  detail: assessment_detail_js_1.AssessmentDetail$inboundSchema,
56
57
  first_decision: types.optional(decision_js_1.Decision$inboundSchema),
57
58
  matched_identifier: types.optional(identifier_match_js_1.IdentifierMatch$inboundSchema),
59
+ matched_identifiers: types.optional(z.array(identifier_term_match_js_1.IdentifierTermMatch$inboundSchema)),
58
60
  }), z.transform((v) => {
59
61
  return (0, primitives_js_1.remap)(v, {
60
62
  "schema_version": "schemaVersion",
61
63
  "first_decision": "firstDecision",
62
64
  "matched_identifier": "matchedIdentifier",
65
+ "matched_identifiers": "matchedIdentifiers",
63
66
  });
64
67
  }));
65
68
  function assessmentSearchItemFromJSON(jsonString) {
@@ -1 +1 @@
1
- {"version":3,"file":"assessment-search-item.js","sourceRoot":"","sources":["../../../src/models/assessment-search-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAChD,iEAGgC;AAChC,+CAAiE;AACjE,yCAAwD;AAExD,uCAAqD;AACrD,+DAG+B;AAC/B,2CAA2D;AAwC3D,gBAAgB;AACH,QAAA,kCAAkC,GAG3C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,cAAc,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;IAClC,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,gCAAoB;IAC5B,IAAI,EAAE,4BAAkB;IACxB,KAAK,EAAE,8BAAmB;IAC1B,MAAM,EAAE,qDAA8B;IACtC,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,oCAAsB,CAAC;IACtD,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC,mDAA6B,CAAC;CAClE,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,eAAe;QACjC,gBAAgB,EAAE,eAAe;QACjC,oBAAoB,EAAE,mBAAmB;KAC1C,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,sCACE,UAAkB,EACyC;IAC3D,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"assessment-search-item.js","sourceRoot":"","sources":["../../../src/models/assessment-search-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAChD,iEAGgC;AAChC,+CAAiE;AACjE,yCAAwD;AAExD,uCAAqD;AACrD,+DAG+B;AAC/B,yEAGoC;AACpC,2CAA2D;AA4C3D,gBAAgB;AACH,QAAA,kCAAkC,GAG3C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,cAAc,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;IAClC,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,gCAAoB;IAC5B,IAAI,EAAE,4BAAkB;IACxB,KAAK,EAAE,8BAAmB;IAC1B,MAAM,EAAE,qDAA8B;IACtC,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,oCAAsB,CAAC;IACtD,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC,mDAA6B,CAAC;IACjE,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CACjC,CAAC,CAAC,KAAK,CAAC,4DAAiC,CAAC,CAC3C;CACF,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,eAAe;QACjC,gBAAgB,EAAE,eAAe;QACjC,oBAAoB,EAAE,mBAAmB;QACzC,qBAAqB,EAAE,oBAAoB;KAC5C,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,sCACE,UAAkB,EACyC;IAC3D,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AAAA,CACH"}
@@ -3,6 +3,7 @@ import { AnswerRevision } from "./answer-revision.js";
3
3
  import { Band } from "./band.js";
4
4
  import { Decision } from "./decision.js";
5
5
  import { Flow } from "./flow.js";
6
+ import { IdentifierExpression, IdentifierExpression$Outbound } from "./identifier-expression.js";
6
7
  import { IdentifierSearch, IdentifierSearch$Outbound } from "./identifier-search.js";
7
8
  import { Impact } from "./impact.js";
8
9
  import { Lane } from "./lane.js";
@@ -12,7 +13,7 @@ import { Recommendation } from "./recommendation.js";
12
13
  import { ResponseMode } from "./response-mode.js";
13
14
  import { Status } from "./status.js";
14
15
  /**
15
- * Search retained assessments created in [from,to), at most 366 days. identifier matches the submitted value of each returned assessment directly. The legacy email filter keeps its account-wide mailbox semantics and cannot be combined with identifier. Other filters combine using AND and describe assessment decisions, separate from current account decisions. Results use newest-created order with an assessment-ID tie break and are live, not a snapshot across pages. Requires history or investigate authority; identifier/email filtering also requires identifier-read permission. Detailed response mode additionally requires detailed permission. No Idempotency-Key.
16
+ * Search retained assessments created in [from,to), at most 366 days. identifier matches the submitted value of each returned assessment directly. The legacy email filter keeps its account-wide mailbox semantics and cannot be combined with identifier. Other filters combine using AND and describe assessment decisions, separate from current account decisions. Results use newest-created order with an assessment-ID tie break and are live, not a snapshot across pages. Requires history or investigate authority; identifier, identifier_expression and email filtering also require identifier-read permission. Detailed response mode additionally requires detailed permission. No Idempotency-Key. identifier_expression requires scope assessment and matches the complete expression within each returned submission; account scope returns 400 invalid_request. At most 8 raw terms and 3 group levels. Mutually exclusive with identifier and email.
16
17
  */
17
18
  export type AssessmentSearchRequest = {
18
19
  from: string;
@@ -39,7 +40,7 @@ export type AssessmentSearchRequest = {
39
40
  recommendation?: Recommendation | undefined;
40
41
  limit?: number | undefined;
41
42
  /**
42
- * Opaque, expiring cursor bound to this environment, operation and every filter. Keep the filters unchanged.
43
+ * Opaque, expiring cursor bound to workspace, environment, operation and all filters, including expression scope, ordered structure and original term values. Keep grouping, operand order, matching modes and values unchanged; an omitted match is equivalent to exact. The page limit may change.
43
44
  */
44
45
  cursor?: string | undefined;
45
46
  /**
@@ -89,6 +90,10 @@ export type AssessmentSearchRequest = {
89
90
  * One customer-submitted identifier. Defaults to exact comparison of the original submitted value. canonical uses the supported identifier normalisation without an ownership claim: email preserves local-part case, NFC-normalises it and lowercases the domain without removing dots or tags; phone uses international E.164 without extensions or an inferred region; username uses NFC and Unicode case folding within the customer namespace. mailbox is email-only and explicitly selects existing list rules: case-insensitive, remove +tag, and ignore local-part dots at gmail.com and googlemail.com; googlemail.com maps to gmail.com. Username requires namespace customer. Email and phone forbid namespace. Source-discovered identifiers and platform handles are not searched. Unsupported kinds, namespaces, modes and invalid values return 400. Search equality does not establish verified ownership or merge accounts.
90
91
  */
91
92
  identifier?: IdentifierSearch | undefined;
93
+ /**
94
+ * A bounded AND/OR expression over submitted identifiers. Required scope assessment means the entire expression must match one retained assessment. Scope account permits each term to match a different retained assessment of the same account and is accepted only by account search. Exactly one of term, and or or is allowed at every node. Groups contain 2 to 8 operands, with at most 3 nested group levels and 8 raw term occurrences over the entire expression. A root term is allowed. Duplicate terms with the same kind, match rule, namespace and normalized comparison are idempotent, but count toward the raw limit. Match rules default to exact and preserve the existing identifier contract. Only retained submitted identifiers can satisfy a term. Unknown fields, unsupported scopes and malformed or oversized expressions return 400 invalid_request.
95
+ */
96
+ identifierExpression?: IdentifierExpression | undefined;
92
97
  };
93
98
  /** @internal */
94
99
  export type AssessmentSearchRequest$Outbound = {
@@ -115,6 +120,7 @@ export type AssessmentSearchRequest$Outbound = {
115
120
  list_match?: string | undefined;
116
121
  changed?: boolean | undefined;
117
122
  identifier?: IdentifierSearch$Outbound | undefined;
123
+ identifier_expression?: IdentifierExpression$Outbound | undefined;
118
124
  };
119
125
  /** @internal */
120
126
  export declare const AssessmentSearchRequest$outboundSchema: z.ZodMiniType<AssessmentSearchRequest$Outbound, AssessmentSearchRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"assessment-search-request.d.ts","sourceRoot":"","sources":["../../../src/models/assessment-search-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EACL,cAAc,EAEf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAuB,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,QAAQ,EAA2B,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,IAAI,EAAuB,MAAM,WAAW,CAAC;AACtD,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,MAAM,EAAyB,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAuB,MAAM,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EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,gCAAgC,EAChC,uBAAuB,CAoCxB,CAAC;AAEF,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR"}
1
+ {"version":3,"file":"assessment-search-request.d.ts","sourceRoot":"","sources":["../../../src/models/assessment-search-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EACL,cAAc,EAEf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAuB,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,QAAQ,EAA2B,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,IAAI,EAAuB,MAAM,WAAW,CAAC;AACtD,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAE9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,MAAM,EAAyB,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAuB,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,SAAS,EAA4B,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,UAAU,EAA6B,MAAM,kBAAkB,CAAC;AACzE,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAA+B,MAAM,oBAAoB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,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IACnD,qBAAqB,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;CACnE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,gCAAgC,EAChC,uBAAuB,CAsCxB,CAAC;AAEF,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR"}
@@ -41,6 +41,7 @@ const answer_revision_js_1 = require("./answer-revision.js");
41
41
  const band_js_1 = require("./band.js");
42
42
  const decision_js_1 = require("./decision.js");
43
43
  const flow_js_1 = require("./flow.js");
44
+ const identifier_expression_js_1 = require("./identifier-expression.js");
44
45
  const identifier_search_js_1 = require("./identifier-search.js");
45
46
  const impact_js_1 = require("./impact.js");
46
47
  const lane_js_1 = require("./lane.js");
@@ -74,6 +75,7 @@ exports.AssessmentSearchRequest$outboundSchema = z.pipe(z.object({
74
75
  listMatch: z.optional(list_match_js_1.ListMatch$outboundSchema),
75
76
  changed: z.optional(z.boolean()),
76
77
  identifier: z.optional(identifier_search_js_1.IdentifierSearch$outboundSchema),
78
+ identifierExpression: z.optional(identifier_expression_js_1.IdentifierExpression$outboundSchema),
77
79
  }), z.transform((v) => {
78
80
  return (0, primitives_js_1.remap)(v, {
79
81
  accountId: "account_id",
@@ -81,6 +83,7 @@ exports.AssessmentSearchRequest$outboundSchema = z.pipe(z.object({
81
83
  scoreMin: "score_min",
82
84
  scoreMax: "score_max",
83
85
  listMatch: "list_match",
86
+ identifierExpression: "identifier_expression",
84
87
  });
85
88
  }));
86
89
  function assessmentSearchRequestToJSON(assessmentSearchRequest) {
@@ -1 +1 @@
1
- {"version":3,"file":"assessment-search-request.js","sourceRoot":"","sources":["../../../src/models/assessment-search-request.ts"],"names":[],"mappings":";;;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AAC,CAAC,MAAM,EAAE,CAAC;IAC/B,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IAC7B,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IAC7B,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,wCAAwB,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAChC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,sDAA+B,CAAC;IACvD,oBAAoB,EAAE,CAAC,CAAC,QAAQ,CAAC,8DAAmC,CAAC;CACtE,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,YAAY,EAAE,eAAe;QAC7B,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,WAAW;QACrB,SAAS,EAAE,YAAY;QACvB,oBAAoB,EAAE,uBAAuB;KAC9C,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,uCACE,uBAAgD,EACxC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,sCAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AAAA,CACH"}
@@ -0,0 +1,16 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { IdentifierSearch, IdentifierSearch$Outbound } from "./identifier-search.js";
3
+ export type IdentifierExpressionLeaf = {
4
+ /**
5
+ * One customer-submitted identifier. Defaults to exact comparison of the original submitted value. canonical uses the supported identifier normalisation without an ownership claim: email preserves local-part case, NFC-normalises it and lowercases the domain without removing dots or tags; phone uses international E.164 without extensions or an inferred region; username uses NFC and Unicode case folding within the customer namespace. mailbox is email-only and explicitly selects existing list rules: case-insensitive, remove +tag, and ignore local-part dots at gmail.com and googlemail.com; googlemail.com maps to gmail.com. Username requires namespace customer. Email and phone forbid namespace. Source-discovered identifiers and platform handles are not searched. Unsupported kinds, namespaces, modes and invalid values return 400. Search equality does not establish verified ownership or merge accounts.
6
+ */
7
+ term: IdentifierSearch;
8
+ };
9
+ /** @internal */
10
+ export type IdentifierExpressionLeaf$Outbound = {
11
+ term: IdentifierSearch$Outbound;
12
+ };
13
+ /** @internal */
14
+ export declare const IdentifierExpressionLeaf$outboundSchema: z.ZodMiniType<IdentifierExpressionLeaf$Outbound, IdentifierExpressionLeaf>;
15
+ export declare function identifierExpressionLeafToJSON(identifierExpressionLeaf: IdentifierExpressionLeaf): string;
16
+ //# sourceMappingURL=identifier-expression-leaf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identifier-expression-leaf.d.ts","sourceRoot":"","sources":["../../../src/models/identifier-expression-leaf.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,IAAI,EAAE,yBAAyB,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,WAAW,CACjE,iCAAiC,EACjC,wBAAwB,CAGxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.IdentifierExpressionLeaf$outboundSchema = void 0;
37
+ exports.identifierExpressionLeafToJSON = identifierExpressionLeafToJSON;
38
+ const z = __importStar(require("zod/v4-mini"));
39
+ const identifier_search_js_1 = require("./identifier-search.js");
40
+ /** @internal */
41
+ exports.IdentifierExpressionLeaf$outboundSchema = z.object({
42
+ term: identifier_search_js_1.IdentifierSearch$outboundSchema,
43
+ });
44
+ function identifierExpressionLeafToJSON(identifierExpressionLeaf) {
45
+ return JSON.stringify(exports.IdentifierExpressionLeaf$outboundSchema.parse(identifierExpressionLeaf));
46
+ }
47
+ //# sourceMappingURL=identifier-expression-leaf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identifier-expression-leaf.js","sourceRoot":"","sources":["../../../src/models/identifier-expression-leaf.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,iEAIgC;AAchC,gBAAgB;AACH,QAAA,uCAAuC,GAGhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,sDAA+B;CACtC,CAAC,CAAC;AAEH,wCACE,wBAAkD,EAC1C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,uCAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AAAA,CACH"}
@@ -0,0 +1,21 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { IdentifierExpressionLeaf, IdentifierExpressionLeaf$Outbound } from "./identifier-expression-leaf.js";
3
+ import { IdentifierSearch, IdentifierSearch$Outbound } from "./identifier-search.js";
4
+ export type IdentifierExpressionNodeLevelOne = {
5
+ /**
6
+ * One customer-submitted identifier. Defaults to exact comparison of the original submitted value. canonical uses the supported identifier normalisation without an ownership claim: email preserves local-part case, NFC-normalises it and lowercases the domain without removing dots or tags; phone uses international E.164 without extensions or an inferred region; username uses NFC and Unicode case folding within the customer namespace. mailbox is email-only and explicitly selects existing list rules: case-insensitive, remove +tag, and ignore local-part dots at gmail.com and googlemail.com; googlemail.com maps to gmail.com. Username requires namespace customer. Email and phone forbid namespace. Source-discovered identifiers and platform handles are not searched. Unsupported kinds, namespaces, modes and invalid values return 400. Search equality does not establish verified ownership or merge accounts.
7
+ */
8
+ term?: IdentifierSearch | undefined;
9
+ and?: Array<IdentifierExpressionLeaf> | undefined;
10
+ or?: Array<IdentifierExpressionLeaf> | undefined;
11
+ };
12
+ /** @internal */
13
+ export type IdentifierExpressionNodeLevelOne$Outbound = {
14
+ term?: IdentifierSearch$Outbound | undefined;
15
+ and?: Array<IdentifierExpressionLeaf$Outbound> | undefined;
16
+ or?: Array<IdentifierExpressionLeaf$Outbound> | undefined;
17
+ };
18
+ /** @internal */
19
+ export declare const IdentifierExpressionNodeLevelOne$outboundSchema: z.ZodMiniType<IdentifierExpressionNodeLevelOne$Outbound, IdentifierExpressionNodeLevelOne>;
20
+ export declare function identifierExpressionNodeLevelOneToJSON(identifierExpressionNodeLevelOne: IdentifierExpressionNodeLevelOne): string;
21
+ //# sourceMappingURL=identifier-expression-node-level-one.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identifier-expression-node-level-one.d.ts","sourceRoot":"","sources":["../../../src/models/identifier-expression-node-level-one.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EACL,wBAAwB,EACxB,iCAAiC,EAElC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACpC,GAAG,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC;IAClD,EAAE,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,IAAI,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAC7C,GAAG,CAAC,EAAE,KAAK,CAAC,iCAAiC,CAAC,GAAG,SAAS,CAAC;IAC3D,EAAE,CAAC,EAAE,KAAK,CAAC,iCAAiC,CAAC,GAAG,SAAS,CAAC;CAC3D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,WAAW,CACzE,yCAAyC,EACzC,gCAAgC,CAKhC,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.IdentifierExpressionNodeLevelOne$outboundSchema = void 0;
37
+ exports.identifierExpressionNodeLevelOneToJSON = identifierExpressionNodeLevelOneToJSON;
38
+ const z = __importStar(require("zod/v4-mini"));
39
+ const identifier_expression_leaf_js_1 = require("./identifier-expression-leaf.js");
40
+ const identifier_search_js_1 = require("./identifier-search.js");
41
+ /** @internal */
42
+ exports.IdentifierExpressionNodeLevelOne$outboundSchema = z.object({
43
+ term: z.optional(identifier_search_js_1.IdentifierSearch$outboundSchema),
44
+ and: z.optional(z.array(identifier_expression_leaf_js_1.IdentifierExpressionLeaf$outboundSchema)),
45
+ or: z.optional(z.array(identifier_expression_leaf_js_1.IdentifierExpressionLeaf$outboundSchema)),
46
+ });
47
+ function identifierExpressionNodeLevelOneToJSON(identifierExpressionNodeLevelOne) {
48
+ return JSON.stringify(exports.IdentifierExpressionNodeLevelOne$outboundSchema.parse(identifierExpressionNodeLevelOne));
49
+ }
50
+ //# sourceMappingURL=identifier-expression-node-level-one.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identifier-expression-node-level-one.js","sourceRoot":"","sources":["../../../src/models/identifier-expression-node-level-one.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,mFAIyC;AACzC,iEAIgC;AAkBhC,gBAAgB;AACH,QAAA,+CAA+C,GAGxD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,sDAA+B,CAAC;IACjD,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,uEAAuC,CAAC,CAAC;IACjE,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,uEAAuC,CAAC,CAAC;CACjE,CAAC,CAAC;AAEH,gDACE,gCAAkE,EAC1D;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,+CAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AAAA,CACH"}