@iblai/iblai-api 4.124.0-test2-ai → 4.124.0-test3-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
@@ -14252,8 +14252,7 @@ class AiMentorService {
14252
14252
  });
14253
14253
  }
14254
14254
  /**
14255
- * Retrieve an artifact
14256
- * Get detailed information about a specific artifact including its full content.
14255
+ * Artifacts cannot be created via API. They are created by LLMs via chat messages.
14257
14256
  * @returns Artifact
14258
14257
  * @throws ApiError
14259
14258
  */
@@ -14270,16 +14269,12 @@ class AiMentorService {
14270
14269
  'user_id': userId
14271
14270
  },
14272
14271
  body: requestBody,
14273
- mediaType: 'application/json',
14274
- errors: {
14275
- 401: `Authentication required`,
14276
- 403: `Permission denied`,
14277
- 404: `Artifact not found`
14278
- }
14272
+ mediaType: 'application/json'
14279
14273
  });
14280
14274
  }
14281
14275
  /**
14282
- * Retrieve a specific artifact.
14276
+ * Retrieve an artifact
14277
+ * Get detailed information about a specific artifact including its full content.
14283
14278
  * @returns Artifact
14284
14279
  * @throws ApiError
14285
14280
  */
@@ -14295,6 +14290,11 @@ class AiMentorService {
14295
14290
  'id': id,
14296
14291
  'org': org,
14297
14292
  'user_id': userId
14293
+ },
14294
+ errors: {
14295
+ 401: `Authentication required`,
14296
+ 403: `Permission denied`,
14297
+ 404: `Artifact not found`
14298
14298
  }
14299
14299
  });
14300
14300
  }
package/dist/index.esm.js CHANGED
@@ -14250,8 +14250,7 @@ class AiMentorService {
14250
14250
  });
14251
14251
  }
14252
14252
  /**
14253
- * Retrieve an artifact
14254
- * Get detailed information about a specific artifact including its full content.
14253
+ * Artifacts cannot be created via API. They are created by LLMs via chat messages.
14255
14254
  * @returns Artifact
14256
14255
  * @throws ApiError
14257
14256
  */
@@ -14268,16 +14267,12 @@ class AiMentorService {
14268
14267
  'user_id': userId
14269
14268
  },
14270
14269
  body: requestBody,
14271
- mediaType: 'application/json',
14272
- errors: {
14273
- 401: `Authentication required`,
14274
- 403: `Permission denied`,
14275
- 404: `Artifact not found`
14276
- }
14270
+ mediaType: 'application/json'
14277
14271
  });
14278
14272
  }
14279
14273
  /**
14280
- * Retrieve a specific artifact.
14274
+ * Retrieve an artifact
14275
+ * Get detailed information about a specific artifact including its full content.
14281
14276
  * @returns Artifact
14282
14277
  * @throws ApiError
14283
14278
  */
@@ -14293,6 +14288,11 @@ class AiMentorService {
14293
14288
  'id': id,
14294
14289
  'org': org,
14295
14290
  'user_id': userId
14291
+ },
14292
+ errors: {
14293
+ 401: `Authentication required`,
14294
+ 403: `Permission denied`,
14295
+ 404: `Artifact not found`
14296
14296
  }
14297
14297
  });
14298
14298
  }
package/dist/index.umd.js CHANGED
@@ -14256,8 +14256,7 @@
14256
14256
  });
14257
14257
  }
14258
14258
  /**
14259
- * Retrieve an artifact
14260
- * Get detailed information about a specific artifact including its full content.
14259
+ * Artifacts cannot be created via API. They are created by LLMs via chat messages.
14261
14260
  * @returns Artifact
14262
14261
  * @throws ApiError
14263
14262
  */
@@ -14274,16 +14273,12 @@
14274
14273
  'user_id': userId
14275
14274
  },
14276
14275
  body: requestBody,
14277
- mediaType: 'application/json',
14278
- errors: {
14279
- 401: `Authentication required`,
14280
- 403: `Permission denied`,
14281
- 404: `Artifact not found`
14282
- }
14276
+ mediaType: 'application/json'
14283
14277
  });
14284
14278
  }
14285
14279
  /**
14286
- * Retrieve a specific artifact.
14280
+ * Retrieve an artifact
14281
+ * Get detailed information about a specific artifact including its full content.
14287
14282
  * @returns Artifact
14288
14283
  * @throws ApiError
14289
14284
  */
@@ -14299,6 +14294,11 @@
14299
14294
  'id': id,
14300
14295
  'org': org,
14301
14296
  'user_id': userId
14297
+ },
14298
+ errors: {
14299
+ 401: `Authentication required`,
14300
+ 403: `Permission denied`,
14301
+ 404: `Artifact not found`
14302
14302
  }
14303
14303
  });
14304
14304
  }
@@ -950,8 +950,7 @@ export declare class AiMentorService {
950
950
  username?: string;
951
951
  }): CancelablePromise<PaginatedArtifactListList>;
952
952
  /**
953
- * Retrieve an artifact
954
- * Get detailed information about a specific artifact including its full content.
953
+ * Artifacts cannot be created via API. They are created by LLMs via chat messages.
955
954
  * @returns Artifact
956
955
  * @throws ApiError
957
956
  */
@@ -960,7 +959,8 @@ export declare class AiMentorService {
960
959
  requestBody: Artifact;
961
960
  }): CancelablePromise<Artifact>;
962
961
  /**
963
- * Retrieve a specific artifact.
962
+ * Retrieve an artifact
963
+ * Get detailed information about a specific artifact including its full content.
964
964
  * @returns Artifact
965
965
  * @throws ApiError
966
966
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.124.0-test2-ai",
3
+ "version": "4.124.0-test3-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
package/sdk_schema.yml CHANGED
@@ -15559,9 +15559,8 @@ paths:
15559
15559
  description: Permission denied
15560
15560
  post:
15561
15561
  operationId: ai_mentor_orgs_users_artifacts_create
15562
- description: Get detailed information about a specific artifact including its
15563
- full content.
15564
- summary: Retrieve an artifact
15562
+ description: Artifacts cannot be created via API. They are created by LLMs via
15563
+ chat messages.
15565
15564
  parameters:
15566
15565
  - in: path
15567
15566
  name: org
@@ -15596,43 +15595,18 @@ paths:
15596
15595
  security:
15597
15596
  - PlatformApiKeyAuthentication: []
15598
15597
  responses:
15599
- '200':
15598
+ '201':
15600
15599
  content:
15601
15600
  application/json:
15602
15601
  schema:
15603
15602
  $ref: '#/components/schemas/Artifact'
15604
- examples:
15605
- ArtifactDetailResponse:
15606
- value:
15607
- id: 1
15608
- title: Python Calculator
15609
- content: |-
15610
- ```python
15611
- def add(a, b):
15612
- return a + b
15613
- ```
15614
- file_extension: py
15615
- llm_name: gpt-4
15616
- llm_provider: openai
15617
- date_created: '2024-01-15T10:30:00Z'
15618
- date_updated: '2024-01-15T10:30:00Z'
15619
- metadata: {}
15620
- username: johndoe
15621
- session_id: 550e8400-e29b-41d4-a716-446655440000
15622
- current_version_number: 2
15623
- version_count: 3
15624
- summary: Artifact Detail Response
15625
15603
  description: ''
15626
- '401':
15627
- description: Authentication required
15628
- '403':
15629
- description: Permission denied
15630
- '404':
15631
- description: Artifact not found
15632
15604
  /api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/:
15633
15605
  get:
15634
15606
  operationId: ai_mentor_orgs_users_artifacts_retrieve
15635
- description: Retrieve a specific artifact.
15607
+ description: Get detailed information about a specific artifact including its
15608
+ full content.
15609
+ summary: Retrieve an artifact
15636
15610
  parameters:
15637
15611
  - in: path
15638
15612
  name: id
@@ -15660,7 +15634,34 @@ paths:
15660
15634
  application/json:
15661
15635
  schema:
15662
15636
  $ref: '#/components/schemas/Artifact'
15637
+ examples:
15638
+ ArtifactDetailResponse:
15639
+ value:
15640
+ id: 1
15641
+ title: Python Calculator
15642
+ content: |-
15643
+ ```python
15644
+ def add(a, b):
15645
+ return a + b
15646
+ ```
15647
+ file_extension: py
15648
+ llm_name: gpt-4
15649
+ llm_provider: openai
15650
+ date_created: '2024-01-15T10:30:00Z'
15651
+ date_updated: '2024-01-15T10:30:00Z'
15652
+ metadata: {}
15653
+ username: johndoe
15654
+ session_id: 550e8400-e29b-41d4-a716-446655440000
15655
+ current_version_number: 2
15656
+ version_count: 3
15657
+ summary: Artifact Detail Response
15663
15658
  description: ''
15659
+ '401':
15660
+ description: Authentication required
15661
+ '403':
15662
+ description: Permission denied
15663
+ '404':
15664
+ description: Artifact not found
15664
15665
  put:
15665
15666
  operationId: ai_mentor_orgs_users_artifacts_update
15666
15667
  description: Update all fields of an artifact (excluding session reference).
@@ -1700,8 +1700,7 @@ export class AiMentorService {
1700
1700
  });
1701
1701
  }
1702
1702
  /**
1703
- * Retrieve an artifact
1704
- * Get detailed information about a specific artifact including its full content.
1703
+ * Artifacts cannot be created via API. They are created by LLMs via chat messages.
1705
1704
  * @returns Artifact
1706
1705
  * @throws ApiError
1707
1706
  */
@@ -1723,15 +1722,11 @@ export class AiMentorService {
1723
1722
  },
1724
1723
  body: requestBody,
1725
1724
  mediaType: 'application/json',
1726
- errors: {
1727
- 401: `Authentication required`,
1728
- 403: `Permission denied`,
1729
- 404: `Artifact not found`,
1730
- },
1731
1725
  });
1732
1726
  }
1733
1727
  /**
1734
- * Retrieve a specific artifact.
1728
+ * Retrieve an artifact
1729
+ * Get detailed information about a specific artifact including its full content.
1735
1730
  * @returns Artifact
1736
1731
  * @throws ApiError
1737
1732
  */
@@ -1755,6 +1750,11 @@ export class AiMentorService {
1755
1750
  'org': org,
1756
1751
  'user_id': userId,
1757
1752
  },
1753
+ errors: {
1754
+ 401: `Authentication required`,
1755
+ 403: `Permission denied`,
1756
+ 404: `Artifact not found`,
1757
+ },
1758
1758
  });
1759
1759
  }
1760
1760
  /**