@iblai/iblai-api 4.409.0-ai → 4.410.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.409.0-ai-plus',
113
+ VERSION: '4.410.0-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
@@ -22510,7 +22510,7 @@ class AiMentorService{/**
22510
22510
  * @throws ApiError
22511
22511
  */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`}});}/**
22512
22512
  * Attach a custom domain to a hosting project
22513
- * 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. Omit `domain` to be assigned a subdomain of the instance's shared zone instead; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
22513
+ * 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. Send `subdomain` instead of `domain` to serve the project at `<subdomain>.<shared domain>`, like a username; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
22514
22514
  * @returns any The project already had this shared subdomain
22515
22515
  * @throws ApiError
22516
22516
  */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`,503:`No shared domain is on offer`}});}/**
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.409.0-ai-plus',
111
+ VERSION: '4.410.0-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
@@ -22508,7 +22508,7 @@ class AiMentorService{/**
22508
22508
  * @throws ApiError
22509
22509
  */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`}});}/**
22510
22510
  * Attach a custom domain to a hosting project
22511
- * 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. Omit `domain` to be assigned a subdomain of the instance's shared zone instead; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
22511
+ * 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. Send `subdomain` instead of `domain` to serve the project at `<subdomain>.<shared domain>`, like a username; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
22512
22512
  * @returns any The project already had this shared subdomain
22513
22513
  * @throws ApiError
22514
22514
  */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`,503:`No shared domain is on offer`}});}/**
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.409.0-ai-plus',
117
+ VERSION: '4.410.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -22514,7 +22514,7 @@
22514
22514
  * @throws ApiError
22515
22515
  */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`}});}/**
22516
22516
  * Attach a custom domain to a hosting project
22517
- * 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. Omit `domain` to be assigned a subdomain of the instance's shared zone instead; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
22517
+ * 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. Send `subdomain` instead of `domain` to serve the project at `<subdomain>.<shared domain>`, like a username; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
22518
22518
  * @returns any The project already had this shared subdomain
22519
22519
  * @throws ApiError
22520
22520
  */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`,503:`No shared domain is on offer`}});}/**
@@ -4,7 +4,11 @@ export type DomainAttach = {
4
4
  */
5
5
  project: number;
6
6
  /**
7
- * Domain to attach. Omit to be assigned a subdomain of the shared domain automatically.
7
+ * Domain to attach. Send subdomain instead to serve the project at a subdomain of the shared domain.
8
8
  */
9
9
  domain?: string;
10
+ /**
11
+ * Serve this project at <subdomain>.<shared domain>, like a username. Required on a first deploy when the shared domain is on offer; omit on a redeploy to keep the address the project has.
12
+ */
13
+ subdomain?: string;
10
14
  };
@@ -17,7 +17,7 @@ export type HostingProject = {
17
17
  */
18
18
  readonly site_url: string | null;
19
19
  /**
20
- * site_domain when it is an automatically minted subdomain of the instance's shared domain; empty when the project is served at a custom domain the platform configured
20
+ * site_domain when it is the subdomain of the instance's shared domain the caller chose; empty when the project is served at a custom domain the platform configured
21
21
  */
22
22
  readonly shared_domain: string;
23
23
  /**
@@ -10544,6 +10544,14 @@ export declare class AiMentorService {
10544
10544
  * Optional content sha256; recorded on push success and returned on GET so clients can skip unchanged deploys
10545
10545
  */
10546
10546
  deployment_hash?: string;
10547
+ /**
10548
+ * Serve at a custom domain the platform has already configured; never together with subdomain
10549
+ */
10550
+ domain?: string;
10551
+ /**
10552
+ * Serve at <subdomain>.<shared domain>, like a username; required on a first deploy when the shared domain is on offer
10553
+ */
10554
+ subdomain?: string;
10547
10555
  };
10548
10556
  }): CancelablePromise<HostingProject>;
10549
10557
  /**
@@ -10588,7 +10596,7 @@ export declare class AiMentorService {
10588
10596
  }): CancelablePromise<any>;
10589
10597
  /**
10590
10598
  * Attach a custom domain to a hosting project
10591
- * 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. Omit `domain` to be assigned a subdomain of the instance's shared zone instead; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
10599
+ * 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. Send `subdomain` instead of `domain` to serve the project at `<subdomain>.<shared domain>`, like a username; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
10592
10600
  * @returns any The project already had this shared subdomain
10593
10601
  * @throws ApiError
10594
10602
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.409.0-ai",
3
+ "version": "4.410.0-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
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.409.0-ai-plus
4
+ version: 4.410.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/ai-account/connected-services/callback/:
@@ -43214,6 +43214,15 @@ paths:
43214
43214
  pattern: ^[0-9a-f]{64}$
43215
43215
  description: Optional content sha256; recorded on push success and
43216
43216
  returned on GET so clients can skip unchanged deploys
43217
+ domain:
43218
+ type: string
43219
+ description: Serve at a custom domain the platform has already configured;
43220
+ never together with subdomain
43221
+ subdomain:
43222
+ type: string
43223
+ pattern: ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$
43224
+ description: Serve at <subdomain>.<shared domain>, like a username;
43225
+ required on a first deploy when the shared domain is on offer
43217
43226
  required:
43218
43227
  - file
43219
43228
  - project
@@ -43365,10 +43374,10 @@ paths:
43365
43374
  the caller; the platform's own API key counts as an admin. Reserves the domain
43366
43375
  locally (mirrored into the unified /api/custom-domains/ listing), attaches
43367
43376
  it to the Vercel project and returns the DNS records to configure at the registrar.
43368
- Omit `domain` to be assigned a subdomain of the instance's shared zone instead;
43369
- if the project already has a custom domain of its own, the new host is attached
43370
- alongside it and returned here, but the project keeps advertising the custom
43371
- one as its `site_url`.
43377
+ Send `subdomain` instead of `domain` to serve the project at `<subdomain>.<shared
43378
+ domain>`, like a username; if the project already has a custom domain of its
43379
+ own, the new host is attached alongside it and returned here, but the project
43380
+ keeps advertising the custom one as its `site_url`.
43372
43381
  summary: Attach a custom domain to a hosting project
43373
43382
  parameters:
43374
43383
  - in: path
@@ -106233,10 +106242,18 @@ components:
106233
106242
  domain:
106234
106243
  type: string
106235
106244
  default: ''
106236
- description: Domain to attach. Omit to be assigned a subdomain of the shared
106237
- domain automatically.
106245
+ description: Domain to attach. Send subdomain instead to serve the project
106246
+ at a subdomain of the shared domain.
106238
106247
  maxLength: 253
106239
106248
  pattern: ^(?=.{1,253}$)([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,}$
106249
+ subdomain:
106250
+ type: string
106251
+ default: ''
106252
+ description: Serve this project at <subdomain>.<shared domain>, like a username.
106253
+ Required on a first deploy when the shared domain is on offer; omit on
106254
+ a redeploy to keep the address the project has.
106255
+ maxLength: 63
106256
+ pattern: ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$
106240
106257
  required:
106241
106258
  - project
106242
106259
  Education:
@@ -108345,8 +108362,8 @@ components:
108345
108362
  shared_domain:
108346
108363
  type: string
108347
108364
  readOnly: true
108348
- description: site_domain when it is an automatically minted subdomain of
108349
- the instance's shared domain; empty when the project is served at a custom
108365
+ description: site_domain when it is the subdomain of the instance's shared
108366
+ domain the caller chose; empty when the project is served at a custom
108350
108367
  domain the platform configured
108351
108368
  site_domain_error:
108352
108369
  type: string
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.409.0-ai-plus',
24
+ VERSION: '4.410.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -8,8 +8,12 @@ export type DomainAttach = {
8
8
  */
9
9
  project: number;
10
10
  /**
11
- * Domain to attach. Omit to be assigned a subdomain of the shared domain automatically.
11
+ * Domain to attach. Send subdomain instead to serve the project at a subdomain of the shared domain.
12
12
  */
13
13
  domain?: string;
14
+ /**
15
+ * Serve this project at <subdomain>.<shared domain>, like a username. Required on a first deploy when the shared domain is on offer; omit on a redeploy to keep the address the project has.
16
+ */
17
+ subdomain?: string;
14
18
  };
15
19
 
@@ -21,7 +21,7 @@ export type HostingProject = {
21
21
  */
22
22
  readonly site_url: string | null;
23
23
  /**
24
- * site_domain when it is an automatically minted subdomain of the instance's shared domain; empty when the project is served at a custom domain the platform configured
24
+ * site_domain when it is the subdomain of the instance's shared domain the caller chose; empty when the project is served at a custom domain the platform configured
25
25
  */
26
26
  readonly shared_domain: string;
27
27
  /**
@@ -20804,6 +20804,14 @@ export class AiMentorService {
20804
20804
  * Optional content sha256; recorded on push success and returned on GET so clients can skip unchanged deploys
20805
20805
  */
20806
20806
  deployment_hash?: string;
20807
+ /**
20808
+ * Serve at a custom domain the platform has already configured; never together with subdomain
20809
+ */
20810
+ domain?: string;
20811
+ /**
20812
+ * Serve at <subdomain>.<shared domain>, like a username; required on a first deploy when the shared domain is on offer
20813
+ */
20814
+ subdomain?: string;
20807
20815
  },
20808
20816
  }): CancelablePromise<HostingProject> {
20809
20817
  return __request(OpenAPI, {
@@ -20943,7 +20951,7 @@ export class AiMentorService {
20943
20951
  }
20944
20952
  /**
20945
20953
  * Attach a custom domain to a hosting project
20946
- * 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. Omit `domain` to be assigned a subdomain of the instance's shared zone instead; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
20954
+ * 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. Send `subdomain` instead of `domain` to serve the project at `<subdomain>.<shared domain>`, like a username; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
20947
20955
  * @returns any The project already had this shared subdomain
20948
20956
  * @throws ApiError
20949
20957
  */