@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,326 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as LogoAPI from "./logo.mjs";
|
|
3
|
+
import { FileUpload, Logo, LogoDeleteParams, LogoDownloadParams, LogoDownloadResponse, LogoUploadParams } from "./logo.mjs";
|
|
4
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
5
|
+
import { PagePromise, SkipLimitPage, type SkipLimitPageParams } from "../../core/pagination.mjs";
|
|
6
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
7
|
+
export declare class Teams extends APIResource {
|
|
8
|
+
logo: LogoAPI.Logo;
|
|
9
|
+
/**
|
|
10
|
+
* Add a new team to the league.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const team = await client.teams.create({
|
|
15
|
+
* culture_score: 70,
|
|
16
|
+
* founded_year: 1895,
|
|
17
|
+
* league: 'Premier League',
|
|
18
|
+
* name: 'West Ham United',
|
|
19
|
+
* stadium: 'London Stadium',
|
|
20
|
+
* values: {
|
|
21
|
+
* primary_value: 'Pride',
|
|
22
|
+
* secondary_values: ['History', 'Community', 'Passion'],
|
|
23
|
+
* team_motto: 'Forever Blowing Bubbles',
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(body: TeamCreateParams, options?: RequestOptions): APIPromise<Team>;
|
|
29
|
+
/**
|
|
30
|
+
* Retrieve detailed information about a specific team.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const team = await client.teams.retrieve('team_id');
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
retrieve(teamID: string, options?: RequestOptions): APIPromise<Team>;
|
|
38
|
+
/**
|
|
39
|
+
* Update specific fields of an existing team.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const team = await client.teams.update('team_id');
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
update(teamID: string, body: TeamUpdateParams, options?: RequestOptions): APIPromise<Team>;
|
|
47
|
+
/**
|
|
48
|
+
* Get a paginated list of all teams with optional filtering by league or culture
|
|
49
|
+
* score.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* // Automatically fetches more pages as needed.
|
|
54
|
+
* for await (const team of client.teams.list()) {
|
|
55
|
+
* // ...
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
list(query?: TeamListParams | null | undefined, options?: RequestOptions): PagePromise<TeamsSkipLimitPage, Team>;
|
|
60
|
+
/**
|
|
61
|
+
* Remove a team from the database (relegation to oblivion).
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* await client.teams.delete('team_id');
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
delete(teamID: string, options?: RequestOptions): APIPromise<void>;
|
|
69
|
+
/**
|
|
70
|
+
* Get detailed culture and values information for a team.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* const response = await client.teams.getCulture('team_id');
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
getCulture(teamID: string, options?: RequestOptions): APIPromise<TeamGetCultureResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Get all rival teams for a specific team.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```ts
|
|
83
|
+
* const teams = await client.teams.getRivals('team_id');
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
getRivals(teamID: string, options?: RequestOptions): APIPromise<TeamGetRivalsResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* List all uploaded logos for a team.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```ts
|
|
92
|
+
* const fileUploads = await client.teams.listLogos('team_id');
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
listLogos(teamID: string, options?: RequestOptions): APIPromise<TeamListLogosResponse>;
|
|
96
|
+
}
|
|
97
|
+
export type TeamsSkipLimitPage = SkipLimitPage<Team>;
|
|
98
|
+
/**
|
|
99
|
+
* Geographic coordinates for a location.
|
|
100
|
+
*/
|
|
101
|
+
export interface GeoLocation {
|
|
102
|
+
/**
|
|
103
|
+
* Latitude in degrees
|
|
104
|
+
*/
|
|
105
|
+
latitude: number;
|
|
106
|
+
/**
|
|
107
|
+
* Longitude in degrees
|
|
108
|
+
*/
|
|
109
|
+
longitude: number;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Football leagues.
|
|
113
|
+
*/
|
|
114
|
+
export type League = 'Premier League' | 'Championship' | 'League One' | 'League Two' | 'La Liga' | 'Serie A' | 'Bundesliga' | 'Ligue 1';
|
|
115
|
+
/**
|
|
116
|
+
* Full team model with ID.
|
|
117
|
+
*/
|
|
118
|
+
export interface Team {
|
|
119
|
+
/**
|
|
120
|
+
* Unique identifier
|
|
121
|
+
*/
|
|
122
|
+
id: string;
|
|
123
|
+
/**
|
|
124
|
+
* Team culture/morale score (0-100)
|
|
125
|
+
*/
|
|
126
|
+
culture_score: number;
|
|
127
|
+
/**
|
|
128
|
+
* Year the club was founded
|
|
129
|
+
*/
|
|
130
|
+
founded_year: number;
|
|
131
|
+
/**
|
|
132
|
+
* Current league
|
|
133
|
+
*/
|
|
134
|
+
league: League;
|
|
135
|
+
/**
|
|
136
|
+
* Team name
|
|
137
|
+
*/
|
|
138
|
+
name: string;
|
|
139
|
+
/**
|
|
140
|
+
* Home stadium name
|
|
141
|
+
*/
|
|
142
|
+
stadium: string;
|
|
143
|
+
/**
|
|
144
|
+
* Team's core values
|
|
145
|
+
*/
|
|
146
|
+
values: TeamValues;
|
|
147
|
+
/**
|
|
148
|
+
* Annual budget in GBP
|
|
149
|
+
*/
|
|
150
|
+
annual_budget_gbp?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* Average match attendance
|
|
153
|
+
*/
|
|
154
|
+
average_attendance?: number | null;
|
|
155
|
+
/**
|
|
156
|
+
* Team contact email
|
|
157
|
+
*/
|
|
158
|
+
contact_email?: string | null;
|
|
159
|
+
/**
|
|
160
|
+
* Whether the team is currently active
|
|
161
|
+
*/
|
|
162
|
+
is_active?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Team nickname
|
|
165
|
+
*/
|
|
166
|
+
nickname?: string | null;
|
|
167
|
+
/**
|
|
168
|
+
* Primary team color (hex)
|
|
169
|
+
*/
|
|
170
|
+
primary_color?: string | null;
|
|
171
|
+
/**
|
|
172
|
+
* List of rival team IDs
|
|
173
|
+
*/
|
|
174
|
+
rival_teams?: Array<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Secondary team color (hex)
|
|
177
|
+
*/
|
|
178
|
+
secondary_color?: string | null;
|
|
179
|
+
/**
|
|
180
|
+
* Geographic coordinates for a location.
|
|
181
|
+
*/
|
|
182
|
+
stadium_location?: GeoLocation | null;
|
|
183
|
+
/**
|
|
184
|
+
* Official team website
|
|
185
|
+
*/
|
|
186
|
+
website?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* Season win percentage
|
|
189
|
+
*/
|
|
190
|
+
win_percentage?: number | null;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Core values that define a team's culture.
|
|
194
|
+
*/
|
|
195
|
+
export interface TeamValues {
|
|
196
|
+
/**
|
|
197
|
+
* The team's primary guiding value
|
|
198
|
+
*/
|
|
199
|
+
primary_value: string;
|
|
200
|
+
/**
|
|
201
|
+
* Supporting values
|
|
202
|
+
*/
|
|
203
|
+
secondary_values: Array<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Team's motivational motto
|
|
206
|
+
*/
|
|
207
|
+
team_motto: string;
|
|
208
|
+
}
|
|
209
|
+
export type TeamGetCultureResponse = {
|
|
210
|
+
[key: string]: unknown;
|
|
211
|
+
};
|
|
212
|
+
export type TeamGetRivalsResponse = Array<Team>;
|
|
213
|
+
export type TeamListLogosResponse = Array<LogoAPI.FileUpload>;
|
|
214
|
+
export interface TeamCreateParams {
|
|
215
|
+
/**
|
|
216
|
+
* Team culture/morale score (0-100)
|
|
217
|
+
*/
|
|
218
|
+
culture_score: number;
|
|
219
|
+
/**
|
|
220
|
+
* Year the club was founded
|
|
221
|
+
*/
|
|
222
|
+
founded_year: number;
|
|
223
|
+
/**
|
|
224
|
+
* Current league
|
|
225
|
+
*/
|
|
226
|
+
league: League;
|
|
227
|
+
/**
|
|
228
|
+
* Team name
|
|
229
|
+
*/
|
|
230
|
+
name: string;
|
|
231
|
+
/**
|
|
232
|
+
* Home stadium name
|
|
233
|
+
*/
|
|
234
|
+
stadium: string;
|
|
235
|
+
/**
|
|
236
|
+
* Team's core values
|
|
237
|
+
*/
|
|
238
|
+
values: TeamValues;
|
|
239
|
+
/**
|
|
240
|
+
* Annual budget in GBP
|
|
241
|
+
*/
|
|
242
|
+
annual_budget_gbp?: number | string | null;
|
|
243
|
+
/**
|
|
244
|
+
* Average match attendance
|
|
245
|
+
*/
|
|
246
|
+
average_attendance?: number | null;
|
|
247
|
+
/**
|
|
248
|
+
* Team contact email
|
|
249
|
+
*/
|
|
250
|
+
contact_email?: string | null;
|
|
251
|
+
/**
|
|
252
|
+
* Whether the team is currently active
|
|
253
|
+
*/
|
|
254
|
+
is_active?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Team nickname
|
|
257
|
+
*/
|
|
258
|
+
nickname?: string | null;
|
|
259
|
+
/**
|
|
260
|
+
* Primary team color (hex)
|
|
261
|
+
*/
|
|
262
|
+
primary_color?: string | null;
|
|
263
|
+
/**
|
|
264
|
+
* List of rival team IDs
|
|
265
|
+
*/
|
|
266
|
+
rival_teams?: Array<string>;
|
|
267
|
+
/**
|
|
268
|
+
* Secondary team color (hex)
|
|
269
|
+
*/
|
|
270
|
+
secondary_color?: string | null;
|
|
271
|
+
/**
|
|
272
|
+
* Geographic coordinates for a location.
|
|
273
|
+
*/
|
|
274
|
+
stadium_location?: GeoLocation | null;
|
|
275
|
+
/**
|
|
276
|
+
* Official team website
|
|
277
|
+
*/
|
|
278
|
+
website?: string | null;
|
|
279
|
+
/**
|
|
280
|
+
* Season win percentage
|
|
281
|
+
*/
|
|
282
|
+
win_percentage?: number | null;
|
|
283
|
+
}
|
|
284
|
+
export interface TeamUpdateParams {
|
|
285
|
+
annual_budget_gbp?: number | string | null;
|
|
286
|
+
average_attendance?: number | null;
|
|
287
|
+
contact_email?: string | null;
|
|
288
|
+
culture_score?: number | null;
|
|
289
|
+
founded_year?: number | null;
|
|
290
|
+
is_active?: boolean | null;
|
|
291
|
+
/**
|
|
292
|
+
* Football leagues.
|
|
293
|
+
*/
|
|
294
|
+
league?: League | null;
|
|
295
|
+
name?: string | null;
|
|
296
|
+
nickname?: string | null;
|
|
297
|
+
primary_color?: string | null;
|
|
298
|
+
rival_teams?: Array<string> | null;
|
|
299
|
+
secondary_color?: string | null;
|
|
300
|
+
stadium?: string | null;
|
|
301
|
+
/**
|
|
302
|
+
* Geographic coordinates for a location.
|
|
303
|
+
*/
|
|
304
|
+
stadium_location?: GeoLocation | null;
|
|
305
|
+
/**
|
|
306
|
+
* Core values that define a team's culture.
|
|
307
|
+
*/
|
|
308
|
+
values?: TeamValues | null;
|
|
309
|
+
website?: string | null;
|
|
310
|
+
win_percentage?: number | null;
|
|
311
|
+
}
|
|
312
|
+
export interface TeamListParams extends SkipLimitPageParams {
|
|
313
|
+
/**
|
|
314
|
+
* Football leagues.
|
|
315
|
+
*/
|
|
316
|
+
league?: League | null;
|
|
317
|
+
/**
|
|
318
|
+
* Minimum culture score
|
|
319
|
+
*/
|
|
320
|
+
min_culture_score?: number | null;
|
|
321
|
+
}
|
|
322
|
+
export declare namespace Teams {
|
|
323
|
+
export { type GeoLocation as GeoLocation, type League as League, type Team as Team, type TeamValues as TeamValues, type TeamGetCultureResponse as TeamGetCultureResponse, type TeamGetRivalsResponse as TeamGetRivalsResponse, type TeamListLogosResponse as TeamListLogosResponse, type TeamsSkipLimitPage as TeamsSkipLimitPage, type TeamCreateParams as TeamCreateParams, type TeamUpdateParams as TeamUpdateParams, type TeamListParams as TeamListParams, };
|
|
324
|
+
export { Logo as Logo, type FileUpload as FileUpload, type LogoDownloadResponse as LogoDownloadResponse, type LogoDeleteParams as LogoDeleteParams, type LogoDownloadParams as LogoDownloadParams, type LogoUploadParams as LogoUploadParams, };
|
|
325
|
+
}
|
|
326
|
+
//# sourceMappingURL=teams.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.d.mts","sourceRoot":"","sources":["../../src/resources/teams/teams.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,UAAU,EACV,IAAI,EACJ,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EACjB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE;OAExD,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAI1E;;;;;;;OAOG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAIpE;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAI1F;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,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AgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as LogoAPI from "./logo.js";
|
|
3
|
+
import { FileUpload, Logo, LogoDeleteParams, LogoDownloadParams, LogoDownloadResponse, LogoUploadParams } from "./logo.js";
|
|
4
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
5
|
+
import { PagePromise, SkipLimitPage, type SkipLimitPageParams } from "../../core/pagination.js";
|
|
6
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
7
|
+
export declare class Teams extends APIResource {
|
|
8
|
+
logo: LogoAPI.Logo;
|
|
9
|
+
/**
|
|
10
|
+
* Add a new team to the league.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const team = await client.teams.create({
|
|
15
|
+
* culture_score: 70,
|
|
16
|
+
* founded_year: 1895,
|
|
17
|
+
* league: 'Premier League',
|
|
18
|
+
* name: 'West Ham United',
|
|
19
|
+
* stadium: 'London Stadium',
|
|
20
|
+
* values: {
|
|
21
|
+
* primary_value: 'Pride',
|
|
22
|
+
* secondary_values: ['History', 'Community', 'Passion'],
|
|
23
|
+
* team_motto: 'Forever Blowing Bubbles',
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(body: TeamCreateParams, options?: RequestOptions): APIPromise<Team>;
|
|
29
|
+
/**
|
|
30
|
+
* Retrieve detailed information about a specific team.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const team = await client.teams.retrieve('team_id');
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
retrieve(teamID: string, options?: RequestOptions): APIPromise<Team>;
|
|
38
|
+
/**
|
|
39
|
+
* Update specific fields of an existing team.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const team = await client.teams.update('team_id');
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
update(teamID: string, body: TeamUpdateParams, options?: RequestOptions): APIPromise<Team>;
|
|
47
|
+
/**
|
|
48
|
+
* Get a paginated list of all teams with optional filtering by league or culture
|
|
49
|
+
* score.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* // Automatically fetches more pages as needed.
|
|
54
|
+
* for await (const team of client.teams.list()) {
|
|
55
|
+
* // ...
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
list(query?: TeamListParams | null | undefined, options?: RequestOptions): PagePromise<TeamsSkipLimitPage, Team>;
|
|
60
|
+
/**
|
|
61
|
+
* Remove a team from the database (relegation to oblivion).
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* await client.teams.delete('team_id');
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
delete(teamID: string, options?: RequestOptions): APIPromise<void>;
|
|
69
|
+
/**
|
|
70
|
+
* Get detailed culture and values information for a team.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* const response = await client.teams.getCulture('team_id');
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
getCulture(teamID: string, options?: RequestOptions): APIPromise<TeamGetCultureResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Get all rival teams for a specific team.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```ts
|
|
83
|
+
* const teams = await client.teams.getRivals('team_id');
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
getRivals(teamID: string, options?: RequestOptions): APIPromise<TeamGetRivalsResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* List all uploaded logos for a team.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```ts
|
|
92
|
+
* const fileUploads = await client.teams.listLogos('team_id');
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
listLogos(teamID: string, options?: RequestOptions): APIPromise<TeamListLogosResponse>;
|
|
96
|
+
}
|
|
97
|
+
export type TeamsSkipLimitPage = SkipLimitPage<Team>;
|
|
98
|
+
/**
|
|
99
|
+
* Geographic coordinates for a location.
|
|
100
|
+
*/
|
|
101
|
+
export interface GeoLocation {
|
|
102
|
+
/**
|
|
103
|
+
* Latitude in degrees
|
|
104
|
+
*/
|
|
105
|
+
latitude: number;
|
|
106
|
+
/**
|
|
107
|
+
* Longitude in degrees
|
|
108
|
+
*/
|
|
109
|
+
longitude: number;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Football leagues.
|
|
113
|
+
*/
|
|
114
|
+
export type League = 'Premier League' | 'Championship' | 'League One' | 'League Two' | 'La Liga' | 'Serie A' | 'Bundesliga' | 'Ligue 1';
|
|
115
|
+
/**
|
|
116
|
+
* Full team model with ID.
|
|
117
|
+
*/
|
|
118
|
+
export interface Team {
|
|
119
|
+
/**
|
|
120
|
+
* Unique identifier
|
|
121
|
+
*/
|
|
122
|
+
id: string;
|
|
123
|
+
/**
|
|
124
|
+
* Team culture/morale score (0-100)
|
|
125
|
+
*/
|
|
126
|
+
culture_score: number;
|
|
127
|
+
/**
|
|
128
|
+
* Year the club was founded
|
|
129
|
+
*/
|
|
130
|
+
founded_year: number;
|
|
131
|
+
/**
|
|
132
|
+
* Current league
|
|
133
|
+
*/
|
|
134
|
+
league: League;
|
|
135
|
+
/**
|
|
136
|
+
* Team name
|
|
137
|
+
*/
|
|
138
|
+
name: string;
|
|
139
|
+
/**
|
|
140
|
+
* Home stadium name
|
|
141
|
+
*/
|
|
142
|
+
stadium: string;
|
|
143
|
+
/**
|
|
144
|
+
* Team's core values
|
|
145
|
+
*/
|
|
146
|
+
values: TeamValues;
|
|
147
|
+
/**
|
|
148
|
+
* Annual budget in GBP
|
|
149
|
+
*/
|
|
150
|
+
annual_budget_gbp?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* Average match attendance
|
|
153
|
+
*/
|
|
154
|
+
average_attendance?: number | null;
|
|
155
|
+
/**
|
|
156
|
+
* Team contact email
|
|
157
|
+
*/
|
|
158
|
+
contact_email?: string | null;
|
|
159
|
+
/**
|
|
160
|
+
* Whether the team is currently active
|
|
161
|
+
*/
|
|
162
|
+
is_active?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Team nickname
|
|
165
|
+
*/
|
|
166
|
+
nickname?: string | null;
|
|
167
|
+
/**
|
|
168
|
+
* Primary team color (hex)
|
|
169
|
+
*/
|
|
170
|
+
primary_color?: string | null;
|
|
171
|
+
/**
|
|
172
|
+
* List of rival team IDs
|
|
173
|
+
*/
|
|
174
|
+
rival_teams?: Array<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Secondary team color (hex)
|
|
177
|
+
*/
|
|
178
|
+
secondary_color?: string | null;
|
|
179
|
+
/**
|
|
180
|
+
* Geographic coordinates for a location.
|
|
181
|
+
*/
|
|
182
|
+
stadium_location?: GeoLocation | null;
|
|
183
|
+
/**
|
|
184
|
+
* Official team website
|
|
185
|
+
*/
|
|
186
|
+
website?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* Season win percentage
|
|
189
|
+
*/
|
|
190
|
+
win_percentage?: number | null;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Core values that define a team's culture.
|
|
194
|
+
*/
|
|
195
|
+
export interface TeamValues {
|
|
196
|
+
/**
|
|
197
|
+
* The team's primary guiding value
|
|
198
|
+
*/
|
|
199
|
+
primary_value: string;
|
|
200
|
+
/**
|
|
201
|
+
* Supporting values
|
|
202
|
+
*/
|
|
203
|
+
secondary_values: Array<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Team's motivational motto
|
|
206
|
+
*/
|
|
207
|
+
team_motto: string;
|
|
208
|
+
}
|
|
209
|
+
export type TeamGetCultureResponse = {
|
|
210
|
+
[key: string]: unknown;
|
|
211
|
+
};
|
|
212
|
+
export type TeamGetRivalsResponse = Array<Team>;
|
|
213
|
+
export type TeamListLogosResponse = Array<LogoAPI.FileUpload>;
|
|
214
|
+
export interface TeamCreateParams {
|
|
215
|
+
/**
|
|
216
|
+
* Team culture/morale score (0-100)
|
|
217
|
+
*/
|
|
218
|
+
culture_score: number;
|
|
219
|
+
/**
|
|
220
|
+
* Year the club was founded
|
|
221
|
+
*/
|
|
222
|
+
founded_year: number;
|
|
223
|
+
/**
|
|
224
|
+
* Current league
|
|
225
|
+
*/
|
|
226
|
+
league: League;
|
|
227
|
+
/**
|
|
228
|
+
* Team name
|
|
229
|
+
*/
|
|
230
|
+
name: string;
|
|
231
|
+
/**
|
|
232
|
+
* Home stadium name
|
|
233
|
+
*/
|
|
234
|
+
stadium: string;
|
|
235
|
+
/**
|
|
236
|
+
* Team's core values
|
|
237
|
+
*/
|
|
238
|
+
values: TeamValues;
|
|
239
|
+
/**
|
|
240
|
+
* Annual budget in GBP
|
|
241
|
+
*/
|
|
242
|
+
annual_budget_gbp?: number | string | null;
|
|
243
|
+
/**
|
|
244
|
+
* Average match attendance
|
|
245
|
+
*/
|
|
246
|
+
average_attendance?: number | null;
|
|
247
|
+
/**
|
|
248
|
+
* Team contact email
|
|
249
|
+
*/
|
|
250
|
+
contact_email?: string | null;
|
|
251
|
+
/**
|
|
252
|
+
* Whether the team is currently active
|
|
253
|
+
*/
|
|
254
|
+
is_active?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Team nickname
|
|
257
|
+
*/
|
|
258
|
+
nickname?: string | null;
|
|
259
|
+
/**
|
|
260
|
+
* Primary team color (hex)
|
|
261
|
+
*/
|
|
262
|
+
primary_color?: string | null;
|
|
263
|
+
/**
|
|
264
|
+
* List of rival team IDs
|
|
265
|
+
*/
|
|
266
|
+
rival_teams?: Array<string>;
|
|
267
|
+
/**
|
|
268
|
+
* Secondary team color (hex)
|
|
269
|
+
*/
|
|
270
|
+
secondary_color?: string | null;
|
|
271
|
+
/**
|
|
272
|
+
* Geographic coordinates for a location.
|
|
273
|
+
*/
|
|
274
|
+
stadium_location?: GeoLocation | null;
|
|
275
|
+
/**
|
|
276
|
+
* Official team website
|
|
277
|
+
*/
|
|
278
|
+
website?: string | null;
|
|
279
|
+
/**
|
|
280
|
+
* Season win percentage
|
|
281
|
+
*/
|
|
282
|
+
win_percentage?: number | null;
|
|
283
|
+
}
|
|
284
|
+
export interface TeamUpdateParams {
|
|
285
|
+
annual_budget_gbp?: number | string | null;
|
|
286
|
+
average_attendance?: number | null;
|
|
287
|
+
contact_email?: string | null;
|
|
288
|
+
culture_score?: number | null;
|
|
289
|
+
founded_year?: number | null;
|
|
290
|
+
is_active?: boolean | null;
|
|
291
|
+
/**
|
|
292
|
+
* Football leagues.
|
|
293
|
+
*/
|
|
294
|
+
league?: League | null;
|
|
295
|
+
name?: string | null;
|
|
296
|
+
nickname?: string | null;
|
|
297
|
+
primary_color?: string | null;
|
|
298
|
+
rival_teams?: Array<string> | null;
|
|
299
|
+
secondary_color?: string | null;
|
|
300
|
+
stadium?: string | null;
|
|
301
|
+
/**
|
|
302
|
+
* Geographic coordinates for a location.
|
|
303
|
+
*/
|
|
304
|
+
stadium_location?: GeoLocation | null;
|
|
305
|
+
/**
|
|
306
|
+
* Core values that define a team's culture.
|
|
307
|
+
*/
|
|
308
|
+
values?: TeamValues | null;
|
|
309
|
+
website?: string | null;
|
|
310
|
+
win_percentage?: number | null;
|
|
311
|
+
}
|
|
312
|
+
export interface TeamListParams extends SkipLimitPageParams {
|
|
313
|
+
/**
|
|
314
|
+
* Football leagues.
|
|
315
|
+
*/
|
|
316
|
+
league?: League | null;
|
|
317
|
+
/**
|
|
318
|
+
* Minimum culture score
|
|
319
|
+
*/
|
|
320
|
+
min_culture_score?: number | null;
|
|
321
|
+
}
|
|
322
|
+
export declare namespace Teams {
|
|
323
|
+
export { type GeoLocation as GeoLocation, type League as League, type Team as Team, type TeamValues as TeamValues, type TeamGetCultureResponse as TeamGetCultureResponse, type TeamGetRivalsResponse as TeamGetRivalsResponse, type TeamListLogosResponse as TeamListLogosResponse, type TeamsSkipLimitPage as TeamsSkipLimitPage, type TeamCreateParams as TeamCreateParams, type TeamUpdateParams as TeamUpdateParams, type TeamListParams as TeamListParams, };
|
|
324
|
+
export { Logo as Logo, type FileUpload as FileUpload, type LogoDownloadResponse as LogoDownloadResponse, type LogoDeleteParams as LogoDeleteParams, type LogoDownloadParams as LogoDownloadParams, type LogoUploadParams as LogoUploadParams, };
|
|
325
|
+
}
|
|
326
|
+
//# sourceMappingURL=teams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../src/resources/teams/teams.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,UAAU,EACV,IAAI,EACJ,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EACjB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE;OAExD,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAI1E;;;;;;;OAOG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAIpE;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAI1F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