@reclaimprotocol/client 0.1.32 → 0.1.33

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.
@@ -127,10 +127,6 @@ export declare const ROUTES: {
127
127
  readonly method: "get";
128
128
  readonly path: "/oauth/consent";
129
129
  };
130
- readonly ConvertOrgToRegular: {
131
- readonly method: "post";
132
- readonly path: "/orgs/{orgId}/convert";
133
- };
134
130
  readonly CreateAgentBrowserSession: {
135
131
  readonly method: "post";
136
132
  readonly path: "/orgs/{orgId}/agent-browser-sessions";
@@ -251,9 +247,9 @@ export declare const ROUTES: {
251
247
  readonly method: "delete";
252
248
  readonly path: "/orgs/{orgId}/themes/{themeId}";
253
249
  };
254
- readonly DiscoverAgentWizard: {
255
- readonly method: "post";
256
- readonly path: "/discover/agent-wizard";
250
+ readonly Discover: {
251
+ readonly method: "get";
252
+ readonly path: "/discover";
257
253
  };
258
254
  readonly DiscoverDataPoints: {
259
255
  readonly method: "get";
@@ -263,10 +259,6 @@ export declare const ROUTES: {
263
259
  readonly method: "get";
264
260
  readonly path: "/discover/resolve";
265
261
  };
266
- readonly DiscoverTeachAgent: {
267
- readonly method: "get";
268
- readonly path: "/discover/teach";
269
- };
270
262
  readonly DiscoverWebsites: {
271
263
  readonly method: "get";
272
264
  readonly path: "/discover/websites";
@@ -463,6 +455,10 @@ export declare const ROUTES: {
463
455
  readonly method: "get";
464
456
  readonly path: "/openapi.yaml";
465
457
  };
458
+ readonly OpenIntegrate: {
459
+ readonly method: "get";
460
+ readonly path: "/integrate";
461
+ };
466
462
  readonly OrgInvitePage: {
467
463
  readonly method: "get";
468
464
  readonly path: "/orgs/{orgId}/invite";
@@ -583,10 +579,6 @@ export declare const ROUTES: {
583
579
  readonly method: "get";
584
580
  readonly path: "/site/{domain}/alternative";
585
581
  };
586
- readonly SiteBuildRepair: {
587
- readonly method: "get";
588
- readonly path: "/site/{domain}/repair";
589
- };
590
582
  readonly SiteBuildTry: {
591
583
  readonly method: "post";
592
584
  readonly path: "/site/{domain}/try";
package/lib/routes.gen.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // AUTO-GENERATED by packages/app/scripts/mcp-tools-gen.ts
2
- // from packages/app/openapi.yaml (spec v0.1.0, source sha256:099a5bcf4fba).
2
+ // from packages/app/openapi.yaml (spec v0.1.0, source sha256:3e28ff308da3).
3
3
  // The hash catches drift the version misses (a spec can change without a
4
4
  // version bump) — do not remove it as "redundant" with the version.
5
5
  // Run `npm run openapi:gen --workspace=packages/app` to regenerate. Do not edit by hand.
@@ -36,7 +36,6 @@ export const ROUTES = {
36
36
  "CancelPublicListingRequest": { "method": "post", "path": "/providers/{providerId}/versions/{version}/cancel-review" },
37
37
  "ChangeOrgPlan": { "method": "post", "path": "/orgs/{orgId}/billing/change-plan" },
38
38
  "ConsentPage": { "method": "get", "path": "/oauth/consent" },
39
- "ConvertOrgToRegular": { "method": "post", "path": "/orgs/{orgId}/convert" },
40
39
  "CreateAgentBrowserSession": { "method": "post", "path": "/orgs/{orgId}/agent-browser-sessions" },
41
40
  "CreateBillingCheckoutSession": { "method": "post", "path": "/orgs/{orgId}/billing/checkout" },
42
41
  "CreateBillingPortalSession": { "method": "post", "path": "/orgs/{orgId}/billing/portal" },
@@ -67,10 +66,9 @@ export const ROUTES = {
67
66
  "DeleteProvider": { "method": "delete", "path": "/providers/{providerId}" },
68
67
  "DeleteProviderVersion": { "method": "delete", "path": "/providers/{providerId}/versions/{version}" },
69
68
  "DeleteTheme": { "method": "delete", "path": "/orgs/{orgId}/themes/{themeId}" },
70
- "DiscoverAgentWizard": { "method": "post", "path": "/discover/agent-wizard" },
69
+ "Discover": { "method": "get", "path": "/discover" },
71
70
  "DiscoverDataPoints": { "method": "get", "path": "/discover/data-points" },
72
71
  "DiscoverResolve": { "method": "get", "path": "/discover/resolve" },
73
- "DiscoverTeachAgent": { "method": "get", "path": "/discover/teach" },
74
72
  "DiscoverWebsites": { "method": "get", "path": "/discover/websites" },
75
73
  "DisposeAgentBrowserSession": { "method": "delete", "path": "/orgs/{orgId}/agent-browser-sessions/{browserSessionId}" },
76
74
  "DisposeVerificationSession": { "method": "post", "path": "/v/{sessionId}/dispose" },
@@ -120,6 +118,7 @@ export const ROUTES = {
120
118
  "Logout": { "method": "post", "path": "/logout" },
121
119
  "MakePrivate": { "method": "post", "path": "/providers/{providerId}/make-private" },
122
120
  "OpenApiSpec": { "method": "get", "path": "/openapi.yaml" },
121
+ "OpenIntegrate": { "method": "get", "path": "/integrate" },
123
122
  "OrgInvitePage": { "method": "get", "path": "/orgs/{orgId}/invite" },
124
123
  "PatchVerificationClaimant": { "method": "patch", "path": "/verifications/sessions/{sessionId}/claimant" },
125
124
  "ProviderPreviewImage": { "method": "get", "path": "/providers/{providerId}/preview.png" },
@@ -150,7 +149,6 @@ export const ROUTES = {
150
149
  "SharePage": { "method": "get", "path": "/share/{client}" },
151
150
  "SiteBuild": { "method": "get", "path": "/site/{domain}/build" },
152
151
  "SiteBuildAlternative": { "method": "get", "path": "/site/{domain}/alternative" },
153
- "SiteBuildRepair": { "method": "get", "path": "/site/{domain}/repair" },
154
152
  "SiteBuildTry": { "method": "post", "path": "/site/{domain}/try" },
155
153
  "Sitemap": { "method": "get", "path": "/sitemap.xml" },
156
154
  "SitePage": { "method": "get", "path": "/site/{domain}" },
@@ -11,8 +11,8 @@ export interface paths {
11
11
  cookie?: never;
12
12
  };
13
13
  /**
14
- * Discover home — search a website to verify
15
- * @description Default home page. A website-first search: the visitor types a website and picks one to continue to `/site/{domain}`, where they choose what data to prove. Renders popular websites below the search, plus tag pills to narrow them.
14
+ * Home — sign-in or Discover
15
+ * @description Signed in, renders Discover (see `GET /discover`). Signed out, renders the sign-in page; a signed-out link carrying Discover's `q` / `tag` redirects to `/discover` with them.
16
16
  */
17
17
  get: operations["Index"];
18
18
  put?: never;
@@ -23,6 +23,26 @@ export interface paths {
23
23
  patch?: never;
24
24
  trace?: never;
25
25
  };
26
+ "/discover": {
27
+ parameters: {
28
+ query?: never;
29
+ header?: never;
30
+ path?: never;
31
+ cookie?: never;
32
+ };
33
+ /**
34
+ * Discover — search a website to verify
35
+ * @description The Catalog. A website-first search: the visitor types a website and picks one to continue to `/site/{domain}`, where they choose what data to prove. Renders popular websites below the search, plus tag pills to narrow them.
36
+ */
37
+ get: operations["Discover"];
38
+ put?: never;
39
+ post?: never;
40
+ delete?: never;
41
+ options?: never;
42
+ head?: never;
43
+ patch?: never;
44
+ trace?: never;
45
+ };
26
46
  "/providers": {
27
47
  parameters: {
28
48
  query?: never;
@@ -212,7 +232,7 @@ export interface paths {
212
232
  put?: never;
213
233
  /**
214
234
  * Mint a SANDBOX test verification session for the selection
215
- * @description Creates a real SANDBOX verification session for the selected data points, so the signed-in member can test the flow on `/v/{sessionId}` without registering a callback subscription. Runs under an organization the member owns (`orgId` in the body; defaults to their personal organization). The provider set is recomputed server-side from the selection.
235
+ * @description Creates a real SANDBOX verification session for the selected data points, so the signed-in member can test the flow on `/v/{sessionId}` without registering a callback subscription. Runs under an organization the member owns (`orgId` in the body; defaults to their default organization). The provider set is recomputed server-side from the selection.
216
236
  */
217
237
  post: operations["SiteBuildTry"];
218
238
  delete?: never;
@@ -221,26 +241,6 @@ export interface paths {
221
241
  patch?: never;
222
242
  trace?: never;
223
243
  };
224
- "/site/{domain}/repair": {
225
- parameters: {
226
- query?: never;
227
- header?: never;
228
- path?: never;
229
- cookie?: never;
230
- };
231
- /**
232
- * Failure-aware "Repair with an AI coding agent" wizard fragment
233
- * @description Body of the build page's repair dialog, lazy-loaded after a sandbox Try fails so the agent prompt includes the REAL failure (which provider(s) failed + the error reason, read from the session's event log) and the resolved provider set. HTML / HTMX fragment.
234
- */
235
- get: operations["SiteBuildRepair"];
236
- put?: never;
237
- post?: never;
238
- delete?: never;
239
- options?: never;
240
- head?: never;
241
- patch?: never;
242
- trace?: never;
243
- };
244
244
  "/site/{domain}/alternative": {
245
245
  parameters: {
246
246
  query?: never;
@@ -261,7 +261,7 @@ export interface paths {
261
261
  patch?: never;
262
262
  trace?: never;
263
263
  };
264
- "/discover/teach": {
264
+ "/integrate": {
265
265
  parameters: {
266
266
  query?: never;
267
267
  header?: never;
@@ -269,10 +269,10 @@ export interface paths {
269
269
  cookie?: never;
270
270
  };
271
271
  /**
272
- * “Teach our agent” instructions for a missing website / data point
273
- * @description Returns the "Teach our agent" panel shown when a website or data point a user wants does not exist yet: steps to install the Reclaim MCP server plus a ready-to-copy prompt, templated with the requested `domain` and (optionally) `dataPoint`, that instructs an agent to author the missing provider. HTML / HTMX only (a dialog fragment).
272
+ * Go to the Integrate page
273
+ * @description Where the "Build it with an agent" links lead, from pages that don't know the viewer's organization. Signed in, redirects to the Integrate page of the console's selected organization (else the viewer's default organization), on its coding-agent track. Signed out, redirects to sign-in and back here.
274
274
  */
275
- get: operations["DiscoverTeachAgent"];
275
+ get: operations["OpenIntegrate"];
276
276
  put?: never;
277
277
  post?: never;
278
278
  delete?: never;
@@ -281,26 +281,6 @@ export interface paths {
281
281
  patch?: never;
282
282
  trace?: never;
283
283
  };
284
- "/discover/agent-wizard": {
285
- parameters: {
286
- query?: never;
287
- header?: never;
288
- path?: never;
289
- cookie?: never;
290
- };
291
- get?: never;
292
- put?: never;
293
- /**
294
- * Setup and prompt for the coding agent picked in the wizard
295
- * @description Returns the last step of the "Build with an AI coding agent" wizard for the picked `agent`: how to attach the Reclaim MCP server, and the `basePrompt` with the optional `building` description appended. HTML / HTMX only (a fragment swapped into the open wizard).
296
- */
297
- post: operations["DiscoverAgentWizard"];
298
- delete?: never;
299
- options?: never;
300
- head?: never;
301
- patch?: never;
302
- trace?: never;
303
- };
304
284
  "/discover/resolve": {
305
285
  parameters: {
306
286
  query?: never;
@@ -1575,7 +1555,7 @@ export interface paths {
1575
1555
  put?: never;
1576
1556
  /**
1577
1557
  * Create an organization
1578
- * @description Creates a new `ORG`-kind organization with the caller as its first `OWNER`. The personal org is created automatically at user signup and is not created via this endpoint.
1558
+ * @description Creates a new `ORG`-kind organization with the caller as its first `OWNER`. Every user gets a default organization at sign-up, and it counts toward their org-creation limit (1 active organization unless Reclaim support raises it). Past the limit this returns `409`; contact support@reclaimprotocol.org to raise the limit or archive an organization.
1579
1559
  */
1580
1560
  post: operations["CreateOrg"];
1581
1561
  delete?: never;
@@ -1636,8 +1616,8 @@ export interface paths {
1636
1616
  put?: never;
1637
1617
  post?: never;
1638
1618
  /**
1639
- * Delete a shared organization
1640
- * @description Owner only. `PERSONAL` organizations cannot be deleted independently of their owning user; deleting a personal org happens implicitly via `DELETE /me`.
1619
+ * Archive an organization
1620
+ * @description Reclaim staff only; owners ask support@reclaimprotocol.org to archive. Archives the organization, which frees a slot under its creator's org-creation limit. `403` for anyone else.
1641
1621
  */
1642
1622
  delete: operations["DeleteOrg"];
1643
1623
  options?: never;
@@ -1649,26 +1629,6 @@ export interface paths {
1649
1629
  patch: operations["UpdateOrg"];
1650
1630
  trace?: never;
1651
1631
  };
1652
- "/orgs/{orgId}/convert": {
1653
- parameters: {
1654
- query?: never;
1655
- header?: never;
1656
- path?: never;
1657
- cookie?: never;
1658
- };
1659
- get?: never;
1660
- put?: never;
1661
- /**
1662
- * Convert a personal organization to a regular organization
1663
- * @description Owner only. One-way: flips a `PERSONAL` organization (auto-provisioned at sign-up, sandbox-only, single-member) to a regular `ORG`, unlocking billing, plan & usage, and member invites. All providers, sessions, credentials and themes carry over. `409` when the organization is not `PERSONAL`.
1664
- */
1665
- post: operations["ConvertOrgToRegular"];
1666
- delete?: never;
1667
- options?: never;
1668
- head?: never;
1669
- patch?: never;
1670
- trace?: never;
1671
- };
1672
1632
  "/orgs/{orgId}/members": {
1673
1633
  parameters: {
1674
1634
  query?: never;
@@ -1684,7 +1644,7 @@ export interface paths {
1684
1644
  put?: never;
1685
1645
  /**
1686
1646
  * Invite a member to an organization
1687
- * @description Owner only. Invites a user to the organization by email. The invitee does **not** need to be a registered user — an invite is created in either case, and an invite email with an accept link is dispatched. The new row is returned with `status: PENDING`; it flips to `ACTIVE` only when the invitee explicitly accepts via `POST /orgs/{orgId}/invite`. `PERSONAL` organizations reject this call (409).
1647
+ * @description Owner only. Invites a user to the organization by email. The invitee does **not** need to be a registered user — an invite is created in either case, and an invite email with an accept link is dispatched. The new row is returned with `status: PENDING`; it flips to `ACTIVE` only when the invitee explicitly accepts via `POST /orgs/{orgId}/invite`.
1688
1648
  */
1689
1649
  post: operations["AddOrgMember"];
1690
1650
  delete?: never;
@@ -2742,16 +2702,32 @@ export interface paths {
2742
2702
  /**
2743
2703
  * Create a verification session
2744
2704
  * @description Creates a verification session for an end-user to complete.
2705
+ *
2706
+ * **The response's `verificationUrl` is the one thing you need.** Send
2707
+ * your end user to it (redirect, link, or QR code): that is where they
2708
+ * verify. Everything else in the response is for tracking the session.
2709
+ *
2745
2710
  * Authenticated by the consumer's `OrgToken`; the session is scoped to
2746
2711
  * the resolved organization. The request carries no callback URLs —
2747
2712
  * results are delivered to the org's pre-registered callback
2748
2713
  * subscriptions.
2749
2714
  *
2715
+ * `verificationClientUrl` picks where the user verifies. Omit it to use
2716
+ * the Reclaim Portal. The built-in clients are:
2717
+ *
2718
+ * | Client | `verificationClientUrl` |
2719
+ * | --- | --- |
2720
+ * | Reclaim Portal (default) | `https://build.reclaimprotocol.org/share/portals` |
2721
+ * | Verifier app | `https://build.reclaimprotocol.org/share/verifier-app` |
2722
+ * | Browser extension | `https://build.reclaimprotocol.org/share/reclaim-browser-extension` |
2723
+ * | Builder browser | `https://build.reclaimprotocol.org/share/builder` |
2724
+ * | In-app SDK | `https://build.reclaimprotocol.org/share/inapp-sdk` |
2725
+ *
2750
2726
  * curl -X POST $BASE/verifications/sessions \
2751
2727
  * -H "Authorization: Bearer $ORG_TOKEN" \
2752
2728
  * -H 'Content-Type: application/json' \
2753
2729
  * -d '{"providers":[{"providerId":"…","version":"^1.2.0"}],"context":{},
2754
- * "verificationClientUrl":"https://verify.example.com/"}'
2730
+ * "verificationClientUrl":"https://build.reclaimprotocol.org/share/portals"}'
2755
2731
  *
2756
2732
  * Fails with `409 Conflict` if the organization has no callback
2757
2733
  * subscription (there would be nowhere to deliver the result).
@@ -3059,8 +3035,8 @@ export interface paths {
3059
3035
  cookie?: never;
3060
3036
  };
3061
3037
  /**
3062
- * Get the stored encrypted result(s) for a session
3063
- * @description Returns the stored Builder-signed result payloads for this session — one item per callback subscription. Readable only by the consumer that created the session. The consumer's `OrgToken` must resolve to the session's organization. A pull-based companion to push delivery: when the organization enables encryption, Builder returns an ECIES ciphertext (base64url) that the holder of the matching private key decrypts client-side, else plaintext. Empty `items` until the session reaches a terminal state and a result has been submitted. Treat every returned payload as untrusted until `verifyResultFull` succeeds with the Builder issuer and JWKS URL.
3038
+ * Get the stored result(s) for a session
3039
+ * @description Returns the session's callback deliveries with their payloads — one item per callback subscription and event. Readable only by the consumer that created the session. The consumer's `OrgToken` must resolve to the session's organization. A recovery companion to push delivery, not a replacement for the callback: a signed result's `payload` (which can carry proofs) is kept only until its callback is delivered, or for 7 days while undelivered, then becomes `null`. When the organization enables encryption, a signed result is an ECIES ciphertext (base64url) that the holder of the matching private key decrypts client-side, else plaintext. Empty `items` until the session reaches a terminal state and a result has been submitted. Treat every returned payload as untrusted until `verifyResultFull` succeeds with the Builder issuer and JWKS URL.
3064
3040
  */
3065
3041
  get: operations["GetVerificationResult"];
3066
3042
  put?: never;
@@ -3082,7 +3058,7 @@ export interface paths {
3082
3058
  put?: never;
3083
3059
  /**
3084
3060
  * Re-enqueue callback delivery for a session
3085
- * @description Re-enqueues delivery of a session's stored result to its callback subscriptions. Use this after `list_verification_deliveries` shows a `failed` or dead-lettered delivery, once the consumer's callback endpoint is reachable again and answers 2xx — it re-attempts every not-yet-delivered callback for the session. Usable by the session creator (authenticated by the consumer's `OrgToken`) to recover from a transient consumer-side outage.
3061
+ * @description Re-enqueues delivery of a session's stored result to its callback subscriptions. Use this after `list_verification_deliveries` shows a `failed` or dead-lettered delivery, once the consumer's callback endpoint is reachable again and answers 2xx — it re-attempts every not-yet-delivered callback for the session. Usable by the session creator (authenticated by the consumer's `OrgToken`) to recover from a transient consumer-side outage. A result left undelivered for 7 days is purged and can no longer be retried.
3086
3062
  */
3087
3063
  post: operations["RetryVerificationCallback"];
3088
3064
  delete?: never;
@@ -3122,7 +3098,7 @@ export interface paths {
3122
3098
  put?: never;
3123
3099
  /**
3124
3100
  * Retry a dead-lettered callback (admin-only)
3125
- * @description Admin only. Re-enqueues a specific DLQ entry for delivery.
3101
+ * @description Admin only. Re-enqueues a specific DLQ entry for delivery. 410 when the result was undelivered for 7 days and has been purged.
3126
3102
  */
3127
3103
  post: operations["RetryCallbackDlq"];
3128
3104
  delete?: never;
@@ -3391,11 +3367,9 @@ export interface components {
3391
3367
  */
3392
3368
  EntityStatus: "ACTIVE" | "ARCHIVED";
3393
3369
  /**
3394
- * @description - `PERSONAL`: Auto-provisioned at user signup. Exactly one
3395
- * `OWNER`, no other members.
3396
- *
3397
- * - `ORG`: Explicitly created via `POST /orgs`. Multiple
3398
- * members, always ≥ 1 active `OWNER`.
3370
+ * @description - `ORG`: A user's organization: the default one made at sign-up,
3371
+ * or one created via `POST /orgs`. Multiple members, always ≥ 1
3372
+ * active `OWNER`.
3399
3373
  *
3400
3374
  * - `ANONYMOUS`: System-managed, member-less org auto-created to
3401
3375
  * anchor an unaffiliated ETH credential's org-level settings
@@ -3404,7 +3378,7 @@ export interface components {
3404
3378
  * created or named by clients; has no members.
3405
3379
  * @enum {string}
3406
3380
  */
3407
- OrganizationKind: "PERSONAL" | "ORG" | "ANONYMOUS";
3381
+ OrganizationKind: "ORG" | "ANONYMOUS";
3408
3382
  /** @description A free-form label attached to an entity for grouping and filtering in listings. Must start and end with an alphanumeric character; only ASCII letters, digits, spaces, and hyphens are allowed between. */
3409
3383
  Tag: string;
3410
3384
  ActorMetadata: {
@@ -3413,7 +3387,7 @@ export interface components {
3413
3387
  /** @description Free-form notes from actor describing this change */
3414
3388
  notes?: string;
3415
3389
  };
3416
- /** @description A registered user of the platform. Every newly created user is automatically granted a personal organization (see `Organization.kind = PERSONAL`) whose id is exposed here as `personalOrgId`. */
3390
+ /** @description A registered user of the platform. Every newly created user gets a default organization, whose id is exposed here as `defaultOrgId`. */
3417
3391
  User: {
3418
3392
  id: components["schemas"]["UserID"];
3419
3393
  /**
@@ -3435,13 +3409,13 @@ export interface components {
3435
3409
  * @enum {string}
3436
3410
  */
3437
3411
  role?: "user" | "admin";
3438
- /** @description ID of the user's auto-created personal organization. This organization is provisioned the moment the user is created and cannot be deleted independently of the user. */
3439
- personalOrgId: components["schemas"]["OrgID"];
3412
+ /** @description ID of the organization created for the user at sign-up. It is a regular organization and counts toward the user's org-creation limit. */
3413
+ defaultOrgId: components["schemas"]["OrgID"];
3440
3414
  createMetadata: components["schemas"]["ActorMetadata"];
3441
3415
  updateMetadata: components["schemas"]["ActorMetadata"];
3442
3416
  };
3443
3417
  /**
3444
- * @description Role a user holds in an organization. `OWNER` can invite, promote, demote, and remove members, and delete the org. `MEMBER` has read/write access to resources owned by the org but cannot manage membership. `PERSONAL` orgs have exactly one `OWNER` and reject all member-mutating operations.
3418
+ * @description Role a user holds in an organization. `OWNER` can invite, promote, demote, and remove members, and delete the org. `MEMBER` has read/write access to resources owned by the org but cannot manage membership.
3445
3419
  * @enum {string}
3446
3420
  */
3447
3421
  OrganizationMemberRole: "OWNER" | "MEMBER";
@@ -3476,12 +3450,12 @@ export interface components {
3476
3450
  /** @description Timestamp the invite was accepted. Absent while `status` is `PENDING`. */
3477
3451
  joinedAt?: components["schemas"]["Timestamp"];
3478
3452
  };
3479
- /** @description A workspace that owns providers and other resources. Every user gets exactly one `PERSONAL` organization on signup; additional `ORG` organizations can be created and have multiple members. System-managed `ANONYMOUS` organizations have no members (see `OrganizationKind`). */
3453
+ /** @description A workspace that owns providers and other resources. Every user gets a default `ORG` organization on signup; more can be created up to the user's org-creation limit, and any can have multiple members. System-managed `ANONYMOUS` organizations have no members (see `OrganizationKind`). */
3480
3454
  Organization: {
3481
3455
  id: components["schemas"]["OrgID"];
3482
- /** @description Display name of the organization. For `PERSONAL` orgs this defaults to the owner's name and may be edited by the owner. */
3456
+ /** @description Display name of the organization. A user's default org starts with their name and may be renamed by an owner. */
3483
3457
  name: string;
3484
- /** @description Whether this is a user's personal org or a shared org. */
3458
+ /** @description Whether this is a user's org or a system-managed anonymous one. */
3485
3459
  kind: components["schemas"]["OrganizationKind"];
3486
3460
  /**
3487
3461
  * Format: uri
@@ -3490,7 +3464,7 @@ export interface components {
3490
3464
  iconUrl?: string;
3491
3465
  /** @description Marker for system-managed singleton orgs. `'reclaim-staff'` identifies the auto-membership org that every `@reclaimprotocol.org` user is enrolled into on login (PRD-1 §3). Absent on normal user-created orgs. Names, status, and lifecycle of system-managed orgs are server-protected — clients cannot rename, archive, or delete them. */
3492
3466
  readonly systemId?: string;
3493
- /** @description All users with a role in this organization. `PERSONAL` and `ORG` orgs always contain at least one active `OWNER` (`PERSONAL` orgs contain exactly one member); `ANONYMOUS` orgs have no members, so this array is empty for them. */
3467
+ /** @description All users with a role in this organization. `ORG` orgs always contain at least one active `OWNER`; `ANONYMOUS` orgs have no members, so this array is empty for them. */
3494
3468
  members: components["schemas"]["OrganizationMember"][];
3495
3469
  /** @description Providers owned by this organization. */
3496
3470
  providers?: components["schemas"]["ProviderListItem"][];
@@ -5229,7 +5203,7 @@ export interface components {
5229
5203
  webSettings: components["schemas"]["ProviderWebSettings"];
5230
5204
  requiredContext?: components["schemas"]["ProviderRequiredContext"];
5231
5205
  };
5232
- /** @description Body for `POST /orgs` — just a name. Every org is created keyless, like auto-provisioned personal orgs; its Ethereum (secp256k1) key pair is published separately via `PUT /orgs/{orgId}/keypair`, which is also where `canEncryptResult` is set. Creation deliberately collects nothing else so it never blocks on generating and safeguarding a private key. */
5206
+ /** @description Body for `POST /orgs` — just a name. Every org is created keyless, like each user's default org; its Ethereum (secp256k1) key pair is published separately via `PUT /orgs/{orgId}/keypair`, which is also where `canEncryptResult` is set. Creation deliberately collects nothing else so it never blocks on generating and safeguarding a private key. */
5233
5207
  CreateOrgRequest: {
5234
5208
  name: string;
5235
5209
  };
@@ -5810,7 +5784,7 @@ export interface components {
5810
5784
  * @description Id of the registered verification client whose base URL was used (see `verification_clients`).
5811
5785
  */
5812
5786
  verificationClientId: string;
5813
- /** @description Ready-to-share URL: the registered base URL with the session id attached by the Builder — substituted into a `{sessionId}` placeholder, or appended as a `?sessionId=…` query parameter. It always includes `api=2`, which selects Builder mode in dual-mode Verification Clients. The Consumer may append its own redirect query fields before opening the URL for the claimant; the Builder does not store or execute those redirects. */
5787
+ /** @description The URL to send your end user to: this is where they verify. Ready-to-share: the registered base URL with the session id attached by the Builder — substituted into a `{sessionId}` placeholder, or appended as a `?sessionId=…` query parameter. It always includes `api=2`, which selects Builder mode in dual-mode Verification Clients. The Consumer may append its own redirect query fields before opening the URL for the claimant; the Builder does not store or execute those redirects. */
5814
5788
  verificationUrl: string;
5815
5789
  createdAt: components["schemas"]["Timestamp"];
5816
5790
  /** @description When the session stops being completable. After this, a still- `pending` session becomes `expired` on the next sweep and the end-user can no longer finish it. */
@@ -5841,7 +5815,14 @@ export interface components {
5841
5815
  context: {
5842
5816
  [key: string]: unknown;
5843
5817
  };
5844
- /** @description Optional. Must exactly equal the base URL of a registered verification client (see the `verification_clients` registry / `/admin/verification-clients`). Omit to use the default (`portals`) client. The Builder resolves and stores the registered client UUID, then returns the ready-to-share `verificationUrl` with the session id and `api=2`. A URL that is not a registered client's base is rejected with 400. Consumers append any client-owned redirect parameters after receiving the URL; Builder does not manage them. */
5818
+ /**
5819
+ * @description Optional. Must exactly equal the base URL of a registered verification client (see the `verification_clients` registry / `/admin/verification-clients`). Omit to use the default (`portals`) client. The Builder resolves and stores the registered client UUID, then returns the ready-to-share `verificationUrl` with the session id and `api=2`. A URL that is not a registered client's base is rejected with 400. Consumers append any client-owned redirect parameters after receiving the URL; Builder does not manage them. The built-in clients are `{origin}/share/{name}`, listed in the examples.
5820
+ * @example https://build.reclaimprotocol.org/share/portals
5821
+ * @example https://build.reclaimprotocol.org/share/verifier-app
5822
+ * @example https://build.reclaimprotocol.org/share/reclaim-browser-extension
5823
+ * @example https://build.reclaimprotocol.org/share/builder
5824
+ * @example https://build.reclaimprotocol.org/share/inapp-sdk
5825
+ */
5845
5826
  verificationClientUrl?: string;
5846
5827
  /** @description Optional active theme owned by the organization. When omitted, Builder snapshots the organization's most recently updated active theme. If the organization has no active theme, the Verification Client uses its default presentation. */
5847
5828
  themeId?: components["schemas"]["ThemeID"];
@@ -6321,6 +6302,24 @@ export interface operations {
6321
6302
  default: components["responses"]["ProblemResponse"];
6322
6303
  };
6323
6304
  };
6305
+ Discover: {
6306
+ parameters: {
6307
+ query?: {
6308
+ /** @description Free-text query matched against website domain, data points, brand title, and description. Restores the search box and results on a shared/bookmarked link. */
6309
+ q?: string;
6310
+ /** @description Narrow to websites with at least one visible provider carrying ANY of these tags. Repeat to pass several (OR-combined). */
6311
+ tag?: string[];
6312
+ };
6313
+ header?: never;
6314
+ path?: never;
6315
+ cookie?: never;
6316
+ };
6317
+ requestBody?: never;
6318
+ responses: {
6319
+ 200: components["responses"]["HTMLResponse"];
6320
+ default: components["responses"]["ProblemResponse"];
6321
+ };
6322
+ };
6324
6323
  Providers: {
6325
6324
  parameters: {
6326
6325
  query?: {
@@ -6672,40 +6671,6 @@ export interface operations {
6672
6671
  default: components["responses"]["ProblemResponse"];
6673
6672
  };
6674
6673
  };
6675
- SiteBuildRepair: {
6676
- parameters: {
6677
- query: {
6678
- /** @description The failing sandbox session whose analytics seed the prompt. */
6679
- sessionId: components["schemas"]["SessionID"];
6680
- dataPoints?: string[];
6681
- mode?: components["schemas"]["ResolveMode"];
6682
- provided?: string[];
6683
- /** @description Source pins: `pins[<dataPoint>]=<providerId>`. Pins the provider that must prove that data point; a pinned provider is taken first and is never pruned. Omit (or send empty) for Auto. A comma-separated list is also accepted — the first id that covers the point wins. */
6684
- pins?: {
6685
- [key: string]: string;
6686
- };
6687
- exclude?: components["schemas"]["ProviderID"][];
6688
- };
6689
- header?: never;
6690
- path: {
6691
- domain: string;
6692
- };
6693
- cookie?: never;
6694
- };
6695
- requestBody?: never;
6696
- responses: {
6697
- /** @description The repair wizard fragment. */
6698
- 200: {
6699
- headers: {
6700
- [name: string]: unknown;
6701
- };
6702
- content: {
6703
- "text/html": components["schemas"]["HtmlContent"];
6704
- };
6705
- };
6706
- default: components["responses"]["ProblemResponse"];
6707
- };
6708
- };
6709
6674
  SiteBuildAlternative: {
6710
6675
  parameters: {
6711
6676
  query: {
@@ -6747,49 +6712,22 @@ export interface operations {
6747
6712
  default: components["responses"]["ProblemResponse"];
6748
6713
  };
6749
6714
  };
6750
- DiscoverTeachAgent: {
6715
+ OpenIntegrate: {
6751
6716
  parameters: {
6752
- query?: {
6753
- /** @description Website the user wanted to verify data from. */
6754
- domain?: string;
6755
- /** @description Specific data point the user could not find. */
6756
- dataPoint?: string;
6757
- };
6717
+ query?: never;
6758
6718
  header?: never;
6759
6719
  path?: never;
6760
6720
  cookie?: never;
6761
6721
  };
6762
6722
  requestBody?: never;
6763
6723
  responses: {
6764
- 200: components["responses"]["HTMLResponse"];
6765
- default: components["responses"]["ProblemResponse"];
6766
- };
6767
- };
6768
- DiscoverAgentWizard: {
6769
- parameters: {
6770
- query?: never;
6771
- header?: never;
6772
- path?: never;
6773
- cookie?: never;
6774
- };
6775
- requestBody: {
6776
- content: {
6777
- "application/x-www-form-urlencoded": {
6778
- /** @description The wizard's ready-to-paste task prompt. */
6779
- basePrompt: string;
6780
- /** @description Prefix of the wizard's element ids, so copy targets stay unique. */
6781
- idPrefix: string;
6782
- /** @description Picked coding agent; unknown values fall back to the first. */
6783
- agent?: string;
6784
- /** @description What the user is building, appended to the prompt. */
6785
- building?: string;
6786
- /** @description Label for `building` in the prompt. Defaults to "What I'm building". */
6787
- lead?: string;
6724
+ /** @description Redirect to the Integrate page, or to sign-in. */
6725
+ 302: {
6726
+ headers: {
6727
+ [name: string]: unknown;
6788
6728
  };
6729
+ content?: never;
6789
6730
  };
6790
- };
6791
- responses: {
6792
- 200: components["responses"]["HTMLResponse"];
6793
6731
  default: components["responses"]["ProblemResponse"];
6794
6732
  };
6795
6733
  };
@@ -7071,7 +7009,7 @@ export interface operations {
7071
7009
  AdminUsers: {
7072
7010
  parameters: {
7073
7011
  query?: {
7074
- /** @description Matches email, name, user id, or personal organization id (hyphens optional in ids). */
7012
+ /** @description Matches email, name, user id, or default organization id (hyphens optional in ids). */
7075
7013
  q?: string;
7076
7014
  };
7077
7015
  header?: never;
@@ -8748,9 +8686,9 @@ export interface operations {
8748
8686
  /** @description Integrate tab only. Which integration path to show: a coding agent over MCP, the client package, or plain HTTP. */
8749
8687
  track?: "agent" | "sdk" | "http";
8750
8688
  /** @description Integrate tab, agent track only. Which coding agent's install command to show. */
8751
- agent?: "claude" | "cursor" | "opencode" | "codex" | "others";
8752
- /** @description Dashboard tab only. Scopes the report to sessions that ran this provider. Options come from `GET /orgs/{orgId}/providers/used`. */
8753
- providerId?: components["schemas"]["ProviderID"];
8689
+ agent?: "claude" | "copilot" | "cursor" | "omp" | "opencode" | "codex" | "antigravity" | "others";
8690
+ /** @description Integrate tab: the providers to show in the examples in place of placeholder ids, for example when arriving from a provider page or a build page. Repeat to pass several. Dashboard tab: scopes the report to sessions that ran this provider (the first one); options come from `GET /orgs/{orgId}/providers/used`. */
8691
+ providerId?: components["schemas"]["ProviderID"][];
8754
8692
  /** @description Integrate tab, HTTP track only. Which Verification Client the create-session example targets. `auto` (the default) leaves `verificationClientUrl` out. */
8755
8693
  client?: "auto" | "portals" | "verifier-app" | "reclaim-browser-extension" | "builder" | "inapp-sdk";
8756
8694
  /** @description Dashboard tab only. Start of the reporting period; defaults to 30 days before `to`. */
@@ -8840,31 +8778,6 @@ export interface operations {
8840
8778
  default: components["responses"]["ProblemResponse"];
8841
8779
  };
8842
8780
  };
8843
- ConvertOrgToRegular: {
8844
- parameters: {
8845
- query?: never;
8846
- header?: never;
8847
- path: {
8848
- orgId: components["schemas"]["OrgID"];
8849
- };
8850
- cookie?: never;
8851
- };
8852
- requestBody?: never;
8853
- responses: {
8854
- /** @description Converted */
8855
- 200: {
8856
- headers: {
8857
- [name: string]: unknown;
8858
- };
8859
- content: {
8860
- "application/json": components["schemas"]["Organization"];
8861
- };
8862
- };
8863
- 403: components["responses"]["ForbiddenResponse"];
8864
- 409: components["responses"]["ProblemResponse"];
8865
- default: components["responses"]["ProblemResponse"];
8866
- };
8867
- };
8868
8781
  SearchOrgMembers: {
8869
8782
  parameters: {
8870
8783
  query?: {
@@ -11269,8 +11182,8 @@ export interface operations {
11269
11182
  /** Format: uuid */
11270
11183
  subscriptionId: string;
11271
11184
  event: components["schemas"]["VerificationEvent"];
11272
- /** @description The result payload, as raw text: an ECIES ciphertext (base64url) wrapping the signed result JWS when the org's `canEncryptResult` is enabled, else the plaintext signed JWS JSON. */
11273
- payload: string;
11185
+ /** @description The payload, as raw text. For a signed result: an ECIES ciphertext (base64url) wrapping the signed result JWS when the org's `canEncryptResult` is enabled, else the plaintext signed JWS JSON. For an event notification: `{event, eventData}` JSON. `null` once a signed result was delivered, or after 7 days undelivered. */
11186
+ payload: string | null;
11274
11187
  deliveryStatus: components["schemas"]["CallbackDeliveryStatus"];
11275
11188
  createdAt: components["schemas"]["Timestamp"];
11276
11189
  }[];
@@ -11347,6 +11260,7 @@ export interface operations {
11347
11260
  };
11348
11261
  403: components["responses"]["ForbiddenResponse"];
11349
11262
  404: components["responses"]["ProblemResponse"];
11263
+ 410: components["responses"]["ProblemResponse"];
11350
11264
  default: components["responses"]["ProblemResponse"];
11351
11265
  };
11352
11266
  };
@@ -1,5 +1,5 @@
1
1
  // AUTO-GENERATED by packages/app/scripts/openapi-typegen.ts
2
- // from packages/app/openapi.yaml (spec v0.1.0, source sha256:099a5bcf4fba).
2
+ // from packages/app/openapi.yaml (spec v0.1.0, source sha256:3e28ff308da3).
3
3
  // The hash catches drift the version misses (a spec can change without a
4
4
  // version bump) — do not remove it as "redundant" with the version.
5
5
  // Run `npm run openapi:gen --workspace=packages/app` to regenerate. Do not edit by hand.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@reclaimprotocol/client",
3
3
  "title": "Reclaim Client",
4
- "version": "0.1.32",
4
+ "version": "0.1.33",
5
5
  "description": "Typed SDK/HTTP client SDK for the Reclaim Protocol — the programmatic way to use Reclaim Protocol to verify **data points** about your users (a follower count, an account balance, an order). Can be directly integrated by apps to request verification for their users using Reclaim Protocol and verify the results.",
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/src/routes.gen.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // AUTO-GENERATED by packages/app/scripts/mcp-tools-gen.ts
2
- // from packages/app/openapi.yaml (spec v0.1.0, source sha256:099a5bcf4fba).
2
+ // from packages/app/openapi.yaml (spec v0.1.0, source sha256:3e28ff308da3).
3
3
  // The hash catches drift the version misses (a spec can change without a
4
4
  // version bump) — do not remove it as "redundant" with the version.
5
5
  // Run `npm run openapi:gen --workspace=packages/app` to regenerate. Do not edit by hand.
@@ -37,7 +37,6 @@ export const ROUTES = {
37
37
  "CancelPublicListingRequest": {"method":"post","path":"/providers/{providerId}/versions/{version}/cancel-review"},
38
38
  "ChangeOrgPlan": {"method":"post","path":"/orgs/{orgId}/billing/change-plan"},
39
39
  "ConsentPage": {"method":"get","path":"/oauth/consent"},
40
- "ConvertOrgToRegular": {"method":"post","path":"/orgs/{orgId}/convert"},
41
40
  "CreateAgentBrowserSession": {"method":"post","path":"/orgs/{orgId}/agent-browser-sessions"},
42
41
  "CreateBillingCheckoutSession": {"method":"post","path":"/orgs/{orgId}/billing/checkout"},
43
42
  "CreateBillingPortalSession": {"method":"post","path":"/orgs/{orgId}/billing/portal"},
@@ -68,10 +67,9 @@ export const ROUTES = {
68
67
  "DeleteProvider": {"method":"delete","path":"/providers/{providerId}"},
69
68
  "DeleteProviderVersion": {"method":"delete","path":"/providers/{providerId}/versions/{version}"},
70
69
  "DeleteTheme": {"method":"delete","path":"/orgs/{orgId}/themes/{themeId}"},
71
- "DiscoverAgentWizard": {"method":"post","path":"/discover/agent-wizard"},
70
+ "Discover": {"method":"get","path":"/discover"},
72
71
  "DiscoverDataPoints": {"method":"get","path":"/discover/data-points"},
73
72
  "DiscoverResolve": {"method":"get","path":"/discover/resolve"},
74
- "DiscoverTeachAgent": {"method":"get","path":"/discover/teach"},
75
73
  "DiscoverWebsites": {"method":"get","path":"/discover/websites"},
76
74
  "DisposeAgentBrowserSession": {"method":"delete","path":"/orgs/{orgId}/agent-browser-sessions/{browserSessionId}"},
77
75
  "DisposeVerificationSession": {"method":"post","path":"/v/{sessionId}/dispose"},
@@ -121,6 +119,7 @@ export const ROUTES = {
121
119
  "Logout": {"method":"post","path":"/logout"},
122
120
  "MakePrivate": {"method":"post","path":"/providers/{providerId}/make-private"},
123
121
  "OpenApiSpec": {"method":"get","path":"/openapi.yaml"},
122
+ "OpenIntegrate": {"method":"get","path":"/integrate"},
124
123
  "OrgInvitePage": {"method":"get","path":"/orgs/{orgId}/invite"},
125
124
  "PatchVerificationClaimant": {"method":"patch","path":"/verifications/sessions/{sessionId}/claimant"},
126
125
  "ProviderPreviewImage": {"method":"get","path":"/providers/{providerId}/preview.png"},
@@ -151,7 +150,6 @@ export const ROUTES = {
151
150
  "SharePage": {"method":"get","path":"/share/{client}"},
152
151
  "SiteBuild": {"method":"get","path":"/site/{domain}/build"},
153
152
  "SiteBuildAlternative": {"method":"get","path":"/site/{domain}/alternative"},
154
- "SiteBuildRepair": {"method":"get","path":"/site/{domain}/repair"},
155
153
  "SiteBuildTry": {"method":"post","path":"/site/{domain}/try"},
156
154
  "Sitemap": {"method":"get","path":"/sitemap.xml"},
157
155
  "SitePage": {"method":"get","path":"/site/{domain}"},
@@ -1,5 +1,5 @@
1
1
  // AUTO-GENERATED by packages/app/scripts/openapi-typegen.ts
2
- // from packages/app/openapi.yaml (spec v0.1.0, source sha256:099a5bcf4fba).
2
+ // from packages/app/openapi.yaml (spec v0.1.0, source sha256:3e28ff308da3).
3
3
  // The hash catches drift the version misses (a spec can change without a
4
4
  // version bump) — do not remove it as "redundant" with the version.
5
5
  // Run `npm run openapi:gen --workspace=packages/app` to regenerate. Do not edit by hand.
@@ -17,8 +17,8 @@ export interface paths {
17
17
  cookie?: never;
18
18
  };
19
19
  /**
20
- * Discover home — search a website to verify
21
- * @description Default home page. A website-first search: the visitor types a website and picks one to continue to `/site/{domain}`, where they choose what data to prove. Renders popular websites below the search, plus tag pills to narrow them.
20
+ * Home — sign-in or Discover
21
+ * @description Signed in, renders Discover (see `GET /discover`). Signed out, renders the sign-in page; a signed-out link carrying Discover's `q` / `tag` redirects to `/discover` with them.
22
22
  */
23
23
  get: operations["Index"];
24
24
  put?: never;
@@ -29,6 +29,26 @@ export interface paths {
29
29
  patch?: never;
30
30
  trace?: never;
31
31
  };
32
+ "/discover": {
33
+ parameters: {
34
+ query?: never;
35
+ header?: never;
36
+ path?: never;
37
+ cookie?: never;
38
+ };
39
+ /**
40
+ * Discover — search a website to verify
41
+ * @description The Catalog. A website-first search: the visitor types a website and picks one to continue to `/site/{domain}`, where they choose what data to prove. Renders popular websites below the search, plus tag pills to narrow them.
42
+ */
43
+ get: operations["Discover"];
44
+ put?: never;
45
+ post?: never;
46
+ delete?: never;
47
+ options?: never;
48
+ head?: never;
49
+ patch?: never;
50
+ trace?: never;
51
+ };
32
52
  "/providers": {
33
53
  parameters: {
34
54
  query?: never;
@@ -218,7 +238,7 @@ export interface paths {
218
238
  put?: never;
219
239
  /**
220
240
  * Mint a SANDBOX test verification session for the selection
221
- * @description Creates a real SANDBOX verification session for the selected data points, so the signed-in member can test the flow on `/v/{sessionId}` without registering a callback subscription. Runs under an organization the member owns (`orgId` in the body; defaults to their personal organization). The provider set is recomputed server-side from the selection.
241
+ * @description Creates a real SANDBOX verification session for the selected data points, so the signed-in member can test the flow on `/v/{sessionId}` without registering a callback subscription. Runs under an organization the member owns (`orgId` in the body; defaults to their default organization). The provider set is recomputed server-side from the selection.
222
242
  */
223
243
  post: operations["SiteBuildTry"];
224
244
  delete?: never;
@@ -227,26 +247,6 @@ export interface paths {
227
247
  patch?: never;
228
248
  trace?: never;
229
249
  };
230
- "/site/{domain}/repair": {
231
- parameters: {
232
- query?: never;
233
- header?: never;
234
- path?: never;
235
- cookie?: never;
236
- };
237
- /**
238
- * Failure-aware "Repair with an AI coding agent" wizard fragment
239
- * @description Body of the build page's repair dialog, lazy-loaded after a sandbox Try fails so the agent prompt includes the REAL failure (which provider(s) failed + the error reason, read from the session's event log) and the resolved provider set. HTML / HTMX fragment.
240
- */
241
- get: operations["SiteBuildRepair"];
242
- put?: never;
243
- post?: never;
244
- delete?: never;
245
- options?: never;
246
- head?: never;
247
- patch?: never;
248
- trace?: never;
249
- };
250
250
  "/site/{domain}/alternative": {
251
251
  parameters: {
252
252
  query?: never;
@@ -267,7 +267,7 @@ export interface paths {
267
267
  patch?: never;
268
268
  trace?: never;
269
269
  };
270
- "/discover/teach": {
270
+ "/integrate": {
271
271
  parameters: {
272
272
  query?: never;
273
273
  header?: never;
@@ -275,10 +275,10 @@ export interface paths {
275
275
  cookie?: never;
276
276
  };
277
277
  /**
278
- * “Teach our agent” instructions for a missing website / data point
279
- * @description Returns the "Teach our agent" panel shown when a website or data point a user wants does not exist yet: steps to install the Reclaim MCP server plus a ready-to-copy prompt, templated with the requested `domain` and (optionally) `dataPoint`, that instructs an agent to author the missing provider. HTML / HTMX only (a dialog fragment).
278
+ * Go to the Integrate page
279
+ * @description Where the "Build it with an agent" links lead, from pages that don't know the viewer's organization. Signed in, redirects to the Integrate page of the console's selected organization (else the viewer's default organization), on its coding-agent track. Signed out, redirects to sign-in and back here.
280
280
  */
281
- get: operations["DiscoverTeachAgent"];
281
+ get: operations["OpenIntegrate"];
282
282
  put?: never;
283
283
  post?: never;
284
284
  delete?: never;
@@ -287,26 +287,6 @@ export interface paths {
287
287
  patch?: never;
288
288
  trace?: never;
289
289
  };
290
- "/discover/agent-wizard": {
291
- parameters: {
292
- query?: never;
293
- header?: never;
294
- path?: never;
295
- cookie?: never;
296
- };
297
- get?: never;
298
- put?: never;
299
- /**
300
- * Setup and prompt for the coding agent picked in the wizard
301
- * @description Returns the last step of the "Build with an AI coding agent" wizard for the picked `agent`: how to attach the Reclaim MCP server, and the `basePrompt` with the optional `building` description appended. HTML / HTMX only (a fragment swapped into the open wizard).
302
- */
303
- post: operations["DiscoverAgentWizard"];
304
- delete?: never;
305
- options?: never;
306
- head?: never;
307
- patch?: never;
308
- trace?: never;
309
- };
310
290
  "/discover/resolve": {
311
291
  parameters: {
312
292
  query?: never;
@@ -1581,7 +1561,7 @@ export interface paths {
1581
1561
  put?: never;
1582
1562
  /**
1583
1563
  * Create an organization
1584
- * @description Creates a new `ORG`-kind organization with the caller as its first `OWNER`. The personal org is created automatically at user signup and is not created via this endpoint.
1564
+ * @description Creates a new `ORG`-kind organization with the caller as its first `OWNER`. Every user gets a default organization at sign-up, and it counts toward their org-creation limit (1 active organization unless Reclaim support raises it). Past the limit this returns `409`; contact support@reclaimprotocol.org to raise the limit or archive an organization.
1585
1565
  */
1586
1566
  post: operations["CreateOrg"];
1587
1567
  delete?: never;
@@ -1642,8 +1622,8 @@ export interface paths {
1642
1622
  put?: never;
1643
1623
  post?: never;
1644
1624
  /**
1645
- * Delete a shared organization
1646
- * @description Owner only. `PERSONAL` organizations cannot be deleted independently of their owning user; deleting a personal org happens implicitly via `DELETE /me`.
1625
+ * Archive an organization
1626
+ * @description Reclaim staff only; owners ask support@reclaimprotocol.org to archive. Archives the organization, which frees a slot under its creator's org-creation limit. `403` for anyone else.
1647
1627
  */
1648
1628
  delete: operations["DeleteOrg"];
1649
1629
  options?: never;
@@ -1655,26 +1635,6 @@ export interface paths {
1655
1635
  patch: operations["UpdateOrg"];
1656
1636
  trace?: never;
1657
1637
  };
1658
- "/orgs/{orgId}/convert": {
1659
- parameters: {
1660
- query?: never;
1661
- header?: never;
1662
- path?: never;
1663
- cookie?: never;
1664
- };
1665
- get?: never;
1666
- put?: never;
1667
- /**
1668
- * Convert a personal organization to a regular organization
1669
- * @description Owner only. One-way: flips a `PERSONAL` organization (auto-provisioned at sign-up, sandbox-only, single-member) to a regular `ORG`, unlocking billing, plan & usage, and member invites. All providers, sessions, credentials and themes carry over. `409` when the organization is not `PERSONAL`.
1670
- */
1671
- post: operations["ConvertOrgToRegular"];
1672
- delete?: never;
1673
- options?: never;
1674
- head?: never;
1675
- patch?: never;
1676
- trace?: never;
1677
- };
1678
1638
  "/orgs/{orgId}/members": {
1679
1639
  parameters: {
1680
1640
  query?: never;
@@ -1690,7 +1650,7 @@ export interface paths {
1690
1650
  put?: never;
1691
1651
  /**
1692
1652
  * Invite a member to an organization
1693
- * @description Owner only. Invites a user to the organization by email. The invitee does **not** need to be a registered user — an invite is created in either case, and an invite email with an accept link is dispatched. The new row is returned with `status: PENDING`; it flips to `ACTIVE` only when the invitee explicitly accepts via `POST /orgs/{orgId}/invite`. `PERSONAL` organizations reject this call (409).
1653
+ * @description Owner only. Invites a user to the organization by email. The invitee does **not** need to be a registered user — an invite is created in either case, and an invite email with an accept link is dispatched. The new row is returned with `status: PENDING`; it flips to `ACTIVE` only when the invitee explicitly accepts via `POST /orgs/{orgId}/invite`.
1694
1654
  */
1695
1655
  post: operations["AddOrgMember"];
1696
1656
  delete?: never;
@@ -2748,16 +2708,32 @@ export interface paths {
2748
2708
  /**
2749
2709
  * Create a verification session
2750
2710
  * @description Creates a verification session for an end-user to complete.
2711
+ *
2712
+ * **The response's `verificationUrl` is the one thing you need.** Send
2713
+ * your end user to it (redirect, link, or QR code): that is where they
2714
+ * verify. Everything else in the response is for tracking the session.
2715
+ *
2751
2716
  * Authenticated by the consumer's `OrgToken`; the session is scoped to
2752
2717
  * the resolved organization. The request carries no callback URLs —
2753
2718
  * results are delivered to the org's pre-registered callback
2754
2719
  * subscriptions.
2755
2720
  *
2721
+ * `verificationClientUrl` picks where the user verifies. Omit it to use
2722
+ * the Reclaim Portal. The built-in clients are:
2723
+ *
2724
+ * | Client | `verificationClientUrl` |
2725
+ * | --- | --- |
2726
+ * | Reclaim Portal (default) | `https://build.reclaimprotocol.org/share/portals` |
2727
+ * | Verifier app | `https://build.reclaimprotocol.org/share/verifier-app` |
2728
+ * | Browser extension | `https://build.reclaimprotocol.org/share/reclaim-browser-extension` |
2729
+ * | Builder browser | `https://build.reclaimprotocol.org/share/builder` |
2730
+ * | In-app SDK | `https://build.reclaimprotocol.org/share/inapp-sdk` |
2731
+ *
2756
2732
  * curl -X POST $BASE/verifications/sessions \
2757
2733
  * -H "Authorization: Bearer $ORG_TOKEN" \
2758
2734
  * -H 'Content-Type: application/json' \
2759
2735
  * -d '{"providers":[{"providerId":"…","version":"^1.2.0"}],"context":{},
2760
- * "verificationClientUrl":"https://verify.example.com/"}'
2736
+ * "verificationClientUrl":"https://build.reclaimprotocol.org/share/portals"}'
2761
2737
  *
2762
2738
  * Fails with `409 Conflict` if the organization has no callback
2763
2739
  * subscription (there would be nowhere to deliver the result).
@@ -3065,8 +3041,8 @@ export interface paths {
3065
3041
  cookie?: never;
3066
3042
  };
3067
3043
  /**
3068
- * Get the stored encrypted result(s) for a session
3069
- * @description Returns the stored Builder-signed result payloads for this session — one item per callback subscription. Readable only by the consumer that created the session. The consumer's `OrgToken` must resolve to the session's organization. A pull-based companion to push delivery: when the organization enables encryption, Builder returns an ECIES ciphertext (base64url) that the holder of the matching private key decrypts client-side, else plaintext. Empty `items` until the session reaches a terminal state and a result has been submitted. Treat every returned payload as untrusted until `verifyResultFull` succeeds with the Builder issuer and JWKS URL.
3044
+ * Get the stored result(s) for a session
3045
+ * @description Returns the session's callback deliveries with their payloads — one item per callback subscription and event. Readable only by the consumer that created the session. The consumer's `OrgToken` must resolve to the session's organization. A recovery companion to push delivery, not a replacement for the callback: a signed result's `payload` (which can carry proofs) is kept only until its callback is delivered, or for 7 days while undelivered, then becomes `null`. When the organization enables encryption, a signed result is an ECIES ciphertext (base64url) that the holder of the matching private key decrypts client-side, else plaintext. Empty `items` until the session reaches a terminal state and a result has been submitted. Treat every returned payload as untrusted until `verifyResultFull` succeeds with the Builder issuer and JWKS URL.
3070
3046
  */
3071
3047
  get: operations["GetVerificationResult"];
3072
3048
  put?: never;
@@ -3088,7 +3064,7 @@ export interface paths {
3088
3064
  put?: never;
3089
3065
  /**
3090
3066
  * Re-enqueue callback delivery for a session
3091
- * @description Re-enqueues delivery of a session's stored result to its callback subscriptions. Use this after `list_verification_deliveries` shows a `failed` or dead-lettered delivery, once the consumer's callback endpoint is reachable again and answers 2xx — it re-attempts every not-yet-delivered callback for the session. Usable by the session creator (authenticated by the consumer's `OrgToken`) to recover from a transient consumer-side outage.
3067
+ * @description Re-enqueues delivery of a session's stored result to its callback subscriptions. Use this after `list_verification_deliveries` shows a `failed` or dead-lettered delivery, once the consumer's callback endpoint is reachable again and answers 2xx — it re-attempts every not-yet-delivered callback for the session. Usable by the session creator (authenticated by the consumer's `OrgToken`) to recover from a transient consumer-side outage. A result left undelivered for 7 days is purged and can no longer be retried.
3092
3068
  */
3093
3069
  post: operations["RetryVerificationCallback"];
3094
3070
  delete?: never;
@@ -3128,7 +3104,7 @@ export interface paths {
3128
3104
  put?: never;
3129
3105
  /**
3130
3106
  * Retry a dead-lettered callback (admin-only)
3131
- * @description Admin only. Re-enqueues a specific DLQ entry for delivery.
3107
+ * @description Admin only. Re-enqueues a specific DLQ entry for delivery. 410 when the result was undelivered for 7 days and has been purged.
3132
3108
  */
3133
3109
  post: operations["RetryCallbackDlq"];
3134
3110
  delete?: never;
@@ -3397,11 +3373,9 @@ export interface components {
3397
3373
  */
3398
3374
  EntityStatus: "ACTIVE" | "ARCHIVED";
3399
3375
  /**
3400
- * @description - `PERSONAL`: Auto-provisioned at user signup. Exactly one
3401
- * `OWNER`, no other members.
3402
- *
3403
- * - `ORG`: Explicitly created via `POST /orgs`. Multiple
3404
- * members, always ≥ 1 active `OWNER`.
3376
+ * @description - `ORG`: A user's organization: the default one made at sign-up,
3377
+ * or one created via `POST /orgs`. Multiple members, always ≥ 1
3378
+ * active `OWNER`.
3405
3379
  *
3406
3380
  * - `ANONYMOUS`: System-managed, member-less org auto-created to
3407
3381
  * anchor an unaffiliated ETH credential's org-level settings
@@ -3410,7 +3384,7 @@ export interface components {
3410
3384
  * created or named by clients; has no members.
3411
3385
  * @enum {string}
3412
3386
  */
3413
- OrganizationKind: "PERSONAL" | "ORG" | "ANONYMOUS";
3387
+ OrganizationKind: "ORG" | "ANONYMOUS";
3414
3388
  /** @description A free-form label attached to an entity for grouping and filtering in listings. Must start and end with an alphanumeric character; only ASCII letters, digits, spaces, and hyphens are allowed between. */
3415
3389
  Tag: string;
3416
3390
  ActorMetadata: {
@@ -3419,7 +3393,7 @@ export interface components {
3419
3393
  /** @description Free-form notes from actor describing this change */
3420
3394
  notes?: string;
3421
3395
  };
3422
- /** @description A registered user of the platform. Every newly created user is automatically granted a personal organization (see `Organization.kind = PERSONAL`) whose id is exposed here as `personalOrgId`. */
3396
+ /** @description A registered user of the platform. Every newly created user gets a default organization, whose id is exposed here as `defaultOrgId`. */
3423
3397
  User: {
3424
3398
  id: components["schemas"]["UserID"];
3425
3399
  /**
@@ -3441,13 +3415,13 @@ export interface components {
3441
3415
  * @enum {string}
3442
3416
  */
3443
3417
  role?: "user" | "admin";
3444
- /** @description ID of the user's auto-created personal organization. This organization is provisioned the moment the user is created and cannot be deleted independently of the user. */
3445
- personalOrgId: components["schemas"]["OrgID"];
3418
+ /** @description ID of the organization created for the user at sign-up. It is a regular organization and counts toward the user's org-creation limit. */
3419
+ defaultOrgId: components["schemas"]["OrgID"];
3446
3420
  createMetadata: components["schemas"]["ActorMetadata"];
3447
3421
  updateMetadata: components["schemas"]["ActorMetadata"];
3448
3422
  };
3449
3423
  /**
3450
- * @description Role a user holds in an organization. `OWNER` can invite, promote, demote, and remove members, and delete the org. `MEMBER` has read/write access to resources owned by the org but cannot manage membership. `PERSONAL` orgs have exactly one `OWNER` and reject all member-mutating operations.
3424
+ * @description Role a user holds in an organization. `OWNER` can invite, promote, demote, and remove members, and delete the org. `MEMBER` has read/write access to resources owned by the org but cannot manage membership.
3451
3425
  * @enum {string}
3452
3426
  */
3453
3427
  OrganizationMemberRole: "OWNER" | "MEMBER";
@@ -3482,12 +3456,12 @@ export interface components {
3482
3456
  /** @description Timestamp the invite was accepted. Absent while `status` is `PENDING`. */
3483
3457
  joinedAt?: components["schemas"]["Timestamp"];
3484
3458
  };
3485
- /** @description A workspace that owns providers and other resources. Every user gets exactly one `PERSONAL` organization on signup; additional `ORG` organizations can be created and have multiple members. System-managed `ANONYMOUS` organizations have no members (see `OrganizationKind`). */
3459
+ /** @description A workspace that owns providers and other resources. Every user gets a default `ORG` organization on signup; more can be created up to the user's org-creation limit, and any can have multiple members. System-managed `ANONYMOUS` organizations have no members (see `OrganizationKind`). */
3486
3460
  Organization: {
3487
3461
  id: components["schemas"]["OrgID"];
3488
- /** @description Display name of the organization. For `PERSONAL` orgs this defaults to the owner's name and may be edited by the owner. */
3462
+ /** @description Display name of the organization. A user's default org starts with their name and may be renamed by an owner. */
3489
3463
  name: string;
3490
- /** @description Whether this is a user's personal org or a shared org. */
3464
+ /** @description Whether this is a user's org or a system-managed anonymous one. */
3491
3465
  kind: components["schemas"]["OrganizationKind"];
3492
3466
  /**
3493
3467
  * Format: uri
@@ -3496,7 +3470,7 @@ export interface components {
3496
3470
  iconUrl?: string;
3497
3471
  /** @description Marker for system-managed singleton orgs. `'reclaim-staff'` identifies the auto-membership org that every `@reclaimprotocol.org` user is enrolled into on login (PRD-1 §3). Absent on normal user-created orgs. Names, status, and lifecycle of system-managed orgs are server-protected — clients cannot rename, archive, or delete them. */
3498
3472
  readonly systemId?: string;
3499
- /** @description All users with a role in this organization. `PERSONAL` and `ORG` orgs always contain at least one active `OWNER` (`PERSONAL` orgs contain exactly one member); `ANONYMOUS` orgs have no members, so this array is empty for them. */
3473
+ /** @description All users with a role in this organization. `ORG` orgs always contain at least one active `OWNER`; `ANONYMOUS` orgs have no members, so this array is empty for them. */
3500
3474
  members: components["schemas"]["OrganizationMember"][];
3501
3475
  /** @description Providers owned by this organization. */
3502
3476
  providers?: components["schemas"]["ProviderListItem"][];
@@ -5235,7 +5209,7 @@ export interface components {
5235
5209
  webSettings: components["schemas"]["ProviderWebSettings"];
5236
5210
  requiredContext?: components["schemas"]["ProviderRequiredContext"];
5237
5211
  };
5238
- /** @description Body for `POST /orgs` — just a name. Every org is created keyless, like auto-provisioned personal orgs; its Ethereum (secp256k1) key pair is published separately via `PUT /orgs/{orgId}/keypair`, which is also where `canEncryptResult` is set. Creation deliberately collects nothing else so it never blocks on generating and safeguarding a private key. */
5212
+ /** @description Body for `POST /orgs` — just a name. Every org is created keyless, like each user's default org; its Ethereum (secp256k1) key pair is published separately via `PUT /orgs/{orgId}/keypair`, which is also where `canEncryptResult` is set. Creation deliberately collects nothing else so it never blocks on generating and safeguarding a private key. */
5239
5213
  CreateOrgRequest: {
5240
5214
  name: string;
5241
5215
  };
@@ -5816,7 +5790,7 @@ export interface components {
5816
5790
  * @description Id of the registered verification client whose base URL was used (see `verification_clients`).
5817
5791
  */
5818
5792
  verificationClientId: string;
5819
- /** @description Ready-to-share URL: the registered base URL with the session id attached by the Builder — substituted into a `{sessionId}` placeholder, or appended as a `?sessionId=…` query parameter. It always includes `api=2`, which selects Builder mode in dual-mode Verification Clients. The Consumer may append its own redirect query fields before opening the URL for the claimant; the Builder does not store or execute those redirects. */
5793
+ /** @description The URL to send your end user to: this is where they verify. Ready-to-share: the registered base URL with the session id attached by the Builder — substituted into a `{sessionId}` placeholder, or appended as a `?sessionId=…` query parameter. It always includes `api=2`, which selects Builder mode in dual-mode Verification Clients. The Consumer may append its own redirect query fields before opening the URL for the claimant; the Builder does not store or execute those redirects. */
5820
5794
  verificationUrl: string;
5821
5795
  createdAt: components["schemas"]["Timestamp"];
5822
5796
  /** @description When the session stops being completable. After this, a still- `pending` session becomes `expired` on the next sweep and the end-user can no longer finish it. */
@@ -5847,7 +5821,14 @@ export interface components {
5847
5821
  context: {
5848
5822
  [key: string]: unknown;
5849
5823
  };
5850
- /** @description Optional. Must exactly equal the base URL of a registered verification client (see the `verification_clients` registry / `/admin/verification-clients`). Omit to use the default (`portals`) client. The Builder resolves and stores the registered client UUID, then returns the ready-to-share `verificationUrl` with the session id and `api=2`. A URL that is not a registered client's base is rejected with 400. Consumers append any client-owned redirect parameters after receiving the URL; Builder does not manage them. */
5824
+ /**
5825
+ * @description Optional. Must exactly equal the base URL of a registered verification client (see the `verification_clients` registry / `/admin/verification-clients`). Omit to use the default (`portals`) client. The Builder resolves and stores the registered client UUID, then returns the ready-to-share `verificationUrl` with the session id and `api=2`. A URL that is not a registered client's base is rejected with 400. Consumers append any client-owned redirect parameters after receiving the URL; Builder does not manage them. The built-in clients are `{origin}/share/{name}`, listed in the examples.
5826
+ * @example https://build.reclaimprotocol.org/share/portals
5827
+ * @example https://build.reclaimprotocol.org/share/verifier-app
5828
+ * @example https://build.reclaimprotocol.org/share/reclaim-browser-extension
5829
+ * @example https://build.reclaimprotocol.org/share/builder
5830
+ * @example https://build.reclaimprotocol.org/share/inapp-sdk
5831
+ */
5851
5832
  verificationClientUrl?: string;
5852
5833
  /** @description Optional active theme owned by the organization. When omitted, Builder snapshots the organization's most recently updated active theme. If the organization has no active theme, the Verification Client uses its default presentation. */
5853
5834
  themeId?: components["schemas"]["ThemeID"];
@@ -6327,6 +6308,24 @@ export interface operations {
6327
6308
  default: components["responses"]["ProblemResponse"];
6328
6309
  };
6329
6310
  };
6311
+ Discover: {
6312
+ parameters: {
6313
+ query?: {
6314
+ /** @description Free-text query matched against website domain, data points, brand title, and description. Restores the search box and results on a shared/bookmarked link. */
6315
+ q?: string;
6316
+ /** @description Narrow to websites with at least one visible provider carrying ANY of these tags. Repeat to pass several (OR-combined). */
6317
+ tag?: string[];
6318
+ };
6319
+ header?: never;
6320
+ path?: never;
6321
+ cookie?: never;
6322
+ };
6323
+ requestBody?: never;
6324
+ responses: {
6325
+ 200: components["responses"]["HTMLResponse"];
6326
+ default: components["responses"]["ProblemResponse"];
6327
+ };
6328
+ };
6330
6329
  Providers: {
6331
6330
  parameters: {
6332
6331
  query?: {
@@ -6678,40 +6677,6 @@ export interface operations {
6678
6677
  default: components["responses"]["ProblemResponse"];
6679
6678
  };
6680
6679
  };
6681
- SiteBuildRepair: {
6682
- parameters: {
6683
- query: {
6684
- /** @description The failing sandbox session whose analytics seed the prompt. */
6685
- sessionId: components["schemas"]["SessionID"];
6686
- dataPoints?: string[];
6687
- mode?: components["schemas"]["ResolveMode"];
6688
- provided?: string[];
6689
- /** @description Source pins: `pins[<dataPoint>]=<providerId>`. Pins the provider that must prove that data point; a pinned provider is taken first and is never pruned. Omit (or send empty) for Auto. A comma-separated list is also accepted — the first id that covers the point wins. */
6690
- pins?: {
6691
- [key: string]: string;
6692
- };
6693
- exclude?: components["schemas"]["ProviderID"][];
6694
- };
6695
- header?: never;
6696
- path: {
6697
- domain: string;
6698
- };
6699
- cookie?: never;
6700
- };
6701
- requestBody?: never;
6702
- responses: {
6703
- /** @description The repair wizard fragment. */
6704
- 200: {
6705
- headers: {
6706
- [name: string]: unknown;
6707
- };
6708
- content: {
6709
- "text/html": components["schemas"]["HtmlContent"];
6710
- };
6711
- };
6712
- default: components["responses"]["ProblemResponse"];
6713
- };
6714
- };
6715
6680
  SiteBuildAlternative: {
6716
6681
  parameters: {
6717
6682
  query: {
@@ -6753,49 +6718,22 @@ export interface operations {
6753
6718
  default: components["responses"]["ProblemResponse"];
6754
6719
  };
6755
6720
  };
6756
- DiscoverTeachAgent: {
6721
+ OpenIntegrate: {
6757
6722
  parameters: {
6758
- query?: {
6759
- /** @description Website the user wanted to verify data from. */
6760
- domain?: string;
6761
- /** @description Specific data point the user could not find. */
6762
- dataPoint?: string;
6763
- };
6723
+ query?: never;
6764
6724
  header?: never;
6765
6725
  path?: never;
6766
6726
  cookie?: never;
6767
6727
  };
6768
6728
  requestBody?: never;
6769
6729
  responses: {
6770
- 200: components["responses"]["HTMLResponse"];
6771
- default: components["responses"]["ProblemResponse"];
6772
- };
6773
- };
6774
- DiscoverAgentWizard: {
6775
- parameters: {
6776
- query?: never;
6777
- header?: never;
6778
- path?: never;
6779
- cookie?: never;
6780
- };
6781
- requestBody: {
6782
- content: {
6783
- "application/x-www-form-urlencoded": {
6784
- /** @description The wizard's ready-to-paste task prompt. */
6785
- basePrompt: string;
6786
- /** @description Prefix of the wizard's element ids, so copy targets stay unique. */
6787
- idPrefix: string;
6788
- /** @description Picked coding agent; unknown values fall back to the first. */
6789
- agent?: string;
6790
- /** @description What the user is building, appended to the prompt. */
6791
- building?: string;
6792
- /** @description Label for `building` in the prompt. Defaults to "What I'm building". */
6793
- lead?: string;
6730
+ /** @description Redirect to the Integrate page, or to sign-in. */
6731
+ 302: {
6732
+ headers: {
6733
+ [name: string]: unknown;
6794
6734
  };
6735
+ content?: never;
6795
6736
  };
6796
- };
6797
- responses: {
6798
- 200: components["responses"]["HTMLResponse"];
6799
6737
  default: components["responses"]["ProblemResponse"];
6800
6738
  };
6801
6739
  };
@@ -7077,7 +7015,7 @@ export interface operations {
7077
7015
  AdminUsers: {
7078
7016
  parameters: {
7079
7017
  query?: {
7080
- /** @description Matches email, name, user id, or personal organization id (hyphens optional in ids). */
7018
+ /** @description Matches email, name, user id, or default organization id (hyphens optional in ids). */
7081
7019
  q?: string;
7082
7020
  };
7083
7021
  header?: never;
@@ -8754,9 +8692,9 @@ export interface operations {
8754
8692
  /** @description Integrate tab only. Which integration path to show: a coding agent over MCP, the client package, or plain HTTP. */
8755
8693
  track?: "agent" | "sdk" | "http";
8756
8694
  /** @description Integrate tab, agent track only. Which coding agent's install command to show. */
8757
- agent?: "claude" | "cursor" | "opencode" | "codex" | "others";
8758
- /** @description Dashboard tab only. Scopes the report to sessions that ran this provider. Options come from `GET /orgs/{orgId}/providers/used`. */
8759
- providerId?: components["schemas"]["ProviderID"];
8695
+ agent?: "claude" | "copilot" | "cursor" | "omp" | "opencode" | "codex" | "antigravity" | "others";
8696
+ /** @description Integrate tab: the providers to show in the examples in place of placeholder ids, for example when arriving from a provider page or a build page. Repeat to pass several. Dashboard tab: scopes the report to sessions that ran this provider (the first one); options come from `GET /orgs/{orgId}/providers/used`. */
8697
+ providerId?: components["schemas"]["ProviderID"][];
8760
8698
  /** @description Integrate tab, HTTP track only. Which Verification Client the create-session example targets. `auto` (the default) leaves `verificationClientUrl` out. */
8761
8699
  client?: "auto" | "portals" | "verifier-app" | "reclaim-browser-extension" | "builder" | "inapp-sdk";
8762
8700
  /** @description Dashboard tab only. Start of the reporting period; defaults to 30 days before `to`. */
@@ -8846,31 +8784,6 @@ export interface operations {
8846
8784
  default: components["responses"]["ProblemResponse"];
8847
8785
  };
8848
8786
  };
8849
- ConvertOrgToRegular: {
8850
- parameters: {
8851
- query?: never;
8852
- header?: never;
8853
- path: {
8854
- orgId: components["schemas"]["OrgID"];
8855
- };
8856
- cookie?: never;
8857
- };
8858
- requestBody?: never;
8859
- responses: {
8860
- /** @description Converted */
8861
- 200: {
8862
- headers: {
8863
- [name: string]: unknown;
8864
- };
8865
- content: {
8866
- "application/json": components["schemas"]["Organization"];
8867
- };
8868
- };
8869
- 403: components["responses"]["ForbiddenResponse"];
8870
- 409: components["responses"]["ProblemResponse"];
8871
- default: components["responses"]["ProblemResponse"];
8872
- };
8873
- };
8874
8787
  SearchOrgMembers: {
8875
8788
  parameters: {
8876
8789
  query?: {
@@ -11275,8 +11188,8 @@ export interface operations {
11275
11188
  /** Format: uuid */
11276
11189
  subscriptionId: string;
11277
11190
  event: components["schemas"]["VerificationEvent"];
11278
- /** @description The result payload, as raw text: an ECIES ciphertext (base64url) wrapping the signed result JWS when the org's `canEncryptResult` is enabled, else the plaintext signed JWS JSON. */
11279
- payload: string;
11191
+ /** @description The payload, as raw text. For a signed result: an ECIES ciphertext (base64url) wrapping the signed result JWS when the org's `canEncryptResult` is enabled, else the plaintext signed JWS JSON. For an event notification: `{event, eventData}` JSON. `null` once a signed result was delivered, or after 7 days undelivered. */
11192
+ payload: string | null;
11280
11193
  deliveryStatus: components["schemas"]["CallbackDeliveryStatus"];
11281
11194
  createdAt: components["schemas"]["Timestamp"];
11282
11195
  }[];
@@ -11353,6 +11266,7 @@ export interface operations {
11353
11266
  };
11354
11267
  403: components["responses"]["ForbiddenResponse"];
11355
11268
  404: components["responses"]["ProblemResponse"];
11269
+ 410: components["responses"]["ProblemResponse"];
11356
11270
  default: components["responses"]["ProblemResponse"];
11357
11271
  };
11358
11272
  };