@reclaimprotocol/client 0.1.17 → 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/routes.gen.d.ts +8 -0
- package/lib/routes.gen.js +2 -0
- package/lib/types/openapi.gen.d.ts +122 -5
- package/package.json +1 -1
- package/src/routes.gen.ts +2 -0
- package/src/types/openapi.gen.ts +122 -5
package/lib/routes.gen.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ export declare const ROUTES: {
|
|
|
51
51
|
readonly method: "get";
|
|
52
52
|
readonly path: "/admin/sessions";
|
|
53
53
|
};
|
|
54
|
+
readonly AdminSetUserOrgLimit: {
|
|
55
|
+
readonly method: "put";
|
|
56
|
+
readonly path: "/users/{userId}/org-limit";
|
|
57
|
+
};
|
|
54
58
|
readonly AdminSubscribeOrgPlan: {
|
|
55
59
|
readonly method: "post";
|
|
56
60
|
readonly path: "/admin/orgs/{orgId}/billing/subscribe";
|
|
@@ -87,6 +91,10 @@ export declare const ROUTES: {
|
|
|
87
91
|
readonly method: "get";
|
|
88
92
|
readonly path: "/oauth/consent";
|
|
89
93
|
};
|
|
94
|
+
readonly ConvertOrgToRegular: {
|
|
95
|
+
readonly method: "post";
|
|
96
|
+
readonly path: "/orgs/{orgId}/convert";
|
|
97
|
+
};
|
|
90
98
|
readonly CreateBillingCheckoutSession: {
|
|
91
99
|
readonly method: "post";
|
|
92
100
|
readonly path: "/orgs/{orgId}/billing/checkout";
|
package/lib/routes.gen.js
CHANGED
|
@@ -16,6 +16,7 @@ export const ROUTES = {
|
|
|
16
16
|
"AdminProviders": { "method": "get", "path": "/admin/providers" },
|
|
17
17
|
"AdminReviews": { "method": "get", "path": "/admin/reviews" },
|
|
18
18
|
"AdminSessions": { "method": "get", "path": "/admin/sessions" },
|
|
19
|
+
"AdminSetUserOrgLimit": { "method": "put", "path": "/users/{userId}/org-limit" },
|
|
19
20
|
"AdminSubscribeOrgPlan": { "method": "post", "path": "/admin/orgs/{orgId}/billing/subscribe" },
|
|
20
21
|
"AdminThemes": { "method": "get", "path": "/admin/themes" },
|
|
21
22
|
"AdminUsers": { "method": "get", "path": "/admin/users" },
|
|
@@ -25,6 +26,7 @@ export const ROUTES = {
|
|
|
25
26
|
"CancelPublicListingRequest": { "method": "post", "path": "/providers/{providerId}/versions/{version}/cancel-review" },
|
|
26
27
|
"ChangeOrgPlan": { "method": "post", "path": "/orgs/{orgId}/billing/change-plan" },
|
|
27
28
|
"ConsentPage": { "method": "get", "path": "/oauth/consent" },
|
|
29
|
+
"ConvertOrgToRegular": { "method": "post", "path": "/orgs/{orgId}/convert" },
|
|
28
30
|
"CreateBillingCheckoutSession": { "method": "post", "path": "/orgs/{orgId}/billing/checkout" },
|
|
29
31
|
"CreateBillingPortalSession": { "method": "post", "path": "/orgs/{orgId}/billing/portal" },
|
|
30
32
|
"CreateCallbackSubscription": { "method": "post", "path": "/verifications/callback-subscriptions" },
|
|
@@ -12,7 +12,7 @@ export interface paths {
|
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
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.
|
|
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.
|
|
16
16
|
*/
|
|
17
17
|
get: operations["Index"];
|
|
18
18
|
put?: never;
|
|
@@ -179,7 +179,7 @@ export interface paths {
|
|
|
179
179
|
put?: never;
|
|
180
180
|
/**
|
|
181
181
|
* Mint a SANDBOX test verification session for the selection
|
|
182
|
-
* @description Creates a real SANDBOX verification session
|
|
182
|
+
* @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.
|
|
183
183
|
*/
|
|
184
184
|
post: operations["SiteBuildTry"];
|
|
185
185
|
delete?: never;
|
|
@@ -239,7 +239,7 @@ export interface paths {
|
|
|
239
239
|
put?: never;
|
|
240
240
|
/**
|
|
241
241
|
* Author an AI (llm) provider and go to its build screen
|
|
242
|
-
* @description Creates an `llm`-verification provider under the signed-in member
|
|
242
|
+
* @description Creates an `llm`-verification provider under an organization the signed-in member owns (their personal org by default), seeded with an extraction prompt for the selected/missing data points (and carrying the working response matches from the resolved structured providers). If `fromProviderId` is an editable draft the viewer owns, it versions THAT instead. Returns the build page's AI dialog body (the editable prompt + "Try with AI"). HTML / HTMX fragment.
|
|
243
243
|
*/
|
|
244
244
|
post: operations["SiteAiProvider"];
|
|
245
245
|
delete?: never;
|
|
@@ -1311,6 +1311,26 @@ export interface paths {
|
|
|
1311
1311
|
patch?: never;
|
|
1312
1312
|
trace?: never;
|
|
1313
1313
|
};
|
|
1314
|
+
"/users/{userId}/org-limit": {
|
|
1315
|
+
parameters: {
|
|
1316
|
+
query?: never;
|
|
1317
|
+
header?: never;
|
|
1318
|
+
path?: never;
|
|
1319
|
+
cookie?: never;
|
|
1320
|
+
};
|
|
1321
|
+
get?: never;
|
|
1322
|
+
/**
|
|
1323
|
+
* Set a user's org-creation limit (admin-only)
|
|
1324
|
+
* @description Admin only. Overrides how many ACTIVE organizations the user may create (the platform default is 3). Restore the default by sending `null` (JSON) or an empty `limit` (form).
|
|
1325
|
+
*/
|
|
1326
|
+
put: operations["AdminSetUserOrgLimit"];
|
|
1327
|
+
post?: never;
|
|
1328
|
+
delete?: never;
|
|
1329
|
+
options?: never;
|
|
1330
|
+
head?: never;
|
|
1331
|
+
patch?: never;
|
|
1332
|
+
trace?: never;
|
|
1333
|
+
};
|
|
1314
1334
|
"/orgs": {
|
|
1315
1335
|
parameters: {
|
|
1316
1336
|
query?: never;
|
|
@@ -1357,6 +1377,26 @@ export interface paths {
|
|
|
1357
1377
|
patch: operations["UpdateOrg"];
|
|
1358
1378
|
trace?: never;
|
|
1359
1379
|
};
|
|
1380
|
+
"/orgs/{orgId}/convert": {
|
|
1381
|
+
parameters: {
|
|
1382
|
+
query?: never;
|
|
1383
|
+
header?: never;
|
|
1384
|
+
path?: never;
|
|
1385
|
+
cookie?: never;
|
|
1386
|
+
};
|
|
1387
|
+
get?: never;
|
|
1388
|
+
put?: never;
|
|
1389
|
+
/**
|
|
1390
|
+
* Convert a personal organization to a regular organization
|
|
1391
|
+
* @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`.
|
|
1392
|
+
*/
|
|
1393
|
+
post: operations["ConvertOrgToRegular"];
|
|
1394
|
+
delete?: never;
|
|
1395
|
+
options?: never;
|
|
1396
|
+
head?: never;
|
|
1397
|
+
patch?: never;
|
|
1398
|
+
trace?: never;
|
|
1399
|
+
};
|
|
1360
1400
|
"/orgs/{orgId}/members": {
|
|
1361
1401
|
parameters: {
|
|
1362
1402
|
query?: never;
|
|
@@ -3762,6 +3802,15 @@ export interface components {
|
|
|
3762
3802
|
context?: {
|
|
3763
3803
|
[key: string]: string;
|
|
3764
3804
|
};
|
|
3805
|
+
orgId?: components["schemas"]["OrgID"];
|
|
3806
|
+
};
|
|
3807
|
+
/** @description Body for `POST /site/{domain}/ai-provider`. Optional: which owned organization the AI provider is authored under (defaults to the member's personal organization, or their first owned org). */
|
|
3808
|
+
SiteAiProviderBody: {
|
|
3809
|
+
orgId?: components["schemas"]["OrgID"];
|
|
3810
|
+
};
|
|
3811
|
+
/** @description Body for `PUT /users/{userId}/org-limit`. An integer sets the limit; `null` (JSON) or an empty string (form) restores the default (3). */
|
|
3812
|
+
AdminSetUserOrgLimitBody: {
|
|
3813
|
+
limit?: number | string | null;
|
|
3765
3814
|
};
|
|
3766
3815
|
/** @description Body for `POST /site/{domain}/try-ai`. An optional edited extraction prompt, saved as a new draft build before the sandbox session is minted. */
|
|
3767
3816
|
SiteTryAiBody: {
|
|
@@ -4582,7 +4631,12 @@ export type $defs = Record<string, never>;
|
|
|
4582
4631
|
export interface operations {
|
|
4583
4632
|
Index: {
|
|
4584
4633
|
parameters: {
|
|
4585
|
-
query?:
|
|
4634
|
+
query?: {
|
|
4635
|
+
/** @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. */
|
|
4636
|
+
q?: string;
|
|
4637
|
+
/** @description Narrow to websites with at least one visible provider carrying ANY of these tags. Repeat to pass several (OR-combined). */
|
|
4638
|
+
tag?: string[];
|
|
4639
|
+
};
|
|
4586
4640
|
header?: never;
|
|
4587
4641
|
path?: never;
|
|
4588
4642
|
cookie?: never;
|
|
@@ -4686,6 +4740,8 @@ export interface operations {
|
|
|
4686
4740
|
query?: {
|
|
4687
4741
|
/** @description Free-text query matched against website domain, data points, brand title, and description. Omit for the popular-websites list. */
|
|
4688
4742
|
q?: string;
|
|
4743
|
+
/** @description Narrow to websites with at least one visible provider carrying ANY of these tags. Repeat to pass several (OR-combined). */
|
|
4744
|
+
tag?: string[];
|
|
4689
4745
|
};
|
|
4690
4746
|
header?: never;
|
|
4691
4747
|
path?: never;
|
|
@@ -4991,7 +5047,13 @@ export interface operations {
|
|
|
4991
5047
|
};
|
|
4992
5048
|
cookie?: never;
|
|
4993
5049
|
};
|
|
4994
|
-
|
|
5050
|
+
/** @description Optional: which owned organization to author the provider under. */
|
|
5051
|
+
requestBody?: {
|
|
5052
|
+
content: {
|
|
5053
|
+
"application/x-www-form-urlencoded": components["schemas"]["SiteAiProviderBody"];
|
|
5054
|
+
"application/json": components["schemas"]["SiteAiProviderBody"];
|
|
5055
|
+
};
|
|
5056
|
+
};
|
|
4995
5057
|
responses: {
|
|
4996
5058
|
/** @description The AI dialog body (editable prompt + Try with AI). */
|
|
4997
5059
|
200: {
|
|
@@ -5010,6 +5072,8 @@ export interface operations {
|
|
|
5010
5072
|
query: {
|
|
5011
5073
|
/** @description The AI provider to try. */
|
|
5012
5074
|
providerId: components["schemas"]["ProviderID"];
|
|
5075
|
+
/** @description Which owned organization the sandbox session runs under (defaults to the member's personal organization, or their first owned org). Must own the provider. */
|
|
5076
|
+
orgId?: components["schemas"]["OrgID"];
|
|
5013
5077
|
};
|
|
5014
5078
|
header?: never;
|
|
5015
5079
|
path: {
|
|
@@ -6530,6 +6594,34 @@ export interface operations {
|
|
|
6530
6594
|
default: components["responses"]["ProblemResponse"];
|
|
6531
6595
|
};
|
|
6532
6596
|
};
|
|
6597
|
+
AdminSetUserOrgLimit: {
|
|
6598
|
+
parameters: {
|
|
6599
|
+
query?: never;
|
|
6600
|
+
header?: never;
|
|
6601
|
+
path: {
|
|
6602
|
+
userId: components["schemas"]["UserID"];
|
|
6603
|
+
};
|
|
6604
|
+
cookie?: never;
|
|
6605
|
+
};
|
|
6606
|
+
requestBody: {
|
|
6607
|
+
content: {
|
|
6608
|
+
"application/json": components["schemas"]["AdminSetUserOrgLimitBody"];
|
|
6609
|
+
"application/x-www-form-urlencoded": components["schemas"]["AdminSetUserOrgLimitBody"];
|
|
6610
|
+
};
|
|
6611
|
+
};
|
|
6612
|
+
responses: {
|
|
6613
|
+
/** @description Updated. */
|
|
6614
|
+
204: {
|
|
6615
|
+
headers: {
|
|
6616
|
+
[name: string]: unknown;
|
|
6617
|
+
};
|
|
6618
|
+
content?: never;
|
|
6619
|
+
};
|
|
6620
|
+
403: components["responses"]["ForbiddenResponse"];
|
|
6621
|
+
404: components["responses"]["ProblemResponse"];
|
|
6622
|
+
default: components["responses"]["ProblemResponse"];
|
|
6623
|
+
};
|
|
6624
|
+
};
|
|
6533
6625
|
ListOrgs: {
|
|
6534
6626
|
parameters: {
|
|
6535
6627
|
query?: {
|
|
@@ -6664,6 +6756,31 @@ export interface operations {
|
|
|
6664
6756
|
default: components["responses"]["ProblemResponse"];
|
|
6665
6757
|
};
|
|
6666
6758
|
};
|
|
6759
|
+
ConvertOrgToRegular: {
|
|
6760
|
+
parameters: {
|
|
6761
|
+
query?: never;
|
|
6762
|
+
header?: never;
|
|
6763
|
+
path: {
|
|
6764
|
+
orgId: components["schemas"]["OrgID"];
|
|
6765
|
+
};
|
|
6766
|
+
cookie?: never;
|
|
6767
|
+
};
|
|
6768
|
+
requestBody?: never;
|
|
6769
|
+
responses: {
|
|
6770
|
+
/** @description Converted */
|
|
6771
|
+
200: {
|
|
6772
|
+
headers: {
|
|
6773
|
+
[name: string]: unknown;
|
|
6774
|
+
};
|
|
6775
|
+
content: {
|
|
6776
|
+
"application/json": components["schemas"]["Organization"];
|
|
6777
|
+
};
|
|
6778
|
+
};
|
|
6779
|
+
403: components["responses"]["ForbiddenResponse"];
|
|
6780
|
+
409: components["responses"]["ProblemResponse"];
|
|
6781
|
+
default: components["responses"]["ProblemResponse"];
|
|
6782
|
+
};
|
|
6783
|
+
};
|
|
6667
6784
|
SearchOrgMembers: {
|
|
6668
6785
|
parameters: {
|
|
6669
6786
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reclaimprotocol/client",
|
|
3
3
|
"title": "Reclaim Client",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.18",
|
|
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
|
@@ -17,6 +17,7 @@ export const ROUTES = {
|
|
|
17
17
|
"AdminProviders": {"method":"get","path":"/admin/providers"},
|
|
18
18
|
"AdminReviews": {"method":"get","path":"/admin/reviews"},
|
|
19
19
|
"AdminSessions": {"method":"get","path":"/admin/sessions"},
|
|
20
|
+
"AdminSetUserOrgLimit": {"method":"put","path":"/users/{userId}/org-limit"},
|
|
20
21
|
"AdminSubscribeOrgPlan": {"method":"post","path":"/admin/orgs/{orgId}/billing/subscribe"},
|
|
21
22
|
"AdminThemes": {"method":"get","path":"/admin/themes"},
|
|
22
23
|
"AdminUsers": {"method":"get","path":"/admin/users"},
|
|
@@ -26,6 +27,7 @@ export const ROUTES = {
|
|
|
26
27
|
"CancelPublicListingRequest": {"method":"post","path":"/providers/{providerId}/versions/{version}/cancel-review"},
|
|
27
28
|
"ChangeOrgPlan": {"method":"post","path":"/orgs/{orgId}/billing/change-plan"},
|
|
28
29
|
"ConsentPage": {"method":"get","path":"/oauth/consent"},
|
|
30
|
+
"ConvertOrgToRegular": {"method":"post","path":"/orgs/{orgId}/convert"},
|
|
29
31
|
"CreateBillingCheckoutSession": {"method":"post","path":"/orgs/{orgId}/billing/checkout"},
|
|
30
32
|
"CreateBillingPortalSession": {"method":"post","path":"/orgs/{orgId}/billing/portal"},
|
|
31
33
|
"CreateCallbackSubscription": {"method":"post","path":"/verifications/callback-subscriptions"},
|
package/src/types/openapi.gen.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface paths {
|
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* Discover home — search a website to verify
|
|
16
|
-
* @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.
|
|
16
|
+
* @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.
|
|
17
17
|
*/
|
|
18
18
|
get: operations["Index"];
|
|
19
19
|
put?: never;
|
|
@@ -180,7 +180,7 @@ export interface paths {
|
|
|
180
180
|
put?: never;
|
|
181
181
|
/**
|
|
182
182
|
* Mint a SANDBOX test verification session for the selection
|
|
183
|
-
* @description Creates a real SANDBOX verification session
|
|
183
|
+
* @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.
|
|
184
184
|
*/
|
|
185
185
|
post: operations["SiteBuildTry"];
|
|
186
186
|
delete?: never;
|
|
@@ -240,7 +240,7 @@ export interface paths {
|
|
|
240
240
|
put?: never;
|
|
241
241
|
/**
|
|
242
242
|
* Author an AI (llm) provider and go to its build screen
|
|
243
|
-
* @description Creates an `llm`-verification provider under the signed-in member
|
|
243
|
+
* @description Creates an `llm`-verification provider under an organization the signed-in member owns (their personal org by default), seeded with an extraction prompt for the selected/missing data points (and carrying the working response matches from the resolved structured providers). If `fromProviderId` is an editable draft the viewer owns, it versions THAT instead. Returns the build page's AI dialog body (the editable prompt + "Try with AI"). HTML / HTMX fragment.
|
|
244
244
|
*/
|
|
245
245
|
post: operations["SiteAiProvider"];
|
|
246
246
|
delete?: never;
|
|
@@ -1312,6 +1312,26 @@ export interface paths {
|
|
|
1312
1312
|
patch?: never;
|
|
1313
1313
|
trace?: never;
|
|
1314
1314
|
};
|
|
1315
|
+
"/users/{userId}/org-limit": {
|
|
1316
|
+
parameters: {
|
|
1317
|
+
query?: never;
|
|
1318
|
+
header?: never;
|
|
1319
|
+
path?: never;
|
|
1320
|
+
cookie?: never;
|
|
1321
|
+
};
|
|
1322
|
+
get?: never;
|
|
1323
|
+
/**
|
|
1324
|
+
* Set a user's org-creation limit (admin-only)
|
|
1325
|
+
* @description Admin only. Overrides how many ACTIVE organizations the user may create (the platform default is 3). Restore the default by sending `null` (JSON) or an empty `limit` (form).
|
|
1326
|
+
*/
|
|
1327
|
+
put: operations["AdminSetUserOrgLimit"];
|
|
1328
|
+
post?: never;
|
|
1329
|
+
delete?: never;
|
|
1330
|
+
options?: never;
|
|
1331
|
+
head?: never;
|
|
1332
|
+
patch?: never;
|
|
1333
|
+
trace?: never;
|
|
1334
|
+
};
|
|
1315
1335
|
"/orgs": {
|
|
1316
1336
|
parameters: {
|
|
1317
1337
|
query?: never;
|
|
@@ -1358,6 +1378,26 @@ export interface paths {
|
|
|
1358
1378
|
patch: operations["UpdateOrg"];
|
|
1359
1379
|
trace?: never;
|
|
1360
1380
|
};
|
|
1381
|
+
"/orgs/{orgId}/convert": {
|
|
1382
|
+
parameters: {
|
|
1383
|
+
query?: never;
|
|
1384
|
+
header?: never;
|
|
1385
|
+
path?: never;
|
|
1386
|
+
cookie?: never;
|
|
1387
|
+
};
|
|
1388
|
+
get?: never;
|
|
1389
|
+
put?: never;
|
|
1390
|
+
/**
|
|
1391
|
+
* Convert a personal organization to a regular organization
|
|
1392
|
+
* @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`.
|
|
1393
|
+
*/
|
|
1394
|
+
post: operations["ConvertOrgToRegular"];
|
|
1395
|
+
delete?: never;
|
|
1396
|
+
options?: never;
|
|
1397
|
+
head?: never;
|
|
1398
|
+
patch?: never;
|
|
1399
|
+
trace?: never;
|
|
1400
|
+
};
|
|
1361
1401
|
"/orgs/{orgId}/members": {
|
|
1362
1402
|
parameters: {
|
|
1363
1403
|
query?: never;
|
|
@@ -3763,6 +3803,15 @@ export interface components {
|
|
|
3763
3803
|
context?: {
|
|
3764
3804
|
[key: string]: string;
|
|
3765
3805
|
};
|
|
3806
|
+
orgId?: components["schemas"]["OrgID"];
|
|
3807
|
+
};
|
|
3808
|
+
/** @description Body for `POST /site/{domain}/ai-provider`. Optional: which owned organization the AI provider is authored under (defaults to the member's personal organization, or their first owned org). */
|
|
3809
|
+
SiteAiProviderBody: {
|
|
3810
|
+
orgId?: components["schemas"]["OrgID"];
|
|
3811
|
+
};
|
|
3812
|
+
/** @description Body for `PUT /users/{userId}/org-limit`. An integer sets the limit; `null` (JSON) or an empty string (form) restores the default (3). */
|
|
3813
|
+
AdminSetUserOrgLimitBody: {
|
|
3814
|
+
limit?: number | string | null;
|
|
3766
3815
|
};
|
|
3767
3816
|
/** @description Body for `POST /site/{domain}/try-ai`. An optional edited extraction prompt, saved as a new draft build before the sandbox session is minted. */
|
|
3768
3817
|
SiteTryAiBody: {
|
|
@@ -4583,7 +4632,12 @@ export type $defs = Record<string, never>;
|
|
|
4583
4632
|
export interface operations {
|
|
4584
4633
|
Index: {
|
|
4585
4634
|
parameters: {
|
|
4586
|
-
query?:
|
|
4635
|
+
query?: {
|
|
4636
|
+
/** @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. */
|
|
4637
|
+
q?: string;
|
|
4638
|
+
/** @description Narrow to websites with at least one visible provider carrying ANY of these tags. Repeat to pass several (OR-combined). */
|
|
4639
|
+
tag?: string[];
|
|
4640
|
+
};
|
|
4587
4641
|
header?: never;
|
|
4588
4642
|
path?: never;
|
|
4589
4643
|
cookie?: never;
|
|
@@ -4687,6 +4741,8 @@ export interface operations {
|
|
|
4687
4741
|
query?: {
|
|
4688
4742
|
/** @description Free-text query matched against website domain, data points, brand title, and description. Omit for the popular-websites list. */
|
|
4689
4743
|
q?: string;
|
|
4744
|
+
/** @description Narrow to websites with at least one visible provider carrying ANY of these tags. Repeat to pass several (OR-combined). */
|
|
4745
|
+
tag?: string[];
|
|
4690
4746
|
};
|
|
4691
4747
|
header?: never;
|
|
4692
4748
|
path?: never;
|
|
@@ -4992,7 +5048,13 @@ export interface operations {
|
|
|
4992
5048
|
};
|
|
4993
5049
|
cookie?: never;
|
|
4994
5050
|
};
|
|
4995
|
-
|
|
5051
|
+
/** @description Optional: which owned organization to author the provider under. */
|
|
5052
|
+
requestBody?: {
|
|
5053
|
+
content: {
|
|
5054
|
+
"application/x-www-form-urlencoded": components["schemas"]["SiteAiProviderBody"];
|
|
5055
|
+
"application/json": components["schemas"]["SiteAiProviderBody"];
|
|
5056
|
+
};
|
|
5057
|
+
};
|
|
4996
5058
|
responses: {
|
|
4997
5059
|
/** @description The AI dialog body (editable prompt + Try with AI). */
|
|
4998
5060
|
200: {
|
|
@@ -5011,6 +5073,8 @@ export interface operations {
|
|
|
5011
5073
|
query: {
|
|
5012
5074
|
/** @description The AI provider to try. */
|
|
5013
5075
|
providerId: components["schemas"]["ProviderID"];
|
|
5076
|
+
/** @description Which owned organization the sandbox session runs under (defaults to the member's personal organization, or their first owned org). Must own the provider. */
|
|
5077
|
+
orgId?: components["schemas"]["OrgID"];
|
|
5014
5078
|
};
|
|
5015
5079
|
header?: never;
|
|
5016
5080
|
path: {
|
|
@@ -6531,6 +6595,34 @@ export interface operations {
|
|
|
6531
6595
|
default: components["responses"]["ProblemResponse"];
|
|
6532
6596
|
};
|
|
6533
6597
|
};
|
|
6598
|
+
AdminSetUserOrgLimit: {
|
|
6599
|
+
parameters: {
|
|
6600
|
+
query?: never;
|
|
6601
|
+
header?: never;
|
|
6602
|
+
path: {
|
|
6603
|
+
userId: components["schemas"]["UserID"];
|
|
6604
|
+
};
|
|
6605
|
+
cookie?: never;
|
|
6606
|
+
};
|
|
6607
|
+
requestBody: {
|
|
6608
|
+
content: {
|
|
6609
|
+
"application/json": components["schemas"]["AdminSetUserOrgLimitBody"];
|
|
6610
|
+
"application/x-www-form-urlencoded": components["schemas"]["AdminSetUserOrgLimitBody"];
|
|
6611
|
+
};
|
|
6612
|
+
};
|
|
6613
|
+
responses: {
|
|
6614
|
+
/** @description Updated. */
|
|
6615
|
+
204: {
|
|
6616
|
+
headers: {
|
|
6617
|
+
[name: string]: unknown;
|
|
6618
|
+
};
|
|
6619
|
+
content?: never;
|
|
6620
|
+
};
|
|
6621
|
+
403: components["responses"]["ForbiddenResponse"];
|
|
6622
|
+
404: components["responses"]["ProblemResponse"];
|
|
6623
|
+
default: components["responses"]["ProblemResponse"];
|
|
6624
|
+
};
|
|
6625
|
+
};
|
|
6534
6626
|
ListOrgs: {
|
|
6535
6627
|
parameters: {
|
|
6536
6628
|
query?: {
|
|
@@ -6665,6 +6757,31 @@ export interface operations {
|
|
|
6665
6757
|
default: components["responses"]["ProblemResponse"];
|
|
6666
6758
|
};
|
|
6667
6759
|
};
|
|
6760
|
+
ConvertOrgToRegular: {
|
|
6761
|
+
parameters: {
|
|
6762
|
+
query?: never;
|
|
6763
|
+
header?: never;
|
|
6764
|
+
path: {
|
|
6765
|
+
orgId: components["schemas"]["OrgID"];
|
|
6766
|
+
};
|
|
6767
|
+
cookie?: never;
|
|
6768
|
+
};
|
|
6769
|
+
requestBody?: never;
|
|
6770
|
+
responses: {
|
|
6771
|
+
/** @description Converted */
|
|
6772
|
+
200: {
|
|
6773
|
+
headers: {
|
|
6774
|
+
[name: string]: unknown;
|
|
6775
|
+
};
|
|
6776
|
+
content: {
|
|
6777
|
+
"application/json": components["schemas"]["Organization"];
|
|
6778
|
+
};
|
|
6779
|
+
};
|
|
6780
|
+
403: components["responses"]["ForbiddenResponse"];
|
|
6781
|
+
409: components["responses"]["ProblemResponse"];
|
|
6782
|
+
default: components["responses"]["ProblemResponse"];
|
|
6783
|
+
};
|
|
6784
|
+
};
|
|
6668
6785
|
SearchOrgMembers: {
|
|
6669
6786
|
parameters: {
|
|
6670
6787
|
query?: {
|