@studyfetch/sdk 1.10.0 → 1.12.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.
- package/CHANGELOG.md +19 -0
- package/README.md +366 -1
- package/package.json +1 -1
- package/resources/v1/auth/auth.d.mts +0 -8
- package/resources/v1/auth/auth.d.mts.map +1 -1
- package/resources/v1/auth/auth.d.ts +0 -8
- package/resources/v1/auth/auth.d.ts.map +1 -1
- package/resources/v1/auth/auth.js +0 -8
- package/resources/v1/auth/auth.js.map +1 -1
- package/resources/v1/auth/auth.mjs +0 -8
- package/resources/v1/auth/auth.mjs.map +1 -1
- package/resources/v1/auth/index.d.mts +0 -2
- package/resources/v1/auth/index.d.mts.map +1 -1
- package/resources/v1/auth/index.d.ts +0 -2
- package/resources/v1/auth/index.d.ts.map +1 -1
- package/resources/v1/auth/index.js +1 -5
- package/resources/v1/auth/index.js.map +1 -1
- package/resources/v1/auth/index.mjs +0 -2
- package/resources/v1/auth/index.mjs.map +1 -1
- package/resources/v1/chat/chat.d.mts +4 -4
- package/resources/v1/chat/chat.d.mts.map +1 -1
- package/resources/v1/chat/chat.d.ts +4 -4
- package/resources/v1/chat/chat.d.ts.map +1 -1
- package/resources/v1/chat/chat.js +2 -2
- package/resources/v1/chat/chat.js.map +1 -1
- package/resources/v1/chat/chat.mjs +2 -2
- package/resources/v1/chat/chat.mjs.map +1 -1
- package/resources/v1/chat/index.d.mts +1 -1
- package/resources/v1/chat/index.d.mts.map +1 -1
- package/resources/v1/chat/index.d.ts +1 -1
- package/resources/v1/chat/index.d.ts.map +1 -1
- package/resources/v1/chat/index.js.map +1 -1
- package/resources/v1/chat/index.mjs +1 -1
- package/resources/v1/chat/index.mjs.map +1 -1
- package/resources/v1/components.d.mts +96 -162
- package/resources/v1/components.d.mts.map +1 -1
- package/resources/v1/components.d.ts +96 -162
- package/resources/v1/components.d.ts.map +1 -1
- package/resources/v1/components.js +5 -3
- package/resources/v1/components.js.map +1 -1
- package/resources/v1/components.mjs +5 -3
- package/resources/v1/components.mjs.map +1 -1
- package/resources/v1/explainers.d.mts +125 -5
- package/resources/v1/explainers.d.mts.map +1 -1
- package/resources/v1/explainers.d.ts +125 -5
- package/resources/v1/explainers.d.ts.map +1 -1
- package/resources/v1/explainers.js +29 -6
- package/resources/v1/explainers.js.map +1 -1
- package/resources/v1/explainers.mjs +29 -6
- package/resources/v1/explainers.mjs.map +1 -1
- package/resources/v1/flashcards.d.mts +7 -8
- package/resources/v1/flashcards.d.mts.map +1 -1
- package/resources/v1/flashcards.d.ts +7 -8
- package/resources/v1/flashcards.d.ts.map +1 -1
- package/resources/v1/flashcards.js +2 -3
- package/resources/v1/flashcards.js.map +1 -1
- package/resources/v1/flashcards.mjs +2 -3
- package/resources/v1/flashcards.mjs.map +1 -1
- package/resources/v1/index.d.mts +5 -7
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +5 -7
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +17 -21
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +1 -3
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/materials/index.d.mts +2 -2
- package/resources/v1/materials/index.d.mts.map +1 -1
- package/resources/v1/materials/index.d.ts +2 -2
- package/resources/v1/materials/index.d.ts.map +1 -1
- package/resources/v1/materials/index.js.map +1 -1
- package/resources/v1/materials/index.mjs +1 -1
- package/resources/v1/materials/index.mjs.map +1 -1
- package/resources/v1/materials/materials.d.mts +11 -133
- package/resources/v1/materials/materials.d.mts.map +1 -1
- package/resources/v1/materials/materials.d.ts +11 -133
- package/resources/v1/materials/materials.d.ts.map +1 -1
- package/resources/v1/materials/materials.js +2 -2
- package/resources/v1/materials/materials.js.map +1 -1
- package/resources/v1/materials/materials.mjs +3 -3
- package/resources/v1/materials/materials.mjs.map +1 -1
- package/resources/v1/materials/upload.d.mts +8 -127
- package/resources/v1/materials/upload.d.mts.map +1 -1
- package/resources/v1/materials/upload.d.ts +8 -127
- package/resources/v1/materials/upload.d.ts.map +1 -1
- package/resources/v1/materials/upload.js +4 -4
- package/resources/v1/materials/upload.js.map +1 -1
- package/resources/v1/materials/upload.mjs +4 -4
- package/resources/v1/materials/upload.mjs.map +1 -1
- package/resources/v1/scenarios/component.d.mts +51 -3
- package/resources/v1/scenarios/component.d.mts.map +1 -1
- package/resources/v1/scenarios/component.d.ts +51 -3
- package/resources/v1/scenarios/component.d.ts.map +1 -1
- package/resources/v1/scenarios/component.js +4 -4
- package/resources/v1/scenarios/component.js.map +1 -1
- package/resources/v1/scenarios/component.mjs +4 -4
- package/resources/v1/scenarios/component.mjs.map +1 -1
- package/resources/v1/scenarios/index.d.mts +1 -1
- package/resources/v1/scenarios/index.d.mts.map +1 -1
- package/resources/v1/scenarios/index.d.ts +1 -1
- package/resources/v1/scenarios/index.d.ts.map +1 -1
- package/resources/v1/scenarios/index.js.map +1 -1
- package/resources/v1/scenarios/index.mjs +1 -1
- package/resources/v1/scenarios/index.mjs.map +1 -1
- package/resources/v1/scenarios/scenarios.d.mts +173 -9
- package/resources/v1/scenarios/scenarios.d.mts.map +1 -1
- package/resources/v1/scenarios/scenarios.d.ts +173 -9
- package/resources/v1/scenarios/scenarios.d.ts.map +1 -1
- package/resources/v1/scenarios/scenarios.js +19 -10
- package/resources/v1/scenarios/scenarios.js.map +1 -1
- package/resources/v1/scenarios/scenarios.mjs +19 -10
- package/resources/v1/scenarios/scenarios.mjs.map +1 -1
- package/resources/v1/scenarios/submissions/user.d.mts +6 -4
- package/resources/v1/scenarios/submissions/user.d.mts.map +1 -1
- package/resources/v1/scenarios/submissions/user.d.ts +6 -4
- package/resources/v1/scenarios/submissions/user.d.ts.map +1 -1
- package/resources/v1/scenarios/submissions/user.js +8 -6
- package/resources/v1/scenarios/submissions/user.js.map +1 -1
- package/resources/v1/scenarios/submissions/user.mjs +8 -6
- package/resources/v1/scenarios/submissions/user.mjs.map +1 -1
- package/resources/v1/v1.d.mts +13 -21
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +13 -21
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +4 -12
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +5 -13
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/auth/auth.ts +0 -13
- package/src/resources/v1/auth/index.ts +0 -2
- package/src/resources/v1/chat/chat.ts +4 -8
- package/src/resources/v1/chat/index.ts +1 -6
- package/src/resources/v1/components.ts +118 -229
- package/src/resources/v1/explainers.ts +157 -8
- package/src/resources/v1/flashcards.ts +7 -8
- package/src/resources/v1/index.ts +13 -12
- package/src/resources/v1/materials/index.ts +2 -9
- package/src/resources/v1/materials/materials.ts +10 -177
- package/src/resources/v1/materials/upload.ts +7 -164
- package/src/resources/v1/scenarios/component.ts +63 -5
- package/src/resources/v1/scenarios/index.ts +7 -1
- package/src/resources/v1/scenarios/scenarios.ts +213 -12
- package/src/resources/v1/scenarios/submissions/user.ts +8 -6
- package/src/resources/v1/v1.ts +43 -53
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/v1/admin/admin.d.mts +0 -18
- package/resources/v1/admin/admin.d.mts.map +0 -1
- package/resources/v1/admin/admin.d.ts +0 -18
- package/resources/v1/admin/admin.d.ts.map +0 -1
- package/resources/v1/admin/admin.js +0 -25
- package/resources/v1/admin/admin.js.map +0 -1
- package/resources/v1/admin/admin.mjs +0 -20
- package/resources/v1/admin/admin.mjs.map +0 -1
- package/resources/v1/admin/index.d.mts +0 -5
- package/resources/v1/admin/index.d.mts.map +0 -1
- package/resources/v1/admin/index.d.ts +0 -5
- package/resources/v1/admin/index.d.ts.map +0 -1
- package/resources/v1/admin/index.js +0 -13
- package/resources/v1/admin/index.js.map +0 -1
- package/resources/v1/admin/index.mjs +0 -6
- package/resources/v1/admin/index.mjs.map +0 -1
- package/resources/v1/admin/models.d.mts +0 -4
- package/resources/v1/admin/models.d.mts.map +0 -1
- package/resources/v1/admin/models.d.ts +0 -4
- package/resources/v1/admin/models.d.ts.map +0 -1
- package/resources/v1/admin/models.js +0 -9
- package/resources/v1/admin/models.js.map +0 -1
- package/resources/v1/admin/models.mjs +0 -5
- package/resources/v1/admin/models.mjs.map +0 -1
- package/resources/v1/admin/organization-invites.d.mts +0 -4
- package/resources/v1/admin/organization-invites.d.mts.map +0 -1
- package/resources/v1/admin/organization-invites.d.ts +0 -4
- package/resources/v1/admin/organization-invites.d.ts.map +0 -1
- package/resources/v1/admin/organization-invites.js +0 -9
- package/resources/v1/admin/organization-invites.js.map +0 -1
- package/resources/v1/admin/organization-invites.mjs +0 -5
- package/resources/v1/admin/organization-invites.mjs.map +0 -1
- package/resources/v1/admin/organizations/index.d.mts +0 -3
- package/resources/v1/admin/organizations/index.d.mts.map +0 -1
- package/resources/v1/admin/organizations/index.d.ts +0 -3
- package/resources/v1/admin/organizations/index.d.ts.map +0 -1
- package/resources/v1/admin/organizations/index.js +0 -9
- package/resources/v1/admin/organizations/index.js.map +0 -1
- package/resources/v1/admin/organizations/index.mjs +0 -4
- package/resources/v1/admin/organizations/index.mjs.map +0 -1
- package/resources/v1/admin/organizations/models/excluded.d.mts +0 -4
- package/resources/v1/admin/organizations/models/excluded.d.mts.map +0 -1
- package/resources/v1/admin/organizations/models/excluded.d.ts +0 -4
- package/resources/v1/admin/organizations/models/excluded.d.ts.map +0 -1
- package/resources/v1/admin/organizations/models/excluded.js +0 -9
- package/resources/v1/admin/organizations/models/excluded.js.map +0 -1
- package/resources/v1/admin/organizations/models/excluded.mjs +0 -5
- package/resources/v1/admin/organizations/models/excluded.mjs.map +0 -1
- package/resources/v1/admin/organizations/models/index.d.mts +0 -3
- package/resources/v1/admin/organizations/models/index.d.mts.map +0 -1
- package/resources/v1/admin/organizations/models/index.d.ts +0 -3
- package/resources/v1/admin/organizations/models/index.d.ts.map +0 -1
- package/resources/v1/admin/organizations/models/index.js +0 -9
- package/resources/v1/admin/organizations/models/index.js.map +0 -1
- package/resources/v1/admin/organizations/models/index.mjs +0 -4
- package/resources/v1/admin/organizations/models/index.mjs.map +0 -1
- package/resources/v1/admin/organizations/models/models.d.mts +0 -10
- package/resources/v1/admin/organizations/models/models.d.mts.map +0 -1
- package/resources/v1/admin/organizations/models/models.d.ts +0 -10
- package/resources/v1/admin/organizations/models/models.d.ts.map +0 -1
- package/resources/v1/admin/organizations/models/models.js +0 -17
- package/resources/v1/admin/organizations/models/models.js.map +0 -1
- package/resources/v1/admin/organizations/models/models.mjs +0 -12
- package/resources/v1/admin/organizations/models/models.mjs.map +0 -1
- package/resources/v1/admin/organizations/models.d.mts +0 -2
- package/resources/v1/admin/organizations/models.d.mts.map +0 -1
- package/resources/v1/admin/organizations/models.d.ts +0 -2
- package/resources/v1/admin/organizations/models.d.ts.map +0 -1
- package/resources/v1/admin/organizations/models.js +0 -6
- package/resources/v1/admin/organizations/models.js.map +0 -1
- package/resources/v1/admin/organizations/models.mjs +0 -3
- package/resources/v1/admin/organizations/models.mjs.map +0 -1
- package/resources/v1/admin/organizations/organizations.d.mts +0 -10
- package/resources/v1/admin/organizations/organizations.d.mts.map +0 -1
- package/resources/v1/admin/organizations/organizations.d.ts +0 -10
- package/resources/v1/admin/organizations/organizations.d.ts.map +0 -1
- package/resources/v1/admin/organizations/organizations.js +0 -17
- package/resources/v1/admin/organizations/organizations.js.map +0 -1
- package/resources/v1/admin/organizations/organizations.mjs +0 -12
- package/resources/v1/admin/organizations/organizations.mjs.map +0 -1
- package/resources/v1/admin/organizations.d.mts +0 -2
- package/resources/v1/admin/organizations.d.mts.map +0 -1
- package/resources/v1/admin/organizations.d.ts +0 -2
- package/resources/v1/admin/organizations.d.ts.map +0 -1
- package/resources/v1/admin/organizations.js +0 -6
- package/resources/v1/admin/organizations.js.map +0 -1
- package/resources/v1/admin/organizations.mjs +0 -3
- package/resources/v1/admin/organizations.mjs.map +0 -1
- package/resources/v1/admin.d.mts +0 -2
- package/resources/v1/admin.d.mts.map +0 -1
- package/resources/v1/admin.d.ts +0 -2
- package/resources/v1/admin.d.ts.map +0 -1
- package/resources/v1/admin.js +0 -6
- package/resources/v1/admin.js.map +0 -1
- package/resources/v1/admin.mjs +0 -3
- package/resources/v1/admin.mjs.map +0 -1
- package/resources/v1/auth/login.d.mts +0 -4
- package/resources/v1/auth/login.d.mts.map +0 -1
- package/resources/v1/auth/login.d.ts +0 -4
- package/resources/v1/auth/login.d.ts.map +0 -1
- package/resources/v1/auth/login.js +0 -9
- package/resources/v1/auth/login.js.map +0 -1
- package/resources/v1/auth/login.mjs +0 -5
- package/resources/v1/auth/login.mjs.map +0 -1
- package/resources/v1/auth/organization-invites.d.mts +0 -4
- package/resources/v1/auth/organization-invites.d.mts.map +0 -1
- package/resources/v1/auth/organization-invites.d.ts +0 -4
- package/resources/v1/auth/organization-invites.d.ts.map +0 -1
- package/resources/v1/auth/organization-invites.js +0 -9
- package/resources/v1/auth/organization-invites.js.map +0 -1
- package/resources/v1/auth/organization-invites.mjs +0 -5
- package/resources/v1/auth/organization-invites.mjs.map +0 -1
- package/resources/v1/organizations/api-keys.d.mts +0 -4
- package/resources/v1/organizations/api-keys.d.mts.map +0 -1
- package/resources/v1/organizations/api-keys.d.ts +0 -4
- package/resources/v1/organizations/api-keys.d.ts.map +0 -1
- package/resources/v1/organizations/api-keys.js +0 -9
- package/resources/v1/organizations/api-keys.js.map +0 -1
- package/resources/v1/organizations/api-keys.mjs +0 -5
- package/resources/v1/organizations/api-keys.mjs.map +0 -1
- package/resources/v1/organizations/index.d.mts +0 -8
- package/resources/v1/organizations/index.d.mts.map +0 -1
- package/resources/v1/organizations/index.d.ts +0 -8
- package/resources/v1/organizations/index.d.ts.map +0 -1
- package/resources/v1/organizations/index.js +0 -19
- package/resources/v1/organizations/index.js.map +0 -1
- package/resources/v1/organizations/index.mjs +0 -9
- package/resources/v1/organizations/index.mjs.map +0 -1
- package/resources/v1/organizations/logo/index.d.mts +0 -3
- package/resources/v1/organizations/logo/index.d.mts.map +0 -1
- package/resources/v1/organizations/logo/index.d.ts +0 -3
- package/resources/v1/organizations/logo/index.d.ts.map +0 -1
- package/resources/v1/organizations/logo/index.js +0 -9
- package/resources/v1/organizations/logo/index.js.map +0 -1
- package/resources/v1/organizations/logo/index.mjs +0 -4
- package/resources/v1/organizations/logo/index.mjs.map +0 -1
- package/resources/v1/organizations/logo/logo.d.mts +0 -10
- package/resources/v1/organizations/logo/logo.d.mts.map +0 -1
- package/resources/v1/organizations/logo/logo.d.ts +0 -10
- package/resources/v1/organizations/logo/logo.d.ts.map +0 -1
- package/resources/v1/organizations/logo/logo.js +0 -17
- package/resources/v1/organizations/logo/logo.js.map +0 -1
- package/resources/v1/organizations/logo/logo.mjs +0 -12
- package/resources/v1/organizations/logo/logo.mjs.map +0 -1
- package/resources/v1/organizations/logo/upload.d.mts +0 -4
- package/resources/v1/organizations/logo/upload.d.mts.map +0 -1
- package/resources/v1/organizations/logo/upload.d.ts +0 -4
- package/resources/v1/organizations/logo/upload.d.ts.map +0 -1
- package/resources/v1/organizations/logo/upload.js +0 -9
- package/resources/v1/organizations/logo/upload.js.map +0 -1
- package/resources/v1/organizations/logo/upload.mjs +0 -5
- package/resources/v1/organizations/logo/upload.mjs.map +0 -1
- package/resources/v1/organizations/logo.d.mts +0 -2
- package/resources/v1/organizations/logo.d.mts.map +0 -1
- package/resources/v1/organizations/logo.d.ts +0 -2
- package/resources/v1/organizations/logo.d.ts.map +0 -1
- package/resources/v1/organizations/logo.js +0 -6
- package/resources/v1/organizations/logo.js.map +0 -1
- package/resources/v1/organizations/logo.mjs +0 -3
- package/resources/v1/organizations/logo.mjs.map +0 -1
- package/resources/v1/organizations/organizations.d.mts +0 -30
- package/resources/v1/organizations/organizations.d.mts.map +0 -1
- package/resources/v1/organizations/organizations.d.ts +0 -30
- package/resources/v1/organizations/organizations.d.ts.map +0 -1
- package/resources/v1/organizations/organizations.js +0 -37
- package/resources/v1/organizations/organizations.js.map +0 -1
- package/resources/v1/organizations/organizations.mjs +0 -32
- package/resources/v1/organizations/organizations.mjs.map +0 -1
- package/resources/v1/organizations/profile/index.d.mts +0 -4
- package/resources/v1/organizations/profile/index.d.mts.map +0 -1
- package/resources/v1/organizations/profile/index.d.ts +0 -4
- package/resources/v1/organizations/profile/index.d.ts.map +0 -1
- package/resources/v1/organizations/profile/index.js +0 -11
- package/resources/v1/organizations/profile/index.js.map +0 -1
- package/resources/v1/organizations/profile/index.mjs +0 -5
- package/resources/v1/organizations/profile/index.mjs.map +0 -1
- package/resources/v1/organizations/profile/models.d.mts +0 -4
- package/resources/v1/organizations/profile/models.d.mts.map +0 -1
- package/resources/v1/organizations/profile/models.d.ts +0 -4
- package/resources/v1/organizations/profile/models.d.ts.map +0 -1
- package/resources/v1/organizations/profile/models.js +0 -9
- package/resources/v1/organizations/profile/models.js.map +0 -1
- package/resources/v1/organizations/profile/models.mjs +0 -5
- package/resources/v1/organizations/profile/models.mjs.map +0 -1
- package/resources/v1/organizations/profile/profile.d.mts +0 -14
- package/resources/v1/organizations/profile/profile.d.mts.map +0 -1
- package/resources/v1/organizations/profile/profile.d.ts +0 -14
- package/resources/v1/organizations/profile/profile.d.ts.map +0 -1
- package/resources/v1/organizations/profile/profile.js +0 -21
- package/resources/v1/organizations/profile/profile.js.map +0 -1
- package/resources/v1/organizations/profile/profile.mjs +0 -16
- package/resources/v1/organizations/profile/profile.mjs.map +0 -1
- package/resources/v1/organizations/profile/team.d.mts +0 -4
- package/resources/v1/organizations/profile/team.d.mts.map +0 -1
- package/resources/v1/organizations/profile/team.d.ts +0 -4
- package/resources/v1/organizations/profile/team.d.ts.map +0 -1
- package/resources/v1/organizations/profile/team.js +0 -9
- package/resources/v1/organizations/profile/team.js.map +0 -1
- package/resources/v1/organizations/profile/team.mjs +0 -5
- package/resources/v1/organizations/profile/team.mjs.map +0 -1
- package/resources/v1/organizations/profile.d.mts +0 -2
- package/resources/v1/organizations/profile.d.mts.map +0 -1
- package/resources/v1/organizations/profile.d.ts +0 -2
- package/resources/v1/organizations/profile.d.ts.map +0 -1
- package/resources/v1/organizations/profile.js +0 -6
- package/resources/v1/organizations/profile.js.map +0 -1
- package/resources/v1/organizations/profile.mjs +0 -3
- package/resources/v1/organizations/profile.mjs.map +0 -1
- package/resources/v1/organizations/team/index.d.mts +0 -3
- package/resources/v1/organizations/team/index.d.mts.map +0 -1
- package/resources/v1/organizations/team/index.d.ts +0 -3
- package/resources/v1/organizations/team/index.d.ts.map +0 -1
- package/resources/v1/organizations/team/index.js +0 -9
- package/resources/v1/organizations/team/index.js.map +0 -1
- package/resources/v1/organizations/team/index.mjs +0 -4
- package/resources/v1/organizations/team/index.mjs.map +0 -1
- package/resources/v1/organizations/team/invite.d.mts +0 -4
- package/resources/v1/organizations/team/invite.d.mts.map +0 -1
- package/resources/v1/organizations/team/invite.d.ts +0 -4
- package/resources/v1/organizations/team/invite.d.ts.map +0 -1
- package/resources/v1/organizations/team/invite.js +0 -9
- package/resources/v1/organizations/team/invite.js.map +0 -1
- package/resources/v1/organizations/team/invite.mjs +0 -5
- package/resources/v1/organizations/team/invite.mjs.map +0 -1
- package/resources/v1/organizations/team/team.d.mts +0 -10
- package/resources/v1/organizations/team/team.d.mts.map +0 -1
- package/resources/v1/organizations/team/team.d.ts +0 -10
- package/resources/v1/organizations/team/team.d.ts.map +0 -1
- package/resources/v1/organizations/team/team.js +0 -17
- package/resources/v1/organizations/team/team.js.map +0 -1
- package/resources/v1/organizations/team/team.mjs +0 -12
- package/resources/v1/organizations/team/team.mjs.map +0 -1
- package/resources/v1/organizations/team.d.mts +0 -2
- package/resources/v1/organizations/team.d.mts.map +0 -1
- package/resources/v1/organizations/team.d.ts +0 -2
- package/resources/v1/organizations/team.d.ts.map +0 -1
- package/resources/v1/organizations/team.js +0 -6
- package/resources/v1/organizations/team.js.map +0 -1
- package/resources/v1/organizations/team.mjs +0 -3
- package/resources/v1/organizations/team.mjs.map +0 -1
- package/resources/v1/organizations/theme.d.mts +0 -4
- package/resources/v1/organizations/theme.d.mts.map +0 -1
- package/resources/v1/organizations/theme.d.ts +0 -4
- package/resources/v1/organizations/theme.d.ts.map +0 -1
- package/resources/v1/organizations/theme.js +0 -9
- package/resources/v1/organizations/theme.js.map +0 -1
- package/resources/v1/organizations/theme.mjs +0 -5
- package/resources/v1/organizations/theme.mjs.map +0 -1
- package/resources/v1/organizations/usage.d.mts +0 -4
- package/resources/v1/organizations/usage.d.mts.map +0 -1
- package/resources/v1/organizations/usage.d.ts +0 -4
- package/resources/v1/organizations/usage.d.ts.map +0 -1
- package/resources/v1/organizations/usage.js +0 -9
- package/resources/v1/organizations/usage.js.map +0 -1
- package/resources/v1/organizations/usage.mjs +0 -5
- package/resources/v1/organizations/usage.mjs.map +0 -1
- package/resources/v1/organizations.d.mts +0 -2
- package/resources/v1/organizations.d.mts.map +0 -1
- package/resources/v1/organizations.d.ts +0 -2
- package/resources/v1/organizations.d.ts.map +0 -1
- package/resources/v1/organizations.js +0 -6
- package/resources/v1/organizations.js.map +0 -1
- package/resources/v1/organizations.mjs +0 -3
- package/resources/v1/organizations.mjs.map +0 -1
- package/src/resources/v1/admin/admin.ts +0 -28
- package/src/resources/v1/admin/index.ts +0 -6
- package/src/resources/v1/admin/models.ts +0 -5
- package/src/resources/v1/admin/organization-invites.ts +0 -5
- package/src/resources/v1/admin/organizations/index.ts +0 -4
- package/src/resources/v1/admin/organizations/models/excluded.ts +0 -5
- package/src/resources/v1/admin/organizations/models/index.ts +0 -4
- package/src/resources/v1/admin/organizations/models/models.ts +0 -15
- package/src/resources/v1/admin/organizations/models.ts +0 -3
- package/src/resources/v1/admin/organizations/organizations.ts +0 -15
- package/src/resources/v1/admin/organizations.ts +0 -3
- package/src/resources/v1/admin.ts +0 -3
- package/src/resources/v1/auth/login.ts +0 -5
- package/src/resources/v1/auth/organization-invites.ts +0 -5
- package/src/resources/v1/organizations/api-keys.ts +0 -5
- package/src/resources/v1/organizations/index.ts +0 -9
- package/src/resources/v1/organizations/logo/index.ts +0 -4
- package/src/resources/v1/organizations/logo/logo.ts +0 -15
- package/src/resources/v1/organizations/logo/upload.ts +0 -5
- package/src/resources/v1/organizations/logo.ts +0 -3
- package/src/resources/v1/organizations/organizations.ts +0 -45
- package/src/resources/v1/organizations/profile/index.ts +0 -5
- package/src/resources/v1/organizations/profile/models.ts +0 -5
- package/src/resources/v1/organizations/profile/profile.ts +0 -21
- package/src/resources/v1/organizations/profile/team.ts +0 -5
- package/src/resources/v1/organizations/profile.ts +0 -3
- package/src/resources/v1/organizations/team/index.ts +0 -4
- package/src/resources/v1/organizations/team/invite.ts +0 -5
- package/src/resources/v1/organizations/team/team.ts +0 -15
- package/src/resources/v1/organizations/team.ts +0 -3
- package/src/resources/v1/organizations/theme.ts +0 -5
- package/src/resources/v1/organizations/usage.ts +0 -5
- package/src/resources/v1/organizations.ts +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explainers.d.mts","sourceRoot":"","sources":["../../src/resources/v1/explainers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"explainers.d.mts","sourceRoot":"","sources":["../../src/resources/v1/explainers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ/E;;;;;;;OAOG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOzE;;;;;;;;;;OAUG;IACH,aAAa,CAAC,IAAI,EAAE,4BAA4B,EAAE,OAAO,CAAC,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EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAE3B;;WAEG;QACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -7,24 +7,144 @@ export declare class Explainers extends APIResource {
|
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
10
|
-
* await client.v1.explainers.create(
|
|
10
|
+
* await client.v1.explainers.create({
|
|
11
|
+
* componentId: 'componentId',
|
|
12
|
+
* folderIds: ['string'],
|
|
13
|
+
* materialIds: ['string'],
|
|
14
|
+
* targetLength: 15,
|
|
15
|
+
* title: 'title',
|
|
16
|
+
* });
|
|
11
17
|
* ```
|
|
12
18
|
*/
|
|
13
19
|
create(body: ExplainerCreateParams, options?: RequestOptions): APIPromise<void>;
|
|
14
20
|
/**
|
|
15
|
-
*
|
|
21
|
+
* Get explainer video by component ID
|
|
16
22
|
*
|
|
17
23
|
* @example
|
|
18
24
|
* ```ts
|
|
19
|
-
* await client.v1.explainers.
|
|
25
|
+
* await client.v1.explainers.retrieve('componentId');
|
|
20
26
|
* ```
|
|
21
27
|
*/
|
|
22
|
-
|
|
28
|
+
retrieve(componentID: string, options?: RequestOptions): APIPromise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Handle explainer video webhook events
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* await client.v1.explainers.handleWebhook({
|
|
35
|
+
* event: 'video.completed',
|
|
36
|
+
* video: { id: 'id' },
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
handleWebhook(body: ExplainerHandleWebhookParams, options?: RequestOptions): APIPromise<void>;
|
|
23
41
|
}
|
|
24
42
|
export interface ExplainerCreateParams {
|
|
43
|
+
/**
|
|
44
|
+
* Component ID
|
|
45
|
+
*/
|
|
46
|
+
componentId: string;
|
|
47
|
+
/**
|
|
48
|
+
* Folder IDs to include
|
|
49
|
+
*/
|
|
50
|
+
folderIds: Array<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Material IDs to include
|
|
53
|
+
*/
|
|
54
|
+
materialIds: Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Target video length in seconds
|
|
57
|
+
*/
|
|
58
|
+
targetLength: number;
|
|
59
|
+
/**
|
|
60
|
+
* Title for the explainer video
|
|
61
|
+
*/
|
|
62
|
+
title: string;
|
|
63
|
+
/**
|
|
64
|
+
* Enable image search for visuals
|
|
65
|
+
*/
|
|
66
|
+
imageSearch?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* AI model to use
|
|
69
|
+
*/
|
|
70
|
+
model?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Video style
|
|
73
|
+
*/
|
|
74
|
+
style?: string;
|
|
75
|
+
/**
|
|
76
|
+
* User ID
|
|
77
|
+
*/
|
|
78
|
+
userId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Create vertical video format (9:16)
|
|
81
|
+
*/
|
|
82
|
+
verticalVideo?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Enable web search for additional content
|
|
85
|
+
*/
|
|
86
|
+
webSearch?: boolean;
|
|
25
87
|
}
|
|
26
88
|
export interface ExplainerHandleWebhookParams {
|
|
27
|
-
|
|
89
|
+
/**
|
|
90
|
+
* Webhook event type
|
|
91
|
+
*/
|
|
92
|
+
event: 'video.completed' | 'video.progress' | 'video.failed';
|
|
93
|
+
/**
|
|
94
|
+
* Video data
|
|
95
|
+
*/
|
|
96
|
+
video: ExplainerHandleWebhookParams.Video;
|
|
97
|
+
}
|
|
98
|
+
export declare namespace ExplainerHandleWebhookParams {
|
|
99
|
+
/**
|
|
100
|
+
* Video data
|
|
101
|
+
*/
|
|
102
|
+
interface Video {
|
|
103
|
+
/**
|
|
104
|
+
* Video ID
|
|
105
|
+
*/
|
|
106
|
+
id: string;
|
|
107
|
+
/**
|
|
108
|
+
* Image sources
|
|
109
|
+
*/
|
|
110
|
+
imageSources?: unknown;
|
|
111
|
+
/**
|
|
112
|
+
* Progress percentage
|
|
113
|
+
*/
|
|
114
|
+
progress?: number;
|
|
115
|
+
/**
|
|
116
|
+
* Video sections
|
|
117
|
+
*/
|
|
118
|
+
sections?: Array<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Stream ID
|
|
121
|
+
*/
|
|
122
|
+
streamId?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Stream URL
|
|
125
|
+
*/
|
|
126
|
+
streamUrl?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Thumbnail URL
|
|
129
|
+
*/
|
|
130
|
+
thumbnailUrl?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Video transcript
|
|
133
|
+
*/
|
|
134
|
+
transcript?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Video URL
|
|
137
|
+
*/
|
|
138
|
+
videoUrl?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Web search results
|
|
141
|
+
*/
|
|
142
|
+
webSearchResults?: unknown;
|
|
143
|
+
/**
|
|
144
|
+
* Web search sources
|
|
145
|
+
*/
|
|
146
|
+
webSearchSources?: unknown;
|
|
147
|
+
}
|
|
28
148
|
}
|
|
29
149
|
export declare namespace Explainers {
|
|
30
150
|
export { type ExplainerCreateParams as ExplainerCreateParams, type ExplainerHandleWebhookParams as ExplainerHandleWebhookParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explainers.d.ts","sourceRoot":"","sources":["../../src/resources/v1/explainers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"explainers.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,4BAA4B,CAAC,KAAK,CAAC;CAC3C;AAED,yBAAiB,4BAA4B,CAAC;IAC5C;;OAEG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAEzB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAE3B;;WAEG;QACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -4,13 +4,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Explainers = void 0;
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
6
|
const headers_1 = require("../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
8
|
class Explainers extends resource_1.APIResource {
|
|
8
9
|
/**
|
|
9
10
|
* Create explainers component
|
|
10
11
|
*
|
|
11
12
|
* @example
|
|
12
13
|
* ```ts
|
|
13
|
-
* await client.v1.explainers.create(
|
|
14
|
+
* await client.v1.explainers.create({
|
|
15
|
+
* componentId: 'componentId',
|
|
16
|
+
* folderIds: ['string'],
|
|
17
|
+
* materialIds: ['string'],
|
|
18
|
+
* targetLength: 15,
|
|
19
|
+
* title: 'title',
|
|
20
|
+
* });
|
|
14
21
|
* ```
|
|
15
22
|
*/
|
|
16
23
|
create(body, options) {
|
|
@@ -21,17 +28,33 @@ class Explainers extends resource_1.APIResource {
|
|
|
21
28
|
});
|
|
22
29
|
}
|
|
23
30
|
/**
|
|
24
|
-
*
|
|
31
|
+
* Get explainer video by component ID
|
|
25
32
|
*
|
|
26
33
|
* @example
|
|
27
34
|
* ```ts
|
|
28
|
-
* await client.v1.explainers.
|
|
35
|
+
* await client.v1.explainers.retrieve('componentId');
|
|
29
36
|
* ```
|
|
30
37
|
*/
|
|
31
|
-
|
|
32
|
-
|
|
38
|
+
retrieve(componentID, options) {
|
|
39
|
+
return this._client.get((0, path_1.path) `/api/v1/explainers/component/${componentID}`, {
|
|
40
|
+
...options,
|
|
41
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Handle explainer video webhook events
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* await client.v1.explainers.handleWebhook({
|
|
50
|
+
* event: 'video.completed',
|
|
51
|
+
* video: { id: 'id' },
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
handleWebhook(body, options) {
|
|
33
56
|
return this._client.post('/api/v1/explainers/webhook', {
|
|
34
|
-
body
|
|
57
|
+
body,
|
|
35
58
|
...options,
|
|
36
59
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
37
60
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explainers.js","sourceRoot":"","sources":["../../src/resources/v1/explainers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;
|
|
1
|
+
{"version":3,"file":"explainers.js","sourceRoot":"","sources":["../../src/resources/v1/explainers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE;YACpD,IAAI;YACJ,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,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gCAAgC,WAAW,EAAE,EAAE;YACzE,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;;;;;;;;;;OAUG;IACH,aAAa,CAAC,IAAkC,EAAE,OAAwB;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,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;AAxDD,gCAwDC"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
3
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
5
|
export class Explainers extends APIResource {
|
|
5
6
|
/**
|
|
6
7
|
* Create explainers component
|
|
7
8
|
*
|
|
8
9
|
* @example
|
|
9
10
|
* ```ts
|
|
10
|
-
* await client.v1.explainers.create(
|
|
11
|
+
* await client.v1.explainers.create({
|
|
12
|
+
* componentId: 'componentId',
|
|
13
|
+
* folderIds: ['string'],
|
|
14
|
+
* materialIds: ['string'],
|
|
15
|
+
* targetLength: 15,
|
|
16
|
+
* title: 'title',
|
|
17
|
+
* });
|
|
11
18
|
* ```
|
|
12
19
|
*/
|
|
13
20
|
create(body, options) {
|
|
@@ -18,17 +25,33 @@ export class Explainers extends APIResource {
|
|
|
18
25
|
});
|
|
19
26
|
}
|
|
20
27
|
/**
|
|
21
|
-
*
|
|
28
|
+
* Get explainer video by component ID
|
|
22
29
|
*
|
|
23
30
|
* @example
|
|
24
31
|
* ```ts
|
|
25
|
-
* await client.v1.explainers.
|
|
32
|
+
* await client.v1.explainers.retrieve('componentId');
|
|
26
33
|
* ```
|
|
27
34
|
*/
|
|
28
|
-
|
|
29
|
-
|
|
35
|
+
retrieve(componentID, options) {
|
|
36
|
+
return this._client.get(path `/api/v1/explainers/component/${componentID}`, {
|
|
37
|
+
...options,
|
|
38
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Handle explainer video webhook events
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* await client.v1.explainers.handleWebhook({
|
|
47
|
+
* event: 'video.completed',
|
|
48
|
+
* video: { id: 'id' },
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
handleWebhook(body, options) {
|
|
30
53
|
return this._client.post('/api/v1/explainers/webhook', {
|
|
31
|
-
body
|
|
54
|
+
body,
|
|
32
55
|
...options,
|
|
33
56
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
34
57
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explainers.mjs","sourceRoot":"","sources":["../../src/resources/v1/explainers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;
|
|
1
|
+
{"version":3,"file":"explainers.mjs","sourceRoot":"","sources":["../../src/resources/v1/explainers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE;YACpD,IAAI;YACJ,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,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gCAAgC,WAAW,EAAE,EAAE;YACzE,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;;;;;;;;;;OAUG;IACH,aAAa,CAAC,IAAkC,EAAE,OAAwB;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,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"}
|
|
@@ -19,11 +19,10 @@ export declare class Flashcards extends APIResource {
|
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ```ts
|
|
22
|
-
* const response =
|
|
23
|
-
* await client.v1.flashcards.getAlgorithmInfo();
|
|
22
|
+
* const response = await client.v1.flashcards.getAlgorithm();
|
|
24
23
|
* ```
|
|
25
24
|
*/
|
|
26
|
-
|
|
25
|
+
getAlgorithm(options?: RequestOptions): APIPromise<FlashcardGetAlgorithmResponse>;
|
|
27
26
|
/**
|
|
28
27
|
* Get all flashcards for component
|
|
29
28
|
*
|
|
@@ -114,20 +113,20 @@ export declare namespace FlashcardBatchProcessResponse {
|
|
|
114
113
|
result?: unknown;
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
|
-
export interface
|
|
116
|
+
export interface FlashcardGetAlgorithmResponse {
|
|
118
117
|
/**
|
|
119
118
|
* Algorithm name
|
|
120
119
|
*/
|
|
121
120
|
algorithm?: string;
|
|
122
|
-
intervals?:
|
|
121
|
+
intervals?: FlashcardGetAlgorithmResponse.Intervals;
|
|
123
122
|
phases?: {
|
|
124
123
|
[key: string]: string;
|
|
125
124
|
};
|
|
126
125
|
ratings?: {
|
|
127
|
-
[key: string]:
|
|
126
|
+
[key: string]: FlashcardGetAlgorithmResponse.Ratings;
|
|
128
127
|
};
|
|
129
128
|
}
|
|
130
|
-
export declare namespace
|
|
129
|
+
export declare namespace FlashcardGetAlgorithmResponse {
|
|
131
130
|
interface Intervals {
|
|
132
131
|
/**
|
|
133
132
|
* Description of graduated intervals
|
|
@@ -252,6 +251,6 @@ export interface FlashcardRateParams {
|
|
|
252
251
|
userId?: string;
|
|
253
252
|
}
|
|
254
253
|
export declare namespace Flashcards {
|
|
255
|
-
export { type FlashcardBatchProcessResponse as FlashcardBatchProcessResponse, type
|
|
254
|
+
export { type FlashcardBatchProcessResponse as FlashcardBatchProcessResponse, type FlashcardGetAlgorithmResponse as FlashcardGetAlgorithmResponse, type FlashcardGetTypesResponse as FlashcardGetTypesResponse, type FlashcardBatchProcessParams as FlashcardBatchProcessParams, type FlashcardGetAllParams as FlashcardGetAllParams, type FlashcardGetDueParams as FlashcardGetDueParams, type FlashcardGetStatsParams as FlashcardGetStatsParams, type FlashcardRateParams as FlashcardRateParams, };
|
|
256
255
|
}
|
|
257
256
|
//# sourceMappingURL=flashcards.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flashcards.d.mts","sourceRoot":"","sources":["../../src/resources/v1/flashcards.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;OAUG;IACH,YAAY,CACV,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C
|
|
1
|
+
{"version":3,"file":"flashcards.d.mts","sourceRoot":"","sources":["../../src/resources/v1/flashcards.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;OAUG;IACH,YAAY,CACV,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;;;;;OAOG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIjF;;;;;;;OAOG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU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M,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -19,11 +19,10 @@ export declare class Flashcards extends APIResource {
|
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ```ts
|
|
22
|
-
* const response =
|
|
23
|
-
* await client.v1.flashcards.getAlgorithmInfo();
|
|
22
|
+
* const response = await client.v1.flashcards.getAlgorithm();
|
|
24
23
|
* ```
|
|
25
24
|
*/
|
|
26
|
-
|
|
25
|
+
getAlgorithm(options?: RequestOptions): APIPromise<FlashcardGetAlgorithmResponse>;
|
|
27
26
|
/**
|
|
28
27
|
* Get all flashcards for component
|
|
29
28
|
*
|
|
@@ -114,20 +113,20 @@ export declare namespace FlashcardBatchProcessResponse {
|
|
|
114
113
|
result?: unknown;
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
|
-
export interface
|
|
116
|
+
export interface FlashcardGetAlgorithmResponse {
|
|
118
117
|
/**
|
|
119
118
|
* Algorithm name
|
|
120
119
|
*/
|
|
121
120
|
algorithm?: string;
|
|
122
|
-
intervals?:
|
|
121
|
+
intervals?: FlashcardGetAlgorithmResponse.Intervals;
|
|
123
122
|
phases?: {
|
|
124
123
|
[key: string]: string;
|
|
125
124
|
};
|
|
126
125
|
ratings?: {
|
|
127
|
-
[key: string]:
|
|
126
|
+
[key: string]: FlashcardGetAlgorithmResponse.Ratings;
|
|
128
127
|
};
|
|
129
128
|
}
|
|
130
|
-
export declare namespace
|
|
129
|
+
export declare namespace FlashcardGetAlgorithmResponse {
|
|
131
130
|
interface Intervals {
|
|
132
131
|
/**
|
|
133
132
|
* Description of graduated intervals
|
|
@@ -252,6 +251,6 @@ export interface FlashcardRateParams {
|
|
|
252
251
|
userId?: string;
|
|
253
252
|
}
|
|
254
253
|
export declare namespace Flashcards {
|
|
255
|
-
export { type FlashcardBatchProcessResponse as FlashcardBatchProcessResponse, type
|
|
254
|
+
export { type FlashcardBatchProcessResponse as FlashcardBatchProcessResponse, type FlashcardGetAlgorithmResponse as FlashcardGetAlgorithmResponse, type FlashcardGetTypesResponse as FlashcardGetTypesResponse, type FlashcardBatchProcessParams as FlashcardBatchProcessParams, type FlashcardGetAllParams as FlashcardGetAllParams, type FlashcardGetDueParams as FlashcardGetDueParams, type FlashcardGetStatsParams as FlashcardGetStatsParams, type FlashcardRateParams as FlashcardRateParams, };
|
|
256
255
|
}
|
|
257
256
|
//# sourceMappingURL=flashcards.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flashcards.d.ts","sourceRoot":"","sources":["../../src/resources/v1/flashcards.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;OAUG;IACH,YAAY,CACV,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C
|
|
1
|
+
{"version":3,"file":"flashcards.d.ts","sourceRoot":"","sources":["../../src/resources/v1/flashcards.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;OAUG;IACH,YAAY,CACV,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;;;;;OAOG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIjF;;;;;;;OAOG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAQnB;;;;;;;;;OASG;IACH,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQrG;;;;;;;OAOG;IACH,QAAQ,CACN,WAAW,EAAE,MAAM,EACnB,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AAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -25,11 +25,10 @@ class Flashcards extends resource_1.APIResource {
|
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* ```ts
|
|
28
|
-
* const response =
|
|
29
|
-
* await client.v1.flashcards.getAlgorithmInfo();
|
|
28
|
+
* const response = await client.v1.flashcards.getAlgorithm();
|
|
30
29
|
* ```
|
|
31
30
|
*/
|
|
32
|
-
|
|
31
|
+
getAlgorithm(options) {
|
|
33
32
|
return this._client.get('/api/v1/flashcards/algorithm', options);
|
|
34
33
|
}
|
|
35
34
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flashcards.js","sourceRoot":"","sources":["../../src/resources/v1/flashcards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;OAUG;IACH,YAAY,CACV,WAAmB,EACnB,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,sBAAsB,WAAW,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"flashcards.js","sourceRoot":"","sources":["../../src/resources/v1/flashcards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;OAUG;IACH,YAAY,CACV,WAAmB,EACnB,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,sBAAsB,WAAW,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;OAOG;IACH,YAAY,CAAC,OAAwB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,WAAmB,EACnB,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,WAAW,MAAM,EAAE;YACnE,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC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ends APIResource {
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* ```ts
|
|
25
|
-
* const response =
|
|
26
|
-
* await client.v1.flashcards.getAlgorithmInfo();
|
|
25
|
+
* const response = await client.v1.flashcards.getAlgorithm();
|
|
27
26
|
* ```
|
|
28
27
|
*/
|
|
29
|
-
|
|
28
|
+
getAlgorithm(options) {
|
|
30
29
|
return this._client.get('/api/v1/flashcards/algorithm', options);
|
|
31
30
|
}
|
|
32
31
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flashcards.mjs","sourceRoot":"","sources":["../../src/resources/v1/flashcards.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;OAUG;IACH,YAAY,CACV,WAAmB,EACnB,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,sBAAsB,WAAW,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"flashcards.mjs","sourceRoot":"","sources":["../../src/resources/v1/flashcards.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;OAUG;IACH,YAAY,CACV,WAAmB,EACnB,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,sBAAsB,WAAW,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;OAOG;IACH,YAAY,CAAC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CAAC,WAAmB,EAAE,IAAyB,EAAE,OAAwB;QAC3E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,sBAAsB,WAAW,OAAO,EAAE;YACrE,IAAI;YACJ,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"}
|
package/resources/v1/index.d.mts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
export { Admin } from "./admin/index.mjs";
|
|
2
1
|
export { AudioRecaps, type AudioRecapCreateParams, type AudioRecapAskQuestionParams, } from "./audio-recaps/index.mjs";
|
|
3
2
|
export { Auth } from "./auth/index.mjs";
|
|
4
|
-
export { Chat, type
|
|
5
|
-
export { Components, type
|
|
3
|
+
export { Chat, type ChatGetSessionParams, type ChatSendMessageParams, type ChatStreamParams, } from "./chat/index.mjs";
|
|
4
|
+
export { Components, type Component, type ComponentListResponse, type ComponentGenerateEmbedResponse, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentGenerateEmbedParams, } from "./components.mjs";
|
|
6
5
|
export { Embed, type EmbedGetThemeParams, type EmbedVerifyParams } from "./embed/index.mjs";
|
|
7
6
|
export { Explainers, type ExplainerCreateParams, type ExplainerHandleWebhookParams } from "./explainers.mjs";
|
|
8
|
-
export { Flashcards, type FlashcardBatchProcessResponse, type
|
|
7
|
+
export { Flashcards, type FlashcardBatchProcessResponse, type FlashcardGetAlgorithmResponse, type FlashcardGetTypesResponse, type FlashcardBatchProcessParams, type FlashcardGetAllParams, type FlashcardGetDueParams, type FlashcardGetStatsParams, type FlashcardRateParams, } from "./flashcards.mjs";
|
|
9
8
|
export { Folders, type FolderCreateParams, type FolderUpdateParams, type FolderListParams } from "./folders.mjs";
|
|
10
|
-
export { Materials, type
|
|
11
|
-
export {
|
|
12
|
-
export { Scenarios, type ScenarioCreateParams, type ScenarioUpdateParams } from "./scenarios/index.mjs";
|
|
9
|
+
export { Materials, type Material, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials/index.mjs";
|
|
10
|
+
export { Scenarios, type Scenario, type ScenarioCreateParams, type ScenarioUpdateParams, type ScenarioSubmitAnswerParams, } from "./scenarios/index.mjs";
|
|
13
11
|
export { Tests, type TestCreateParams, type TestRetakeParams, type TestSubmitParams, type TestSubmitAnswerParams, } from "./tests/index.mjs";
|
|
14
12
|
export { Upload } from "./upload/index.mjs";
|
|
15
13
|
export { Usage, type UsageGetStatsParams, type UsageGetSummaryParams, type UsageListEventsParams, } from "./usage.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,GACjC;OACM,EAAE,IAAI,EAAE;OACR,EACL,IAAI,EACJ,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB;OACM,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,GAClC;OACM,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,UAAU,EAAE,KAAK,qBAAqB,EAAE,KAAK,4BAA4B,EAAE;OAC7E,EACL,UAAU,EACV,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OACpF,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,GAChC;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,GAC5B;OACM,EAAE,MAAM,EAAE;OACV,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B;OACM,EAAE,EAAE,EAAE"}
|
package/resources/v1/index.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
export { Admin } from "./admin/index.js";
|
|
2
1
|
export { AudioRecaps, type AudioRecapCreateParams, type AudioRecapAskQuestionParams, } from "./audio-recaps/index.js";
|
|
3
2
|
export { Auth } from "./auth/index.js";
|
|
4
|
-
export { Chat, type
|
|
5
|
-
export { Components, type
|
|
3
|
+
export { Chat, type ChatGetSessionParams, type ChatSendMessageParams, type ChatStreamParams, } from "./chat/index.js";
|
|
4
|
+
export { Components, type Component, type ComponentListResponse, type ComponentGenerateEmbedResponse, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentGenerateEmbedParams, } from "./components.js";
|
|
6
5
|
export { Embed, type EmbedGetThemeParams, type EmbedVerifyParams } from "./embed/index.js";
|
|
7
6
|
export { Explainers, type ExplainerCreateParams, type ExplainerHandleWebhookParams } from "./explainers.js";
|
|
8
|
-
export { Flashcards, type FlashcardBatchProcessResponse, type
|
|
7
|
+
export { Flashcards, type FlashcardBatchProcessResponse, type FlashcardGetAlgorithmResponse, type FlashcardGetTypesResponse, type FlashcardBatchProcessParams, type FlashcardGetAllParams, type FlashcardGetDueParams, type FlashcardGetStatsParams, type FlashcardRateParams, } from "./flashcards.js";
|
|
9
8
|
export { Folders, type FolderCreateParams, type FolderUpdateParams, type FolderListParams } from "./folders.js";
|
|
10
|
-
export { Materials, type
|
|
11
|
-
export {
|
|
12
|
-
export { Scenarios, type ScenarioCreateParams, type ScenarioUpdateParams } from "./scenarios/index.js";
|
|
9
|
+
export { Materials, type Material, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials/index.js";
|
|
10
|
+
export { Scenarios, type Scenario, type ScenarioCreateParams, type ScenarioUpdateParams, type ScenarioSubmitAnswerParams, } from "./scenarios/index.js";
|
|
13
11
|
export { Tests, type TestCreateParams, type TestRetakeParams, type TestSubmitParams, type TestSubmitAnswerParams, } from "./tests/index.js";
|
|
14
12
|
export { Upload } from "./upload/index.js";
|
|
15
13
|
export { Usage, type UsageGetStatsParams, type UsageGetSummaryParams, type UsageListEventsParams, } from "./usage.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,GACjC;OACM,EAAE,IAAI,EAAE;OACR,EACL,IAAI,EACJ,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB;OACM,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,GAClC;OACM,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,UAAU,EAAE,KAAK,qBAAqB,EAAE,KAAK,4BAA4B,EAAE;OAC7E,EACL,UAAU,EACV,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OACpF,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,GAChC;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,GAC5B;OACM,EAAE,MAAM,EAAE;OACV,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B;OACM,EAAE,EAAE,EAAE"}
|
package/resources/v1/index.js
CHANGED
|
@@ -1,35 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.V1 = exports.Usage = exports.Upload = exports.Tests = exports.Scenarios = exports.
|
|
5
|
-
var index_1 = require("./
|
|
6
|
-
Object.defineProperty(exports, "
|
|
7
|
-
var index_2 = require("./
|
|
8
|
-
Object.defineProperty(exports, "
|
|
9
|
-
var index_3 = require("./
|
|
10
|
-
Object.defineProperty(exports, "
|
|
11
|
-
var index_4 = require("./chat/index.js");
|
|
12
|
-
Object.defineProperty(exports, "Chat", { enumerable: true, get: function () { return index_4.Chat; } });
|
|
4
|
+
exports.V1 = exports.Usage = exports.Upload = exports.Tests = exports.Scenarios = exports.Materials = exports.Folders = exports.Flashcards = exports.Explainers = exports.Embed = exports.Components = exports.Chat = exports.Auth = exports.AudioRecaps = void 0;
|
|
5
|
+
var index_1 = require("./audio-recaps/index.js");
|
|
6
|
+
Object.defineProperty(exports, "AudioRecaps", { enumerable: true, get: function () { return index_1.AudioRecaps; } });
|
|
7
|
+
var index_2 = require("./auth/index.js");
|
|
8
|
+
Object.defineProperty(exports, "Auth", { enumerable: true, get: function () { return index_2.Auth; } });
|
|
9
|
+
var index_3 = require("./chat/index.js");
|
|
10
|
+
Object.defineProperty(exports, "Chat", { enumerable: true, get: function () { return index_3.Chat; } });
|
|
13
11
|
var components_1 = require("./components.js");
|
|
14
12
|
Object.defineProperty(exports, "Components", { enumerable: true, get: function () { return components_1.Components; } });
|
|
15
|
-
var
|
|
16
|
-
Object.defineProperty(exports, "Embed", { enumerable: true, get: function () { return
|
|
13
|
+
var index_4 = require("./embed/index.js");
|
|
14
|
+
Object.defineProperty(exports, "Embed", { enumerable: true, get: function () { return index_4.Embed; } });
|
|
17
15
|
var explainers_1 = require("./explainers.js");
|
|
18
16
|
Object.defineProperty(exports, "Explainers", { enumerable: true, get: function () { return explainers_1.Explainers; } });
|
|
19
17
|
var flashcards_1 = require("./flashcards.js");
|
|
20
18
|
Object.defineProperty(exports, "Flashcards", { enumerable: true, get: function () { return flashcards_1.Flashcards; } });
|
|
21
19
|
var folders_1 = require("./folders.js");
|
|
22
20
|
Object.defineProperty(exports, "Folders", { enumerable: true, get: function () { return folders_1.Folders; } });
|
|
23
|
-
var
|
|
24
|
-
Object.defineProperty(exports, "Materials", { enumerable: true, get: function () { return
|
|
25
|
-
var
|
|
26
|
-
Object.defineProperty(exports, "
|
|
27
|
-
var
|
|
28
|
-
Object.defineProperty(exports, "
|
|
29
|
-
var
|
|
30
|
-
Object.defineProperty(exports, "
|
|
31
|
-
var index_10 = require("./upload/index.js");
|
|
32
|
-
Object.defineProperty(exports, "Upload", { enumerable: true, get: function () { return index_10.Upload; } });
|
|
21
|
+
var index_5 = require("./materials/index.js");
|
|
22
|
+
Object.defineProperty(exports, "Materials", { enumerable: true, get: function () { return index_5.Materials; } });
|
|
23
|
+
var index_6 = require("./scenarios/index.js");
|
|
24
|
+
Object.defineProperty(exports, "Scenarios", { enumerable: true, get: function () { return index_6.Scenarios; } });
|
|
25
|
+
var index_7 = require("./tests/index.js");
|
|
26
|
+
Object.defineProperty(exports, "Tests", { enumerable: true, get: function () { return index_7.Tests; } });
|
|
27
|
+
var index_8 = require("./upload/index.js");
|
|
28
|
+
Object.defineProperty(exports, "Upload", { enumerable: true, get: function () { return index_8.Upload; } });
|
|
33
29
|
var usage_1 = require("./usage.js");
|
|
34
30
|
Object.defineProperty(exports, "Usage", { enumerable: true, get: function () { return usage_1.Usage; } });
|
|
35
31
|
var v1_1 = require("./v1.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,iDAI8B;AAH5B,oGAAA,WAAW,OAAA;AAIb,yCAAoC;AAA3B,6FAAA,IAAI,OAAA;AACb,yCAKsB;AAJpB,6FAAA,IAAI,OAAA;AAKN,8CASsB;AARpB,wGAAA,UAAU,OAAA;AASZ,0CAAwF;AAA/E,8FAAA,KAAK,OAAA;AACd,8CAAyG;AAAhG,wGAAA,UAAU,OAAA;AACnB,8CAUsB;AATpB,wGAAA,UAAU,OAAA;AAUZ,wCAA6G;AAApG,kGAAA,OAAO,OAAA;AAChB,8CAO2B;AANzB,kGAAA,SAAS,OAAA;AAOX,8CAM2B;AALzB,kGAAA,SAAS,OAAA;AAMX,0CAMuB;AALrB,8FAAA,KAAK,OAAA;AAMP,2CAAwC;AAA/B,+FAAA,MAAM,OAAA;AACf,oCAKiB;AAJf,8FAAA,KAAK,OAAA;AAKP,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
|