@studyfetch/sdk 1.11.0 → 1.13.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 +20 -0
- package/README.md +364 -1
- package/package.json +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 +17 -155
- package/resources/v1/components.d.mts.map +1 -1
- package/resources/v1/components.d.ts +17 -155
- package/resources/v1/components.d.ts.map +1 -1
- package/resources/v1/components.js +4 -2
- package/resources/v1/components.js.map +1 -1
- package/resources/v1/components.mjs +4 -2
- package/resources/v1/components.mjs.map +1 -1
- package/resources/v1/explainers.d.mts +9 -0
- package/resources/v1/explainers.d.mts.map +1 -1
- package/resources/v1/explainers.d.ts +9 -0
- package/resources/v1/explainers.d.ts.map +1 -1
- package/resources/v1/explainers.js +15 -0
- package/resources/v1/explainers.js.map +1 -1
- package/resources/v1/explainers.mjs +15 -0
- 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 -8
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +5 -8
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +15 -21
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +0 -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/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.map +1 -1
- package/resources/v1/scenarios/scenarios.d.mts +54 -4
- package/resources/v1/scenarios/scenarios.d.mts.map +1 -1
- package/resources/v1/scenarios/scenarios.d.ts +54 -4
- package/resources/v1/scenarios/scenarios.d.ts.map +1 -1
- package/resources/v1/scenarios/scenarios.js +2 -2
- package/resources/v1/scenarios/scenarios.js.map +1 -1
- package/resources/v1/scenarios/scenarios.mjs +2 -2
- 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 -25
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +13 -25
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +4 -16
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +4 -16
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/chat/chat.ts +4 -8
- package/src/resources/v1/chat/index.ts +1 -6
- package/src/resources/v1/components.ts +21 -222
- package/src/resources/v1/explainers.ts +16 -0
- package/src/resources/v1/flashcards.ts +7 -8
- package/src/resources/v1/index.ts +8 -13
- 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/index.ts +2 -1
- package/src/resources/v1/scenarios/scenarios.ts +67 -4
- package/src/resources/v1/scenarios/submissions/user.ts +8 -6
- package/src/resources/v1/v1.ts +38 -60
- 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/auth.d.mts +0 -29
- package/resources/v1/auth/auth.d.mts.map +0 -1
- package/resources/v1/auth/auth.d.ts +0 -29
- package/resources/v1/auth/auth.d.ts.map +0 -1
- package/resources/v1/auth/auth.js +0 -40
- package/resources/v1/auth/auth.js.map +0 -1
- package/resources/v1/auth/auth.mjs +0 -35
- package/resources/v1/auth/auth.mjs.map +0 -1
- package/resources/v1/auth/index.d.mts +0 -5
- package/resources/v1/auth/index.d.mts.map +0 -1
- package/resources/v1/auth/index.d.ts +0 -5
- package/resources/v1/auth/index.d.ts.map +0 -1
- package/resources/v1/auth/index.js +0 -13
- package/resources/v1/auth/index.js.map +0 -1
- package/resources/v1/auth/index.mjs +0 -6
- package/resources/v1/auth/index.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/number-2fa.d.mts +0 -24
- package/resources/v1/auth/number-2fa.d.mts.map +0 -1
- package/resources/v1/auth/number-2fa.d.ts +0 -24
- package/resources/v1/auth/number-2fa.d.ts.map +0 -1
- package/resources/v1/auth/number-2fa.js +0 -25
- package/resources/v1/auth/number-2fa.js.map +0 -1
- package/resources/v1/auth/number-2fa.mjs +0 -21
- package/resources/v1/auth/number-2fa.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/auth.d.mts +0 -2
- package/resources/v1/auth.d.mts.map +0 -1
- package/resources/v1/auth.d.ts +0 -2
- package/resources/v1/auth.d.ts.map +0 -1
- package/resources/v1/auth.js +0 -6
- package/resources/v1/auth.js.map +0 -1
- package/resources/v1/auth.mjs +0 -3
- package/resources/v1/auth.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/auth.ts +0 -46
- package/src/resources/v1/auth/index.ts +0 -6
- package/src/resources/v1/auth/login.ts +0 -5
- package/src/resources/v1/auth/number-2fa.ts +0 -35
- package/src/resources/v1/auth/organization-invites.ts +0 -5
- package/src/resources/v1/auth.ts +0 -3
- 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
|
@@ -17,6 +17,15 @@ export declare class Explainers extends APIResource {
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
create(body: ExplainerCreateParams, options?: RequestOptions): APIPromise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Get explainer video by component ID
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* await client.v1.explainers.retrieve('componentId');
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
retrieve(componentID: string, options?: RequestOptions): APIPromise<void>;
|
|
20
29
|
/**
|
|
21
30
|
* Handle explainer video webhook events
|
|
22
31
|
*
|
|
@@ -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,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO9F;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE3B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,KAAK,EAAE,iBAAiB,GAAG,gBAAgB,GAAG,cAAc,CAAC;IAE7D;;OAEG;IACH,KAAK,EAAE,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"}
|
|
@@ -17,6 +17,15 @@ export declare class Explainers extends APIResource {
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
create(body: ExplainerCreateParams, options?: RequestOptions): APIPromise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Get explainer video by component ID
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* await client.v1.explainers.retrieve('componentId');
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
retrieve(componentID: string, options?: RequestOptions): APIPromise<void>;
|
|
20
29
|
/**
|
|
21
30
|
* Handle explainer video webhook events
|
|
22
31
|
*
|
|
@@ -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.d.ts","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,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO9F;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE3B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,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|
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
|
|
@@ -26,6 +27,20 @@ class Explainers extends resource_1.APIResource {
|
|
|
26
27
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
27
28
|
});
|
|
28
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Get explainer video by component ID
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* await client.v1.explainers.retrieve('componentId');
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
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
|
+
}
|
|
29
44
|
/**
|
|
30
45
|
* Handle explainer video webhook events
|
|
31
46
|
*
|
|
@@ -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,6 +1,7 @@
|
|
|
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
|
|
@@ -23,6 +24,20 @@ export class Explainers extends APIResource {
|
|
|
23
24
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
24
25
|
});
|
|
25
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Get explainer video by component ID
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* await client.v1.explainers.retrieve('componentId');
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
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
|
+
}
|
|
26
41
|
/**
|
|
27
42
|
* Handle explainer video webhook events
|
|
28
43
|
*
|
|
@@ -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;;;;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,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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ED,MAAM,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"}
|
|
@@ -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,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AAE;YACrE,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;AAxHD,gCAwHC"}
|
|
@@ -22,11 +22,10 @@ export class Flashcards extends 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;I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AAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,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,12 @@
|
|
|
1
|
-
export { Admin } from "./admin/index.mjs";
|
|
2
1
|
export { AudioRecaps, type AudioRecapCreateParams, type AudioRecapAskQuestionParams, } from "./audio-recaps/index.mjs";
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export { Components, type ComponentCreateResponse, type ComponentRetrieveResponse, type ComponentUpdateResponse, type ComponentListResponse, type ComponentEmbedResponse, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentEmbedParams, } from "./components.mjs";
|
|
2
|
+
export { Chat, type ChatGetSessionParams, type ChatSendMessageParams, type ChatStreamParams, } from "./chat/index.mjs";
|
|
3
|
+
export { Components, type Component, type ComponentListResponse, type ComponentGenerateEmbedResponse, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentGenerateEmbedParams, } from "./components.mjs";
|
|
6
4
|
export { Embed, type EmbedGetThemeParams, type EmbedVerifyParams } from "./embed/index.mjs";
|
|
7
5
|
export { Explainers, type ExplainerCreateParams, type ExplainerHandleWebhookParams } from "./explainers.mjs";
|
|
8
|
-
export { Flashcards, type FlashcardBatchProcessResponse, type
|
|
6
|
+
export { Flashcards, type FlashcardBatchProcessResponse, type FlashcardGetAlgorithmResponse, type FlashcardGetTypesResponse, type FlashcardBatchProcessParams, type FlashcardGetAllParams, type FlashcardGetDueParams, type FlashcardGetStatsParams, type FlashcardRateParams, } from "./flashcards.mjs";
|
|
9
7
|
export { Folders, type FolderCreateParams, type FolderUpdateParams, type FolderListParams } from "./folders.mjs";
|
|
10
|
-
export { Materials, type
|
|
11
|
-
export {
|
|
12
|
-
export { Scenarios, type ScenarioCreateParams, type ScenarioUpdateParams, type ScenarioSubmitParams, } from "./scenarios/index.mjs";
|
|
8
|
+
export { Materials, type Material, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials/index.mjs";
|
|
9
|
+
export { Scenarios, type Scenario, type ScenarioCreateParams, type ScenarioUpdateParams, type ScenarioSubmitAnswerParams, } from "./scenarios/index.mjs";
|
|
13
10
|
export { Tests, type TestCreateParams, type TestRetakeParams, type TestSubmitParams, type TestSubmitAnswerParams, } from "./tests/index.mjs";
|
|
14
11
|
export { Upload } from "./upload/index.mjs";
|
|
15
12
|
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,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,12 @@
|
|
|
1
|
-
export { Admin } from "./admin/index.js";
|
|
2
1
|
export { AudioRecaps, type AudioRecapCreateParams, type AudioRecapAskQuestionParams, } from "./audio-recaps/index.js";
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export { Components, type ComponentCreateResponse, type ComponentRetrieveResponse, type ComponentUpdateResponse, type ComponentListResponse, type ComponentEmbedResponse, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentEmbedParams, } from "./components.js";
|
|
2
|
+
export { Chat, type ChatGetSessionParams, type ChatSendMessageParams, type ChatStreamParams, } from "./chat/index.js";
|
|
3
|
+
export { Components, type Component, type ComponentListResponse, type ComponentGenerateEmbedResponse, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentGenerateEmbedParams, } from "./components.js";
|
|
6
4
|
export { Embed, type EmbedGetThemeParams, type EmbedVerifyParams } from "./embed/index.js";
|
|
7
5
|
export { Explainers, type ExplainerCreateParams, type ExplainerHandleWebhookParams } from "./explainers.js";
|
|
8
|
-
export { Flashcards, type FlashcardBatchProcessResponse, type
|
|
6
|
+
export { Flashcards, type FlashcardBatchProcessResponse, type FlashcardGetAlgorithmResponse, type FlashcardGetTypesResponse, type FlashcardBatchProcessParams, type FlashcardGetAllParams, type FlashcardGetDueParams, type FlashcardGetStatsParams, type FlashcardRateParams, } from "./flashcards.js";
|
|
9
7
|
export { Folders, type FolderCreateParams, type FolderUpdateParams, type FolderListParams } from "./folders.js";
|
|
10
|
-
export { Materials, type
|
|
11
|
-
export {
|
|
12
|
-
export { Scenarios, type ScenarioCreateParams, type ScenarioUpdateParams, type ScenarioSubmitParams, } from "./scenarios/index.js";
|
|
8
|
+
export { Materials, type Material, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials/index.js";
|
|
9
|
+
export { Scenarios, type Scenario, type ScenarioCreateParams, type ScenarioUpdateParams, type ScenarioSubmitAnswerParams, } from "./scenarios/index.js";
|
|
13
10
|
export { Tests, type TestCreateParams, type TestRetakeParams, type TestSubmitParams, type TestSubmitAnswerParams, } from "./tests/index.js";
|
|
14
11
|
export { Upload } from "./upload/index.js";
|
|
15
12
|
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,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,29 @@
|
|
|
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("./auth/index.js");
|
|
10
|
-
Object.defineProperty(exports, "Auth", { enumerable: true, get: function () { return index_3.Auth; } });
|
|
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.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("./chat/index.js");
|
|
8
|
+
Object.defineProperty(exports, "Chat", { enumerable: true, get: function () { return index_2.Chat; } });
|
|
13
9
|
var components_1 = require("./components.js");
|
|
14
10
|
Object.defineProperty(exports, "Components", { enumerable: true, get: function () { return components_1.Components; } });
|
|
15
|
-
var
|
|
16
|
-
Object.defineProperty(exports, "Embed", { enumerable: true, get: function () { return
|
|
11
|
+
var index_3 = require("./embed/index.js");
|
|
12
|
+
Object.defineProperty(exports, "Embed", { enumerable: true, get: function () { return index_3.Embed; } });
|
|
17
13
|
var explainers_1 = require("./explainers.js");
|
|
18
14
|
Object.defineProperty(exports, "Explainers", { enumerable: true, get: function () { return explainers_1.Explainers; } });
|
|
19
15
|
var flashcards_1 = require("./flashcards.js");
|
|
20
16
|
Object.defineProperty(exports, "Flashcards", { enumerable: true, get: function () { return flashcards_1.Flashcards; } });
|
|
21
17
|
var folders_1 = require("./folders.js");
|
|
22
18
|
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; } });
|
|
19
|
+
var index_4 = require("./materials/index.js");
|
|
20
|
+
Object.defineProperty(exports, "Materials", { enumerable: true, get: function () { return index_4.Materials; } });
|
|
21
|
+
var index_5 = require("./scenarios/index.js");
|
|
22
|
+
Object.defineProperty(exports, "Scenarios", { enumerable: true, get: function () { return index_5.Scenarios; } });
|
|
23
|
+
var index_6 = require("./tests/index.js");
|
|
24
|
+
Object.defineProperty(exports, "Tests", { enumerable: true, get: function () { return index_6.Tests; } });
|
|
25
|
+
var index_7 = require("./upload/index.js");
|
|
26
|
+
Object.defineProperty(exports, "Upload", { enumerable: true, get: function () { return index_7.Upload; } });
|
|
33
27
|
var usage_1 = require("./usage.js");
|
|
34
28
|
Object.defineProperty(exports, "Usage", { enumerable: true, get: function () { return usage_1.Usage; } });
|
|
35
29
|
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,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"}
|
package/resources/v1/index.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export { Admin } from "./admin/index.mjs";
|
|
3
2
|
export { AudioRecaps, } from "./audio-recaps/index.mjs";
|
|
4
|
-
export { Auth } from "./auth/index.mjs";
|
|
5
3
|
export { Chat, } from "./chat/index.mjs";
|
|
6
4
|
export { Components, } from "./components.mjs";
|
|
7
5
|
export { Embed } from "./embed/index.mjs";
|
|
@@ -9,7 +7,6 @@ export { Explainers } from "./explainers.mjs";
|
|
|
9
7
|
export { Flashcards, } from "./flashcards.mjs";
|
|
10
8
|
export { Folders } from "./folders.mjs";
|
|
11
9
|
export { Materials, } from "./materials/index.mjs";
|
|
12
|
-
export { Organizations } from "./organizations/index.mjs";
|
|
13
10
|
export { Scenarios, } from "./scenarios/index.mjs";
|
|
14
11
|
export { Tests, } from "./tests/index.mjs";
|
|
15
12
|
export { Upload } from "./upload/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAGZ;OACM,EACL,IAAI,GAIL;OACM,EACL,UAAU,GAQX;OACM,EAAE,KAAK,EAAoD;OAC3D,EAAE,UAAU,EAAiE;OAC7E,EACL,UAAU,GASX;OACM,EAAE,OAAO,EAA2E;OACpF,EACL,SAAS,GAMV;OACM,EACL,SAAS,GAKV;OACM,EACL,KAAK,GAKN;OACM,EAAE,MAAM,EAAE;OACV,EACL,KAAK,GAIN;OACM,EAAE,EAAE,EAAE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Bulk } from "./bulk.mjs";
|
|
2
|
-
export { Materials, type
|
|
2
|
+
export { Materials, type Material, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials.mjs";
|
|
3
3
|
export { Test } from "./test.mjs";
|
|
4
|
-
export { Upload, type
|
|
4
|
+
export { Upload, type UploadUploadFileParams, type UploadUploadFromURLParams } from "./upload.mjs";
|
|
5
5
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,SAAS,EACT,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EAAE,IAAI,EAAE;OACR,EAAE,MAAM,EAAE,KAAK,sBAAsB,EAAE,KAAK,yBAAyB,EAAE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Bulk } from "./bulk.js";
|
|
2
|
-
export { Materials, type
|
|
2
|
+
export { Materials, type Material, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials.js";
|
|
3
3
|
export { Test } from "./test.js";
|
|
4
|
-
export { Upload, type
|
|
4
|
+
export { Upload, type UploadUploadFileParams, type UploadUploadFromURLParams } from "./upload.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,SAAS,EACT,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EAAE,IAAI,EAAE;OACR,EAAE,MAAM,EAAE,KAAK,sBAAsB,EAAE,KAAK,yBAAyB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,4CAOqB;AANnB,sGAAA,SAAS,OAAA;AAOX,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,sCAA+F;AAAtF,gGAAA,MAAM,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EACL,SAAS,GAMV;OACM,EAAE,IAAI,EAAE;OACR,EAAE,MAAM,EAA+D"}
|