@reclaimprotocol/client 0.1.15 → 0.1.17

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/lib/consts.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export declare const DEFAULT_BASE_URL = "http://localhost:4001";
1
+ export declare const DEFAULT_BASE_URL: string;
2
2
  export declare const USER_AGENT = "@reclaimprotocol/client";
3
3
  export declare const PROBLEM_CONTENT_TYPE = "application/problem+json";
package/lib/consts.js CHANGED
@@ -1,4 +1,3 @@
1
- // TODO: Update to production url
2
- export const DEFAULT_BASE_URL = 'http://localhost:4001';
1
+ export const DEFAULT_BASE_URL = process.env.RECLAIM_BASE_URL || 'https://build.reclaimprotocol.org';
3
2
  export const USER_AGENT = '@reclaimprotocol/client';
4
3
  export const PROBLEM_CONTENT_TYPE = 'application/problem+json';
@@ -1,12 +1,36 @@
1
1
  export declare const ROUTES: {
2
+ readonly AcceptOrgInvite: {
3
+ readonly method: "post";
4
+ readonly path: "/orgs/{orgId}/invite";
5
+ };
2
6
  readonly AddOrgMember: {
3
7
  readonly method: "post";
4
8
  readonly path: "/orgs/{orgId}/members";
5
9
  };
10
+ readonly AddStaffMember: {
11
+ readonly method: "post";
12
+ readonly path: "/admin/staff";
13
+ };
14
+ readonly AddVerificationClientKey: {
15
+ readonly method: "post";
16
+ readonly path: "/admin/verification-clients/{clientId}/keys";
17
+ };
18
+ readonly AdminBillingPlans: {
19
+ readonly method: "get";
20
+ readonly path: "/admin/billing/plans";
21
+ };
22
+ readonly AdminBillingTransactions: {
23
+ readonly method: "get";
24
+ readonly path: "/admin/billing/transactions";
25
+ };
6
26
  readonly AdminCallbackDlq: {
7
27
  readonly method: "get";
8
28
  readonly path: "/admin/callback-dlq";
9
29
  };
30
+ readonly AdminGrantOrgCredit: {
31
+ readonly method: "post";
32
+ readonly path: "/admin/orgs/{orgId}/credits";
33
+ };
10
34
  readonly AdminHome: {
11
35
  readonly method: "get";
12
36
  readonly path: "/admin";
@@ -27,6 +51,10 @@ export declare const ROUTES: {
27
51
  readonly method: "get";
28
52
  readonly path: "/admin/sessions";
29
53
  };
54
+ readonly AdminSubscribeOrgPlan: {
55
+ readonly method: "post";
56
+ readonly path: "/admin/orgs/{orgId}/billing/subscribe";
57
+ };
30
58
  readonly AdminThemes: {
31
59
  readonly method: "get";
32
60
  readonly path: "/admin/themes";
@@ -35,34 +63,50 @@ export declare const ROUTES: {
35
63
  readonly method: "get";
36
64
  readonly path: "/admin/users";
37
65
  };
38
- readonly AttachLanding: {
66
+ readonly AdminVerificationClients: {
39
67
  readonly method: "get";
40
- readonly path: "/attach";
68
+ readonly path: "/admin/verification-clients";
41
69
  };
42
- readonly AttachPage: {
43
- readonly method: "get";
44
- readonly path: "/attach/{code}";
70
+ readonly AdminVoidOrgCredit: {
71
+ readonly method: "post";
72
+ readonly path: "/admin/orgs/{orgId}/credits/{grantId}/void";
73
+ };
74
+ readonly CancelBillingSubscription: {
75
+ readonly method: "delete";
76
+ readonly path: "/orgs/{orgId}/billing/subscription";
45
77
  };
46
78
  readonly CancelPublicListingRequest: {
47
79
  readonly method: "post";
48
80
  readonly path: "/providers/{providerId}/versions/{version}/cancel-review";
49
81
  };
50
- readonly ComponentsDemo: {
82
+ readonly ChangeOrgPlan: {
83
+ readonly method: "post";
84
+ readonly path: "/orgs/{orgId}/billing/change-plan";
85
+ };
86
+ readonly ConsentPage: {
51
87
  readonly method: "get";
52
- readonly path: "/components_demo";
88
+ readonly path: "/oauth/consent";
53
89
  };
54
- readonly ConfirmAttachSession: {
90
+ readonly CreateBillingCheckoutSession: {
55
91
  readonly method: "post";
56
- readonly path: "/credentials/attach/sessions/{code}/confirm";
92
+ readonly path: "/orgs/{orgId}/billing/checkout";
57
93
  };
58
- readonly CreateAttachSession: {
94
+ readonly CreateBillingPortalSession: {
59
95
  readonly method: "post";
60
- readonly path: "/credentials/attach/sessions";
96
+ readonly path: "/orgs/{orgId}/billing/portal";
61
97
  };
62
98
  readonly CreateCallbackSubscription: {
63
99
  readonly method: "post";
64
100
  readonly path: "/verifications/callback-subscriptions";
65
101
  };
102
+ readonly CreateCreditCheckoutSession: {
103
+ readonly method: "post";
104
+ readonly path: "/orgs/{orgId}/billing/credits/checkout";
105
+ };
106
+ readonly CreateManualTransaction: {
107
+ readonly method: "post";
108
+ readonly path: "/admin/billing/transactions";
109
+ };
66
110
  readonly CreateOrg: {
67
111
  readonly method: "post";
68
112
  readonly path: "/orgs";
@@ -83,6 +127,10 @@ export declare const ROUTES: {
83
127
  readonly method: "post";
84
128
  readonly path: "/orgs/{orgId}/themes";
85
129
  };
130
+ readonly CreateVerificationClient: {
131
+ readonly method: "post";
132
+ readonly path: "/admin/verification-clients";
133
+ };
86
134
  readonly CreateVerificationSession: {
87
135
  readonly method: "post";
88
136
  readonly path: "/verifications/sessions";
@@ -155,10 +203,6 @@ export declare const ROUTES: {
155
203
  readonly method: "get";
156
204
  readonly path: "/og/explore.png";
157
205
  };
158
- readonly GetAttachSession: {
159
- readonly method: "get";
160
- readonly path: "/credentials/attach/sessions/{code}";
161
- };
162
206
  readonly GetImage: {
163
207
  readonly method: "get";
164
208
  readonly path: "/images/{imageId}";
@@ -175,6 +219,10 @@ export declare const ROUTES: {
175
219
  readonly method: "get";
176
220
  readonly path: "/orgs/{orgId}/billing";
177
221
  };
222
+ readonly GetOrgCredits: {
223
+ readonly method: "get";
224
+ readonly path: "/orgs/{orgId}/billing/credits";
225
+ };
178
226
  readonly GetOrgKeypair: {
179
227
  readonly method: "get";
180
228
  readonly path: "/orgs/{orgId}/keypair";
@@ -183,9 +231,9 @@ export declare const ROUTES: {
183
231
  readonly method: "get";
184
232
  readonly path: "/orgs/{orgId}/sessions/{sessionId}";
185
233
  };
186
- readonly GetOrgToken: {
234
+ readonly GetOrgUsage: {
187
235
  readonly method: "get";
188
- readonly path: "/orgs/{orgId}/token";
236
+ readonly path: "/orgs/{orgId}/billing/usage";
189
237
  };
190
238
  readonly GetProvider: {
191
239
  readonly method: "get";
@@ -227,10 +275,18 @@ export declare const ROUTES: {
227
275
  readonly method: "post";
228
276
  readonly path: "/orgs/{orgId}/token";
229
277
  };
278
+ readonly IssueVerificationClientToken: {
279
+ readonly method: "post";
280
+ readonly path: "/admin/verification-clients/{clientId}/tokens";
281
+ };
230
282
  readonly JwksJson: {
231
283
  readonly method: "get";
232
284
  readonly path: "/.well-known/jwks.json";
233
285
  };
286
+ readonly ListBillingPlans: {
287
+ readonly method: "get";
288
+ readonly path: "/billing/plans";
289
+ };
234
290
  readonly ListCallbackDlq: {
235
291
  readonly method: "get";
236
292
  readonly path: "/verifications/callback-dlq";
@@ -247,6 +303,14 @@ export declare const ROUTES: {
247
303
  readonly method: "get";
248
304
  readonly path: "/orgs";
249
305
  };
306
+ readonly ListOrgTokens: {
307
+ readonly method: "get";
308
+ readonly path: "/orgs/{orgId}/token";
309
+ };
310
+ readonly ListOrgTransactions: {
311
+ readonly method: "get";
312
+ readonly path: "/orgs/{orgId}/billing/transactions";
313
+ };
250
314
  readonly ListOrgVerificationSessions: {
251
315
  readonly method: "get";
252
316
  readonly path: "/orgs/{orgId}/sessions";
@@ -259,6 +323,10 @@ export declare const ROUTES: {
259
323
  readonly method: "get";
260
324
  readonly path: "/verifications/sessions/{sessionId}/callback-keys";
261
325
  };
326
+ readonly ListStaffMembers: {
327
+ readonly method: "get";
328
+ readonly path: "/admin/staff";
329
+ };
262
330
  readonly ListThemes: {
263
331
  readonly method: "get";
264
332
  readonly path: "/orgs/{orgId}/themes";
@@ -271,10 +339,6 @@ export declare const ROUTES: {
271
339
  readonly method: "get";
272
340
  readonly path: "/verifications/sessions/{sessionId}/events";
273
341
  };
274
- readonly Login: {
275
- readonly method: "post";
276
- readonly path: "/auth/login";
277
- };
278
342
  readonly LoginPage: {
279
343
  readonly method: "get";
280
344
  readonly path: "/login";
@@ -291,6 +355,10 @@ export declare const ROUTES: {
291
355
  readonly method: "get";
292
356
  readonly path: "/openapi.yaml";
293
357
  };
358
+ readonly OrgInvitePage: {
359
+ readonly method: "get";
360
+ readonly path: "/orgs/{orgId}/invite";
361
+ };
294
362
  readonly ProviderPreviewImage: {
295
363
  readonly method: "get";
296
364
  readonly path: "/providers/{providerId}/preview.png";
@@ -303,10 +371,22 @@ export declare const ROUTES: {
303
371
  readonly method: "post";
304
372
  readonly path: "/providers/{providerId}/versions/{version}/publish";
305
373
  };
374
+ readonly RefreshBillingPlans: {
375
+ readonly method: "post";
376
+ readonly path: "/admin/billing/plans/refresh";
377
+ };
378
+ readonly RefundTransaction: {
379
+ readonly method: "post";
380
+ readonly path: "/admin/billing/transactions/{txId}/refund";
381
+ };
306
382
  readonly RemoveOrgMember: {
307
383
  readonly method: "delete";
308
384
  readonly path: "/orgs/{orgId}/members/{memberId}";
309
385
  };
386
+ readonly RemoveStaffMember: {
387
+ readonly method: "delete";
388
+ readonly path: "/admin/staff/{email}";
389
+ };
310
390
  readonly ReportClaimant: {
311
391
  readonly method: "post";
312
392
  readonly path: "/v/{sessionId}/claimant";
@@ -315,6 +395,10 @@ export declare const ROUTES: {
315
395
  readonly method: "post";
316
396
  readonly path: "/verifications/sessions/{sessionId}/events";
317
397
  };
398
+ readonly RequestLoginOtp: {
399
+ readonly method: "post";
400
+ readonly path: "/login/otp";
401
+ };
318
402
  readonly RequestPublicListing: {
319
403
  readonly method: "post";
320
404
  readonly path: "/providers/{providerId}/request-public";
@@ -327,6 +411,18 @@ export declare const ROUTES: {
327
411
  readonly method: "post";
328
412
  readonly path: "/verifications/sessions/{sessionId}/retry-callback";
329
413
  };
414
+ readonly RevokeOrgToken: {
415
+ readonly method: "delete";
416
+ readonly path: "/orgs/{orgId}/token/{tokenId}";
417
+ };
418
+ readonly RevokeVerificationClientKey: {
419
+ readonly method: "delete";
420
+ readonly path: "/admin/verification-clients/{clientId}/keys/{keyId}";
421
+ };
422
+ readonly RevokeVerificationClientToken: {
423
+ readonly method: "delete";
424
+ readonly path: "/admin/verification-clients/{clientId}/tokens/{tokenId}";
425
+ };
330
426
  readonly Robots: {
331
427
  readonly method: "get";
332
428
  readonly path: "/robots.txt";
@@ -335,10 +431,26 @@ export declare const ROUTES: {
335
431
  readonly method: "get";
336
432
  readonly path: "/orgs/{orgId}/members";
337
433
  };
434
+ readonly SetDefaultBillingPlan: {
435
+ readonly method: "post";
436
+ readonly path: "/admin/billing/plans/{planId}/default";
437
+ };
438
+ readonly SetOrgCreditGrace: {
439
+ readonly method: "post";
440
+ readonly path: "/admin/orgs/{orgId}/credits/grace";
441
+ };
442
+ readonly SetOrgGrace: {
443
+ readonly method: "post";
444
+ readonly path: "/admin/orgs/{orgId}/billing/grace";
445
+ };
338
446
  readonly SetOrgKeypair: {
339
447
  readonly method: "put";
340
448
  readonly path: "/orgs/{orgId}/keypair";
341
449
  };
450
+ readonly SetupBillingPlan: {
451
+ readonly method: "post";
452
+ readonly path: "/admin/billing/plans/setup";
453
+ };
342
454
  readonly SetupProviderCreate: {
343
455
  readonly method: "post";
344
456
  readonly path: "/providers/setup";
@@ -379,6 +491,18 @@ export declare const ROUTES: {
379
491
  readonly method: "post";
380
492
  readonly path: "/site/{domain}/try-ai";
381
493
  };
494
+ readonly StartSocialLogin: {
495
+ readonly method: "get";
496
+ readonly path: "/login/social/{provider}";
497
+ };
498
+ readonly StripeWebhook: {
499
+ readonly method: "post";
500
+ readonly path: "/billing/stripe/webhook";
501
+ };
502
+ readonly SubmitConsent: {
503
+ readonly method: "post";
504
+ readonly path: "/oauth/consent";
505
+ };
382
506
  readonly SubmitProviderVersionForReview: {
383
507
  readonly method: "post";
384
508
  readonly path: "/providers/{providerId}/versions/{version}/review";
@@ -391,14 +515,14 @@ export declare const ROUTES: {
391
515
  readonly method: "post";
392
516
  readonly path: "/providers/{providerId}/transfer";
393
517
  };
518
+ readonly UpdateBillingPlan: {
519
+ readonly method: "put";
520
+ readonly path: "/admin/billing/plans/{planId}";
521
+ };
394
522
  readonly UpdateOrg: {
395
523
  readonly method: "patch";
396
524
  readonly path: "/orgs/{orgId}";
397
525
  };
398
- readonly UpdateOrgBilling: {
399
- readonly method: "put";
400
- readonly path: "/orgs/{orgId}/billing";
401
- };
402
526
  readonly UpdateOrgIcon: {
403
527
  readonly method: "put";
404
528
  readonly path: "/orgs/{orgId}/icon";
@@ -419,6 +543,10 @@ export declare const ROUTES: {
419
543
  readonly method: "patch";
420
544
  readonly path: "/orgs/{orgId}/themes/{themeId}";
421
545
  };
546
+ readonly UpdateVerificationClient: {
547
+ readonly method: "put";
548
+ readonly path: "/admin/verification-clients/{clientId}";
549
+ };
422
550
  readonly VerificationPage: {
423
551
  readonly method: "get";
424
552
  readonly path: "/v/{sessionId}";
@@ -431,5 +559,9 @@ export declare const ROUTES: {
431
559
  readonly method: "get";
432
560
  readonly path: "/v/{sessionId}/status";
433
561
  };
562
+ readonly VerifyLoginOtp: {
563
+ readonly method: "post";
564
+ readonly path: "/login/otp/verify";
565
+ };
434
566
  };
435
567
  export type RouteId = keyof typeof ROUTES;
package/lib/routes.gen.js CHANGED
@@ -3,27 +3,39 @@
3
3
  // Run `npm run openapi:typegen --workspace=packages/client`
4
4
  // to regenerate. Do not edit by hand.
5
5
  export const ROUTES = {
6
+ "AcceptOrgInvite": { "method": "post", "path": "/orgs/{orgId}/invite" },
6
7
  "AddOrgMember": { "method": "post", "path": "/orgs/{orgId}/members" },
8
+ "AddStaffMember": { "method": "post", "path": "/admin/staff" },
9
+ "AddVerificationClientKey": { "method": "post", "path": "/admin/verification-clients/{clientId}/keys" },
10
+ "AdminBillingPlans": { "method": "get", "path": "/admin/billing/plans" },
11
+ "AdminBillingTransactions": { "method": "get", "path": "/admin/billing/transactions" },
7
12
  "AdminCallbackDlq": { "method": "get", "path": "/admin/callback-dlq" },
13
+ "AdminGrantOrgCredit": { "method": "post", "path": "/admin/orgs/{orgId}/credits" },
8
14
  "AdminHome": { "method": "get", "path": "/admin" },
9
15
  "AdminOrgs": { "method": "get", "path": "/admin/orgs" },
10
16
  "AdminProviders": { "method": "get", "path": "/admin/providers" },
11
17
  "AdminReviews": { "method": "get", "path": "/admin/reviews" },
12
18
  "AdminSessions": { "method": "get", "path": "/admin/sessions" },
19
+ "AdminSubscribeOrgPlan": { "method": "post", "path": "/admin/orgs/{orgId}/billing/subscribe" },
13
20
  "AdminThemes": { "method": "get", "path": "/admin/themes" },
14
21
  "AdminUsers": { "method": "get", "path": "/admin/users" },
15
- "AttachLanding": { "method": "get", "path": "/attach" },
16
- "AttachPage": { "method": "get", "path": "/attach/{code}" },
22
+ "AdminVerificationClients": { "method": "get", "path": "/admin/verification-clients" },
23
+ "AdminVoidOrgCredit": { "method": "post", "path": "/admin/orgs/{orgId}/credits/{grantId}/void" },
24
+ "CancelBillingSubscription": { "method": "delete", "path": "/orgs/{orgId}/billing/subscription" },
17
25
  "CancelPublicListingRequest": { "method": "post", "path": "/providers/{providerId}/versions/{version}/cancel-review" },
18
- "ComponentsDemo": { "method": "get", "path": "/components_demo" },
19
- "ConfirmAttachSession": { "method": "post", "path": "/credentials/attach/sessions/{code}/confirm" },
20
- "CreateAttachSession": { "method": "post", "path": "/credentials/attach/sessions" },
26
+ "ChangeOrgPlan": { "method": "post", "path": "/orgs/{orgId}/billing/change-plan" },
27
+ "ConsentPage": { "method": "get", "path": "/oauth/consent" },
28
+ "CreateBillingCheckoutSession": { "method": "post", "path": "/orgs/{orgId}/billing/checkout" },
29
+ "CreateBillingPortalSession": { "method": "post", "path": "/orgs/{orgId}/billing/portal" },
21
30
  "CreateCallbackSubscription": { "method": "post", "path": "/verifications/callback-subscriptions" },
31
+ "CreateCreditCheckoutSession": { "method": "post", "path": "/orgs/{orgId}/billing/credits/checkout" },
32
+ "CreateManualTransaction": { "method": "post", "path": "/admin/billing/transactions" },
22
33
  "CreateOrg": { "method": "post", "path": "/orgs" },
23
34
  "CreateOrgCallbackSubscription": { "method": "post", "path": "/orgs/{orgId}/callback-subscriptions" },
24
35
  "CreateProvider": { "method": "post", "path": "/providers" },
25
36
  "CreateProviderVersion": { "method": "post", "path": "/providers/{providerId}/versions" },
26
37
  "CreateTheme": { "method": "post", "path": "/orgs/{orgId}/themes" },
38
+ "CreateVerificationClient": { "method": "post", "path": "/admin/verification-clients" },
27
39
  "CreateVerificationSession": { "method": "post", "path": "/verifications/sessions" },
28
40
  "DecideProviderVersionReview": { "method": "post", "path": "/providers/{providerId}/versions/{version}/review-decision" },
29
41
  "DeleteCallbackSubscription": { "method": "delete", "path": "/verifications/callback-subscriptions/{subscriptionId}" },
@@ -42,14 +54,14 @@ export const ROUTES = {
42
54
  "DisposeVerificationSession": { "method": "post", "path": "/v/{sessionId}/dispose" },
43
55
  "Docs": { "method": "get", "path": "/docs" },
44
56
  "ExplorePreviewImage": { "method": "get", "path": "/og/explore.png" },
45
- "GetAttachSession": { "method": "get", "path": "/credentials/attach/sessions/{code}" },
46
57
  "GetImage": { "method": "get", "path": "/images/{imageId}" },
47
58
  "GetMe": { "method": "get", "path": "/me" },
48
59
  "GetOrg": { "method": "get", "path": "/orgs/{orgId}" },
49
60
  "GetOrgBilling": { "method": "get", "path": "/orgs/{orgId}/billing" },
61
+ "GetOrgCredits": { "method": "get", "path": "/orgs/{orgId}/billing/credits" },
50
62
  "GetOrgKeypair": { "method": "get", "path": "/orgs/{orgId}/keypair" },
51
63
  "GetOrgSession": { "method": "get", "path": "/orgs/{orgId}/sessions/{sessionId}" },
52
- "GetOrgToken": { "method": "get", "path": "/orgs/{orgId}/token" },
64
+ "GetOrgUsage": { "method": "get", "path": "/orgs/{orgId}/billing/usage" },
53
65
  "GetProvider": { "method": "get", "path": "/providers/{providerId}" },
54
66
  "GetProviderBySlug": { "method": "get", "path": "/providers/{providerId}/{slug}" },
55
67
  "GetProviderVersion": { "method": "get", "path": "/providers/{providerId}/versions/{version}" },
@@ -60,34 +72,50 @@ export const ROUTES = {
60
72
  "GetVerificationSession": { "method": "get", "path": "/verifications/sessions/{sessionId}" },
61
73
  "Index": { "method": "get", "path": "/" },
62
74
  "IssueOrgToken": { "method": "post", "path": "/orgs/{orgId}/token" },
75
+ "IssueVerificationClientToken": { "method": "post", "path": "/admin/verification-clients/{clientId}/tokens" },
63
76
  "JwksJson": { "method": "get", "path": "/.well-known/jwks.json" },
77
+ "ListBillingPlans": { "method": "get", "path": "/billing/plans" },
64
78
  "ListCallbackDlq": { "method": "get", "path": "/verifications/callback-dlq" },
65
79
  "ListCallbackSubscriptions": { "method": "get", "path": "/verifications/callback-subscriptions" },
66
80
  "ListOrgCallbackSubscriptions": { "method": "get", "path": "/orgs/{orgId}/callback-subscriptions" },
67
81
  "ListOrgs": { "method": "get", "path": "/orgs" },
82
+ "ListOrgTokens": { "method": "get", "path": "/orgs/{orgId}/token" },
83
+ "ListOrgTransactions": { "method": "get", "path": "/orgs/{orgId}/billing/transactions" },
68
84
  "ListOrgVerificationSessions": { "method": "get", "path": "/orgs/{orgId}/sessions" },
69
85
  "ListProviderVersions": { "method": "get", "path": "/providers/{providerId}/versions" },
70
86
  "ListSessionCallbackKeys": { "method": "get", "path": "/verifications/sessions/{sessionId}/callback-keys" },
87
+ "ListStaffMembers": { "method": "get", "path": "/admin/staff" },
71
88
  "ListThemes": { "method": "get", "path": "/orgs/{orgId}/themes" },
72
89
  "ListVerificationDeliveries": { "method": "get", "path": "/verifications/sessions/{sessionId}/deliveries" },
73
90
  "ListVerificationEvents": { "method": "get", "path": "/verifications/sessions/{sessionId}/events" },
74
- "Login": { "method": "post", "path": "/auth/login" },
75
91
  "LoginPage": { "method": "get", "path": "/login" },
76
92
  "Logout": { "method": "post", "path": "/logout" },
77
93
  "MakePrivate": { "method": "post", "path": "/providers/{providerId}/make-private" },
78
94
  "OpenApiSpec": { "method": "get", "path": "/openapi.yaml" },
95
+ "OrgInvitePage": { "method": "get", "path": "/orgs/{orgId}/invite" },
79
96
  "ProviderPreviewImage": { "method": "get", "path": "/providers/{providerId}/preview.png" },
80
97
  "Providers": { "method": "get", "path": "/providers" },
81
98
  "PublishProviderVersion": { "method": "post", "path": "/providers/{providerId}/versions/{version}/publish" },
99
+ "RefreshBillingPlans": { "method": "post", "path": "/admin/billing/plans/refresh" },
100
+ "RefundTransaction": { "method": "post", "path": "/admin/billing/transactions/{txId}/refund" },
82
101
  "RemoveOrgMember": { "method": "delete", "path": "/orgs/{orgId}/members/{memberId}" },
102
+ "RemoveStaffMember": { "method": "delete", "path": "/admin/staff/{email}" },
83
103
  "ReportClaimant": { "method": "post", "path": "/v/{sessionId}/claimant" },
84
104
  "ReportVerificationEvent": { "method": "post", "path": "/verifications/sessions/{sessionId}/events" },
105
+ "RequestLoginOtp": { "method": "post", "path": "/login/otp" },
85
106
  "RequestPublicListing": { "method": "post", "path": "/providers/{providerId}/request-public" },
86
107
  "RetryCallbackDlq": { "method": "post", "path": "/verifications/callback-dlq/{dlqId}/retry" },
87
108
  "RetryVerificationCallback": { "method": "post", "path": "/verifications/sessions/{sessionId}/retry-callback" },
109
+ "RevokeOrgToken": { "method": "delete", "path": "/orgs/{orgId}/token/{tokenId}" },
110
+ "RevokeVerificationClientKey": { "method": "delete", "path": "/admin/verification-clients/{clientId}/keys/{keyId}" },
111
+ "RevokeVerificationClientToken": { "method": "delete", "path": "/admin/verification-clients/{clientId}/tokens/{tokenId}" },
88
112
  "Robots": { "method": "get", "path": "/robots.txt" },
89
113
  "SearchOrgMembers": { "method": "get", "path": "/orgs/{orgId}/members" },
114
+ "SetDefaultBillingPlan": { "method": "post", "path": "/admin/billing/plans/{planId}/default" },
115
+ "SetOrgCreditGrace": { "method": "post", "path": "/admin/orgs/{orgId}/credits/grace" },
116
+ "SetOrgGrace": { "method": "post", "path": "/admin/orgs/{orgId}/billing/grace" },
90
117
  "SetOrgKeypair": { "method": "put", "path": "/orgs/{orgId}/keypair" },
118
+ "SetupBillingPlan": { "method": "post", "path": "/admin/billing/plans/setup" },
91
119
  "SetupProviderCreate": { "method": "post", "path": "/providers/setup" },
92
120
  "SiteAiProvider": { "method": "post", "path": "/site/{domain}/ai-provider" },
93
121
  "SiteBuild": { "method": "get", "path": "/site/{domain}/build" },
@@ -98,17 +126,22 @@ export const ROUTES = {
98
126
  "SitePage": { "method": "get", "path": "/site/{domain}" },
99
127
  "SitePanel": { "method": "get", "path": "/site/{domain}/panel" },
100
128
  "SiteTryAi": { "method": "post", "path": "/site/{domain}/try-ai" },
129
+ "StartSocialLogin": { "method": "get", "path": "/login/social/{provider}" },
130
+ "StripeWebhook": { "method": "post", "path": "/billing/stripe/webhook" },
131
+ "SubmitConsent": { "method": "post", "path": "/oauth/consent" },
101
132
  "SubmitProviderVersionForReview": { "method": "post", "path": "/providers/{providerId}/versions/{version}/review" },
102
133
  "SubmitVerificationResult": { "method": "post", "path": "/verifications/sessions/{sessionId}/result" },
103
134
  "TransferProvider": { "method": "post", "path": "/providers/{providerId}/transfer" },
135
+ "UpdateBillingPlan": { "method": "put", "path": "/admin/billing/plans/{planId}" },
104
136
  "UpdateOrg": { "method": "patch", "path": "/orgs/{orgId}" },
105
- "UpdateOrgBilling": { "method": "put", "path": "/orgs/{orgId}/billing" },
106
137
  "UpdateOrgIcon": { "method": "put", "path": "/orgs/{orgId}/icon" },
107
138
  "UpdateOrgMember": { "method": "patch", "path": "/orgs/{orgId}/members/{memberId}" },
108
139
  "UpdateProvider": { "method": "patch", "path": "/providers/{providerId}" },
109
140
  "UpdateProviderVersion": { "method": "patch", "path": "/providers/{providerId}/versions/{version}" },
110
141
  "UpdateTheme": { "method": "patch", "path": "/orgs/{orgId}/themes/{themeId}" },
142
+ "UpdateVerificationClient": { "method": "put", "path": "/admin/verification-clients/{clientId}" },
111
143
  "VerificationPage": { "method": "get", "path": "/v/{sessionId}" },
112
144
  "VerificationSessionSse": { "method": "get", "path": "/v/{sessionId}/sse" },
113
145
  "VerificationStatus": { "method": "get", "path": "/v/{sessionId}/status" },
146
+ "VerifyLoginOtp": { "method": "post", "path": "/login/otp/verify" },
114
147
  };
@@ -85,7 +85,6 @@ export type JwkSecp256k1Public = components['schemas']['JwkSecp256k1Public'];
85
85
  export type OrgToken = components['schemas']['OrgToken'];
86
86
  export type OrgTokenMeta = components['schemas']['OrgTokenMeta'];
87
87
  export type Organization = components['schemas']['Organization'];
88
- export type CredentialAttachSession = components['schemas']['CredentialAttachSession'];
89
88
  export type CreateProviderVersionRequest = components['schemas']['CreateProviderVersionRequest'];
90
89
  export type ProviderVersionRef = components['schemas']['ProviderVersionRef'];
91
90
  export {};