@cjavdev/believe 0.2.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 +25 -0
- package/LICENSE +7 -0
- package/README.md +426 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +240 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +240 -0
- package/client.d.ts.map +1 -0
- package/client.js +524 -0
- package/client.js.map +1 -0
- package/client.mjs +520 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +62 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +62 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +108 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +102 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +7 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +7 -0
- package/index.d.ts.map +1 -0
- package/index.js +32 -0
- package/index.js.map +1 -0
- package/index.mjs +8 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +147 -0
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/believe.d.mts +65 -0
- package/resources/believe.d.mts.map +1 -0
- package/resources/believe.d.ts +65 -0
- package/resources/believe.d.ts.map +1 -0
- package/resources/believe.js +24 -0
- package/resources/believe.js.map +1 -0
- package/resources/believe.mjs +20 -0
- package/resources/believe.mjs.map +1 -0
- package/resources/biscuits.d.mts +75 -0
- package/resources/biscuits.d.mts.map +1 -0
- package/resources/biscuits.d.ts +75 -0
- package/resources/biscuits.d.ts.map +1 -0
- package/resources/biscuits.js +50 -0
- package/resources/biscuits.js.map +1 -0
- package/resources/biscuits.mjs +46 -0
- package/resources/biscuits.mjs.map +1 -0
- package/resources/characters.d.mts +297 -0
- package/resources/characters.d.mts.map +1 -0
- package/resources/characters.d.ts +297 -0
- package/resources/characters.d.ts.map +1 -0
- package/resources/characters.js +108 -0
- package/resources/characters.js.map +1 -0
- package/resources/characters.mjs +104 -0
- package/resources/characters.mjs.map +1 -0
- package/resources/coaching/coaching.d.mts +10 -0
- package/resources/coaching/coaching.d.mts.map +1 -0
- package/resources/coaching/coaching.d.ts +10 -0
- package/resources/coaching/coaching.d.ts.map +1 -0
- package/resources/coaching/coaching.js +17 -0
- package/resources/coaching/coaching.js.map +1 -0
- package/resources/coaching/coaching.mjs +12 -0
- package/resources/coaching/coaching.mjs.map +1 -0
- package/resources/coaching/index.d.mts +3 -0
- package/resources/coaching/index.d.mts.map +1 -0
- package/resources/coaching/index.d.ts +3 -0
- package/resources/coaching/index.d.ts.map +1 -0
- package/resources/coaching/index.js +9 -0
- package/resources/coaching/index.js.map +1 -0
- package/resources/coaching/index.mjs +4 -0
- package/resources/coaching/index.mjs.map +1 -0
- package/resources/coaching/principles.d.mts +74 -0
- package/resources/coaching/principles.d.mts.map +1 -0
- package/resources/coaching/principles.d.ts +74 -0
- package/resources/coaching/principles.d.ts.map +1 -0
- package/resources/coaching/principles.js +52 -0
- package/resources/coaching/principles.js.map +1 -0
- package/resources/coaching/principles.mjs +48 -0
- package/resources/coaching/principles.mjs.map +1 -0
- package/resources/coaching.d.mts +2 -0
- package/resources/coaching.d.mts.map +1 -0
- package/resources/coaching.d.ts +2 -0
- package/resources/coaching.d.ts.map +1 -0
- package/resources/coaching.js +6 -0
- package/resources/coaching.js.map +1 -0
- package/resources/coaching.mjs +3 -0
- package/resources/coaching.mjs.map +1 -0
- package/resources/conflicts.d.mts +70 -0
- package/resources/conflicts.d.mts.map +1 -0
- package/resources/conflicts.d.ts +70 -0
- package/resources/conflicts.d.ts.map +1 -0
- package/resources/conflicts.js +25 -0
- package/resources/conflicts.js.map +1 -0
- package/resources/conflicts.mjs +21 -0
- package/resources/conflicts.mjs.map +1 -0
- package/resources/episodes.d.mts +288 -0
- package/resources/episodes.d.mts.map +1 -0
- package/resources/episodes.d.ts +288 -0
- package/resources/episodes.d.ts.map +1 -0
- package/resources/episodes.js +128 -0
- package/resources/episodes.js.map +1 -0
- package/resources/episodes.mjs +124 -0
- package/resources/episodes.mjs.map +1 -0
- package/resources/health.d.mts +14 -0
- package/resources/health.d.mts.map +1 -0
- package/resources/health.d.ts +14 -0
- package/resources/health.d.ts.map +1 -0
- package/resources/health.js +15 -0
- package/resources/health.js.map +1 -0
- package/resources/health.mjs +11 -0
- package/resources/health.mjs.map +1 -0
- package/resources/index.d.mts +19 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +19 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +39 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +19 -0
- package/resources/index.mjs.map +1 -0
- package/resources/matches/commentary.d.mts +22 -0
- package/resources/matches/commentary.d.mts.map +1 -0
- package/resources/matches/commentary.d.ts +22 -0
- package/resources/matches/commentary.d.ts.map +1 -0
- package/resources/matches/commentary.js +24 -0
- package/resources/matches/commentary.js.map +1 -0
- package/resources/matches/commentary.mjs +20 -0
- package/resources/matches/commentary.mjs.map +1 -0
- package/resources/matches/index.d.mts +3 -0
- package/resources/matches/index.d.mts.map +1 -0
- package/resources/matches/index.d.ts +3 -0
- package/resources/matches/index.d.ts.map +1 -0
- package/resources/matches/index.js +9 -0
- package/resources/matches/index.js.map +1 -0
- package/resources/matches/index.mjs +4 -0
- package/resources/matches/index.mjs.map +1 -0
- package/resources/matches/matches.d.mts +291 -0
- package/resources/matches/matches.d.mts.map +1 -0
- package/resources/matches/matches.d.ts +291 -0
- package/resources/matches/matches.d.ts.map +1 -0
- package/resources/matches/matches.js +110 -0
- package/resources/matches/matches.js.map +1 -0
- package/resources/matches/matches.mjs +105 -0
- package/resources/matches/matches.mjs.map +1 -0
- package/resources/matches.d.mts +2 -0
- package/resources/matches.d.mts.map +1 -0
- package/resources/matches.d.ts +2 -0
- package/resources/matches.d.ts.map +1 -0
- package/resources/matches.js +6 -0
- package/resources/matches.js.map +1 -0
- package/resources/matches.mjs +3 -0
- package/resources/matches.mjs.map +1 -0
- package/resources/pep-talk.d.mts +62 -0
- package/resources/pep-talk.d.mts.map +1 -0
- package/resources/pep-talk.d.ts +62 -0
- package/resources/pep-talk.d.ts.map +1 -0
- package/resources/pep-talk.js +22 -0
- package/resources/pep-talk.js.map +1 -0
- package/resources/pep-talk.mjs +18 -0
- package/resources/pep-talk.mjs.map +1 -0
- package/resources/press.d.mts +60 -0
- package/resources/press.d.mts.map +1 -0
- package/resources/press.d.ts +60 -0
- package/resources/press.d.ts.map +1 -0
- package/resources/press.js +23 -0
- package/resources/press.js.map +1 -0
- package/resources/press.mjs +19 -0
- package/resources/press.mjs.map +1 -0
- package/resources/quotes.d.mts +287 -0
- package/resources/quotes.d.mts.map +1 -0
- package/resources/quotes.d.ts +287 -0
- package/resources/quotes.d.ts.map +1 -0
- package/resources/quotes.js +129 -0
- package/resources/quotes.js.map +1 -0
- package/resources/quotes.mjs +125 -0
- package/resources/quotes.mjs.map +1 -0
- package/resources/reframe.d.mts +56 -0
- package/resources/reframe.d.mts.map +1 -0
- package/resources/reframe.d.ts +56 -0
- package/resources/reframe.d.ts.map +1 -0
- package/resources/reframe.js +23 -0
- package/resources/reframe.js.map +1 -0
- package/resources/reframe.mjs +19 -0
- package/resources/reframe.mjs.map +1 -0
- package/resources/stream.d.mts +14 -0
- package/resources/stream.d.mts.map +1 -0
- package/resources/stream.d.ts +14 -0
- package/resources/stream.d.ts.map +1 -0
- package/resources/stream.js +15 -0
- package/resources/stream.js.map +1 -0
- package/resources/stream.mjs +11 -0
- package/resources/stream.mjs.map +1 -0
- package/resources/team-members.d.mts +518 -0
- package/resources/team-members.d.mts.map +1 -0
- package/resources/team-members.d.ts +518 -0
- package/resources/team-members.d.ts.map +1 -0
- package/resources/team-members.js +120 -0
- package/resources/team-members.js.map +1 -0
- package/resources/team-members.mjs +116 -0
- package/resources/team-members.mjs.map +1 -0
- package/resources/teams/index.d.mts +3 -0
- package/resources/teams/index.d.mts.map +1 -0
- package/resources/teams/index.d.ts +3 -0
- package/resources/teams/index.d.ts.map +1 -0
- package/resources/teams/index.js +9 -0
- package/resources/teams/index.js.map +1 -0
- package/resources/teams/index.mjs +4 -0
- package/resources/teams/index.mjs.map +1 -0
- package/resources/teams/logo.d.mts +70 -0
- package/resources/teams/logo.d.mts.map +1 -0
- package/resources/teams/logo.d.ts +70 -0
- package/resources/teams/logo.d.ts.map +1 -0
- package/resources/teams/logo.js +59 -0
- package/resources/teams/logo.js.map +1 -0
- package/resources/teams/logo.mjs +55 -0
- package/resources/teams/logo.mjs.map +1 -0
- package/resources/teams/teams.d.mts +326 -0
- package/resources/teams/teams.d.mts.map +1 -0
- package/resources/teams/teams.d.ts +326 -0
- package/resources/teams/teams.d.ts.map +1 -0
- package/resources/teams/teams.js +126 -0
- package/resources/teams/teams.js.map +1 -0
- package/resources/teams/teams.mjs +121 -0
- package/resources/teams/teams.mjs.map +1 -0
- package/resources/teams.d.mts +2 -0
- package/resources/teams.d.mts.map +1 -0
- package/resources/teams.d.ts +2 -0
- package/resources/teams.d.ts.map +1 -0
- package/resources/teams.js +6 -0
- package/resources/teams.js.map +1 -0
- package/resources/teams.mjs +3 -0
- package/resources/teams.mjs.map +1 -0
- package/resources/top-level.d.mts +5 -0
- package/resources/top-level.d.mts.map +1 -0
- package/resources/top-level.d.ts +5 -0
- package/resources/top-level.d.ts.map +1 -0
- package/resources/top-level.js +4 -0
- package/resources/top-level.js.map +1 -0
- package/resources/top-level.mjs +3 -0
- package/resources/top-level.mjs.map +1 -0
- package/resources/version.d.mts +14 -0
- package/resources/version.d.mts.map +1 -0
- package/resources/version.d.ts +14 -0
- package/resources/version.d.ts.map +1 -0
- package/resources/version.js +15 -0
- package/resources/version.js.map +1 -0
- package/resources/version.mjs +11 -0
- package/resources/version.mjs.map +1 -0
- package/resources/webhooks.d.mts +341 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +341 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +88 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +84 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +1057 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/pagination.ts +176 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +23 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/.keep +4 -0
- package/src/pagination.ts +2 -0
- package/src/resource.ts +2 -0
- package/src/resources/believe.ts +90 -0
- package/src/resources/biscuits.ts +101 -0
- package/src/resources/characters.ts +401 -0
- package/src/resources/coaching/coaching.ts +25 -0
- package/src/resources/coaching/index.ts +9 -0
- package/src/resources/coaching/principles.ts +103 -0
- package/src/resources/coaching.ts +3 -0
- package/src/resources/conflicts.ts +94 -0
- package/src/resources/episodes.ts +390 -0
- package/src/resources/health.ts +20 -0
- package/src/resources/index.ts +116 -0
- package/src/resources/matches/commentary.ts +29 -0
- package/src/resources/matches/index.ts +16 -0
- package/src/resources/matches/matches.ts +391 -0
- package/src/resources/matches.ts +3 -0
- package/src/resources/pep-talk.ts +80 -0
- package/src/resources/press.ts +76 -0
- package/src/resources/quotes.ts +440 -0
- package/src/resources/reframe.ts +74 -0
- package/src/resources/stream.ts +20 -0
- package/src/resources/team-members.ts +718 -0
- package/src/resources/teams/index.ts +24 -0
- package/src/resources/teams/logo.ts +108 -0
- package/src/resources/teams/teams.ts +460 -0
- package/src/resources/teams.ts +3 -0
- package/src/resources/top-level.ts +7 -0
- package/src/resources/version.ts +20 -0
- package/src/resources/webhooks.ts +425 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { PagePromise, SkipLimitPage, type SkipLimitPageParams } from "../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
export declare class Episodes extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Add a new episode to the series.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const episode = await client.episodes.create({
|
|
12
|
+
* air_date: '2020-10-02',
|
|
13
|
+
* character_focus: [
|
|
14
|
+
* 'ted-lasso',
|
|
15
|
+
* 'coach-beard',
|
|
16
|
+
* 'higgins',
|
|
17
|
+
* 'nate',
|
|
18
|
+
* ],
|
|
19
|
+
* director: 'MJ Delaney',
|
|
20
|
+
* episode_number: 8,
|
|
21
|
+
* main_theme:
|
|
22
|
+
* 'The power of vulnerability and male friendship',
|
|
23
|
+
* runtime_minutes: 29,
|
|
24
|
+
* season: 1,
|
|
25
|
+
* synopsis:
|
|
26
|
+
* 'Ted creates a support group for the coaching staff while Rebecca faces a difficult decision about her future.',
|
|
27
|
+
* ted_wisdom:
|
|
28
|
+
* "There's two buttons I never like to hit: that's panic and snooze.",
|
|
29
|
+
* title: 'The Diamond Dogs',
|
|
30
|
+
* writer: 'Jason Sudeikis, Brendan Hunt, Joe Kelly',
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
create(body: EpisodeCreateParams, options?: RequestOptions): APIPromise<Episode>;
|
|
35
|
+
/**
|
|
36
|
+
* Retrieve detailed information about a specific episode.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const episode = await client.episodes.retrieve(
|
|
41
|
+
* 'episode_id',
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
retrieve(episodeID: string, options?: RequestOptions): APIPromise<Episode>;
|
|
46
|
+
/**
|
|
47
|
+
* Update specific fields of an existing episode.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const episode = await client.episodes.update('episode_id');
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
update(episodeID: string, body: EpisodeUpdateParams, options?: RequestOptions): APIPromise<Episode>;
|
|
55
|
+
/**
|
|
56
|
+
* Get a paginated list of all Ted Lasso episodes with optional filtering by
|
|
57
|
+
* season.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* // Automatically fetches more pages as needed.
|
|
62
|
+
* for await (const episode of client.episodes.list()) {
|
|
63
|
+
* // ...
|
|
64
|
+
* }
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
list(query?: EpisodeListParams | null | undefined, options?: RequestOptions): PagePromise<EpisodesSkipLimitPage, Episode>;
|
|
68
|
+
/**
|
|
69
|
+
* Remove an episode from the database.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```ts
|
|
73
|
+
* await client.episodes.delete('episode_id');
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
delete(episodeID: string, options?: RequestOptions): APIPromise<void>;
|
|
77
|
+
/**
|
|
78
|
+
* Get Ted's wisdom and memorable moments from a specific episode.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```ts
|
|
82
|
+
* const response = await client.episodes.getWisdom(
|
|
83
|
+
* 'episode_id',
|
|
84
|
+
* );
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
getWisdom(episodeID: string, options?: RequestOptions): APIPromise<EpisodeGetWisdomResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* Get a paginated list of episodes from a specific season.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```ts
|
|
93
|
+
* // Automatically fetches more pages as needed.
|
|
94
|
+
* for await (const episode of client.episodes.listBySeason(
|
|
95
|
+
* 0,
|
|
96
|
+
* )) {
|
|
97
|
+
* // ...
|
|
98
|
+
* }
|
|
99
|
+
* ```
|
|
100
|
+
*/
|
|
101
|
+
listBySeason(seasonNumber: number, query?: EpisodeListBySeasonParams | null | undefined, options?: RequestOptions): PagePromise<EpisodesSkipLimitPage, Episode>;
|
|
102
|
+
}
|
|
103
|
+
export type EpisodesSkipLimitPage = SkipLimitPage<Episode>;
|
|
104
|
+
/**
|
|
105
|
+
* Full episode model with ID.
|
|
106
|
+
*/
|
|
107
|
+
export interface Episode {
|
|
108
|
+
/**
|
|
109
|
+
* Unique identifier (format: s##e##)
|
|
110
|
+
*/
|
|
111
|
+
id: string;
|
|
112
|
+
/**
|
|
113
|
+
* Original air date
|
|
114
|
+
*/
|
|
115
|
+
air_date: string;
|
|
116
|
+
/**
|
|
117
|
+
* Characters with significant development
|
|
118
|
+
*/
|
|
119
|
+
character_focus: Array<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Episode director
|
|
122
|
+
*/
|
|
123
|
+
director: string;
|
|
124
|
+
/**
|
|
125
|
+
* Episode number within season
|
|
126
|
+
*/
|
|
127
|
+
episode_number: number;
|
|
128
|
+
/**
|
|
129
|
+
* Central theme of the episode
|
|
130
|
+
*/
|
|
131
|
+
main_theme: string;
|
|
132
|
+
/**
|
|
133
|
+
* Episode runtime in minutes
|
|
134
|
+
*/
|
|
135
|
+
runtime_minutes: number;
|
|
136
|
+
/**
|
|
137
|
+
* Season number
|
|
138
|
+
*/
|
|
139
|
+
season: number;
|
|
140
|
+
/**
|
|
141
|
+
* Brief plot synopsis
|
|
142
|
+
*/
|
|
143
|
+
synopsis: string;
|
|
144
|
+
/**
|
|
145
|
+
* Key piece of Ted wisdom from the episode
|
|
146
|
+
*/
|
|
147
|
+
ted_wisdom: string;
|
|
148
|
+
/**
|
|
149
|
+
* Episode title
|
|
150
|
+
*/
|
|
151
|
+
title: string;
|
|
152
|
+
/**
|
|
153
|
+
* Episode writer(s)
|
|
154
|
+
*/
|
|
155
|
+
writer: string;
|
|
156
|
+
/**
|
|
157
|
+
* Notable biscuits with the boss scene
|
|
158
|
+
*/
|
|
159
|
+
biscuits_with_boss_moment?: string | null;
|
|
160
|
+
/**
|
|
161
|
+
* Standout moments from the episode
|
|
162
|
+
*/
|
|
163
|
+
memorable_moments?: Array<string>;
|
|
164
|
+
/**
|
|
165
|
+
* US viewership in millions
|
|
166
|
+
*/
|
|
167
|
+
us_viewers_millions?: number | null;
|
|
168
|
+
/**
|
|
169
|
+
* Viewer rating out of 10
|
|
170
|
+
*/
|
|
171
|
+
viewer_rating?: number | null;
|
|
172
|
+
}
|
|
173
|
+
export interface PaginatedResponse {
|
|
174
|
+
data: Array<Episode>;
|
|
175
|
+
/**
|
|
176
|
+
* Whether there are more items after this page.
|
|
177
|
+
*/
|
|
178
|
+
has_more: boolean;
|
|
179
|
+
limit: number;
|
|
180
|
+
/**
|
|
181
|
+
* Current page number (1-indexed, for display purposes).
|
|
182
|
+
*/
|
|
183
|
+
page: number;
|
|
184
|
+
/**
|
|
185
|
+
* Total number of pages.
|
|
186
|
+
*/
|
|
187
|
+
pages: number;
|
|
188
|
+
skip: number;
|
|
189
|
+
total: number;
|
|
190
|
+
}
|
|
191
|
+
export type EpisodeGetWisdomResponse = {
|
|
192
|
+
[key: string]: unknown;
|
|
193
|
+
};
|
|
194
|
+
export interface EpisodeCreateParams {
|
|
195
|
+
/**
|
|
196
|
+
* Original air date
|
|
197
|
+
*/
|
|
198
|
+
air_date: string;
|
|
199
|
+
/**
|
|
200
|
+
* Characters with significant development
|
|
201
|
+
*/
|
|
202
|
+
character_focus: Array<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Episode director
|
|
205
|
+
*/
|
|
206
|
+
director: string;
|
|
207
|
+
/**
|
|
208
|
+
* Episode number within season
|
|
209
|
+
*/
|
|
210
|
+
episode_number: number;
|
|
211
|
+
/**
|
|
212
|
+
* Central theme of the episode
|
|
213
|
+
*/
|
|
214
|
+
main_theme: string;
|
|
215
|
+
/**
|
|
216
|
+
* Episode runtime in minutes
|
|
217
|
+
*/
|
|
218
|
+
runtime_minutes: number;
|
|
219
|
+
/**
|
|
220
|
+
* Season number
|
|
221
|
+
*/
|
|
222
|
+
season: number;
|
|
223
|
+
/**
|
|
224
|
+
* Brief plot synopsis
|
|
225
|
+
*/
|
|
226
|
+
synopsis: string;
|
|
227
|
+
/**
|
|
228
|
+
* Key piece of Ted wisdom from the episode
|
|
229
|
+
*/
|
|
230
|
+
ted_wisdom: string;
|
|
231
|
+
/**
|
|
232
|
+
* Episode title
|
|
233
|
+
*/
|
|
234
|
+
title: string;
|
|
235
|
+
/**
|
|
236
|
+
* Episode writer(s)
|
|
237
|
+
*/
|
|
238
|
+
writer: string;
|
|
239
|
+
/**
|
|
240
|
+
* Notable biscuits with the boss scene
|
|
241
|
+
*/
|
|
242
|
+
biscuits_with_boss_moment?: string | null;
|
|
243
|
+
/**
|
|
244
|
+
* Standout moments from the episode
|
|
245
|
+
*/
|
|
246
|
+
memorable_moments?: Array<string>;
|
|
247
|
+
/**
|
|
248
|
+
* US viewership in millions
|
|
249
|
+
*/
|
|
250
|
+
us_viewers_millions?: number | null;
|
|
251
|
+
/**
|
|
252
|
+
* Viewer rating out of 10
|
|
253
|
+
*/
|
|
254
|
+
viewer_rating?: number | null;
|
|
255
|
+
}
|
|
256
|
+
export interface EpisodeUpdateParams {
|
|
257
|
+
air_date?: string | null;
|
|
258
|
+
biscuits_with_boss_moment?: string | null;
|
|
259
|
+
character_focus?: Array<string> | null;
|
|
260
|
+
director?: string | null;
|
|
261
|
+
episode_number?: number | null;
|
|
262
|
+
main_theme?: string | null;
|
|
263
|
+
memorable_moments?: Array<string> | null;
|
|
264
|
+
runtime_minutes?: number | null;
|
|
265
|
+
season?: number | null;
|
|
266
|
+
synopsis?: string | null;
|
|
267
|
+
ted_wisdom?: string | null;
|
|
268
|
+
title?: string | null;
|
|
269
|
+
us_viewers_millions?: number | null;
|
|
270
|
+
viewer_rating?: number | null;
|
|
271
|
+
writer?: string | null;
|
|
272
|
+
}
|
|
273
|
+
export interface EpisodeListParams extends SkipLimitPageParams {
|
|
274
|
+
/**
|
|
275
|
+
* Filter by character focus (character ID)
|
|
276
|
+
*/
|
|
277
|
+
character_focus?: string | null;
|
|
278
|
+
/**
|
|
279
|
+
* Filter by season
|
|
280
|
+
*/
|
|
281
|
+
season?: number | null;
|
|
282
|
+
}
|
|
283
|
+
export interface EpisodeListBySeasonParams extends SkipLimitPageParams {
|
|
284
|
+
}
|
|
285
|
+
export declare namespace Episodes {
|
|
286
|
+
export { type Episode as Episode, type PaginatedResponse as PaginatedResponse, type EpisodeGetWisdomResponse as EpisodeGetWisdomResponse, type EpisodesSkipLimitPage as EpisodesSkipLimitPage, type EpisodeCreateParams as EpisodeCreateParams, type EpisodeUpdateParams as EpisodeUpdateParams, type EpisodeListParams as EpisodeListParams, type EpisodeListBySeasonParams as EpisodeListBySeasonParams, };
|
|
287
|
+
}
|
|
288
|
+
//# sourceMappingURL=episodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"episodes.d.ts","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE;OAExD,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAI1E;;;;;;;OAOG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EA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AAI,CAAC;CACxB;AAED,MAAM,WAAW,yBAA0B,SAAQ,mBAAmB;CAAG;AAEzE,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Episodes = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const headers_1 = require("../internal/headers.js");
|
|
8
|
+
const path_1 = require("../internal/utils/path.js");
|
|
9
|
+
class Episodes extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Add a new episode to the series.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const episode = await client.episodes.create({
|
|
16
|
+
* air_date: '2020-10-02',
|
|
17
|
+
* character_focus: [
|
|
18
|
+
* 'ted-lasso',
|
|
19
|
+
* 'coach-beard',
|
|
20
|
+
* 'higgins',
|
|
21
|
+
* 'nate',
|
|
22
|
+
* ],
|
|
23
|
+
* director: 'MJ Delaney',
|
|
24
|
+
* episode_number: 8,
|
|
25
|
+
* main_theme:
|
|
26
|
+
* 'The power of vulnerability and male friendship',
|
|
27
|
+
* runtime_minutes: 29,
|
|
28
|
+
* season: 1,
|
|
29
|
+
* synopsis:
|
|
30
|
+
* 'Ted creates a support group for the coaching staff while Rebecca faces a difficult decision about her future.',
|
|
31
|
+
* ted_wisdom:
|
|
32
|
+
* "There's two buttons I never like to hit: that's panic and snooze.",
|
|
33
|
+
* title: 'The Diamond Dogs',
|
|
34
|
+
* writer: 'Jason Sudeikis, Brendan Hunt, Joe Kelly',
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
create(body, options) {
|
|
39
|
+
return this._client.post('/episodes', { body, ...options });
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Retrieve detailed information about a specific episode.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const episode = await client.episodes.retrieve(
|
|
47
|
+
* 'episode_id',
|
|
48
|
+
* );
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
retrieve(episodeID, options) {
|
|
52
|
+
return this._client.get((0, path_1.path) `/episodes/${episodeID}`, options);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Update specific fields of an existing episode.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* const episode = await client.episodes.update('episode_id');
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
update(episodeID, body, options) {
|
|
63
|
+
return this._client.patch((0, path_1.path) `/episodes/${episodeID}`, { body, ...options });
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get a paginated list of all Ted Lasso episodes with optional filtering by
|
|
67
|
+
* season.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```ts
|
|
71
|
+
* // Automatically fetches more pages as needed.
|
|
72
|
+
* for await (const episode of client.episodes.list()) {
|
|
73
|
+
* // ...
|
|
74
|
+
* }
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
list(query = {}, options) {
|
|
78
|
+
return this._client.getAPIList('/episodes', (pagination_1.SkipLimitPage), { query, ...options });
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Remove an episode from the database.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* await client.episodes.delete('episode_id');
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
delete(episodeID, options) {
|
|
89
|
+
return this._client.delete((0, path_1.path) `/episodes/${episodeID}`, {
|
|
90
|
+
...options,
|
|
91
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Get Ted's wisdom and memorable moments from a specific episode.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```ts
|
|
99
|
+
* const response = await client.episodes.getWisdom(
|
|
100
|
+
* 'episode_id',
|
|
101
|
+
* );
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
getWisdom(episodeID, options) {
|
|
105
|
+
return this._client.get((0, path_1.path) `/episodes/${episodeID}/wisdom`, options);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Get a paginated list of episodes from a specific season.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ```ts
|
|
112
|
+
* // Automatically fetches more pages as needed.
|
|
113
|
+
* for await (const episode of client.episodes.listBySeason(
|
|
114
|
+
* 0,
|
|
115
|
+
* )) {
|
|
116
|
+
* // ...
|
|
117
|
+
* }
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
listBySeason(seasonNumber, query = {}, options) {
|
|
121
|
+
return this._client.getAPIList((0, path_1.path) `/episodes/seasons/${seasonNumber}`, (pagination_1.SkipLimitPage), {
|
|
122
|
+
query,
|
|
123
|
+
...options,
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.Episodes = Episodes;
|
|
128
|
+
//# sourceMappingURL=episodes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+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AE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,SAAS,CAAC,SAAiB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,SAAS,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,YAAY,CACV,YAAoB,EACpB,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAA,WAAI,EAAA,qBAAqB,YAAY,EAAE,EAAE,CAAA,0BAAsB,CAAA,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAlID,4BAkIC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { SkipLimitPage } from "../core/pagination.mjs";
|
|
4
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
5
|
+
import { path } from "../internal/utils/path.mjs";
|
|
6
|
+
export class Episodes extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Add a new episode to the series.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const episode = await client.episodes.create({
|
|
13
|
+
* air_date: '2020-10-02',
|
|
14
|
+
* character_focus: [
|
|
15
|
+
* 'ted-lasso',
|
|
16
|
+
* 'coach-beard',
|
|
17
|
+
* 'higgins',
|
|
18
|
+
* 'nate',
|
|
19
|
+
* ],
|
|
20
|
+
* director: 'MJ Delaney',
|
|
21
|
+
* episode_number: 8,
|
|
22
|
+
* main_theme:
|
|
23
|
+
* 'The power of vulnerability and male friendship',
|
|
24
|
+
* runtime_minutes: 29,
|
|
25
|
+
* season: 1,
|
|
26
|
+
* synopsis:
|
|
27
|
+
* 'Ted creates a support group for the coaching staff while Rebecca faces a difficult decision about her future.',
|
|
28
|
+
* ted_wisdom:
|
|
29
|
+
* "There's two buttons I never like to hit: that's panic and snooze.",
|
|
30
|
+
* title: 'The Diamond Dogs',
|
|
31
|
+
* writer: 'Jason Sudeikis, Brendan Hunt, Joe Kelly',
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
create(body, options) {
|
|
36
|
+
return this._client.post('/episodes', { body, ...options });
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Retrieve detailed information about a specific episode.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const episode = await client.episodes.retrieve(
|
|
44
|
+
* 'episode_id',
|
|
45
|
+
* );
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
retrieve(episodeID, options) {
|
|
49
|
+
return this._client.get(path `/episodes/${episodeID}`, options);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Update specific fields of an existing episode.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const episode = await client.episodes.update('episode_id');
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
update(episodeID, body, options) {
|
|
60
|
+
return this._client.patch(path `/episodes/${episodeID}`, { body, ...options });
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Get a paginated list of all Ted Lasso episodes with optional filtering by
|
|
64
|
+
* season.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* // Automatically fetches more pages as needed.
|
|
69
|
+
* for await (const episode of client.episodes.list()) {
|
|
70
|
+
* // ...
|
|
71
|
+
* }
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
list(query = {}, options) {
|
|
75
|
+
return this._client.getAPIList('/episodes', (SkipLimitPage), { query, ...options });
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Remove an episode from the database.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```ts
|
|
82
|
+
* await client.episodes.delete('episode_id');
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
delete(episodeID, options) {
|
|
86
|
+
return this._client.delete(path `/episodes/${episodeID}`, {
|
|
87
|
+
...options,
|
|
88
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Get Ted's wisdom and memorable moments from a specific episode.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ```ts
|
|
96
|
+
* const response = await client.episodes.getWisdom(
|
|
97
|
+
* 'episode_id',
|
|
98
|
+
* );
|
|
99
|
+
* ```
|
|
100
|
+
*/
|
|
101
|
+
getWisdom(episodeID, options) {
|
|
102
|
+
return this._client.get(path `/episodes/${episodeID}/wisdom`, options);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Get a paginated list of episodes from a specific season.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```ts
|
|
109
|
+
* // Automatically fetches more pages as needed.
|
|
110
|
+
* for await (const episode of client.episodes.listBySeason(
|
|
111
|
+
* 0,
|
|
112
|
+
* )) {
|
|
113
|
+
* // ...
|
|
114
|
+
* }
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
listBySeason(seasonNumber, query = {}, options) {
|
|
118
|
+
return this._client.getAPIList(path `/episodes/seasons/${seasonNumber}`, (SkipLimitPage), {
|
|
119
|
+
query,
|
|
120
|
+
...options,
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
//# sourceMappingURL=episodes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"episodes.mjs","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":"AAAA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AAC;IAED;;;;;;;;;OASG;IACH,SAAS,CAAC,SAAiB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,SAAS,SAAS,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,YAAY,CACV,YAAoB,EACpB,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAA,qBAAqB,YAAY,EAAE,EAAE,CAAA,aAAsB,CAAA,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class Health extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Check if the API is running and healthy.
|
|
7
|
+
*/
|
|
8
|
+
check(options?: RequestOptions): APIPromise<unknown>;
|
|
9
|
+
}
|
|
10
|
+
export type HealthCheckResponse = unknown;
|
|
11
|
+
export declare namespace Health {
|
|
12
|
+
export { type HealthCheckResponse as HealthCheckResponse };
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=health.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.d.mts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;CAGrD;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAE1C,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Health extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Check if the API is running and healthy.
|
|
7
|
+
*/
|
|
8
|
+
check(options?: RequestOptions): APIPromise<unknown>;
|
|
9
|
+
}
|
|
10
|
+
export type HealthCheckResponse = unknown;
|
|
11
|
+
export declare namespace Health {
|
|
12
|
+
export { type HealthCheckResponse as HealthCheckResponse };
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=health.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;CAGrD;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAE1C,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Health = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class Health extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Check if the API is running and healthy.
|
|
9
|
+
*/
|
|
10
|
+
check(options) {
|
|
11
|
+
return this._client.get('/health', options);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.Health = Health;
|
|
15
|
+
//# sourceMappingURL=health.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.js","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAwB;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF;AAPD,wBAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class Health extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Check if the API is running and healthy.
|
|
6
|
+
*/
|
|
7
|
+
check(options) {
|
|
8
|
+
return this._client.get('/health', options);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=health.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.mjs","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAwB;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { BelieveResource, type BelieveSubmitResponse, type BelieveSubmitParams } from "./believe.mjs";
|
|
2
|
+
export { Biscuits, type Biscuit, type BiscuitListParams, type BiscuitsSkipLimitPage } from "./biscuits.mjs";
|
|
3
|
+
export { Characters, type Character, type CharacterRole, type EmotionalStats, type GrowthArc, type CharacterGetQuotesResponse, type CharacterCreateParams, type CharacterUpdateParams, type CharacterListParams, type CharactersSkipLimitPage, } from "./characters.mjs";
|
|
4
|
+
export { Coaching } from "./coaching/coaching.mjs";
|
|
5
|
+
export { Conflicts, type ConflictResolveResponse, type ConflictResolveParams } from "./conflicts.mjs";
|
|
6
|
+
export { Episodes, type Episode, type PaginatedResponse, type EpisodeGetWisdomResponse, type EpisodeCreateParams, type EpisodeUpdateParams, type EpisodeListParams, type EpisodeListBySeasonParams, type EpisodesSkipLimitPage, } from "./episodes.mjs";
|
|
7
|
+
export { Health, type HealthCheckResponse } from "./health.mjs";
|
|
8
|
+
export { Matches, type Match, type MatchResult, type MatchType, type TurningPoint, type MatchGetLessonResponse, type MatchGetTurningPointsResponse, type MatchCreateParams, type MatchUpdateParams, type MatchListParams, type MatchesSkipLimitPage, } from "./matches/matches.mjs";
|
|
9
|
+
export { PepTalk, type PepTalkRetrieveResponse, type PepTalkRetrieveParams } from "./pep-talk.mjs";
|
|
10
|
+
export { Press, type PressSimulateResponse, type PressSimulateParams } from "./press.mjs";
|
|
11
|
+
export { Quotes, type PaginatedResponseQuote, type Quote, type QuoteMoment, type QuoteTheme, type QuoteCreateParams, type QuoteUpdateParams, type QuoteListParams, type QuoteGetRandomParams, type QuoteListByCharacterParams, type QuoteListByThemeParams, type QuotesSkipLimitPage, } from "./quotes.mjs";
|
|
12
|
+
export { Reframe, type ReframeTransformNegativeThoughtsResponse, type ReframeTransformNegativeThoughtsParams, } from "./reframe.mjs";
|
|
13
|
+
export { Stream, type StreamTestConnectionResponse } from "./stream.mjs";
|
|
14
|
+
export { TeamMembers, type Coach, type CoachSpecialty, type EquipmentManager, type MedicalSpecialty, type MedicalStaff, type Player, type Position, type TeamMemberCreateResponse, type TeamMemberRetrieveResponse, type TeamMemberUpdateResponse, type TeamMemberListResponse, type TeamMemberListStaffResponse, type TeamMemberCreateParams, type TeamMemberUpdateParams, type TeamMemberListParams, type TeamMemberListCoachesParams, type TeamMemberListPlayersParams, type TeamMemberListStaffParams, type TeamMemberListResponsesSkipLimitPage, type CoachesSkipLimitPage, type PlayersSkipLimitPage, type TeamMemberListStaffResponsesSkipLimitPage, } from "./team-members.mjs";
|
|
15
|
+
export { Teams, type GeoLocation, type League, type Team, type TeamValues, type TeamGetCultureResponse, type TeamGetRivalsResponse, type TeamListLogosResponse, type TeamCreateParams, type TeamUpdateParams, type TeamListParams, type TeamsSkipLimitPage, } from "./teams/teams.mjs";
|
|
16
|
+
export { Version, type VersionRetrieveResponse } from "./version.mjs";
|
|
17
|
+
export { Webhooks, type RegisteredWebhook, type WebhookCreateResponse, type WebhookListResponse, type WebhookDeleteResponse, type WebhookTriggerEventResponse, type WebhookCreateParams, type WebhookTriggerEventParams, } from "./webhooks.mjs";
|
|
18
|
+
export { type GetWelcomeResponse } from "./top-level.mjs";
|
|
19
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OACzE,EAAE,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,qBAAqB,EAAE;OAC9E,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,GAC7B;OACM,EAAE,QAAQ,EAAE;OACZ,EAAE,SAAS,EAAE,KAAK,uBAAuB,EAAE,KAAK,qBAAqB,EAAE;OACvE,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KA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