@rightbrain/brain-api-client 0.0.1-dev.138.8c91403 → 0.0.1-dev.139.bbe0a46

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/api.ts CHANGED
@@ -7709,22 +7709,22 @@ export interface ProjectSkillRevisionContent {
7709
7709
  'asset_files': Array<string>;
7710
7710
  /**
7711
7711
  *
7712
- * @type {Array<string>}
7712
+ * @type {Array<SkillRevisionFileContent>}
7713
7713
  * @memberof ProjectSkillRevisionContent
7714
7714
  */
7715
- 'script_files'?: Array<string>;
7715
+ 'reference_file_contents'?: Array<SkillRevisionFileContent>;
7716
7716
  /**
7717
7717
  *
7718
- * @type {Array<ProjectSkillRevisionFileContent>}
7718
+ * @type {Array<SkillRevisionFileContent>}
7719
7719
  * @memberof ProjectSkillRevisionContent
7720
7720
  */
7721
- 'reference_file_contents'?: Array<ProjectSkillRevisionFileContent>;
7721
+ 'asset_file_contents'?: Array<SkillRevisionFileContent>;
7722
7722
  /**
7723
7723
  *
7724
- * @type {Array<ProjectSkillRevisionFileContent>}
7724
+ * @type {Array<string>}
7725
7725
  * @memberof ProjectSkillRevisionContent
7726
7726
  */
7727
- 'asset_file_contents'?: Array<ProjectSkillRevisionFileContent>;
7727
+ 'script_files'?: Array<string>;
7728
7728
  }
7729
7729
  /**
7730
7730
  * Schema for creating a new project-scoped skill revision.
@@ -7775,37 +7775,6 @@ export interface ProjectSkillRevisionCreate {
7775
7775
  */
7776
7776
  'activate'?: boolean;
7777
7777
  }
7778
- /**
7779
- *
7780
- * @export
7781
- * @interface ProjectSkillRevisionFileContent
7782
- */
7783
- export interface ProjectSkillRevisionFileContent {
7784
- /**
7785
- *
7786
- * @type {string}
7787
- * @memberof ProjectSkillRevisionFileContent
7788
- */
7789
- 'path': string;
7790
- /**
7791
- *
7792
- * @type {string}
7793
- * @memberof ProjectSkillRevisionFileContent
7794
- */
7795
- 'content': string;
7796
- /**
7797
- * The UTF-8 encoded file size in bytes.
7798
- * @type {number}
7799
- * @memberof ProjectSkillRevisionFileContent
7800
- */
7801
- 'size_bytes': number;
7802
- /**
7803
- * The UTF-8 encoded file size in kilobytes, rounded to 2 decimals.
7804
- * @type {number}
7805
- * @memberof ProjectSkillRevisionFileContent
7806
- */
7807
- 'size_kb': number;
7808
- }
7809
7778
  /**
7810
7779
  * Schema for updating project-scoped skill metadata.
7811
7780
  * @export
@@ -10263,6 +10232,18 @@ export interface SkillRevisionContent {
10263
10232
  * @memberof SkillRevisionContent
10264
10233
  */
10265
10234
  'asset_files': Array<string>;
10235
+ /**
10236
+ *
10237
+ * @type {Array<SkillRevisionFileContent>}
10238
+ * @memberof SkillRevisionContent
10239
+ */
10240
+ 'reference_file_contents'?: Array<SkillRevisionFileContent>;
10241
+ /**
10242
+ *
10243
+ * @type {Array<SkillRevisionFileContent>}
10244
+ * @memberof SkillRevisionContent
10245
+ */
10246
+ 'asset_file_contents'?: Array<SkillRevisionFileContent>;
10266
10247
  /**
10267
10248
  *
10268
10249
  * @type {Array<string>}
@@ -10270,6 +10251,37 @@ export interface SkillRevisionContent {
10270
10251
  */
10271
10252
  'script_files'?: Array<string>;
10272
10253
  }
10254
+ /**
10255
+ *
10256
+ * @export
10257
+ * @interface SkillRevisionFileContent
10258
+ */
10259
+ export interface SkillRevisionFileContent {
10260
+ /**
10261
+ *
10262
+ * @type {string}
10263
+ * @memberof SkillRevisionFileContent
10264
+ */
10265
+ 'path': string;
10266
+ /**
10267
+ *
10268
+ * @type {string}
10269
+ * @memberof SkillRevisionFileContent
10270
+ */
10271
+ 'content': string;
10272
+ /**
10273
+ * The UTF-8 encoded file size in bytes.
10274
+ * @type {number}
10275
+ * @memberof SkillRevisionFileContent
10276
+ */
10277
+ 'size_bytes': number;
10278
+ /**
10279
+ * The UTF-8 encoded file size in kilobytes, rounded to 2 decimals.
10280
+ * @type {number}
10281
+ * @memberof SkillRevisionFileContent
10282
+ */
10283
+ 'size_kb': number;
10284
+ }
10273
10285
  /**
10274
10286
  *
10275
10287
  * @export
@@ -33676,7 +33688,7 @@ export const SkillsApiAxiosParamCreator = function (configuration?: Configuratio
33676
33688
  };
33677
33689
  },
33678
33690
  /**
33679
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
33691
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
33680
33692
  * @summary Get Skill Content
33681
33693
  * @param {string} skillId
33682
33694
  * @param {*} [options] Override http request option.
@@ -33714,7 +33726,7 @@ export const SkillsApiAxiosParamCreator = function (configuration?: Configuratio
33714
33726
  };
33715
33727
  },
33716
33728
  /**
33717
- * Retrieve full content for a specific skill revision.
33729
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
33718
33730
  * @summary Get Skill Revision
33719
33731
  * @param {string} skillId
33720
33732
  * @param {string} revisionId
@@ -34488,7 +34500,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
34488
34500
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34489
34501
  },
34490
34502
  /**
34491
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
34503
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
34492
34504
  * @summary Get Skill Content
34493
34505
  * @param {string} skillId
34494
34506
  * @param {*} [options] Override http request option.
@@ -34501,7 +34513,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
34501
34513
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34502
34514
  },
34503
34515
  /**
34504
- * Retrieve full content for a specific skill revision.
34516
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
34505
34517
  * @summary Get Skill Revision
34506
34518
  * @param {string} skillId
34507
34519
  * @param {string} revisionId
@@ -34809,7 +34821,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
34809
34821
  return localVarFp.getSkill(skillId, options).then((request) => request(axios, basePath));
34810
34822
  },
34811
34823
  /**
34812
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
34824
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
34813
34825
  * @summary Get Skill Content
34814
34826
  * @param {string} skillId
34815
34827
  * @param {*} [options] Override http request option.
@@ -34819,7 +34831,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
34819
34831
  return localVarFp.getSkillContent(skillId, options).then((request) => request(axios, basePath));
34820
34832
  },
34821
34833
  /**
34822
- * Retrieve full content for a specific skill revision.
34834
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
34823
34835
  * @summary Get Skill Revision
34824
34836
  * @param {string} skillId
34825
34837
  * @param {string} revisionId
@@ -35104,7 +35116,7 @@ export class SkillsApi extends BaseAPI {
35104
35116
  }
35105
35117
 
35106
35118
  /**
35107
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
35119
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
35108
35120
  * @summary Get Skill Content
35109
35121
  * @param {string} skillId
35110
35122
  * @param {*} [options] Override http request option.
@@ -35116,7 +35128,7 @@ export class SkillsApi extends BaseAPI {
35116
35128
  }
35117
35129
 
35118
35130
  /**
35119
- * Retrieve full content for a specific skill revision.
35131
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
35120
35132
  * @summary Get Skill Revision
35121
35133
  * @param {string} skillId
35122
35134
  * @param {string} revisionId
package/dist/api.d.ts CHANGED
@@ -7579,22 +7579,22 @@ export interface ProjectSkillRevisionContent {
7579
7579
  'asset_files': Array<string>;
7580
7580
  /**
7581
7581
  *
7582
- * @type {Array<string>}
7582
+ * @type {Array<SkillRevisionFileContent>}
7583
7583
  * @memberof ProjectSkillRevisionContent
7584
7584
  */
7585
- 'script_files'?: Array<string>;
7585
+ 'reference_file_contents'?: Array<SkillRevisionFileContent>;
7586
7586
  /**
7587
7587
  *
7588
- * @type {Array<ProjectSkillRevisionFileContent>}
7588
+ * @type {Array<SkillRevisionFileContent>}
7589
7589
  * @memberof ProjectSkillRevisionContent
7590
7590
  */
7591
- 'reference_file_contents'?: Array<ProjectSkillRevisionFileContent>;
7591
+ 'asset_file_contents'?: Array<SkillRevisionFileContent>;
7592
7592
  /**
7593
7593
  *
7594
- * @type {Array<ProjectSkillRevisionFileContent>}
7594
+ * @type {Array<string>}
7595
7595
  * @memberof ProjectSkillRevisionContent
7596
7596
  */
7597
- 'asset_file_contents'?: Array<ProjectSkillRevisionFileContent>;
7597
+ 'script_files'?: Array<string>;
7598
7598
  }
7599
7599
  /**
7600
7600
  * Schema for creating a new project-scoped skill revision.
@@ -7651,37 +7651,6 @@ export interface ProjectSkillRevisionCreate {
7651
7651
  */
7652
7652
  'activate'?: boolean;
7653
7653
  }
7654
- /**
7655
- *
7656
- * @export
7657
- * @interface ProjectSkillRevisionFileContent
7658
- */
7659
- export interface ProjectSkillRevisionFileContent {
7660
- /**
7661
- *
7662
- * @type {string}
7663
- * @memberof ProjectSkillRevisionFileContent
7664
- */
7665
- 'path': string;
7666
- /**
7667
- *
7668
- * @type {string}
7669
- * @memberof ProjectSkillRevisionFileContent
7670
- */
7671
- 'content': string;
7672
- /**
7673
- * The UTF-8 encoded file size in bytes.
7674
- * @type {number}
7675
- * @memberof ProjectSkillRevisionFileContent
7676
- */
7677
- 'size_bytes': number;
7678
- /**
7679
- * The UTF-8 encoded file size in kilobytes, rounded to 2 decimals.
7680
- * @type {number}
7681
- * @memberof ProjectSkillRevisionFileContent
7682
- */
7683
- 'size_kb': number;
7684
- }
7685
7654
  /**
7686
7655
  * Schema for updating project-scoped skill metadata.
7687
7656
  * @export
@@ -10732,6 +10701,18 @@ export interface SkillRevisionContent {
10732
10701
  * @memberof SkillRevisionContent
10733
10702
  */
10734
10703
  'asset_files': Array<string>;
10704
+ /**
10705
+ *
10706
+ * @type {Array<SkillRevisionFileContent>}
10707
+ * @memberof SkillRevisionContent
10708
+ */
10709
+ 'reference_file_contents'?: Array<SkillRevisionFileContent>;
10710
+ /**
10711
+ *
10712
+ * @type {Array<SkillRevisionFileContent>}
10713
+ * @memberof SkillRevisionContent
10714
+ */
10715
+ 'asset_file_contents'?: Array<SkillRevisionFileContent>;
10735
10716
  /**
10736
10717
  *
10737
10718
  * @type {Array<string>}
@@ -10739,6 +10720,37 @@ export interface SkillRevisionContent {
10739
10720
  */
10740
10721
  'script_files'?: Array<string>;
10741
10722
  }
10723
+ /**
10724
+ *
10725
+ * @export
10726
+ * @interface SkillRevisionFileContent
10727
+ */
10728
+ export interface SkillRevisionFileContent {
10729
+ /**
10730
+ *
10731
+ * @type {string}
10732
+ * @memberof SkillRevisionFileContent
10733
+ */
10734
+ 'path': string;
10735
+ /**
10736
+ *
10737
+ * @type {string}
10738
+ * @memberof SkillRevisionFileContent
10739
+ */
10740
+ 'content': string;
10741
+ /**
10742
+ * The UTF-8 encoded file size in bytes.
10743
+ * @type {number}
10744
+ * @memberof SkillRevisionFileContent
10745
+ */
10746
+ 'size_bytes': number;
10747
+ /**
10748
+ * The UTF-8 encoded file size in kilobytes, rounded to 2 decimals.
10749
+ * @type {number}
10750
+ * @memberof SkillRevisionFileContent
10751
+ */
10752
+ 'size_kb': number;
10753
+ }
10742
10754
  /**
10743
10755
  *
10744
10756
  * @export
@@ -24803,7 +24815,7 @@ export declare const SkillsApiAxiosParamCreator: (configuration?: Configuration)
24803
24815
  */
24804
24816
  getSkill: (skillId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24805
24817
  /**
24806
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
24818
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
24807
24819
  * @summary Get Skill Content
24808
24820
  * @param {string} skillId
24809
24821
  * @param {*} [options] Override http request option.
@@ -24811,7 +24823,7 @@ export declare const SkillsApiAxiosParamCreator: (configuration?: Configuration)
24811
24823
  */
24812
24824
  getSkillContent: (skillId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24813
24825
  /**
24814
- * Retrieve full content for a specific skill revision.
24826
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
24815
24827
  * @summary Get Skill Revision
24816
24828
  * @param {string} skillId
24817
24829
  * @param {string} revisionId
@@ -25034,7 +25046,7 @@ export declare const SkillsApiFp: (configuration?: Configuration) => {
25034
25046
  */
25035
25047
  getSkill(skillId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SkillRead>>;
25036
25048
  /**
25037
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
25049
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
25038
25050
  * @summary Get Skill Content
25039
25051
  * @param {string} skillId
25040
25052
  * @param {*} [options] Override http request option.
@@ -25042,7 +25054,7 @@ export declare const SkillsApiFp: (configuration?: Configuration) => {
25042
25054
  */
25043
25055
  getSkillContent(skillId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SkillContentRead>>;
25044
25056
  /**
25045
- * Retrieve full content for a specific skill revision.
25057
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
25046
25058
  * @summary Get Skill Revision
25047
25059
  * @param {string} skillId
25048
25060
  * @param {string} revisionId
@@ -25265,7 +25277,7 @@ export declare const SkillsApiFactory: (configuration?: Configuration, basePath?
25265
25277
  */
25266
25278
  getSkill(skillId: string, options?: any): AxiosPromise<SkillRead>;
25267
25279
  /**
25268
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
25280
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
25269
25281
  * @summary Get Skill Content
25270
25282
  * @param {string} skillId
25271
25283
  * @param {*} [options] Override http request option.
@@ -25273,7 +25285,7 @@ export declare const SkillsApiFactory: (configuration?: Configuration, basePath?
25273
25285
  */
25274
25286
  getSkillContent(skillId: string, options?: any): AxiosPromise<SkillContentRead>;
25275
25287
  /**
25276
- * Retrieve full content for a specific skill revision.
25288
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
25277
25289
  * @summary Get Skill Revision
25278
25290
  * @param {string} skillId
25279
25291
  * @param {string} revisionId
@@ -25506,7 +25518,7 @@ export declare class SkillsApi extends BaseAPI {
25506
25518
  */
25507
25519
  getSkill(skillId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SkillRead, any, {}>>;
25508
25520
  /**
25509
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
25521
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
25510
25522
  * @summary Get Skill Content
25511
25523
  * @param {string} skillId
25512
25524
  * @param {*} [options] Override http request option.
@@ -25515,7 +25527,7 @@ export declare class SkillsApi extends BaseAPI {
25515
25527
  */
25516
25528
  getSkillContent(skillId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SkillContentRead, any, {}>>;
25517
25529
  /**
25518
- * Retrieve full content for a specific skill revision.
25530
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
25519
25531
  * @summary Get Skill Revision
25520
25532
  * @param {string} skillId
25521
25533
  * @param {string} revisionId
package/dist/api.js CHANGED
@@ -21530,7 +21530,7 @@ var SkillsApiAxiosParamCreator = function (configuration) {
21530
21530
  });
21531
21531
  },
21532
21532
  /**
21533
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
21533
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
21534
21534
  * @summary Get Skill Content
21535
21535
  * @param {string} skillId
21536
21536
  * @param {*} [options] Override http request option.
@@ -21573,7 +21573,7 @@ var SkillsApiAxiosParamCreator = function (configuration) {
21573
21573
  });
21574
21574
  },
21575
21575
  /**
21576
- * Retrieve full content for a specific skill revision.
21576
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
21577
21577
  * @summary Get Skill Revision
21578
21578
  * @param {string} skillId
21579
21579
  * @param {string} revisionId
@@ -22474,7 +22474,7 @@ var SkillsApiFp = function (configuration) {
22474
22474
  });
22475
22475
  },
22476
22476
  /**
22477
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
22477
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
22478
22478
  * @summary Get Skill Content
22479
22479
  * @param {string} skillId
22480
22480
  * @param {*} [options] Override http request option.
@@ -22497,7 +22497,7 @@ var SkillsApiFp = function (configuration) {
22497
22497
  });
22498
22498
  },
22499
22499
  /**
22500
- * Retrieve full content for a specific skill revision.
22500
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
22501
22501
  * @summary Get Skill Revision
22502
22502
  * @param {string} skillId
22503
22503
  * @param {string} revisionId
@@ -22935,7 +22935,7 @@ var SkillsApiFactory = function (configuration, basePath, axios) {
22935
22935
  return localVarFp.getSkill(skillId, options).then(function (request) { return request(axios, basePath); });
22936
22936
  },
22937
22937
  /**
22938
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
22938
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
22939
22939
  * @summary Get Skill Content
22940
22940
  * @param {string} skillId
22941
22941
  * @param {*} [options] Override http request option.
@@ -22945,7 +22945,7 @@ var SkillsApiFactory = function (configuration, basePath, axios) {
22945
22945
  return localVarFp.getSkillContent(skillId, options).then(function (request) { return request(axios, basePath); });
22946
22946
  },
22947
22947
  /**
22948
- * Retrieve full content for a specific skill revision.
22948
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
22949
22949
  * @summary Get Skill Revision
22950
22950
  * @param {string} skillId
22951
22951
  * @param {string} revisionId
@@ -23234,7 +23234,7 @@ var SkillsApi = /** @class */ (function (_super) {
23234
23234
  return (0, exports.SkillsApiFp)(this.configuration).getSkill(skillId, options).then(function (request) { return request(_this.axios, _this.basePath); });
23235
23235
  };
23236
23236
  /**
23237
- * Retrieve the active revision content for a skill, including instructions, metadata, and available reference or asset filenames.
23237
+ * Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
23238
23238
  * @summary Get Skill Content
23239
23239
  * @param {string} skillId
23240
23240
  * @param {*} [options] Override http request option.
@@ -23246,7 +23246,7 @@ var SkillsApi = /** @class */ (function (_super) {
23246
23246
  return (0, exports.SkillsApiFp)(this.configuration).getSkillContent(skillId, options).then(function (request) { return request(_this.axios, _this.basePath); });
23247
23247
  };
23248
23248
  /**
23249
- * Retrieve full content for a specific skill revision.
23249
+ * Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
23250
23250
  * @summary Get Skill Revision
23251
23251
  * @param {string} skillId
23252
23252
  * @param {string} revisionId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightbrain/brain-api-client",
3
- "version": "0.0.1-dev.138.8c91403",
3
+ "version": "0.0.1-dev.139.bbe0a46",
4
4
  "description": "OpenAPI client for brain-api",
5
5
  "keywords": [
6
6
  "axios",