@reclaimprotocol/client 0.1.28 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +255 -234
- package/lib/api.d.ts +2 -0
- package/lib/api.js +2 -0
- package/lib/client.js +2 -0
- package/lib/enckeys.d.ts +1 -1
- package/lib/enckeys.js +2 -2
- package/lib/encoding.d.ts +4 -0
- package/lib/encoding.js +10 -0
- package/lib/feature-flags.d.ts +9 -0
- package/lib/feature-flags.js +19 -0
- package/lib/index.d.ts +4 -4
- package/lib/index.js +4 -4
- package/lib/jwks.d.ts +8 -8
- package/lib/jwks.js +38 -17
- package/lib/launch/destination.d.ts +14 -0
- package/lib/launch/destination.js +89 -0
- package/lib/launch/device.d.ts +30 -0
- package/lib/launch/device.js +168 -0
- package/lib/launch/environment.d.ts +224 -0
- package/lib/launch/environment.js +98 -0
- package/lib/launch/errors.d.ts +20 -0
- package/lib/launch/errors.js +25 -0
- package/lib/launch/extension.d.ts +42 -0
- package/lib/launch/extension.js +72 -0
- package/lib/launch/flow.d.ts +82 -0
- package/lib/launch/flow.js +222 -0
- package/lib/launch/index.d.ts +16 -0
- package/lib/launch/index.js +12 -0
- package/lib/launch/mobile.d.ts +77 -0
- package/lib/launch/mobile.js +124 -0
- package/lib/launch/modal.d.ts +50 -0
- package/lib/launch/modal.js +258 -0
- package/lib/launch/options.d.ts +74 -0
- package/lib/launch/options.js +20 -0
- package/lib/launch/portal.d.ts +28 -0
- package/lib/launch/portal.js +68 -0
- package/lib/launch/qr.d.ts +5 -0
- package/lib/launch/qr.js +28 -0
- package/lib/launch/target.d.ts +46 -0
- package/lib/launch/target.js +128 -0
- package/lib/launch/vendor/qrcodegen.d.ts +134 -0
- package/lib/launch/vendor/qrcodegen.js +822 -0
- package/lib/legacy-proof.d.ts +2 -0
- package/lib/legacy-proof.js +37 -7
- package/lib/proof-hash.d.ts +5 -5
- package/lib/proof-hash.js +1 -1
- package/lib/proof-recipe.d.ts +3 -3
- package/lib/proof-recipe.js +1 -1
- package/lib/proof-types.d.ts +35 -8
- package/lib/reclaim.d.ts +81 -70
- package/lib/reclaim.js +79 -130
- package/lib/request-proof.d.ts +60 -0
- package/lib/request-proof.js +241 -0
- package/lib/result.d.ts +46 -38
- package/lib/result.js +160 -100
- package/lib/routes.gen.d.ts +76 -28
- package/lib/routes.gen.js +24 -11
- package/lib/tee-binding.d.ts +1 -1
- package/lib/types/openapi.d.ts +1 -0
- package/lib/types/openapi.gen.d.ts +1594 -488
- package/lib/types/openapi.gen.js +5 -0
- package/lib/verification-clients.d.ts +28 -14
- package/lib/verification-clients.js +31 -11
- package/lib/verify-attestor-tee.d.ts +19 -2
- package/lib/verify-attestor-tee.js +40 -4
- package/lib/verify-tee.d.ts +10 -1
- package/lib/verify-tee.js +34 -10
- package/package.json +5 -1
- package/src/api.ts +9 -0
- package/src/client.ts +2 -0
- package/src/enckeys.ts +2 -2
- package/src/encoding.ts +12 -0
- package/src/feature-flags.ts +39 -0
- package/src/index.ts +13 -14
- package/src/jwks.ts +52 -30
- package/src/launch/destination.ts +111 -0
- package/src/launch/device.ts +242 -0
- package/src/launch/environment.ts +337 -0
- package/src/launch/errors.ts +49 -0
- package/src/launch/extension.ts +124 -0
- package/src/launch/flow.ts +369 -0
- package/src/launch/index.ts +42 -0
- package/src/launch/mobile.ts +184 -0
- package/src/launch/modal.ts +378 -0
- package/src/launch/options.ts +99 -0
- package/src/launch/portal.ts +104 -0
- package/src/launch/qr.ts +37 -0
- package/src/launch/target.ts +150 -0
- package/src/launch/vendor/qrcodegen.ts +1034 -0
- package/src/proof-hash.ts +6 -6
- package/src/proof-recipe.ts +3 -3
- package/src/proof-types.ts +36 -8
- package/src/reclaim.ts +185 -218
- package/src/{legacy-proof.ts → request-proof.ts} +81 -36
- package/src/result.ts +238 -172
- package/src/routes.gen.ts +24 -11
- package/src/tee-binding.ts +1 -1
- package/src/types/openapi.gen.ts +1599 -488
- package/src/types/openapi.ts +3 -1
- package/src/verification-clients.ts +33 -19
- package/src/verify-attestor-tee.ts +66 -8
- package/src/verify-tee.ts +44 -13
- package/lib/api-client.d.ts +0 -31
- package/lib/api-client.js +0 -112
- package/lib/api-consts.d.ts +0 -4
- package/lib/api-consts.js +0 -4
- package/lib/api-errors.d.ts +0 -13
- package/lib/api-errors.js +0 -30
- package/lib/eip712.d.ts +0 -20
- package/lib/eip712.js +0 -108
package/lib/routes.gen.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ export declare const ROUTES: {
|
|
|
19
19
|
readonly method: "post";
|
|
20
20
|
readonly path: "/admin/staff";
|
|
21
21
|
};
|
|
22
|
-
readonly
|
|
23
|
-
readonly method: "
|
|
24
|
-
readonly path: "/admin/
|
|
22
|
+
readonly AdminAnalytics: {
|
|
23
|
+
readonly method: "get";
|
|
24
|
+
readonly path: "/admin/analytics";
|
|
25
25
|
};
|
|
26
26
|
readonly AdminBillingPlans: {
|
|
27
27
|
readonly method: "get";
|
|
@@ -35,6 +35,10 @@ export declare const ROUTES: {
|
|
|
35
35
|
readonly method: "get";
|
|
36
36
|
readonly path: "/admin/callback-dlq";
|
|
37
37
|
};
|
|
38
|
+
readonly AdminFeatureFlags: {
|
|
39
|
+
readonly method: "get";
|
|
40
|
+
readonly path: "/admin/feature-flags";
|
|
41
|
+
};
|
|
38
42
|
readonly AdminGrantOrgCredit: {
|
|
39
43
|
readonly method: "post";
|
|
40
44
|
readonly path: "/admin/orgs/{orgId}/credits";
|
|
@@ -67,6 +71,10 @@ export declare const ROUTES: {
|
|
|
67
71
|
readonly method: "put";
|
|
68
72
|
readonly path: "/users/{userId}/org-limit";
|
|
69
73
|
};
|
|
74
|
+
readonly AdminSiteBanners: {
|
|
75
|
+
readonly method: "get";
|
|
76
|
+
readonly path: "/admin/site-banners";
|
|
77
|
+
};
|
|
70
78
|
readonly AdminSubscribeOrgPlan: {
|
|
71
79
|
readonly method: "post";
|
|
72
80
|
readonly path: "/admin/orgs/{orgId}/billing/subscribe";
|
|
@@ -87,10 +95,22 @@ export declare const ROUTES: {
|
|
|
87
95
|
readonly method: "post";
|
|
88
96
|
readonly path: "/admin/orgs/{orgId}/credits/{grantId}/void";
|
|
89
97
|
};
|
|
98
|
+
readonly AppleAppSiteAssociation: {
|
|
99
|
+
readonly method: "get";
|
|
100
|
+
readonly path: "/.well-known/apple-app-site-association";
|
|
101
|
+
};
|
|
102
|
+
readonly AssetLinksJson: {
|
|
103
|
+
readonly method: "get";
|
|
104
|
+
readonly path: "/.well-known/assetlinks.json";
|
|
105
|
+
};
|
|
90
106
|
readonly BindVerificationSessionTeeNonce: {
|
|
91
107
|
readonly method: "put";
|
|
92
108
|
readonly path: "/verifications/sessions/{sessionId}/tee-nonce";
|
|
93
109
|
};
|
|
110
|
+
readonly BootstrapVerificationClient: {
|
|
111
|
+
readonly method: "get";
|
|
112
|
+
readonly path: "/verifications/sessions/{sessionId}/bootstrap";
|
|
113
|
+
};
|
|
94
114
|
readonly CancelBillingSubscription: {
|
|
95
115
|
readonly method: "delete";
|
|
96
116
|
readonly path: "/orgs/{orgId}/billing/subscription";
|
|
@@ -131,6 +151,14 @@ export declare const ROUTES: {
|
|
|
131
151
|
readonly method: "post";
|
|
132
152
|
readonly path: "/orgs/{orgId}/billing/credits/checkout";
|
|
133
153
|
};
|
|
154
|
+
readonly CreateFeatureFlag: {
|
|
155
|
+
readonly method: "post";
|
|
156
|
+
readonly path: "/admin/feature-flags";
|
|
157
|
+
};
|
|
158
|
+
readonly CreateFetchAuthorization: {
|
|
159
|
+
readonly method: "post";
|
|
160
|
+
readonly path: "/fetch/authorizations";
|
|
161
|
+
};
|
|
134
162
|
readonly CreateFixWithAiSession: {
|
|
135
163
|
readonly method: "post";
|
|
136
164
|
readonly path: "/v/{sessionId}/fix-with-ai";
|
|
@@ -171,6 +199,10 @@ export declare const ROUTES: {
|
|
|
171
199
|
readonly method: "post";
|
|
172
200
|
readonly path: "/orgs/{orgId}/themes";
|
|
173
201
|
};
|
|
202
|
+
readonly CreateVerificationAttestorAuth: {
|
|
203
|
+
readonly method: "post";
|
|
204
|
+
readonly path: "/verifications/sessions/{sessionId}/attestor-auth";
|
|
205
|
+
};
|
|
174
206
|
readonly CreateVerificationClient: {
|
|
175
207
|
readonly method: "post";
|
|
176
208
|
readonly path: "/admin/verification-clients";
|
|
@@ -219,6 +251,10 @@ export declare const ROUTES: {
|
|
|
219
251
|
readonly method: "delete";
|
|
220
252
|
readonly path: "/orgs/{orgId}/themes/{themeId}";
|
|
221
253
|
};
|
|
254
|
+
readonly DiscoverAgentWizard: {
|
|
255
|
+
readonly method: "post";
|
|
256
|
+
readonly path: "/discover/agent-wizard";
|
|
257
|
+
};
|
|
222
258
|
readonly DiscoverDataPoints: {
|
|
223
259
|
readonly method: "get";
|
|
224
260
|
readonly path: "/discover/data-points";
|
|
@@ -287,6 +323,10 @@ export declare const ROUTES: {
|
|
|
287
323
|
readonly method: "get";
|
|
288
324
|
readonly path: "/orgs/{orgId}/billing/usage";
|
|
289
325
|
};
|
|
326
|
+
readonly GetOrgVerificationAnalytics: {
|
|
327
|
+
readonly method: "get";
|
|
328
|
+
readonly path: "/orgs/{orgId}/verification-analytics";
|
|
329
|
+
};
|
|
290
330
|
readonly GetProvider: {
|
|
291
331
|
readonly method: "get";
|
|
292
332
|
readonly path: "/providers/{providerId}";
|
|
@@ -339,10 +379,6 @@ export declare const ROUTES: {
|
|
|
339
379
|
readonly method: "post";
|
|
340
380
|
readonly path: "/orgs/{orgId}/token";
|
|
341
381
|
};
|
|
342
|
-
readonly IssueVerificationClientToken: {
|
|
343
|
-
readonly method: "post";
|
|
344
|
-
readonly path: "/admin/verification-clients/{clientId}/tokens";
|
|
345
|
-
};
|
|
346
382
|
readonly JwksJson: {
|
|
347
383
|
readonly method: "get";
|
|
348
384
|
readonly path: "/.well-known/jwks.json";
|
|
@@ -359,6 +395,10 @@ export declare const ROUTES: {
|
|
|
359
395
|
readonly method: "get";
|
|
360
396
|
readonly path: "/verifications/callback-subscriptions";
|
|
361
397
|
};
|
|
398
|
+
readonly ListFeatureFlagRevisions: {
|
|
399
|
+
readonly method: "get";
|
|
400
|
+
readonly path: "/admin/feature-flags/{flagKey}/revisions";
|
|
401
|
+
};
|
|
362
402
|
readonly ListOrgCallbackSubscriptions: {
|
|
363
403
|
readonly method: "get";
|
|
364
404
|
readonly path: "/orgs/{orgId}/callback-subscriptions";
|
|
@@ -375,6 +415,10 @@ export declare const ROUTES: {
|
|
|
375
415
|
readonly method: "get";
|
|
376
416
|
readonly path: "/orgs/{orgId}/billing/transactions";
|
|
377
417
|
};
|
|
418
|
+
readonly ListOrgUsedProviders: {
|
|
419
|
+
readonly method: "get";
|
|
420
|
+
readonly path: "/orgs/{orgId}/providers/used";
|
|
421
|
+
};
|
|
378
422
|
readonly ListOrgVerificationSessions: {
|
|
379
423
|
readonly method: "get";
|
|
380
424
|
readonly path: "/orgs/{orgId}/sessions";
|
|
@@ -387,10 +431,6 @@ export declare const ROUTES: {
|
|
|
387
431
|
readonly method: "get";
|
|
388
432
|
readonly path: "/providers/{providerId}/versions";
|
|
389
433
|
};
|
|
390
|
-
readonly ListSessionCallbackKeys: {
|
|
391
|
-
readonly method: "get";
|
|
392
|
-
readonly path: "/verifications/sessions/{sessionId}/callback-keys";
|
|
393
|
-
};
|
|
394
434
|
readonly ListStaffMembers: {
|
|
395
435
|
readonly method: "get";
|
|
396
436
|
readonly path: "/admin/staff";
|
|
@@ -475,10 +515,18 @@ export declare const ROUTES: {
|
|
|
475
515
|
readonly method: "post";
|
|
476
516
|
readonly path: "/providers/{providerId}/request-public";
|
|
477
517
|
};
|
|
518
|
+
readonly ResolveVerificationRuntimeConfig: {
|
|
519
|
+
readonly method: "post";
|
|
520
|
+
readonly path: "/verifications/sessions/{sessionId}/runtime-config";
|
|
521
|
+
};
|
|
478
522
|
readonly RetryCallbackDlq: {
|
|
479
523
|
readonly method: "post";
|
|
480
524
|
readonly path: "/verifications/callback-dlq/{dlqId}/retry";
|
|
481
525
|
};
|
|
526
|
+
readonly RetryOrgSessionCallback: {
|
|
527
|
+
readonly method: "post";
|
|
528
|
+
readonly path: "/orgs/{orgId}/sessions/{sessionId}/retry-callback";
|
|
529
|
+
};
|
|
482
530
|
readonly RetryVerificationCallback: {
|
|
483
531
|
readonly method: "post";
|
|
484
532
|
readonly path: "/verifications/sessions/{sessionId}/retry-callback";
|
|
@@ -487,14 +535,6 @@ export declare const ROUTES: {
|
|
|
487
535
|
readonly method: "delete";
|
|
488
536
|
readonly path: "/orgs/{orgId}/token/{tokenId}";
|
|
489
537
|
};
|
|
490
|
-
readonly RevokeVerificationClientKey: {
|
|
491
|
-
readonly method: "delete";
|
|
492
|
-
readonly path: "/admin/verification-clients/{clientId}/keys/{keyId}";
|
|
493
|
-
};
|
|
494
|
-
readonly RevokeVerificationClientToken: {
|
|
495
|
-
readonly method: "delete";
|
|
496
|
-
readonly path: "/admin/verification-clients/{clientId}/tokens/{tokenId}";
|
|
497
|
-
};
|
|
498
538
|
readonly Robots: {
|
|
499
539
|
readonly method: "get";
|
|
500
540
|
readonly path: "/robots.txt";
|
|
@@ -531,9 +571,9 @@ export declare const ROUTES: {
|
|
|
531
571
|
readonly method: "post";
|
|
532
572
|
readonly path: "/providers/setup";
|
|
533
573
|
};
|
|
534
|
-
readonly
|
|
535
|
-
readonly method: "
|
|
536
|
-
readonly path: "/
|
|
574
|
+
readonly SharePage: {
|
|
575
|
+
readonly method: "get";
|
|
576
|
+
readonly path: "/share/{client}";
|
|
537
577
|
};
|
|
538
578
|
readonly SiteBuild: {
|
|
539
579
|
readonly method: "get";
|
|
@@ -563,10 +603,6 @@ export declare const ROUTES: {
|
|
|
563
603
|
readonly method: "get";
|
|
564
604
|
readonly path: "/site/{domain}/panel";
|
|
565
605
|
};
|
|
566
|
-
readonly SiteTryAi: {
|
|
567
|
-
readonly method: "post";
|
|
568
|
-
readonly path: "/site/{domain}/try-ai";
|
|
569
|
-
};
|
|
570
606
|
readonly StartSocialLogin: {
|
|
571
607
|
readonly method: "get";
|
|
572
608
|
readonly path: "/login/social/{provider}";
|
|
@@ -587,18 +623,26 @@ export declare const ROUTES: {
|
|
|
587
623
|
readonly method: "post";
|
|
588
624
|
readonly path: "/contribute/{publicId}/feedback";
|
|
589
625
|
};
|
|
590
|
-
readonly
|
|
626
|
+
readonly SubmitVerificationClientResult: {
|
|
591
627
|
readonly method: "post";
|
|
592
|
-
readonly path: "/verifications/sessions/{sessionId}/
|
|
628
|
+
readonly path: "/verifications/sessions/{sessionId}/results";
|
|
593
629
|
};
|
|
594
630
|
readonly TransferProvider: {
|
|
595
631
|
readonly method: "post";
|
|
596
632
|
readonly path: "/providers/{providerId}/transfer";
|
|
597
633
|
};
|
|
634
|
+
readonly UpdateAnnouncementBar: {
|
|
635
|
+
readonly method: "put";
|
|
636
|
+
readonly path: "/admin/announcement-bar";
|
|
637
|
+
};
|
|
598
638
|
readonly UpdateBillingPlan: {
|
|
599
639
|
readonly method: "put";
|
|
600
640
|
readonly path: "/admin/billing/plans/{planId}";
|
|
601
641
|
};
|
|
642
|
+
readonly UpdateFeatureFlag: {
|
|
643
|
+
readonly method: "put";
|
|
644
|
+
readonly path: "/admin/feature-flags/{flagKey}";
|
|
645
|
+
};
|
|
602
646
|
readonly UpdateOrg: {
|
|
603
647
|
readonly method: "patch";
|
|
604
648
|
readonly path: "/orgs/{orgId}";
|
|
@@ -623,6 +667,10 @@ export declare const ROUTES: {
|
|
|
623
667
|
readonly method: "patch";
|
|
624
668
|
readonly path: "/providers/{providerId}/versions/{version}";
|
|
625
669
|
};
|
|
670
|
+
readonly UpdateScrollingBanner: {
|
|
671
|
+
readonly method: "put";
|
|
672
|
+
readonly path: "/admin/scrolling-banner";
|
|
673
|
+
};
|
|
626
674
|
readonly UpdateTheme: {
|
|
627
675
|
readonly method: "patch";
|
|
628
676
|
readonly path: "/orgs/{orgId}/themes/{themeId}";
|
package/lib/routes.gen.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
// AUTO-GENERATED by packages/app/scripts/mcp-tools-gen.ts
|
|
2
|
-
// from packages/app/openapi.yaml.
|
|
3
|
-
//
|
|
4
|
-
//
|
|
2
|
+
// from packages/app/openapi.yaml (spec v0.1.0, source sha256:9ba46b5cbd7c).
|
|
3
|
+
// The hash catches drift the version misses (a spec can change without a
|
|
4
|
+
// version bump) — do not remove it as "redundant" with the version.
|
|
5
|
+
// Run `npm run openapi:gen --workspace=packages/app` to regenerate. Do not edit by hand.
|
|
5
6
|
export const ROUTES = {
|
|
6
7
|
"AcceptOrgInvite": { "method": "post", "path": "/orgs/{orgId}/invite" },
|
|
7
8
|
"ActivateFixWithAiRepair": { "method": "post", "path": "/v/{sessionId}/fix-with-ai/activate" },
|
|
8
9
|
"AddOrgMember": { "method": "post", "path": "/orgs/{orgId}/members" },
|
|
9
10
|
"AddProviderContributionComment": { "method": "post", "path": "/providers/{providerId}/contributions/{campaignId}/comments" },
|
|
10
11
|
"AddStaffMember": { "method": "post", "path": "/admin/staff" },
|
|
11
|
-
"
|
|
12
|
+
"AdminAnalytics": { "method": "get", "path": "/admin/analytics" },
|
|
12
13
|
"AdminBillingPlans": { "method": "get", "path": "/admin/billing/plans" },
|
|
13
14
|
"AdminBillingTransactions": { "method": "get", "path": "/admin/billing/transactions" },
|
|
14
15
|
"AdminCallbackDlq": { "method": "get", "path": "/admin/callback-dlq" },
|
|
16
|
+
"AdminFeatureFlags": { "method": "get", "path": "/admin/feature-flags" },
|
|
15
17
|
"AdminGrantOrgCredit": { "method": "post", "path": "/admin/orgs/{orgId}/credits" },
|
|
16
18
|
"AdminHome": { "method": "get", "path": "/admin" },
|
|
17
19
|
"AdminOrgs": { "method": "get", "path": "/admin/orgs" },
|
|
@@ -20,12 +22,16 @@ export const ROUTES = {
|
|
|
20
22
|
"AdminSessions": { "method": "get", "path": "/admin/sessions" },
|
|
21
23
|
"AdminSetProviderFixWithAi": { "method": "put", "path": "/admin/providers/{providerId}/fix-with-ai" },
|
|
22
24
|
"AdminSetUserOrgLimit": { "method": "put", "path": "/users/{userId}/org-limit" },
|
|
25
|
+
"AdminSiteBanners": { "method": "get", "path": "/admin/site-banners" },
|
|
23
26
|
"AdminSubscribeOrgPlan": { "method": "post", "path": "/admin/orgs/{orgId}/billing/subscribe" },
|
|
24
27
|
"AdminThemes": { "method": "get", "path": "/admin/themes" },
|
|
25
28
|
"AdminUsers": { "method": "get", "path": "/admin/users" },
|
|
26
29
|
"AdminVerificationClients": { "method": "get", "path": "/admin/verification-clients" },
|
|
27
30
|
"AdminVoidOrgCredit": { "method": "post", "path": "/admin/orgs/{orgId}/credits/{grantId}/void" },
|
|
31
|
+
"AppleAppSiteAssociation": { "method": "get", "path": "/.well-known/apple-app-site-association" },
|
|
32
|
+
"AssetLinksJson": { "method": "get", "path": "/.well-known/assetlinks.json" },
|
|
28
33
|
"BindVerificationSessionTeeNonce": { "method": "put", "path": "/verifications/sessions/{sessionId}/tee-nonce" },
|
|
34
|
+
"BootstrapVerificationClient": { "method": "get", "path": "/verifications/sessions/{sessionId}/bootstrap" },
|
|
29
35
|
"CancelBillingSubscription": { "method": "delete", "path": "/orgs/{orgId}/billing/subscription" },
|
|
30
36
|
"CancelPublicListingRequest": { "method": "post", "path": "/providers/{providerId}/versions/{version}/cancel-review" },
|
|
31
37
|
"ChangeOrgPlan": { "method": "post", "path": "/orgs/{orgId}/billing/change-plan" },
|
|
@@ -36,6 +42,8 @@ export const ROUTES = {
|
|
|
36
42
|
"CreateBillingPortalSession": { "method": "post", "path": "/orgs/{orgId}/billing/portal" },
|
|
37
43
|
"CreateCallbackSubscription": { "method": "post", "path": "/verifications/callback-subscriptions" },
|
|
38
44
|
"CreateCreditCheckoutSession": { "method": "post", "path": "/orgs/{orgId}/billing/credits/checkout" },
|
|
45
|
+
"CreateFeatureFlag": { "method": "post", "path": "/admin/feature-flags" },
|
|
46
|
+
"CreateFetchAuthorization": { "method": "post", "path": "/fetch/authorizations" },
|
|
39
47
|
"CreateFixWithAiSession": { "method": "post", "path": "/v/{sessionId}/fix-with-ai" },
|
|
40
48
|
"CreateManualTransaction": { "method": "post", "path": "/admin/billing/transactions" },
|
|
41
49
|
"CreateOrg": { "method": "post", "path": "/orgs" },
|
|
@@ -46,6 +54,7 @@ export const ROUTES = {
|
|
|
46
54
|
"CreateProviderVersion": { "method": "post", "path": "/providers/{providerId}/versions" },
|
|
47
55
|
"CreatePublicContributionAttempt": { "method": "post", "path": "/contribute/{publicId}" },
|
|
48
56
|
"CreateTheme": { "method": "post", "path": "/orgs/{orgId}/themes" },
|
|
57
|
+
"CreateVerificationAttestorAuth": { "method": "post", "path": "/verifications/sessions/{sessionId}/attestor-auth" },
|
|
49
58
|
"CreateVerificationClient": { "method": "post", "path": "/admin/verification-clients" },
|
|
50
59
|
"CreateVerificationSession": { "method": "post", "path": "/verifications/sessions" },
|
|
51
60
|
"DecideProviderVersionReview": { "method": "post", "path": "/providers/{providerId}/versions/{version}/review-decision" },
|
|
@@ -58,6 +67,7 @@ export const ROUTES = {
|
|
|
58
67
|
"DeleteProvider": { "method": "delete", "path": "/providers/{providerId}" },
|
|
59
68
|
"DeleteProviderVersion": { "method": "delete", "path": "/providers/{providerId}/versions/{version}" },
|
|
60
69
|
"DeleteTheme": { "method": "delete", "path": "/orgs/{orgId}/themes/{themeId}" },
|
|
70
|
+
"DiscoverAgentWizard": { "method": "post", "path": "/discover/agent-wizard" },
|
|
61
71
|
"DiscoverDataPoints": { "method": "get", "path": "/discover/data-points" },
|
|
62
72
|
"DiscoverResolve": { "method": "get", "path": "/discover/resolve" },
|
|
63
73
|
"DiscoverTeachAgent": { "method": "get", "path": "/discover/teach" },
|
|
@@ -75,6 +85,7 @@ export const ROUTES = {
|
|
|
75
85
|
"GetOrgKeypair": { "method": "get", "path": "/orgs/{orgId}/keypair" },
|
|
76
86
|
"GetOrgSession": { "method": "get", "path": "/orgs/{orgId}/sessions/{sessionId}" },
|
|
77
87
|
"GetOrgUsage": { "method": "get", "path": "/orgs/{orgId}/billing/usage" },
|
|
88
|
+
"GetOrgVerificationAnalytics": { "method": "get", "path": "/orgs/{orgId}/verification-analytics" },
|
|
78
89
|
"GetProvider": { "method": "get", "path": "/providers/{providerId}" },
|
|
79
90
|
"GetProviderBySlug": { "method": "get", "path": "/providers/{providerId}/{slug}" },
|
|
80
91
|
"GetProviderVersion": { "method": "get", "path": "/providers/{providerId}/versions/{version}" },
|
|
@@ -88,19 +99,19 @@ export const ROUTES = {
|
|
|
88
99
|
"ImportDevtoolsProvider": { "method": "post", "path": "/providers/import/devtools" },
|
|
89
100
|
"Index": { "method": "get", "path": "/" },
|
|
90
101
|
"IssueOrgToken": { "method": "post", "path": "/orgs/{orgId}/token" },
|
|
91
|
-
"IssueVerificationClientToken": { "method": "post", "path": "/admin/verification-clients/{clientId}/tokens" },
|
|
92
102
|
"JwksJson": { "method": "get", "path": "/.well-known/jwks.json" },
|
|
93
103
|
"ListBillingPlans": { "method": "get", "path": "/billing/plans" },
|
|
94
104
|
"ListCallbackDlq": { "method": "get", "path": "/verifications/callback-dlq" },
|
|
95
105
|
"ListCallbackSubscriptions": { "method": "get", "path": "/verifications/callback-subscriptions" },
|
|
106
|
+
"ListFeatureFlagRevisions": { "method": "get", "path": "/admin/feature-flags/{flagKey}/revisions" },
|
|
96
107
|
"ListOrgCallbackSubscriptions": { "method": "get", "path": "/orgs/{orgId}/callback-subscriptions" },
|
|
97
108
|
"ListOrgs": { "method": "get", "path": "/orgs" },
|
|
98
109
|
"ListOrgTokens": { "method": "get", "path": "/orgs/{orgId}/token" },
|
|
99
110
|
"ListOrgTransactions": { "method": "get", "path": "/orgs/{orgId}/billing/transactions" },
|
|
111
|
+
"ListOrgUsedProviders": { "method": "get", "path": "/orgs/{orgId}/providers/used" },
|
|
100
112
|
"ListOrgVerificationSessions": { "method": "get", "path": "/orgs/{orgId}/sessions" },
|
|
101
113
|
"ListProviderContributionCampaigns": { "method": "get", "path": "/providers/{providerId}/contributions" },
|
|
102
114
|
"ListProviderVersions": { "method": "get", "path": "/providers/{providerId}/versions" },
|
|
103
|
-
"ListSessionCallbackKeys": { "method": "get", "path": "/verifications/sessions/{sessionId}/callback-keys" },
|
|
104
115
|
"ListStaffMembers": { "method": "get", "path": "/admin/staff" },
|
|
105
116
|
"ListThemes": { "method": "get", "path": "/orgs/{orgId}/themes" },
|
|
106
117
|
"ListVerificationDeliveries": { "method": "get", "path": "/verifications/sessions/{sessionId}/deliveries" },
|
|
@@ -122,11 +133,11 @@ export const ROUTES = {
|
|
|
122
133
|
"ReportVerificationEvent": { "method": "post", "path": "/verifications/sessions/{sessionId}/events" },
|
|
123
134
|
"RequestLoginOtp": { "method": "post", "path": "/login/otp" },
|
|
124
135
|
"RequestPublicListing": { "method": "post", "path": "/providers/{providerId}/request-public" },
|
|
136
|
+
"ResolveVerificationRuntimeConfig": { "method": "post", "path": "/verifications/sessions/{sessionId}/runtime-config" },
|
|
125
137
|
"RetryCallbackDlq": { "method": "post", "path": "/verifications/callback-dlq/{dlqId}/retry" },
|
|
138
|
+
"RetryOrgSessionCallback": { "method": "post", "path": "/orgs/{orgId}/sessions/{sessionId}/retry-callback" },
|
|
126
139
|
"RetryVerificationCallback": { "method": "post", "path": "/verifications/sessions/{sessionId}/retry-callback" },
|
|
127
140
|
"RevokeOrgToken": { "method": "delete", "path": "/orgs/{orgId}/token/{tokenId}" },
|
|
128
|
-
"RevokeVerificationClientKey": { "method": "delete", "path": "/admin/verification-clients/{clientId}/keys/{keyId}" },
|
|
129
|
-
"RevokeVerificationClientToken": { "method": "delete", "path": "/admin/verification-clients/{clientId}/tokens/{tokenId}" },
|
|
130
141
|
"Robots": { "method": "get", "path": "/robots.txt" },
|
|
131
142
|
"SearchOrgMembers": { "method": "get", "path": "/orgs/{orgId}/members" },
|
|
132
143
|
"SetDefaultBillingPlan": { "method": "post", "path": "/admin/billing/plans/{planId}/default" },
|
|
@@ -136,7 +147,7 @@ export const ROUTES = {
|
|
|
136
147
|
"SetProviderContributionCampaignStatus": { "method": "post", "path": "/providers/{providerId}/contributions/{campaignId}" },
|
|
137
148
|
"SetupBillingPlan": { "method": "post", "path": "/admin/billing/plans/setup" },
|
|
138
149
|
"SetupProviderCreate": { "method": "post", "path": "/providers/setup" },
|
|
139
|
-
"
|
|
150
|
+
"SharePage": { "method": "get", "path": "/share/{client}" },
|
|
140
151
|
"SiteBuild": { "method": "get", "path": "/site/{domain}/build" },
|
|
141
152
|
"SiteBuildAlternative": { "method": "get", "path": "/site/{domain}/alternative" },
|
|
142
153
|
"SiteBuildRepair": { "method": "get", "path": "/site/{domain}/repair" },
|
|
@@ -144,21 +155,23 @@ export const ROUTES = {
|
|
|
144
155
|
"Sitemap": { "method": "get", "path": "/sitemap.xml" },
|
|
145
156
|
"SitePage": { "method": "get", "path": "/site/{domain}" },
|
|
146
157
|
"SitePanel": { "method": "get", "path": "/site/{domain}/panel" },
|
|
147
|
-
"SiteTryAi": { "method": "post", "path": "/site/{domain}/try-ai" },
|
|
148
158
|
"StartSocialLogin": { "method": "get", "path": "/login/social/{provider}" },
|
|
149
159
|
"StripeWebhook": { "method": "post", "path": "/billing/stripe/webhook" },
|
|
150
160
|
"SubmitConsent": { "method": "post", "path": "/oauth/consent" },
|
|
151
161
|
"SubmitProviderVersionForReview": { "method": "post", "path": "/providers/{providerId}/versions/{version}/review" },
|
|
152
162
|
"SubmitPublicContributionFeedback": { "method": "post", "path": "/contribute/{publicId}/feedback" },
|
|
153
|
-
"
|
|
163
|
+
"SubmitVerificationClientResult": { "method": "post", "path": "/verifications/sessions/{sessionId}/results" },
|
|
154
164
|
"TransferProvider": { "method": "post", "path": "/providers/{providerId}/transfer" },
|
|
165
|
+
"UpdateAnnouncementBar": { "method": "put", "path": "/admin/announcement-bar" },
|
|
155
166
|
"UpdateBillingPlan": { "method": "put", "path": "/admin/billing/plans/{planId}" },
|
|
167
|
+
"UpdateFeatureFlag": { "method": "put", "path": "/admin/feature-flags/{flagKey}" },
|
|
156
168
|
"UpdateOrg": { "method": "patch", "path": "/orgs/{orgId}" },
|
|
157
169
|
"UpdateOrgIcon": { "method": "put", "path": "/orgs/{orgId}/icon" },
|
|
158
170
|
"UpdateOrgMember": { "method": "patch", "path": "/orgs/{orgId}/members/{memberId}" },
|
|
159
171
|
"UpdateProvider": { "method": "patch", "path": "/providers/{providerId}" },
|
|
160
172
|
"UpdateProviderContributionCampaign": { "method": "patch", "path": "/providers/{providerId}/contributions/{campaignId}" },
|
|
161
173
|
"UpdateProviderVersion": { "method": "patch", "path": "/providers/{providerId}/versions/{version}" },
|
|
174
|
+
"UpdateScrollingBanner": { "method": "put", "path": "/admin/scrolling-banner" },
|
|
162
175
|
"UpdateTheme": { "method": "patch", "path": "/orgs/{orgId}/themes/{themeId}" },
|
|
163
176
|
"UpdateVerificationClient": { "method": "put", "path": "/admin/verification-clients/{clientId}" },
|
|
164
177
|
"VerificationPage": { "method": "get", "path": "/v/{sessionId}" },
|
package/lib/tee-binding.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const LEGACY_TEE_NONCE_DOMAIN = "RECLAIM_TEE_NONCE_V1";
|
|
|
4
4
|
export declare const LEGACY_TEE_ATTESTATION_VERSION = "v3";
|
|
5
5
|
/** Domain for the authenticated, Builder-specific nonce registration. */
|
|
6
6
|
export declare const BUILDER_TEE_BINDING_DOMAIN = "RECLAIM_BUILDER_TEE_BINDING_V1";
|
|
7
|
-
/** The exact nonce context shape preserved into an emitted
|
|
7
|
+
/** The exact nonce context shape preserved into an emitted proof. */
|
|
8
8
|
export interface LegacyTeeNonceData {
|
|
9
9
|
applicationId: string;
|
|
10
10
|
sessionId: string;
|
package/lib/types/openapi.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export type ProblemDetails = components['schemas']['Problem'] & {
|
|
|
72
72
|
[key: string]: unknown;
|
|
73
73
|
};
|
|
74
74
|
export type VerificationSession = components['schemas']['VerificationSession'];
|
|
75
|
+
export type VerificationRuntimeConfig = components['schemas']['VerificationRuntimeConfig'];
|
|
75
76
|
export type VerificationStatus = components['schemas']['VerificationStatus'];
|
|
76
77
|
export type VerificationEventRecord = components['schemas']['VerificationEventRecord'];
|
|
77
78
|
export type CallbackSubscription = components['schemas']['CallbackSubscription'];
|