@studyfetch/sdk 1.2.0 → 1.4.0

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.
Files changed (108) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/v1/admin/admin.d.mts +2 -11
  4. package/resources/v1/admin/admin.d.mts.map +1 -1
  5. package/resources/v1/admin/admin.d.ts +2 -11
  6. package/resources/v1/admin/admin.d.ts.map +1 -1
  7. package/resources/v1/admin/admin.js +0 -13
  8. package/resources/v1/admin/admin.js.map +1 -1
  9. package/resources/v1/admin/admin.mjs +0 -13
  10. package/resources/v1/admin/admin.mjs.map +1 -1
  11. package/resources/v1/admin/index.d.mts +1 -1
  12. package/resources/v1/admin/index.d.mts.map +1 -1
  13. package/resources/v1/admin/index.d.ts +1 -1
  14. package/resources/v1/admin/index.d.ts.map +1 -1
  15. package/resources/v1/admin/index.js.map +1 -1
  16. package/resources/v1/admin/index.mjs.map +1 -1
  17. package/resources/v1/admin/models.d.mts +0 -9
  18. package/resources/v1/admin/models.d.mts.map +1 -1
  19. package/resources/v1/admin/models.d.ts +0 -9
  20. package/resources/v1/admin/models.d.ts.map +1 -1
  21. package/resources/v1/admin/models.js +0 -13
  22. package/resources/v1/admin/models.js.map +1 -1
  23. package/resources/v1/admin/models.mjs +0 -13
  24. package/resources/v1/admin/models.mjs.map +1 -1
  25. package/resources/v1/admin/organization-invites.d.mts +0 -37
  26. package/resources/v1/admin/organization-invites.d.mts.map +1 -1
  27. package/resources/v1/admin/organization-invites.d.ts +0 -37
  28. package/resources/v1/admin/organization-invites.d.ts.map +1 -1
  29. package/resources/v1/admin/organization-invites.js +0 -53
  30. package/resources/v1/admin/organization-invites.js.map +1 -1
  31. package/resources/v1/admin/organization-invites.mjs +0 -53
  32. package/resources/v1/admin/organization-invites.mjs.map +1 -1
  33. package/resources/v1/admin/organizations/models/excluded.d.mts +0 -20
  34. package/resources/v1/admin/organizations/models/excluded.d.mts.map +1 -1
  35. package/resources/v1/admin/organizations/models/excluded.d.ts +0 -20
  36. package/resources/v1/admin/organizations/models/excluded.d.ts.map +1 -1
  37. package/resources/v1/admin/organizations/models/excluded.js +0 -30
  38. package/resources/v1/admin/organizations/models/excluded.js.map +1 -1
  39. package/resources/v1/admin/organizations/models/excluded.mjs +0 -30
  40. package/resources/v1/admin/organizations/models/excluded.mjs.map +1 -1
  41. package/resources/v1/admin/organizations/organizations.d.mts +0 -9
  42. package/resources/v1/admin/organizations/organizations.d.mts.map +1 -1
  43. package/resources/v1/admin/organizations/organizations.d.ts +0 -9
  44. package/resources/v1/admin/organizations/organizations.d.ts.map +1 -1
  45. package/resources/v1/admin/organizations/organizations.js +0 -13
  46. package/resources/v1/admin/organizations/organizations.js.map +1 -1
  47. package/resources/v1/admin/organizations/organizations.mjs +0 -13
  48. package/resources/v1/admin/organizations/organizations.mjs.map +1 -1
  49. package/resources/v1/components.d.mts +239 -11
  50. package/resources/v1/components.d.mts.map +1 -1
  51. package/resources/v1/components.d.ts +239 -11
  52. package/resources/v1/components.d.ts.map +1 -1
  53. package/resources/v1/components.js +10 -29
  54. package/resources/v1/components.js.map +1 -1
  55. package/resources/v1/components.mjs +10 -29
  56. package/resources/v1/components.mjs.map +1 -1
  57. package/resources/v1/index.d.mts +2 -2
  58. package/resources/v1/index.d.mts.map +1 -1
  59. package/resources/v1/index.d.ts +2 -2
  60. package/resources/v1/index.d.ts.map +1 -1
  61. package/resources/v1/index.js.map +1 -1
  62. package/resources/v1/index.mjs.map +1 -1
  63. package/resources/v1/materials/index.d.mts +2 -2
  64. package/resources/v1/materials/index.d.mts.map +1 -1
  65. package/resources/v1/materials/index.d.ts +2 -2
  66. package/resources/v1/materials/index.d.ts.map +1 -1
  67. package/resources/v1/materials/index.js.map +1 -1
  68. package/resources/v1/materials/index.mjs +1 -1
  69. package/resources/v1/materials/index.mjs.map +1 -1
  70. package/resources/v1/materials/materials.d.mts +192 -9
  71. package/resources/v1/materials/materials.d.mts.map +1 -1
  72. package/resources/v1/materials/materials.d.ts +192 -9
  73. package/resources/v1/materials/materials.d.ts.map +1 -1
  74. package/resources/v1/materials/materials.js +6 -17
  75. package/resources/v1/materials/materials.js.map +1 -1
  76. package/resources/v1/materials/materials.mjs +7 -18
  77. package/resources/v1/materials/materials.mjs.map +1 -1
  78. package/resources/v1/materials/upload.d.mts +133 -11
  79. package/resources/v1/materials/upload.d.mts.map +1 -1
  80. package/resources/v1/materials/upload.d.ts +133 -11
  81. package/resources/v1/materials/upload.d.ts.map +1 -1
  82. package/resources/v1/materials/upload.js +12 -14
  83. package/resources/v1/materials/upload.js.map +1 -1
  84. package/resources/v1/materials/upload.mjs +12 -14
  85. package/resources/v1/materials/upload.mjs.map +1 -1
  86. package/resources/v1/v1.d.mts +4 -4
  87. package/resources/v1/v1.d.mts.map +1 -1
  88. package/resources/v1/v1.d.ts +4 -4
  89. package/resources/v1/v1.d.ts.map +1 -1
  90. package/resources/v1/v1.js.map +1 -1
  91. package/resources/v1/v1.mjs.map +1 -1
  92. package/src/resources/v1/admin/admin.ts +2 -21
  93. package/src/resources/v1/admin/index.ts +1 -1
  94. package/src/resources/v1/admin/models.ts +1 -17
  95. package/src/resources/v1/admin/organization-invites.ts +1 -66
  96. package/src/resources/v1/admin/organizations/models/excluded.ts +1 -35
  97. package/src/resources/v1/admin/organizations/organizations.ts +0 -16
  98. package/src/resources/v1/components.ts +312 -34
  99. package/src/resources/v1/index.ts +8 -0
  100. package/src/resources/v1/materials/index.ts +10 -1
  101. package/src/resources/v1/materials/materials.ts +262 -21
  102. package/src/resources/v1/materials/upload.ts +175 -19
  103. package/src/resources/v1/v1.ts +16 -0
  104. package/src/version.ts +1 -1
  105. package/version.d.mts +1 -1
  106. package/version.d.ts +1 -1
  107. package/version.js +1 -1
  108. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"excluded.js","sourceRoot":"","sources":["../../../../../src/resources/v1/admin/organizations/models/excluded.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAA2D;AAE3D,gEAA+D;AAE/D,gEAA0D;AAE1D,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;OAOG;IACH,MAAM,CAAC,cAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,+BAA+B,cAAc,kBAAkB,EAAE;YAC5F,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,cAAsB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,cAAc,kBAAkB,EAAE;YAC3F,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA9BD,4BA8BC"}
1
+ {"version":3,"file":"excluded.js","sourceRoot":"","sources":["../../../../../src/resources/v1/admin/organizations/models/excluded.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAA2D;AAE3D,MAAa,QAAS,SAAQ,sBAAW;CAAG;AAA5C,4BAA4C"}
@@ -1,35 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../../../../core/resource.mjs";
3
- import { buildHeaders } from "../../../../../internal/headers.mjs";
4
- import { path } from "../../../../../internal/utils/path.mjs";
5
3
  export class Excluded extends APIResource {
6
- /**
7
- * @example
8
- * ```ts
9
- * await client.v1.admin.organizations.models.excluded.create(
10
- * 'organizationId',
11
- * );
12
- * ```
13
- */
14
- create(organizationID, options) {
15
- return this._client.post(path `/api/v1/admin/organizations/${organizationID}/models/excluded`, {
16
- ...options,
17
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
18
- });
19
- }
20
- /**
21
- * @example
22
- * ```ts
23
- * await client.v1.admin.organizations.models.excluded.list(
24
- * 'organizationId',
25
- * );
26
- * ```
27
- */
28
- list(organizationID, options) {
29
- return this._client.get(path `/api/v1/admin/organizations/${organizationID}/models/excluded`, {
30
- ...options,
31
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
32
- });
33
- }
34
4
  }
35
5
  //# sourceMappingURL=excluded.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"excluded.mjs","sourceRoot":"","sources":["../../../../../src/resources/v1/admin/organizations/models/excluded.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,MAAM,CAAC,cAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,+BAA+B,cAAc,kBAAkB,EAAE;YAC5F,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,cAAsB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,cAAc,kBAAkB,EAAE;YAC3F,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"excluded.mjs","sourceRoot":"","sources":["../../../../../src/resources/v1/admin/organizations/models/excluded.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,QAAS,SAAQ,WAAW;CAAG"}
@@ -1,17 +1,8 @@
1
1
  import { APIResource } from "../../../../core/resource.mjs";
2
2
  import * as ModelsAPI from "./models/models.mjs";
3
3
  import { Models } from "./models/models.mjs";
4
- import { APIPromise } from "../../../../core/api-promise.mjs";
5
- import { RequestOptions } from "../../../../internal/request-options.mjs";
6
4
  export declare class Organizations extends APIResource {
7
5
  models: ModelsAPI.Models;
8
- /**
9
- * @example
10
- * ```ts
11
- * await client.v1.admin.organizations.list();
12
- * ```
13
- */
14
- list(options?: RequestOptions): APIPromise<void>;
15
6
  }
16
7
  export declare namespace Organizations {
17
8
  export { Models as Models };
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../../../../src/resources/v1/admin/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;;;OAKG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMjD;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
1
+ {"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../../../../src/resources/v1/admin/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;AAEjB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
@@ -1,17 +1,8 @@
1
1
  import { APIResource } from "../../../../core/resource.js";
2
2
  import * as ModelsAPI from "./models/models.js";
3
3
  import { Models } from "./models/models.js";
4
- import { APIPromise } from "../../../../core/api-promise.js";
5
- import { RequestOptions } from "../../../../internal/request-options.js";
6
4
  export declare class Organizations extends APIResource {
7
5
  models: ModelsAPI.Models;
8
- /**
9
- * @example
10
- * ```ts
11
- * await client.v1.admin.organizations.list();
12
- * ```
13
- */
14
- list(options?: RequestOptions): APIPromise<void>;
15
6
  }
16
7
  export declare namespace Organizations {
17
8
  export { Models as Models };
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../../../src/resources/v1/admin/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;;;OAKG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMjD;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
1
+ {"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../../../src/resources/v1/admin/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;AAEjB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
@@ -6,24 +6,11 @@ const tslib_1 = require("../../../../internal/tslib.js");
6
6
  const resource_1 = require("../../../../core/resource.js");
7
7
  const ModelsAPI = tslib_1.__importStar(require("./models/models.js"));
8
8
  const models_1 = require("./models/models.js");
9
- const headers_1 = require("../../../../internal/headers.js");
10
9
  class Organizations extends resource_1.APIResource {
11
10
  constructor() {
12
11
  super(...arguments);
13
12
  this.models = new ModelsAPI.Models(this._client);
14
13
  }
15
- /**
16
- * @example
17
- * ```ts
18
- * await client.v1.admin.organizations.list();
19
- * ```
20
- */
21
- list(options) {
22
- return this._client.get('/api/v1/admin/organizations', {
23
- ...options,
24
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
25
- });
26
- }
27
14
  }
28
15
  exports.Organizations = Organizations;
29
16
  Organizations.Models = models_1.Models;
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../../../src/resources/v1/admin/organizations/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AACxD,sEAA6C;AAC7C,+CAAyC;AAEzC,6DAA4D;AAG5D,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAchE,CAAC;IAZC;;;;;OAKG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE;YACrD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAfD,sCAeC;AAED,aAAa,CAAC,MAAM,GAAG,eAAM,CAAC"}
1
+ {"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../../../src/resources/v1/admin/organizations/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AACxD,sEAA6C;AAC7C,+CAAyC;AAEzC,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAFD,sCAEC;AAED,aAAa,CAAC,MAAM,GAAG,eAAM,CAAC"}
@@ -2,24 +2,11 @@
2
2
  import { APIResource } from "../../../../core/resource.mjs";
3
3
  import * as ModelsAPI from "./models/models.mjs";
4
4
  import { Models } from "./models/models.mjs";
5
- import { buildHeaders } from "../../../../internal/headers.mjs";
6
5
  export class Organizations extends APIResource {
7
6
  constructor() {
8
7
  super(...arguments);
9
8
  this.models = new ModelsAPI.Models(this._client);
10
9
  }
11
- /**
12
- * @example
13
- * ```ts
14
- * await client.v1.admin.organizations.list();
15
- * ```
16
- */
17
- list(options) {
18
- return this._client.get('/api/v1/admin/organizations', {
19
- ...options,
20
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
21
- });
22
- }
23
10
  }
24
11
  Organizations.Models = Models;
25
12
  //# sourceMappingURL=organizations.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../../../../src/resources/v1/admin/organizations/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OAEV,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAchE,CAAC;IAZC;;;;;OAKG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE;YACrD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAED,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../../../../src/resources/v1/admin/organizations/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;AAEjB,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC"}
@@ -7,7 +7,7 @@ export declare class Components extends APIResource {
7
7
  *
8
8
  * @example
9
9
  * ```ts
10
- * await client.v1.components.create({
10
+ * const component = await client.v1.components.create({
11
11
  * config: {},
12
12
  * name: 'My Study Component',
13
13
  * origin: 'chat',
@@ -15,34 +15,34 @@ export declare class Components extends APIResource {
15
15
  * });
16
16
  * ```
17
17
  */
18
- create(body: ComponentCreateParams, options?: RequestOptions): APIPromise<void>;
18
+ create(body: ComponentCreateParams, options?: RequestOptions): APIPromise<ComponentCreateResponse>;
19
19
  /**
20
20
  * Get component by ID
21
21
  *
22
22
  * @example
23
23
  * ```ts
24
- * await client.v1.components.retrieve('id');
24
+ * const component = await client.v1.components.retrieve('id');
25
25
  * ```
26
26
  */
27
- retrieve(id: string, options?: RequestOptions): APIPromise<void>;
27
+ retrieve(id: string, options?: RequestOptions): APIPromise<ComponentRetrieveResponse>;
28
28
  /**
29
29
  * Update component
30
30
  *
31
31
  * @example
32
32
  * ```ts
33
- * await client.v1.components.update('id');
33
+ * const component = await client.v1.components.update('id');
34
34
  * ```
35
35
  */
36
- update(id: string, body: ComponentUpdateParams, options?: RequestOptions): APIPromise<void>;
36
+ update(id: string, body: ComponentUpdateParams, options?: RequestOptions): APIPromise<ComponentUpdateResponse>;
37
37
  /**
38
38
  * Get all components
39
39
  *
40
40
  * @example
41
41
  * ```ts
42
- * await client.v1.components.list();
42
+ * const components = await client.v1.components.list();
43
43
  * ```
44
44
  */
45
- list(query?: ComponentListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
45
+ list(query?: ComponentListParams | null | undefined, options?: RequestOptions): APIPromise<ComponentListResponse>;
46
46
  /**
47
47
  * Delete component
48
48
  *
@@ -71,10 +71,10 @@ export declare class Components extends APIResource {
71
71
  *
72
72
  * @example
73
73
  * ```ts
74
- * await client.v1.components.embed('id');
74
+ * const response = await client.v1.components.embed('id');
75
75
  * ```
76
76
  */
77
- embed(id: string, body: ComponentEmbedParams, options?: RequestOptions): APIPromise<void>;
77
+ embed(id: string, body: ComponentEmbedParams, options?: RequestOptions): APIPromise<ComponentEmbedResponse>;
78
78
  /**
79
79
  * @example
80
80
  * ```ts
@@ -83,6 +83,234 @@ export declare class Components extends APIResource {
83
83
  */
84
84
  interact(id: string, options?: RequestOptions): APIPromise<void>;
85
85
  }
86
+ export interface ComponentCreateResponse {
87
+ /**
88
+ * Component ID (MongoDB ObjectId)
89
+ */
90
+ _id: string;
91
+ /**
92
+ * Unique component identifier
93
+ */
94
+ componentId: string;
95
+ /**
96
+ * Component configuration
97
+ */
98
+ config: unknown;
99
+ /**
100
+ * Creation timestamp
101
+ */
102
+ createdAt: string;
103
+ /**
104
+ * Component name
105
+ */
106
+ name: string;
107
+ /**
108
+ * Organization ID
109
+ */
110
+ organization: string;
111
+ /**
112
+ * Component status
113
+ */
114
+ status: 'active' | 'inactive' | 'draft';
115
+ /**
116
+ * Component type
117
+ */
118
+ type: 'chat' | 'flashcards' | 'tests' | 'scenarios' | 'explainers' | 'audio-recap';
119
+ /**
120
+ * Last update timestamp
121
+ */
122
+ updatedAt: string;
123
+ /**
124
+ * Usage statistics
125
+ */
126
+ usage: unknown;
127
+ /**
128
+ * Component description
129
+ */
130
+ description?: string;
131
+ }
132
+ export interface ComponentRetrieveResponse {
133
+ /**
134
+ * Component ID (MongoDB ObjectId)
135
+ */
136
+ _id: string;
137
+ /**
138
+ * Unique component identifier
139
+ */
140
+ componentId: string;
141
+ /**
142
+ * Component configuration
143
+ */
144
+ config: unknown;
145
+ /**
146
+ * Creation timestamp
147
+ */
148
+ createdAt: string;
149
+ /**
150
+ * Component name
151
+ */
152
+ name: string;
153
+ /**
154
+ * Organization ID
155
+ */
156
+ organization: string;
157
+ /**
158
+ * Component status
159
+ */
160
+ status: 'active' | 'inactive' | 'draft';
161
+ /**
162
+ * Component type
163
+ */
164
+ type: 'chat' | 'flashcards' | 'tests' | 'scenarios' | 'explainers' | 'audio-recap';
165
+ /**
166
+ * Last update timestamp
167
+ */
168
+ updatedAt: string;
169
+ /**
170
+ * Usage statistics
171
+ */
172
+ usage: unknown;
173
+ /**
174
+ * Component description
175
+ */
176
+ description?: string;
177
+ }
178
+ export interface ComponentUpdateResponse {
179
+ /**
180
+ * Component ID (MongoDB ObjectId)
181
+ */
182
+ _id: string;
183
+ /**
184
+ * Unique component identifier
185
+ */
186
+ componentId: string;
187
+ /**
188
+ * Component configuration
189
+ */
190
+ config: unknown;
191
+ /**
192
+ * Creation timestamp
193
+ */
194
+ createdAt: string;
195
+ /**
196
+ * Component name
197
+ */
198
+ name: string;
199
+ /**
200
+ * Organization ID
201
+ */
202
+ organization: string;
203
+ /**
204
+ * Component status
205
+ */
206
+ status: 'active' | 'inactive' | 'draft';
207
+ /**
208
+ * Component type
209
+ */
210
+ type: 'chat' | 'flashcards' | 'tests' | 'scenarios' | 'explainers' | 'audio-recap';
211
+ /**
212
+ * Last update timestamp
213
+ */
214
+ updatedAt: string;
215
+ /**
216
+ * Usage statistics
217
+ */
218
+ usage: unknown;
219
+ /**
220
+ * Component description
221
+ */
222
+ description?: string;
223
+ }
224
+ export type ComponentListResponse = Array<ComponentListResponse.ComponentListResponseItem>;
225
+ export declare namespace ComponentListResponse {
226
+ interface ComponentListResponseItem {
227
+ /**
228
+ * Component ID (MongoDB ObjectId)
229
+ */
230
+ _id: string;
231
+ /**
232
+ * Unique component identifier
233
+ */
234
+ componentId: string;
235
+ /**
236
+ * Component configuration
237
+ */
238
+ config: unknown;
239
+ /**
240
+ * Creation timestamp
241
+ */
242
+ createdAt: string;
243
+ /**
244
+ * Component name
245
+ */
246
+ name: string;
247
+ /**
248
+ * Organization ID
249
+ */
250
+ organization: string;
251
+ /**
252
+ * Component status
253
+ */
254
+ status: 'active' | 'inactive' | 'draft';
255
+ /**
256
+ * Component type
257
+ */
258
+ type: 'chat' | 'flashcards' | 'tests' | 'scenarios' | 'explainers' | 'audio-recap';
259
+ /**
260
+ * Last update timestamp
261
+ */
262
+ updatedAt: string;
263
+ /**
264
+ * Usage statistics
265
+ */
266
+ usage: unknown;
267
+ /**
268
+ * Component description
269
+ */
270
+ description?: string;
271
+ }
272
+ }
273
+ export interface ComponentEmbedResponse {
274
+ /**
275
+ * JWT token for authentication
276
+ */
277
+ token: string;
278
+ /**
279
+ * Component ID
280
+ */
281
+ componentId: string;
282
+ /**
283
+ * Component type
284
+ */
285
+ componentType: string;
286
+ /**
287
+ * The embed URL for iframe integration
288
+ */
289
+ embedUrl: string;
290
+ /**
291
+ * Token expiration timestamp
292
+ */
293
+ expiresAt: string;
294
+ /**
295
+ * Embed options
296
+ */
297
+ options: ComponentEmbedResponse.Options;
298
+ }
299
+ export declare namespace ComponentEmbedResponse {
300
+ /**
301
+ * Embed options
302
+ */
303
+ interface Options {
304
+ /**
305
+ * Embed height
306
+ */
307
+ height?: string;
308
+ /**
309
+ * Embed width
310
+ */
311
+ width?: string;
312
+ }
313
+ }
86
314
  export interface ComponentCreateParams {
87
315
  /**
88
316
  * Component-specific configuration
@@ -248,6 +476,6 @@ export declare namespace ComponentEmbedParams {
248
476
  }
249
477
  }
250
478
  export declare namespace Components {
251
- export { type ComponentCreateParams as ComponentCreateParams, type ComponentUpdateParams as ComponentUpdateParams, type ComponentListParams as ComponentListParams, type ComponentEmbedParams as ComponentEmbedParams, };
479
+ export { type ComponentCreateResponse as ComponentCreateResponse, type ComponentRetrieveResponse as ComponentRetrieveResponse, type ComponentUpdateResponse as ComponentUpdateResponse, type ComponentListResponse as ComponentListResponse, type ComponentEmbedResponse as ComponentEmbedResponse, type ComponentCreateParams as ComponentCreateParams, type ComponentUpdateParams as ComponentUpdateParams, type ComponentListParams as ComponentListParams, type ComponentEmbedParams as ComponentEmbedParams, };
252
480
  }
253
481
  //# sourceMappingURL=components.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.mts","sourceRoot":"","sources":["../../src/resources/v1/components.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ/E;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhE;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ3F;;;;;;;OAOG;IACH,IAAI,CAAC,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQpG;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAO9D;;;;;OAKG;IAC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