@iblai/iblai-api 4.390.0-ai → 4.391.0-ai
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/dist/index.cjs.js
CHANGED
|
@@ -110,7 +110,7 @@ class CancelablePromise {
|
|
|
110
110
|
|
|
111
111
|
const OpenAPI = {
|
|
112
112
|
BASE: 'https://base.manager.iblai.app',
|
|
113
|
-
VERSION: '4.
|
|
113
|
+
VERSION: '4.391.0-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -22723,12 +22723,12 @@ class AiMentorService{/**
|
|
|
22723
22723
|
* @throws ApiError
|
|
22724
22724
|
*/static aiMentorOrgsUsersProvidersStripePaymentsProductsUpdate({org,productId,userId,idempotencyKey}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/stripe/payments/products/{product_id}/',path:{'org':org,'product_id':productId,'user_id':userId},headers:{'Idempotency-Key':idempotencyKey},errors:{400:`Invalid request or missing tenant credential`,402:`Stripe card error, passed through`,403:`Permission denied`,404:`Unknown object or non-member path user`,429:`Stripe rate limit`,502:`Stripe credential/availability error. On a mutating call the outcome is indeterminate — the request may have been applied upstream (read timeout). Retry only with the same Idempotency-Key.`}});}/**
|
|
22725
22725
|
* List the user's hosting projects
|
|
22726
|
-
* Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
22726
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
22727
22727
|
* @returns any Projects with live deployment state
|
|
22728
22728
|
* @throws ApiError
|
|
22729
22729
|
*/static aiMentorOrgsUsersProvidersVercelHostingDeploymentRetrieve({org,userId,provider}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/deployment/',path:{'org':org,'user_id':userId},query:{'provider':provider},errors:{403:`Permission denied`}});}/**
|
|
22730
22730
|
* Deploy a project zip to Vercel
|
|
22731
|
-
* Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
22731
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
22732
22732
|
* @returns HostingProject
|
|
22733
22733
|
* @throws ApiError
|
|
22734
22734
|
*/static aiMentorOrgsUsersProvidersVercelHostingDeploymentCreate({org,userId,provider,formData}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/deployment/',path:{'org':org,'user_id':userId},query:{'provider':provider},formData:formData,mediaType:'multipart/form-data',errors:{400:`Validation / credential error`,402:`Insufficient credits`,403:`Permission denied`,409:`Name collision or push in progress`}});}/**
|
|
@@ -22748,7 +22748,7 @@ class AiMentorService{/**
|
|
|
22748
22748
|
* @throws ApiError
|
|
22749
22749
|
*/static aiMentorOrgsUsersProvidersVercelHostingDnsRetrieve({org,project,userId,domain,provider}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/dns/',path:{'org':org,'user_id':userId},query:{'domain':domain,'project':project,'provider':provider},errors:{403:`Permission denied`,404:`Not found`}});}/**
|
|
22750
22750
|
* Attach a custom domain to a hosting project
|
|
22751
|
-
* Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
22751
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
22752
22752
|
* @returns any Domain attached
|
|
22753
22753
|
* @throws ApiError
|
|
22754
22754
|
*/static aiMentorOrgsUsersProvidersVercelHostingDnsCreate({org,userId,requestBody,provider}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/dns/',path:{'org':org,'user_id':userId},query:{'provider':provider},body:requestBody,mediaType:'application/json',errors:{400:`Validation / credential error`,403:`Permission denied`,409:`Domain already in use`}});}/**
|
package/dist/index.esm.js
CHANGED
|
@@ -108,7 +108,7 @@ class CancelablePromise {
|
|
|
108
108
|
|
|
109
109
|
const OpenAPI = {
|
|
110
110
|
BASE: 'https://base.manager.iblai.app',
|
|
111
|
-
VERSION: '4.
|
|
111
|
+
VERSION: '4.391.0-ai-plus',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -22721,12 +22721,12 @@ class AiMentorService{/**
|
|
|
22721
22721
|
* @throws ApiError
|
|
22722
22722
|
*/static aiMentorOrgsUsersProvidersStripePaymentsProductsUpdate({org,productId,userId,idempotencyKey}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/stripe/payments/products/{product_id}/',path:{'org':org,'product_id':productId,'user_id':userId},headers:{'Idempotency-Key':idempotencyKey},errors:{400:`Invalid request or missing tenant credential`,402:`Stripe card error, passed through`,403:`Permission denied`,404:`Unknown object or non-member path user`,429:`Stripe rate limit`,502:`Stripe credential/availability error. On a mutating call the outcome is indeterminate — the request may have been applied upstream (read timeout). Retry only with the same Idempotency-Key.`}});}/**
|
|
22723
22723
|
* List the user's hosting projects
|
|
22724
|
-
* Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
22724
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
22725
22725
|
* @returns any Projects with live deployment state
|
|
22726
22726
|
* @throws ApiError
|
|
22727
22727
|
*/static aiMentorOrgsUsersProvidersVercelHostingDeploymentRetrieve({org,userId,provider}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/deployment/',path:{'org':org,'user_id':userId},query:{'provider':provider},errors:{403:`Permission denied`}});}/**
|
|
22728
22728
|
* Deploy a project zip to Vercel
|
|
22729
|
-
* Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
22729
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
22730
22730
|
* @returns HostingProject
|
|
22731
22731
|
* @throws ApiError
|
|
22732
22732
|
*/static aiMentorOrgsUsersProvidersVercelHostingDeploymentCreate({org,userId,provider,formData}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/deployment/',path:{'org':org,'user_id':userId},query:{'provider':provider},formData:formData,mediaType:'multipart/form-data',errors:{400:`Validation / credential error`,402:`Insufficient credits`,403:`Permission denied`,409:`Name collision or push in progress`}});}/**
|
|
@@ -22746,7 +22746,7 @@ class AiMentorService{/**
|
|
|
22746
22746
|
* @throws ApiError
|
|
22747
22747
|
*/static aiMentorOrgsUsersProvidersVercelHostingDnsRetrieve({org,project,userId,domain,provider}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/dns/',path:{'org':org,'user_id':userId},query:{'domain':domain,'project':project,'provider':provider},errors:{403:`Permission denied`,404:`Not found`}});}/**
|
|
22748
22748
|
* Attach a custom domain to a hosting project
|
|
22749
|
-
* Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
22749
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
22750
22750
|
* @returns any Domain attached
|
|
22751
22751
|
* @throws ApiError
|
|
22752
22752
|
*/static aiMentorOrgsUsersProvidersVercelHostingDnsCreate({org,userId,requestBody,provider}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/dns/',path:{'org':org,'user_id':userId},query:{'provider':provider},body:requestBody,mediaType:'application/json',errors:{400:`Validation / credential error`,403:`Permission denied`,409:`Domain already in use`}});}/**
|
package/dist/index.umd.js
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
const OpenAPI = {
|
|
116
116
|
BASE: 'https://base.manager.iblai.app',
|
|
117
|
-
VERSION: '4.
|
|
117
|
+
VERSION: '4.391.0-ai-plus',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -22727,12 +22727,12 @@
|
|
|
22727
22727
|
* @throws ApiError
|
|
22728
22728
|
*/static aiMentorOrgsUsersProvidersStripePaymentsProductsUpdate({org,productId,userId,idempotencyKey}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/stripe/payments/products/{product_id}/',path:{'org':org,'product_id':productId,'user_id':userId},headers:{'Idempotency-Key':idempotencyKey},errors:{400:`Invalid request or missing tenant credential`,402:`Stripe card error, passed through`,403:`Permission denied`,404:`Unknown object or non-member path user`,429:`Stripe rate limit`,502:`Stripe credential/availability error. On a mutating call the outcome is indeterminate — the request may have been applied upstream (read timeout). Retry only with the same Idempotency-Key.`}});}/**
|
|
22729
22729
|
* List the user's hosting projects
|
|
22730
|
-
* Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
22730
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
22731
22731
|
* @returns any Projects with live deployment state
|
|
22732
22732
|
* @throws ApiError
|
|
22733
22733
|
*/static aiMentorOrgsUsersProvidersVercelHostingDeploymentRetrieve({org,userId,provider}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/deployment/',path:{'org':org,'user_id':userId},query:{'provider':provider},errors:{403:`Permission denied`}});}/**
|
|
22734
22734
|
* Deploy a project zip to Vercel
|
|
22735
|
-
* Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
22735
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
22736
22736
|
* @returns HostingProject
|
|
22737
22737
|
* @throws ApiError
|
|
22738
22738
|
*/static aiMentorOrgsUsersProvidersVercelHostingDeploymentCreate({org,userId,provider,formData}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/deployment/',path:{'org':org,'user_id':userId},query:{'provider':provider},formData:formData,mediaType:'multipart/form-data',errors:{400:`Validation / credential error`,402:`Insufficient credits`,403:`Permission denied`,409:`Name collision or push in progress`}});}/**
|
|
@@ -22752,7 +22752,7 @@
|
|
|
22752
22752
|
* @throws ApiError
|
|
22753
22753
|
*/static aiMentorOrgsUsersProvidersVercelHostingDnsRetrieve({org,project,userId,domain,provider}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/dns/',path:{'org':org,'user_id':userId},query:{'domain':domain,'project':project,'provider':provider},errors:{403:`Permission denied`,404:`Not found`}});}/**
|
|
22754
22754
|
* Attach a custom domain to a hosting project
|
|
22755
|
-
* Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
22755
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
22756
22756
|
* @returns any Domain attached
|
|
22757
22757
|
* @throws ApiError
|
|
22758
22758
|
*/static aiMentorOrgsUsersProvidersVercelHostingDnsCreate({org,userId,requestBody,provider}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/dns/',path:{'org':org,'user_id':userId},query:{'provider':provider},body:requestBody,mediaType:'application/json',errors:{400:`Validation / credential error`,403:`Permission denied`,409:`Domain already in use`}});}/**
|
|
@@ -11031,7 +11031,7 @@ export declare class AiMentorService {
|
|
|
11031
11031
|
}): CancelablePromise<any>;
|
|
11032
11032
|
/**
|
|
11033
11033
|
* List the user's hosting projects
|
|
11034
|
-
* Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
11034
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
11035
11035
|
* @returns any Projects with live deployment state
|
|
11036
11036
|
* @throws ApiError
|
|
11037
11037
|
*/
|
|
@@ -11043,7 +11043,7 @@ export declare class AiMentorService {
|
|
|
11043
11043
|
}): CancelablePromise<any>;
|
|
11044
11044
|
/**
|
|
11045
11045
|
* Deploy a project zip to Vercel
|
|
11046
|
-
* Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
11046
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
11047
11047
|
* @returns HostingProject
|
|
11048
11048
|
* @throws ApiError
|
|
11049
11049
|
*/
|
|
@@ -11107,7 +11107,7 @@ export declare class AiMentorService {
|
|
|
11107
11107
|
}): CancelablePromise<any>;
|
|
11108
11108
|
/**
|
|
11109
11109
|
* Attach a custom domain to a hosting project
|
|
11110
|
-
* Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
11110
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
11111
11111
|
* @returns any Domain attached
|
|
11112
11112
|
* @throws ApiError
|
|
11113
11113
|
*/
|
package/package.json
CHANGED
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.391.0-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -44354,9 +44354,11 @@ paths:
|
|
|
44354
44354
|
/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/deployment/:
|
|
44355
44355
|
get:
|
|
44356
44356
|
operationId: ai_mentor_orgs_users_providers_vercel_hosting_deployment_retrieve
|
|
44357
|
-
description: '
|
|
44358
|
-
|
|
44359
|
-
|
|
44357
|
+
description: 'Platform admins only — the path user is the project''s owner,
|
|
44358
|
+
not the caller; the platform''s own API key counts as an admin. Lists the
|
|
44359
|
+
path user''s hosting projects, merged with live latest-deployment state from
|
|
44360
|
+
Vercel (one bulk call). When Vercel is unreachable the cached state is served
|
|
44361
|
+
with `stale: true`.'
|
|
44360
44362
|
summary: List the user's hosting projects
|
|
44361
44363
|
parameters:
|
|
44362
44364
|
- in: path
|
|
@@ -44385,18 +44387,20 @@ paths:
|
|
|
44385
44387
|
description: Permission denied
|
|
44386
44388
|
post:
|
|
44387
44389
|
operationId: ai_mentor_orgs_users_providers_vercel_hosting_deployment_create
|
|
44388
|
-
description: '
|
|
44389
|
-
the
|
|
44390
|
-
|
|
44391
|
-
|
|
44392
|
-
|
|
44393
|
-
|
|
44394
|
-
|
|
44395
|
-
|
|
44396
|
-
|
|
44397
|
-
|
|
44398
|
-
|
|
44399
|
-
|
|
44390
|
+
description: 'Platform admins only — the path user is the project''s owner,
|
|
44391
|
+
not the caller; the platform''s own API key counts as an admin. Validates
|
|
44392
|
+
the upload and credit balance synchronously, spools the zip and queues the
|
|
44393
|
+
push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint
|
|
44394
|
+
for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>`
|
|
44395
|
+
(the deterministic hash suffix keeps names collision-free). The live *.vercel.app
|
|
44396
|
+
host is Vercel''s to mint — long names get right-truncated — so read the URL
|
|
44397
|
+
from the response (`url`/`vercel_alias`, or the poll''s `deployment.aliases`),
|
|
44398
|
+
never reconstruct it from the name. `url` is null until a build is READY:
|
|
44399
|
+
the hosts Vercel names for an unfinished build are revised when it goes live.
|
|
44400
|
+
Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously
|
|
44401
|
+
with a 400; corruption inside a member is only detectable when the worker
|
|
44402
|
+
reads the bytes, so it surfaces asynchronously as `push_state: failed` on
|
|
44403
|
+
the poll endpoint.'
|
|
44400
44404
|
summary: Deploy a project zip to Vercel
|
|
44401
44405
|
parameters:
|
|
44402
44406
|
- in: path
|
|
@@ -44587,9 +44591,10 @@ paths:
|
|
|
44587
44591
|
description: Not found
|
|
44588
44592
|
post:
|
|
44589
44593
|
operationId: ai_mentor_orgs_users_providers_vercel_hosting_dns_create
|
|
44590
|
-
description:
|
|
44591
|
-
|
|
44592
|
-
|
|
44594
|
+
description: Platform admins only — the path user is the project's owner, not
|
|
44595
|
+
the caller; the platform's own API key counts as an admin. Reserves the domain
|
|
44596
|
+
locally (mirrored into the unified /api/custom-domains/ listing), attaches
|
|
44597
|
+
it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
44593
44598
|
summary: Attach a custom domain to a hosting project
|
|
44594
44599
|
parameters:
|
|
44595
44600
|
- in: path
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -21777,7 +21777,7 @@ export class AiMentorService {
|
|
|
21777
21777
|
}
|
|
21778
21778
|
/**
|
|
21779
21779
|
* List the user's hosting projects
|
|
21780
|
-
* Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
21780
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Lists the path user's hosting projects, merged with live latest-deployment state from Vercel (one bulk call). When Vercel is unreachable the cached state is served with `stale: true`.
|
|
21781
21781
|
* @returns any Projects with live deployment state
|
|
21782
21782
|
* @throws ApiError
|
|
21783
21783
|
*/
|
|
@@ -21810,7 +21810,7 @@ export class AiMentorService {
|
|
|
21810
21810
|
}
|
|
21811
21811
|
/**
|
|
21812
21812
|
* Deploy a project zip to Vercel
|
|
21813
|
-
* Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
21813
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Validates the upload and credit balance synchronously, spools the zip and queues the push to Vercel. Returns 202 with `push_state: pending`; poll the detail endpoint for progress. The project is created on first deploy as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix keeps names collision-free). The live *.vercel.app host is Vercel's to mint — long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`, or the poll's `deployment.aliases`), never reconstruct it from the name. `url` is null until a build is READY: the hosts Vercel names for an unfinished build are revised when it goes live. Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously with a 400; corruption inside a member is only detectable when the worker reads the bytes, so it surfaces asynchronously as `push_state: failed` on the poll endpoint.
|
|
21814
21814
|
* @returns HostingProject
|
|
21815
21815
|
* @throws ApiError
|
|
21816
21816
|
*/
|
|
@@ -21976,7 +21976,7 @@ export class AiMentorService {
|
|
|
21976
21976
|
}
|
|
21977
21977
|
/**
|
|
21978
21978
|
* Attach a custom domain to a hosting project
|
|
21979
|
-
* Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
21979
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
21980
21980
|
* @returns any Domain attached
|
|
21981
21981
|
* @throws ApiError
|
|
21982
21982
|
*/
|