Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Dec 11, 2024
1 parent e1790dd commit 51c5462
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 59 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@credal/sdk",
"version": "0.0.17",
"version": "0.0.18",
"private": false,
"repository": "https://github.com/credal-ai/credal-typescript-sdk",
"main": "./index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/actions/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export class Actions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
36 changes: 18 additions & 18 deletions src/api/resources/copilots/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export class Copilots {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -129,8 +129,8 @@ export class Copilots {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -201,8 +201,8 @@ export class Copilots {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -271,8 +271,8 @@ export class Copilots {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -331,8 +331,8 @@ export class Copilots {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -411,8 +411,8 @@ export class Copilots {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -475,8 +475,8 @@ export class Copilots {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -549,8 +549,8 @@ export class Copilots {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -610,8 +610,8 @@ export class Copilots {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/documentCatalog/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export class DocumentCatalog {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -125,8 +125,8 @@ export class DocumentCatalog {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -214,8 +214,8 @@ export class DocumentCatalog {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
24 changes: 12 additions & 12 deletions src/api/resources/documentCollections/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export class DocumentCollections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -135,8 +135,8 @@ export class DocumentCollections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -205,8 +205,8 @@ export class DocumentCollections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -273,8 +273,8 @@ export class DocumentCollections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -357,8 +357,8 @@ export class DocumentCollections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -443,8 +443,8 @@ export class DocumentCollections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/permissionsService/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ export class PermissionsService {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -137,8 +137,8 @@ export class PermissionsService {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -207,8 +207,8 @@ export class PermissionsService {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/search/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export class Search {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/users/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export class Users {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@credal/sdk",
"X-Fern-SDK-Version": "0.0.17",
"User-Agent": "@credal/sdk/0.0.17",
"X-Fern-SDK-Version": "0.0.18",
"User-Agent": "@credal/sdk/0.0.18",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SDK_VERSION = "0.0.17";
export const SDK_VERSION = "0.0.18";
56 changes: 47 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ call-bind-apply-helpers@^1.0.0:
es-errors "^1.3.0"
function-bind "^1.1.2"

call-bind@^1.0.7:
call-bind@^1.0.8:
version "1.0.8"
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.8.tgz#0736a9660f537e3388826f440d5ec45f744eaa4c"
integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==
Expand All @@ -1086,6 +1086,14 @@ call-bind@^1.0.7:
get-intrinsic "^1.2.4"
set-function-length "^1.2.2"

call-bound@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.2.tgz#9dbd4daf9f5f753bec3e4c8fbb8a2ecc4de6c39b"
integrity sha512-0lk0PHFe/uz0vl527fG9CgdE9WdafjDbCXvBbs+LUv000TVt2Jjhqbs4Jwm8gz070w8xXyEAxrPOMullsxXeGg==
dependencies:
call-bind "^1.0.8"
get-intrinsic "^1.2.5"

callsites@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
Expand Down Expand Up @@ -1543,7 +1551,7 @@ get-caller-file@^2.0.5:
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==

get-intrinsic@^1.2.4:
get-intrinsic@^1.2.4, get-intrinsic@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.5.tgz#dfe7dd1b30761b464fe51bf4bb00ac7c37b681e7"
integrity sha512-Y4+pKa7XeRUPWFNvOOYHkRYrfzW07oraURSvjDmRVOJ748OrVmeXtpE4+GCEHncjCjkTxPNRt8kEbxDhsn6VTg==
Expand Down Expand Up @@ -2400,7 +2408,7 @@ nwsapi@^2.2.2:
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.16.tgz#177760bba02c351df1d2644e220c31dfec8cdb43"
integrity sha512-F1I/bimDpj3ncaNDhfyMWuFqmQDBwDB0Fogc2qpL3BWvkQteFD/8BzWuIRl83rq0DXfm8SGt/HFhLXZyljTXcQ==

object-inspect@^1.13.1:
object-inspect@^1.13.3:
version "1.13.3"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.3.tgz#f14c183de51130243d6d18ae149375ff50ea488a"
integrity sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==
Expand Down Expand Up @@ -2706,15 +2714,45 @@ shebang-regex@^3.0.0:
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==

side-channel-list@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad"
integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==
dependencies:
es-errors "^1.3.0"
object-inspect "^1.13.3"

side-channel-map@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/side-channel-map/-/side-channel-map-1.0.1.tgz#d6bb6b37902c6fef5174e5f533fab4c732a26f42"
integrity sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==
dependencies:
call-bound "^1.0.2"
es-errors "^1.3.0"
get-intrinsic "^1.2.5"
object-inspect "^1.13.3"

side-channel-weakmap@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz#11dda19d5368e40ce9ec2bdc1fb0ecbc0790ecea"
integrity sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==
dependencies:
call-bound "^1.0.2"
es-errors "^1.3.0"
get-intrinsic "^1.2.5"
object-inspect "^1.13.3"
side-channel-map "^1.0.1"

side-channel@^1.0.4:
version "1.0.6"
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2"
integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==
version "1.1.0"
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.0.tgz#c3fcff9c4da932784873335ec9765fa94ff66bc9"
integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==
dependencies:
call-bind "^1.0.7"
es-errors "^1.3.0"
get-intrinsic "^1.2.4"
object-inspect "^1.13.1"
object-inspect "^1.13.3"
side-channel-list "^1.0.0"
side-channel-map "^1.0.1"
side-channel-weakmap "^1.0.2"

signal-exit@^3.0.3, signal-exit@^3.0.7:
version "3.0.7"
Expand Down

0 comments on commit 51c5462

Please sign in to comment.