@iblai/iblai-api 4.349.0-ai → 4.350.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 +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.umd.js +2 -2
- package/dist/types/models/HostingProject.d.ts +5 -1
- package/dist/types/services/AiMentorService.d.ts +1 -1
- package/package.json +1 -1
- package/sdk_schema.yml +18 -8
- package/src/core/OpenAPI.ts +1 -1
- package/src/models/HostingProject.ts +5 -1
- package/src/services/AiMentorService.ts +1 -1
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.350.0-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -22499,7 +22499,7 @@ class AiMentorService{/**
|
|
|
22499
22499
|
* @throws ApiError
|
|
22500
22500
|
*/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`}});}/**
|
|
22501
22501
|
* Deploy a project zip to Vercel
|
|
22502
|
-
* 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>` (
|
|
22502
|
+
* 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. 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.
|
|
22503
22503
|
* @returns HostingProject
|
|
22504
22504
|
* @throws ApiError
|
|
22505
22505
|
*/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`}});}/**
|
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.350.0-ai-plus',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -22497,7 +22497,7 @@ class AiMentorService{/**
|
|
|
22497
22497
|
* @throws ApiError
|
|
22498
22498
|
*/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`}});}/**
|
|
22499
22499
|
* Deploy a project zip to Vercel
|
|
22500
|
-
* 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>` (
|
|
22500
|
+
* 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. 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.
|
|
22501
22501
|
* @returns HostingProject
|
|
22502
22502
|
* @throws ApiError
|
|
22503
22503
|
*/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`}});}/**
|
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.350.0-ai-plus',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -22503,7 +22503,7 @@
|
|
|
22503
22503
|
* @throws ApiError
|
|
22504
22504
|
*/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`}});}/**
|
|
22505
22505
|
* Deploy a project zip to Vercel
|
|
22506
|
-
* 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>` (
|
|
22506
|
+
* 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. 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.
|
|
22507
22507
|
* @returns HostingProject
|
|
22508
22508
|
* @throws ApiError
|
|
22509
22509
|
*/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`}});}/**
|
|
@@ -5,10 +5,14 @@ export type HostingProject = {
|
|
|
5
5
|
*/
|
|
6
6
|
name: string;
|
|
7
7
|
/**
|
|
8
|
-
* Full platform-username-project name
|
|
8
|
+
* Full platform-username-project name. NOT necessarily the *.vercel.app subdomain: Vercel right-truncates long names when minting the auto-alias — see vercel_alias.
|
|
9
9
|
*/
|
|
10
10
|
vercel_project_name: string;
|
|
11
11
|
readonly url: string;
|
|
12
|
+
/**
|
|
13
|
+
* Vercel-confirmed production host (e.g. truncated-name.vercel.app), learned from create/deployment/project alias responses; empty until a deploy response carries it
|
|
14
|
+
*/
|
|
15
|
+
vercel_alias?: string;
|
|
12
16
|
vercel_project_id?: string;
|
|
13
17
|
last_deployment_id?: string;
|
|
14
18
|
last_deployment_url?: string;
|
|
@@ -11070,7 +11070,7 @@ export declare class AiMentorService {
|
|
|
11070
11070
|
}): CancelablePromise<any>;
|
|
11071
11071
|
/**
|
|
11072
11072
|
* Deploy a project zip to Vercel
|
|
11073
|
-
* 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>` (
|
|
11073
|
+
* 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. 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.
|
|
11074
11074
|
* @returns HostingProject
|
|
11075
11075
|
* @throws ApiError
|
|
11076
11076
|
*/
|
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.350.0-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -44260,11 +44260,14 @@ paths:
|
|
|
44260
44260
|
description: 'Validates the upload and credit balance synchronously, spools
|
|
44261
44261
|
the zip and queues the push to Vercel. Returns 202 with `push_state: pending`;
|
|
44262
44262
|
poll the detail endpoint for progress. The project is created on first deploy
|
|
44263
|
-
as `{platform}-{username}-{project}-<hash>` (
|
|
44264
|
-
|
|
44265
|
-
|
|
44266
|
-
|
|
44267
|
-
|
|
44263
|
+
as `{platform}-{username}-{project}-<hash>` (the deterministic hash suffix
|
|
44264
|
+
keeps names collision-free). The live *.vercel.app host is Vercel''s to mint
|
|
44265
|
+
— long names get right-truncated — so read the URL from the response (`url`/`vercel_alias`,
|
|
44266
|
+
or the poll''s `deployment.aliases`), never reconstruct it from the name.
|
|
44267
|
+
Archive structure (valid zip, safe paths, size/count caps) is rejected synchronously
|
|
44268
|
+
with a 400; corruption inside a member is only detectable when the worker
|
|
44269
|
+
reads the bytes, so it surfaces asynchronously as `push_state: failed` on
|
|
44270
|
+
the poll endpoint.'
|
|
44268
44271
|
summary: Deploy a project zip to Vercel
|
|
44269
44272
|
parameters:
|
|
44270
44273
|
- in: path
|
|
@@ -108501,12 +108504,19 @@ components:
|
|
|
108501
108504
|
maxLength: 100
|
|
108502
108505
|
vercel_project_name:
|
|
108503
108506
|
type: string
|
|
108504
|
-
description: Full platform-username-project name
|
|
108505
|
-
subdomain
|
|
108507
|
+
description: 'Full platform-username-project name. NOT necessarily the *.vercel.app
|
|
108508
|
+
subdomain: Vercel right-truncates long names when minting the auto-alias
|
|
108509
|
+
— see vercel_alias.'
|
|
108506
108510
|
maxLength: 100
|
|
108507
108511
|
url:
|
|
108508
108512
|
type: string
|
|
108509
108513
|
readOnly: true
|
|
108514
|
+
vercel_alias:
|
|
108515
|
+
type: string
|
|
108516
|
+
description: Vercel-confirmed production host (e.g. truncated-name.vercel.app),
|
|
108517
|
+
learned from create/deployment/project alias responses; empty until a
|
|
108518
|
+
deploy response carries it
|
|
108519
|
+
maxLength: 255
|
|
108510
108520
|
vercel_project_id:
|
|
108511
108521
|
type: string
|
|
108512
108522
|
maxLength: 64
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -9,10 +9,14 @@ export type HostingProject = {
|
|
|
9
9
|
*/
|
|
10
10
|
name: string;
|
|
11
11
|
/**
|
|
12
|
-
* Full platform-username-project name
|
|
12
|
+
* Full platform-username-project name. NOT necessarily the *.vercel.app subdomain: Vercel right-truncates long names when minting the auto-alias — see vercel_alias.
|
|
13
13
|
*/
|
|
14
14
|
vercel_project_name: string;
|
|
15
15
|
readonly url: string;
|
|
16
|
+
/**
|
|
17
|
+
* Vercel-confirmed production host (e.g. truncated-name.vercel.app), learned from create/deployment/project alias responses; empty until a deploy response carries it
|
|
18
|
+
*/
|
|
19
|
+
vercel_alias?: string;
|
|
16
20
|
vercel_project_id?: string;
|
|
17
21
|
last_deployment_id?: string;
|
|
18
22
|
last_deployment_url?: string;
|
|
@@ -21834,7 +21834,7 @@ export class AiMentorService {
|
|
|
21834
21834
|
}
|
|
21835
21835
|
/**
|
|
21836
21836
|
* Deploy a project zip to Vercel
|
|
21837
|
-
* 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>` (
|
|
21837
|
+
* 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. 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.
|
|
21838
21838
|
* @returns HostingProject
|
|
21839
21839
|
* @throws ApiError
|
|
21840
21840
|
*/
|