@reclaimprotocol/client 0.1.15 → 0.1.18

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,14 @@ export declare const ROUTES: {
27
51
  readonly method: "get";
28
52
  readonly path: "/admin/sessions";
29
53
  };
54
+ readonly AdminSetUserOrgLimit: {
55
+ readonly method: "put";
56
+ readonly path: "/users/{userId}/org-limit";
57
+ };
58
+ readonly AdminSubscribeOrgPlan: {
59
+ readonly method: "post";
60
+ readonly path: "/admin/orgs/{orgId}/billing/subscribe";
61
+ };
30
62
  readonly AdminThemes: {
31
63
  readonly method: "get";
32
64
  readonly path: "/admin/themes";
@@ -35,34 +67,54 @@ export declare const ROUTES: {
35
67
  readonly method: "get";
36
68
  readonly path: "/admin/users";
37
69
  };
38
- readonly AttachLanding: {
70
+ readonly AdminVerificationClients: {
39
71
  readonly method: "get";
40
- readonly path: "/attach";
72
+ readonly path: "/admin/verification-clients";
41
73
  };
42
- readonly AttachPage: {
43
- readonly method: "get";
44
- readonly path: "/attach/{code}";
74
+ readonly AdminVoidOrgCredit: {
75
+ readonly method: "post";
76
+ readonly path: "/admin/orgs/{orgId}/credits/{grantId}/void";
77
+ };
78
+ readonly CancelBillingSubscription: {
79
+ readonly method: "delete";
80
+ readonly path: "/orgs/{orgId}/billing/subscription";
45
81
  };
46
82
  readonly CancelPublicListingRequest: {
47
83
  readonly method: "post";
48
84
  readonly path: "/providers/{providerId}/versions/{version}/cancel-review";
49
85
  };
50
- readonly ComponentsDemo: {
86
+ readonly ChangeOrgPlan: {
87
+ readonly method: "post";
88
+ readonly path: "/orgs/{orgId}/billing/change-plan";
89
+ };
90
+ readonly ConsentPage: {
51
91
  readonly method: "get";
52
- readonly path: "/components_demo";
92
+ readonly path: "/oauth/consent";
53
93
  };
54
- readonly ConfirmAttachSession: {
94
+ readonly ConvertOrgToRegular: {
55
95
  readonly method: "post";
56
- readonly path: "/credentials/attach/sessions/{code}/confirm";
96
+ readonly path: "/orgs/{orgId}/convert";
57
97
  };
58
- readonly CreateAttachSession: {
98
+ readonly CreateBillingCheckoutSession: {
59
99
  readonly method: "post";
60
- readonly path: "/credentials/attach/sessions";
100
+ readonly path: "/orgs/{orgId}/billing/checkout";
101
+ };
102
+ readonly CreateBillingPortalSession: {
103
+ readonly method: "post";
104
+ readonly path: "/orgs/{orgId}/billing/portal";
61
105
  };
62
106
  readonly CreateCallbackSubscription: {
63
107
  readonly method: "post";
64
108
  readonly path: "/verifications/callback-subscriptions";
65
109
  };
110
+ readonly CreateCreditCheckoutSession: {
111
+ readonly method: "post";
112
+ readonly path: "/orgs/{orgId}/billing/credits/checkout";
113
+ };
114
+ readonly CreateManualTransaction: {
115
+ readonly method: "post";
116
+ readonly path: "/admin/billing/transactions";
117
+ };
66
118
  readonly CreateOrg: {
67
119
  readonly method: "post";
68
120
  readonly path: "/orgs";
@@ -83,6 +135,10 @@ export declare const ROUTES: {
83
135
  readonly method: "post";
84
136
  readonly path: "/orgs/{orgId}/themes";
85
137
  };
138
+ readonly CreateVerificationClient: {
139
+ readonly method: "post";
140
+ readonly path: "/admin/verification-clients";
141
+ };
86
142
  readonly CreateVerificationSession: {
87
143
  readonly method: "post";
88
144
  readonly path: "/verifications/sessions";
@@ -155,10 +211,6 @@ export declare const ROUTES: {
155
211
  readonly method: "get";
156
212
  readonly path: "/og/explore.png";
157
213
  };
158
- readonly GetAttachSession: {
159
- readonly method: "get";
160
- readonly path: "/credentials/attach/sessions/{code}";
161
- };
162
214
  readonly GetImage: {
163
215
  readonly method: "get";
164
216
  readonly path: "/images/{imageId}";
@@ -175,6 +227,10 @@ export declare const ROUTES: {
175
227
  readonly method: "get";
176
228
  readonly path: "/orgs/{orgId}/billing";
177
229
  };
230
+ readonly GetOrgCredits: {
231
+ readonly method: "get";
232
+ readonly path: "/orgs/{orgId}/billing/credits";
233
+ };
178
234
  readonly GetOrgKeypair: {
179
235
  readonly method: "get";
180
236
  readonly path: "/orgs/{orgId}/keypair";
@@ -183,9 +239,9 @@ export declare const ROUTES: {
183
239
  readonly method: "get";
184
240
  readonly path: "/orgs/{orgId}/sessions/{sessionId}";
185
241
  };
186
- readonly GetOrgToken: {
242
+ readonly GetOrgUsage: {
187
243
  readonly method: "get";
188
- readonly path: "/orgs/{orgId}/token";
244
+ readonly path: "/orgs/{orgId}/billing/usage";
189
245
  };
190
246
  readonly GetProvider: {
191
247
  readonly method: "get";
@@ -227,10 +283,18 @@ export declare const ROUTES: {
227
283
  readonly method: "post";
228
284
  readonly path: "/orgs/{orgId}/token";
229
285
  };
286
+ readonly IssueVerificationClientToken: {
287
+ readonly method: "post";
288
+ readonly path: "/admin/verification-clients/{clientId}/tokens";
289
+ };
230
290
  readonly JwksJson: {
231
291
  readonly method: "get";
232
292
  readonly path: "/.well-known/jwks.json";
233
293
  };
294
+ readonly ListBillingPlans: {
295
+ readonly method: "get";
296
+ readonly path: "/billing/plans";
297
+ };
234
298
  readonly ListCallbackDlq: {
235
299
  readonly method: "get";
236
300
  readonly path: "/verifications/callback-dlq";
@@ -247,6 +311,14 @@ export declare const ROUTES: {
247
311
  readonly method: "get";
248
312
  readonly path: "/orgs";
249
313
  };
314
+ readonly ListOrgTokens: {
315
+ readonly method: "get";
316
+ readonly path: "/orgs/{orgId}/token";
317
+ };
318
+ readonly ListOrgTransactions: {
319
+ readonly method: "get";
320
+ readonly path: "/orgs/{orgId}/billing/transactions";
321
+ };
250
322
  readonly ListOrgVerificationSessions: {
251
323
  readonly method: "get";
252
324
  readonly path: "/orgs/{orgId}/sessions";
@@ -259,6 +331,10 @@ export declare const ROUTES: {
259
331
  readonly method: "get";
260
332
  readonly path: "/verifications/sessions/{sessionId}/callback-keys";
261
333
  };
334
+ readonly ListStaffMembers: {
335
+ readonly method: "get";
336
+ readonly path: "/admin/staff";
337
+ };
262
338
  readonly ListThemes: {
263
339
  readonly method: "get";
264
340
  readonly path: "/orgs/{orgId}/themes";
@@ -271,10 +347,6 @@ export declare const ROUTES: {
271
347
  readonly method: "get";
272
348
  readonly path: "/verifications/sessions/{sessionId}/events";
273
349
  };
274
- readonly Login: {
275
- readonly method: "post";
276
- readonly path: "/auth/login";
277
- };
278
350
  readonly LoginPage: {
279
351
  readonly method: "get";
280
352
  readonly path: "/login";
@@ -291,6 +363,10 @@ export declare const ROUTES: {
291
363
  readonly method: "get";
292
364
  readonly path: "/openapi.yaml";
293
365
  };
366
+ readonly OrgInvitePage: {
367
+ readonly method: "get";
368
+ readonly path: "/orgs/{orgId}/invite";
369
+ };
294
370
  readonly ProviderPreviewImage: {
295
371
  readonly method: "get";
296
372
  readonly path: "/providers/{providerId}/preview.png";
@@ -303,10 +379,22 @@ export declare const ROUTES: {
303
379
  readonly method: "post";
304
380
  readonly path: "/providers/{providerId}/versions/{version}/publish";
305
381
  };
382
+ readonly RefreshBillingPlans: {
383
+ readonly method: "post";
384
+ readonly path: "/admin/billing/plans/refresh";
385
+ };
386
+ readonly RefundTransaction: {
387
+ readonly method: "post";
388
+ readonly path: "/admin/billing/transactions/{txId}/refund";
389
+ };
306
390
  readonly RemoveOrgMember: {
307
391
  readonly method: "delete";
308
392
  readonly path: "/orgs/{orgId}/members/{memberId}";
309
393
  };
394
+ readonly RemoveStaffMember: {
395
+ readonly method: "delete";
396
+ readonly path: "/admin/staff/{email}";
397
+ };
310
398
  readonly ReportClaimant: {
311
399
  readonly method: "post";
312
400
  readonly path: "/v/{sessionId}/claimant";
@@ -315,6 +403,10 @@ export declare const ROUTES: {
315
403
  readonly method: "post";
316
404
  readonly path: "/verifications/sessions/{sessionId}/events";
317
405
  };
406
+ readonly RequestLoginOtp: {
407
+ readonly method: "post";
408
+ readonly path: "/login/otp";
409
+ };
318
410
  readonly RequestPublicListing: {
319
411
  readonly method: "post";
320
412
  readonly path: "/providers/{providerId}/request-public";
@@ -327,6 +419,18 @@ export declare const ROUTES: {
327
419
  readonly method: "post";
328
420
  readonly path: "/verifications/sessions/{sessionId}/retry-callback";
329
421
  };
422
+ readonly RevokeOrgToken: {
423
+ readonly method: "delete";
424
+ readonly path: "/orgs/{orgId}/token/{tokenId}";
425
+ };
426
+ readonly RevokeVerificationClientKey: {
427
+ readonly method: "delete";
428
+ readonly path: "/admin/verification-clients/{clientId}/keys/{keyId}";
429
+ };
430
+ readonly RevokeVerificationClientToken: {
431
+ readonly method: "delete";
432
+ readonly path: "/admin/verification-clients/{clientId}/tokens/{tokenId}";
433
+ };
330
434
  readonly Robots: {
331
435
  readonly method: "get";
332
436
  readonly path: "/robots.txt";
@@ -335,10 +439,26 @@ export declare const ROUTES: {
335
439
  readonly method: "get";
336
440
  readonly path: "/orgs/{orgId}/members";
337
441
  };
442
+ readonly SetDefaultBillingPlan: {
443
+ readonly method: "post";
444
+ readonly path: "/admin/billing/plans/{planId}/default";
445
+ };
446
+ readonly SetOrgCreditGrace: {
447
+ readonly method: "post";
448
+ readonly path: "/admin/orgs/{orgId}/credits/grace";
449
+ };
450
+ readonly SetOrgGrace: {
451
+ readonly method: "post";
452
+ readonly path: "/admin/orgs/{orgId}/billing/grace";
453
+ };
338
454
  readonly SetOrgKeypair: {
339
455
  readonly method: "put";
340
456
  readonly path: "/orgs/{orgId}/keypair";
341
457
  };
458
+ readonly SetupBillingPlan: {
459
+ readonly method: "post";
460
+ readonly path: "/admin/billing/plans/setup";
461
+ };
342
462
  readonly SetupProviderCreate: {
343
463
  readonly method: "post";
344
464
  readonly path: "/providers/setup";
@@ -379,6 +499,18 @@ export declare const ROUTES: {
379
499
  readonly method: "post";
380
500
  readonly path: "/site/{domain}/try-ai";
381
501
  };
502
+ readonly StartSocialLogin: {
503
+ readonly method: "get";
504
+ readonly path: "/login/social/{provider}";
505
+ };
506
+ readonly StripeWebhook: {
507
+ readonly method: "post";
508
+ readonly path: "/billing/stripe/webhook";
509
+ };
510
+ readonly SubmitConsent: {
511
+ readonly method: "post";
512
+ readonly path: "/oauth/consent";
513
+ };
382
514
  readonly SubmitProviderVersionForReview: {
383
515
  readonly method: "post";
384
516
  readonly path: "/providers/{providerId}/versions/{version}/review";
@@ -391,14 +523,14 @@ export declare const ROUTES: {
391
523
  readonly method: "post";
392
524
  readonly path: "/providers/{providerId}/transfer";
393
525
  };
526
+ readonly UpdateBillingPlan: {
527
+ readonly method: "put";
528
+ readonly path: "/admin/billing/plans/{planId}";
529
+ };
394
530
  readonly UpdateOrg: {
395
531
  readonly method: "patch";
396
532
  readonly path: "/orgs/{orgId}";
397
533
  };
398
- readonly UpdateOrgBilling: {
399
- readonly method: "put";
400
- readonly path: "/orgs/{orgId}/billing";
401
- };
402
534
  readonly UpdateOrgIcon: {
403
535
  readonly method: "put";
404
536
  readonly path: "/orgs/{orgId}/icon";
@@ -419,6 +551,10 @@ export declare const ROUTES: {
419
551
  readonly method: "patch";
420
552
  readonly path: "/orgs/{orgId}/themes/{themeId}";
421
553
  };
554
+ readonly UpdateVerificationClient: {
555
+ readonly method: "put";
556
+ readonly path: "/admin/verification-clients/{clientId}";
557
+ };
422
558
  readonly VerificationPage: {
423
559
  readonly method: "get";
424
560
  readonly path: "/v/{sessionId}";
@@ -431,5 +567,9 @@ export declare const ROUTES: {
431
567
  readonly method: "get";
432
568
  readonly path: "/v/{sessionId}/status";
433
569
  };
570
+ readonly VerifyLoginOtp: {
571
+ readonly method: "post";
572
+ readonly path: "/login/otp/verify";
573
+ };
434
574
  };
435
575
  export type RouteId = keyof typeof ROUTES;
package/lib/routes.gen.js CHANGED
@@ -3,27 +3,41 @@
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
+ "AdminSetUserOrgLimit": { "method": "put", "path": "/users/{userId}/org-limit" },
20
+ "AdminSubscribeOrgPlan": { "method": "post", "path": "/admin/orgs/{orgId}/billing/subscribe" },
13
21
  "AdminThemes": { "method": "get", "path": "/admin/themes" },
14
22
  "AdminUsers": { "method": "get", "path": "/admin/users" },
15
- "AttachLanding": { "method": "get", "path": "/attach" },
16
- "AttachPage": { "method": "get", "path": "/attach/{code}" },
23
+ "AdminVerificationClients": { "method": "get", "path": "/admin/verification-clients" },
24
+ "AdminVoidOrgCredit": { "method": "post", "path": "/admin/orgs/{orgId}/credits/{grantId}/void" },
25
+ "CancelBillingSubscription": { "method": "delete", "path": "/orgs/{orgId}/billing/subscription" },
17
26
  "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" },
27
+ "ChangeOrgPlan": { "method": "post", "path": "/orgs/{orgId}/billing/change-plan" },
28
+ "ConsentPage": { "method": "get", "path": "/oauth/consent" },
29
+ "ConvertOrgToRegular": { "method": "post", "path": "/orgs/{orgId}/convert" },
30
+ "CreateBillingCheckoutSession": { "method": "post", "path": "/orgs/{orgId}/billing/checkout" },
31
+ "CreateBillingPortalSession": { "method": "post", "path": "/orgs/{orgId}/billing/portal" },
21
32
  "CreateCallbackSubscription": { "method": "post", "path": "/verifications/callback-subscriptions" },
33
+ "CreateCreditCheckoutSession": { "method": "post", "path": "/orgs/{orgId}/billing/credits/checkout" },
34
+ "CreateManualTransaction": { "method": "post", "path": "/admin/billing/transactions" },
22
35
  "CreateOrg": { "method": "post", "path": "/orgs" },
23
36
  "CreateOrgCallbackSubscription": { "method": "post", "path": "/orgs/{orgId}/callback-subscriptions" },
24
37
  "CreateProvider": { "method": "post", "path": "/providers" },
25
38
  "CreateProviderVersion": { "method": "post", "path": "/providers/{providerId}/versions" },
26
39
  "CreateTheme": { "method": "post", "path": "/orgs/{orgId}/themes" },
40
+ "CreateVerificationClient": { "method": "post", "path": "/admin/verification-clients" },
27
41
  "CreateVerificationSession": { "method": "post", "path": "/verifications/sessions" },
28
42
  "DecideProviderVersionReview": { "method": "post", "path": "/providers/{providerId}/versions/{version}/review-decision" },
29
43
  "DeleteCallbackSubscription": { "method": "delete", "path": "/verifications/callback-subscriptions/{subscriptionId}" },
@@ -42,14 +56,14 @@ export const ROUTES = {
42
56
  "DisposeVerificationSession": { "method": "post", "path": "/v/{sessionId}/dispose" },
43
57
  "Docs": { "method": "get", "path": "/docs" },
44
58
  "ExplorePreviewImage": { "method": "get", "path": "/og/explore.png" },
45
- "GetAttachSession": { "method": "get", "path": "/credentials/attach/sessions/{code}" },
46
59
  "GetImage": { "method": "get", "path": "/images/{imageId}" },
47
60
  "GetMe": { "method": "get", "path": "/me" },
48
61
  "GetOrg": { "method": "get", "path": "/orgs/{orgId}" },
49
62
  "GetOrgBilling": { "method": "get", "path": "/orgs/{orgId}/billing" },
63
+ "GetOrgCredits": { "method": "get", "path": "/orgs/{orgId}/billing/credits" },
50
64
  "GetOrgKeypair": { "method": "get", "path": "/orgs/{orgId}/keypair" },
51
65
  "GetOrgSession": { "method": "get", "path": "/orgs/{orgId}/sessions/{sessionId}" },
52
- "GetOrgToken": { "method": "get", "path": "/orgs/{orgId}/token" },
66
+ "GetOrgUsage": { "method": "get", "path": "/orgs/{orgId}/billing/usage" },
53
67
  "GetProvider": { "method": "get", "path": "/providers/{providerId}" },
54
68
  "GetProviderBySlug": { "method": "get", "path": "/providers/{providerId}/{slug}" },
55
69
  "GetProviderVersion": { "method": "get", "path": "/providers/{providerId}/versions/{version}" },
@@ -60,34 +74,50 @@ export const ROUTES = {
60
74
  "GetVerificationSession": { "method": "get", "path": "/verifications/sessions/{sessionId}" },
61
75
  "Index": { "method": "get", "path": "/" },
62
76
  "IssueOrgToken": { "method": "post", "path": "/orgs/{orgId}/token" },
77
+ "IssueVerificationClientToken": { "method": "post", "path": "/admin/verification-clients/{clientId}/tokens" },
63
78
  "JwksJson": { "method": "get", "path": "/.well-known/jwks.json" },
79
+ "ListBillingPlans": { "method": "get", "path": "/billing/plans" },
64
80
  "ListCallbackDlq": { "method": "get", "path": "/verifications/callback-dlq" },
65
81
  "ListCallbackSubscriptions": { "method": "get", "path": "/verifications/callback-subscriptions" },
66
82
  "ListOrgCallbackSubscriptions": { "method": "get", "path": "/orgs/{orgId}/callback-subscriptions" },
67
83
  "ListOrgs": { "method": "get", "path": "/orgs" },
84
+ "ListOrgTokens": { "method": "get", "path": "/orgs/{orgId}/token" },
85
+ "ListOrgTransactions": { "method": "get", "path": "/orgs/{orgId}/billing/transactions" },
68
86
  "ListOrgVerificationSessions": { "method": "get", "path": "/orgs/{orgId}/sessions" },
69
87
  "ListProviderVersions": { "method": "get", "path": "/providers/{providerId}/versions" },
70
88
  "ListSessionCallbackKeys": { "method": "get", "path": "/verifications/sessions/{sessionId}/callback-keys" },
89
+ "ListStaffMembers": { "method": "get", "path": "/admin/staff" },
71
90
  "ListThemes": { "method": "get", "path": "/orgs/{orgId}/themes" },
72
91
  "ListVerificationDeliveries": { "method": "get", "path": "/verifications/sessions/{sessionId}/deliveries" },
73
92
  "ListVerificationEvents": { "method": "get", "path": "/verifications/sessions/{sessionId}/events" },
74
- "Login": { "method": "post", "path": "/auth/login" },
75
93
  "LoginPage": { "method": "get", "path": "/login" },
76
94
  "Logout": { "method": "post", "path": "/logout" },
77
95
  "MakePrivate": { "method": "post", "path": "/providers/{providerId}/make-private" },
78
96
  "OpenApiSpec": { "method": "get", "path": "/openapi.yaml" },
97
+ "OrgInvitePage": { "method": "get", "path": "/orgs/{orgId}/invite" },
79
98
  "ProviderPreviewImage": { "method": "get", "path": "/providers/{providerId}/preview.png" },
80
99
  "Providers": { "method": "get", "path": "/providers" },
81
100
  "PublishProviderVersion": { "method": "post", "path": "/providers/{providerId}/versions/{version}/publish" },
101
+ "RefreshBillingPlans": { "method": "post", "path": "/admin/billing/plans/refresh" },
102
+ "RefundTransaction": { "method": "post", "path": "/admin/billing/transactions/{txId}/refund" },
82
103
  "RemoveOrgMember": { "method": "delete", "path": "/orgs/{orgId}/members/{memberId}" },
104
+ "RemoveStaffMember": { "method": "delete", "path": "/admin/staff/{email}" },
83
105
  "ReportClaimant": { "method": "post", "path": "/v/{sessionId}/claimant" },
84
106
  "ReportVerificationEvent": { "method": "post", "path": "/verifications/sessions/{sessionId}/events" },
107
+ "RequestLoginOtp": { "method": "post", "path": "/login/otp" },
85
108
  "RequestPublicListing": { "method": "post", "path": "/providers/{providerId}/request-public" },
86
109
  "RetryCallbackDlq": { "method": "post", "path": "/verifications/callback-dlq/{dlqId}/retry" },
87
110
  "RetryVerificationCallback": { "method": "post", "path": "/verifications/sessions/{sessionId}/retry-callback" },
111
+ "RevokeOrgToken": { "method": "delete", "path": "/orgs/{orgId}/token/{tokenId}" },
112
+ "RevokeVerificationClientKey": { "method": "delete", "path": "/admin/verification-clients/{clientId}/keys/{keyId}" },
113
+ "RevokeVerificationClientToken": { "method": "delete", "path": "/admin/verification-clients/{clientId}/tokens/{tokenId}" },
88
114
  "Robots": { "method": "get", "path": "/robots.txt" },
89
115
  "SearchOrgMembers": { "method": "get", "path": "/orgs/{orgId}/members" },
116
+ "SetDefaultBillingPlan": { "method": "post", "path": "/admin/billing/plans/{planId}/default" },
117
+ "SetOrgCreditGrace": { "method": "post", "path": "/admin/orgs/{orgId}/credits/grace" },
118
+ "SetOrgGrace": { "method": "post", "path": "/admin/orgs/{orgId}/billing/grace" },
90
119
  "SetOrgKeypair": { "method": "put", "path": "/orgs/{orgId}/keypair" },
120
+ "SetupBillingPlan": { "method": "post", "path": "/admin/billing/plans/setup" },
91
121
  "SetupProviderCreate": { "method": "post", "path": "/providers/setup" },
92
122
  "SiteAiProvider": { "method": "post", "path": "/site/{domain}/ai-provider" },
93
123
  "SiteBuild": { "method": "get", "path": "/site/{domain}/build" },
@@ -98,17 +128,22 @@ export const ROUTES = {
98
128
  "SitePage": { "method": "get", "path": "/site/{domain}" },
99
129
  "SitePanel": { "method": "get", "path": "/site/{domain}/panel" },
100
130
  "SiteTryAi": { "method": "post", "path": "/site/{domain}/try-ai" },
131
+ "StartSocialLogin": { "method": "get", "path": "/login/social/{provider}" },
132
+ "StripeWebhook": { "method": "post", "path": "/billing/stripe/webhook" },
133
+ "SubmitConsent": { "method": "post", "path": "/oauth/consent" },
101
134
  "SubmitProviderVersionForReview": { "method": "post", "path": "/providers/{providerId}/versions/{version}/review" },
102
135
  "SubmitVerificationResult": { "method": "post", "path": "/verifications/sessions/{sessionId}/result" },
103
136
  "TransferProvider": { "method": "post", "path": "/providers/{providerId}/transfer" },
137
+ "UpdateBillingPlan": { "method": "put", "path": "/admin/billing/plans/{planId}" },
104
138
  "UpdateOrg": { "method": "patch", "path": "/orgs/{orgId}" },
105
- "UpdateOrgBilling": { "method": "put", "path": "/orgs/{orgId}/billing" },
106
139
  "UpdateOrgIcon": { "method": "put", "path": "/orgs/{orgId}/icon" },
107
140
  "UpdateOrgMember": { "method": "patch", "path": "/orgs/{orgId}/members/{memberId}" },
108
141
  "UpdateProvider": { "method": "patch", "path": "/providers/{providerId}" },
109
142
  "UpdateProviderVersion": { "method": "patch", "path": "/providers/{providerId}/versions/{version}" },
110
143
  "UpdateTheme": { "method": "patch", "path": "/orgs/{orgId}/themes/{themeId}" },
144
+ "UpdateVerificationClient": { "method": "put", "path": "/admin/verification-clients/{clientId}" },
111
145
  "VerificationPage": { "method": "get", "path": "/v/{sessionId}" },
112
146
  "VerificationSessionSse": { "method": "get", "path": "/v/{sessionId}/sse" },
113
147
  "VerificationStatus": { "method": "get", "path": "/v/{sessionId}/status" },
148
+ "VerifyLoginOtp": { "method": "post", "path": "/login/otp/verify" },
114
149
  };
@@ -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 {};