Commit 75c4e3e0 authored by Travis Fischer's avatar Travis Fischer

chore: update ts docs

parent d1b74a87
...@@ -49,7 +49,7 @@ An error if it fails. ...@@ -49,7 +49,7 @@ An error if it fails.
#### Defined in #### Defined in
[src/abstract-chatgpt-api.ts:69](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/abstract-chatgpt-api.ts#L69) [src/abstract-chatgpt-api.ts:69](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/abstract-chatgpt-api.ts#L69)
___ ___
...@@ -66,7 +66,7 @@ otherwise. ...@@ -66,7 +66,7 @@ otherwise.
#### Defined in #### Defined in
[src/abstract-chatgpt-api.ts:39](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/abstract-chatgpt-api.ts#L39) [src/abstract-chatgpt-api.ts:39](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/abstract-chatgpt-api.ts#L39)
___ ___
...@@ -87,7 +87,7 @@ An error if the session failed to initialize properly. ...@@ -87,7 +87,7 @@ An error if the session failed to initialize properly.
#### Defined in #### Defined in
[src/abstract-chatgpt-api.ts:10](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/abstract-chatgpt-api.ts#L10) [src/abstract-chatgpt-api.ts:10](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/abstract-chatgpt-api.ts#L10)
___ ___
...@@ -111,7 +111,7 @@ Access credentials for the new session. ...@@ -111,7 +111,7 @@ Access credentials for the new session.
#### Defined in #### Defined in
[src/abstract-chatgpt-api.ts:49](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/abstract-chatgpt-api.ts#L49) [src/abstract-chatgpt-api.ts:49](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/abstract-chatgpt-api.ts#L49)
___ ___
...@@ -135,7 +135,7 @@ Access credentials for the new session. ...@@ -135,7 +135,7 @@ Access credentials for the new session.
#### Defined in #### Defined in
[src/abstract-chatgpt-api.ts:59](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/abstract-chatgpt-api.ts#L59) [src/abstract-chatgpt-api.ts:59](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/abstract-chatgpt-api.ts#L59)
___ ___
...@@ -164,4 +164,4 @@ the `response` text. ...@@ -164,4 +164,4 @@ the `response` text.
#### Defined in #### Defined in
[src/abstract-chatgpt-api.ts:30](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/abstract-chatgpt-api.ts#L30) [src/abstract-chatgpt-api.ts:30](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/abstract-chatgpt-api.ts#L30)
...@@ -64,7 +64,7 @@ to obtain your `clearanceToken`. ...@@ -64,7 +64,7 @@ to obtain your `clearanceToken`.
#### Defined in #### Defined in
[src/chatgpt-api.ts:45](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L45) [src/chatgpt-api.ts:45](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L45)
## Accessors ## Accessors
...@@ -80,7 +80,7 @@ Gets the current Cloudflare clearance token (`cf_clearance` cookie value). ...@@ -80,7 +80,7 @@ Gets the current Cloudflare clearance token (`cf_clearance` cookie value).
#### Defined in #### Defined in
[src/chatgpt-api.ts:143](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L143) [src/chatgpt-api.ts:143](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L143)
___ ___
...@@ -96,7 +96,7 @@ Gets the current session token. ...@@ -96,7 +96,7 @@ Gets the current session token.
#### Defined in #### Defined in
[src/chatgpt-api.ts:138](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L138) [src/chatgpt-api.ts:138](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L138)
___ ___
...@@ -112,7 +112,7 @@ Gets the currently signed-in user, if authenticated, `null` otherwise. ...@@ -112,7 +112,7 @@ Gets the currently signed-in user, if authenticated, `null` otherwise.
#### Defined in #### Defined in
[src/chatgpt-api.ts:133](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L133) [src/chatgpt-api.ts:133](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L133)
___ ___
...@@ -128,7 +128,7 @@ Gets the current user agent. ...@@ -128,7 +128,7 @@ Gets the current user agent.
#### Defined in #### Defined in
[src/chatgpt-api.ts:148](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L148) [src/chatgpt-api.ts:148](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L148)
## Methods ## Methods
...@@ -152,7 +152,7 @@ An error if it fails. ...@@ -152,7 +152,7 @@ An error if it fails.
#### Defined in #### Defined in
[src/chatgpt-api.ts:470](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L470) [src/chatgpt-api.ts:470](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L470)
___ ___
...@@ -173,7 +173,7 @@ the token fails. ...@@ -173,7 +173,7 @@ the token fails.
#### Defined in #### Defined in
[src/chatgpt-api.ts:367](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L367) [src/chatgpt-api.ts:367](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L367)
___ ___
...@@ -194,7 +194,7 @@ is valid. ...@@ -194,7 +194,7 @@ is valid.
#### Defined in #### Defined in
[src/chatgpt-api.ts:156](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L156) [src/chatgpt-api.ts:156](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L156)
___ ___
...@@ -224,7 +224,7 @@ A valid access token ...@@ -224,7 +224,7 @@ A valid access token
#### Defined in #### Defined in
[src/chatgpt-api.ts:386](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L386) [src/chatgpt-api.ts:386](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L386)
___ ___
...@@ -252,7 +252,7 @@ Access credentials for the new session. ...@@ -252,7 +252,7 @@ Access credentials for the new session.
#### Defined in #### Defined in
[src/abstract-chatgpt-api.ts:59](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/abstract-chatgpt-api.ts#L59) [src/abstract-chatgpt-api.ts:59](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/abstract-chatgpt-api.ts#L59)
___ ___
...@@ -287,7 +287,7 @@ The response from ChatGPT ...@@ -287,7 +287,7 @@ The response from ChatGPT
#### Defined in #### Defined in
[src/chatgpt-api.ts:180](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L180) [src/chatgpt-api.ts:180](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L180)
___ ___
...@@ -307,4 +307,4 @@ ___ ...@@ -307,4 +307,4 @@ ___
#### Defined in #### Defined in
[src/chatgpt-api.ts:324](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api.ts#L324) [src/chatgpt-api.ts:324](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api.ts#L324)
...@@ -60,7 +60,7 @@ Creates a new client for automating the ChatGPT webapp. ...@@ -60,7 +60,7 @@ Creates a new client for automating the ChatGPT webapp.
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:38](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L38) [src/chatgpt-api-browser.ts:38](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L38)
## Accessors ## Accessors
...@@ -74,7 +74,7 @@ Creates a new client for automating the ChatGPT webapp. ...@@ -74,7 +74,7 @@ Creates a new client for automating the ChatGPT webapp.
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:541](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L541) [src/chatgpt-api-browser.ts:599](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L599)
## Methods ## Methods
...@@ -94,7 +94,7 @@ Creates a new client for automating the ChatGPT webapp. ...@@ -94,7 +94,7 @@ Creates a new client for automating the ChatGPT webapp.
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:187](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L187) [src/chatgpt-api-browser.ts:204](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L204)
___ ___
...@@ -114,7 +114,7 @@ ___ ...@@ -114,7 +114,7 @@ ___
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:224](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L224) [src/chatgpt-api-browser.ts:241](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L241)
___ ___
...@@ -138,7 +138,7 @@ An error if it fails. ...@@ -138,7 +138,7 @@ An error if it fails.
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:526](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L526) [src/chatgpt-api-browser.ts:574](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L574)
___ ___
...@@ -159,7 +159,7 @@ otherwise. ...@@ -159,7 +159,7 @@ otherwise.
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:316](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L316) [src/chatgpt-api-browser.ts:335](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L335)
___ ___
...@@ -184,7 +184,7 @@ An error if the session failed to initialize properly. ...@@ -184,7 +184,7 @@ An error if the session failed to initialize properly.
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:106](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L106) [src/chatgpt-api-browser.ts:106](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L106)
___ ___
...@@ -204,7 +204,7 @@ Attempts to handle 403 errors by refreshing the page. ...@@ -204,7 +204,7 @@ Attempts to handle 403 errors by refreshing the page.
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:296](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L296) [src/chatgpt-api-browser.ts:313](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L313)
___ ___
...@@ -224,7 +224,7 @@ Attempts to handle 401 errors by re-authenticating. ...@@ -224,7 +224,7 @@ Attempts to handle 401 errors by re-authenticating.
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:277](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L277) [src/chatgpt-api-browser.ts:294](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L294)
___ ___
...@@ -238,7 +238,7 @@ ___ ...@@ -238,7 +238,7 @@ ___
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:518](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L518) [src/chatgpt-api-browser.ts:566](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L566)
___ ___
...@@ -271,4 +271,4 @@ the `response` text. ...@@ -271,4 +271,4 @@ the `response` text.
#### Defined in #### Defined in
[src/chatgpt-api-browser.ts:393](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/chatgpt-api-browser.ts#L393) [src/chatgpt-api-browser.ts:412](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/chatgpt-api-browser.ts#L412)
...@@ -66,7 +66,7 @@ node_modules/.pnpm/typescript@4.9.3/node_modules/typescript/lib/lib.es2022.error ...@@ -66,7 +66,7 @@ node_modules/.pnpm/typescript@4.9.3/node_modules/typescript/lib/lib.es2022.error
#### Defined in #### Defined in
[src/types.ts:297](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L297) [src/types.ts:297](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L297)
___ ___
...@@ -76,7 +76,7 @@ ___ ...@@ -76,7 +76,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:296](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L296) [src/types.ts:296](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L296)
___ ___
...@@ -86,7 +86,7 @@ ___ ...@@ -86,7 +86,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:294](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L294) [src/types.ts:294](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L294)
___ ___
...@@ -96,4 +96,4 @@ ___ ...@@ -96,4 +96,4 @@ ___
#### Defined in #### Defined in
[src/types.ts:295](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L295) [src/types.ts:295](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L295)
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
- [defaultChromeExecutablePath](modules.md#defaultchromeexecutablepath) - [defaultChromeExecutablePath](modules.md#defaultchromeexecutablepath)
- [getBrowser](modules.md#getbrowser) - [getBrowser](modules.md#getbrowser)
- [getOpenAIAuth](modules.md#getopenaiauth) - [getOpenAIAuth](modules.md#getopenaiauth)
- [initializeNopechaExtension](modules.md#initializenopechaextension)
- [isRelevantRequest](modules.md#isrelevantrequest) - [isRelevantRequest](modules.md#isrelevantrequest)
- [markdownToText](modules.md#markdowntotext) - [markdownToText](modules.md#markdowntotext)
- [maximizePage](modules.md#maximizepage) - [maximizePage](modules.md#maximizepage)
...@@ -59,7 +60,7 @@ ...@@ -59,7 +60,7 @@
#### Defined in #### Defined in
[src/types.ts:109](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L109) [src/types.ts:109](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L109)
___ ___
...@@ -80,7 +81,7 @@ ___ ...@@ -80,7 +81,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:300](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L300) [src/types.ts:300](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L300)
___ ___
...@@ -98,7 +99,7 @@ ___ ...@@ -98,7 +99,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:306](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L306) [src/types.ts:306](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L306)
___ ___
...@@ -108,7 +109,7 @@ ___ ...@@ -108,7 +109,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:1](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L1) [src/types.ts:1](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L1)
___ ___
...@@ -130,7 +131,7 @@ https://chat.openapi.com/backend-api/conversation ...@@ -130,7 +131,7 @@ https://chat.openapi.com/backend-api/conversation
#### Defined in #### Defined in
[src/types.ts:134](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L134) [src/types.ts:134](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L134)
___ ___
...@@ -148,7 +149,7 @@ ___ ...@@ -148,7 +149,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:251](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L251) [src/types.ts:251](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L251)
___ ___
...@@ -173,7 +174,7 @@ ___ ...@@ -173,7 +174,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:257](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L257) [src/types.ts:257](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L257)
___ ___
...@@ -183,7 +184,7 @@ ___ ...@@ -183,7 +184,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:276](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L276) [src/types.ts:276](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L276)
___ ___
...@@ -200,7 +201,7 @@ ___ ...@@ -200,7 +201,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:270](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L270) [src/types.ts:270](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L270)
___ ___
...@@ -222,7 +223,7 @@ https://chat.openapi.com/backend-api/conversation/message_feedback ...@@ -222,7 +223,7 @@ https://chat.openapi.com/backend-api/conversation/message_feedback
#### Defined in #### Defined in
[src/types.ts:193](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L193) [src/types.ts:193](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L193)
___ ___
...@@ -232,7 +233,7 @@ ___ ...@@ -232,7 +233,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:249](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L249) [src/types.ts:249](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L249)
___ ___
...@@ -252,7 +253,7 @@ ___ ...@@ -252,7 +253,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:222](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L222) [src/types.ts:222](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L222)
___ ___
...@@ -262,7 +263,7 @@ ___ ...@@ -262,7 +263,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:220](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L220) [src/types.ts:220](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L220)
___ ___
...@@ -272,7 +273,7 @@ ___ ...@@ -272,7 +273,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:275](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L275) [src/types.ts:275](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L275)
___ ___
...@@ -290,7 +291,7 @@ ___ ...@@ -290,7 +291,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:77](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L77) [src/types.ts:77](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L77)
___ ___
...@@ -308,7 +309,7 @@ https://chat.openapi.com/backend-api/models ...@@ -308,7 +309,7 @@ https://chat.openapi.com/backend-api/models
#### Defined in #### Defined in
[src/types.ts:70](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L70) [src/types.ts:70](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L70)
___ ___
...@@ -327,7 +328,7 @@ https://chat.openapi.com/backend-api/moderations ...@@ -327,7 +328,7 @@ https://chat.openapi.com/backend-api/moderations
#### Defined in #### Defined in
[src/types.ts:97](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L97) [src/types.ts:97](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L97)
___ ___
...@@ -347,7 +348,7 @@ https://chat.openapi.com/backend-api/moderations ...@@ -347,7 +348,7 @@ https://chat.openapi.com/backend-api/moderations
#### Defined in #### Defined in
[src/types.ts:114](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L114) [src/types.ts:114](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L114)
___ ___
...@@ -369,7 +370,7 @@ to authenticate with the unofficial ChatGPT API. ...@@ -369,7 +370,7 @@ to authenticate with the unofficial ChatGPT API.
#### Defined in #### Defined in
[src/openai-auth.ts:27](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/openai-auth.ts#L27) [src/openai-auth.ts:28](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/openai-auth.ts#L28)
___ ___
...@@ -387,7 +388,7 @@ ___ ...@@ -387,7 +388,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:161](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L161) [src/types.ts:161](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L161)
___ ___
...@@ -404,7 +405,7 @@ ___ ...@@ -404,7 +405,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:178](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L178) [src/types.ts:178](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L178)
___ ___
...@@ -414,7 +415,7 @@ ___ ...@@ -414,7 +415,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:3](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L3) [src/types.ts:3](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L3)
___ ___
...@@ -424,7 +425,7 @@ ___ ...@@ -424,7 +425,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:288](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L288) [src/types.ts:288](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L288)
___ ___
...@@ -446,7 +447,7 @@ ___ ...@@ -446,7 +447,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:278](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L278) [src/types.ts:278](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L278)
___ ___
...@@ -467,7 +468,7 @@ https://chat.openapi.com/api/auth/session ...@@ -467,7 +468,7 @@ https://chat.openapi.com/api/auth/session
#### Defined in #### Defined in
[src/types.ts:8](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L8) [src/types.ts:8](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L8)
___ ___
...@@ -489,7 +490,7 @@ ___ ...@@ -489,7 +490,7 @@ ___
#### Defined in #### Defined in
[src/types.ts:30](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/types.ts#L30) [src/types.ts:30](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/types.ts#L30)
## Functions ## Functions
...@@ -516,7 +517,7 @@ included them in here. ...@@ -516,7 +517,7 @@ included them in here.
#### Defined in #### Defined in
[src/utils.ts:73](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/utils.ts#L73) [src/utils.ts:73](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/utils.ts#L73)
___ ___
...@@ -532,7 +533,7 @@ Gets the default path to chrome's executable for the current platform. ...@@ -532,7 +533,7 @@ Gets the default path to chrome's executable for the current platform.
#### Defined in #### Defined in
[src/openai-auth.ts:415](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/openai-auth.ts#L415) [src/openai-auth.ts:463](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/openai-auth.ts#L463)
___ ___
...@@ -548,7 +549,7 @@ recognizes it and blocks access. ...@@ -548,7 +549,7 @@ recognizes it and blocks access.
| Name | Type | | Name | Type |
| :------ | :------ | | :------ | :------ |
| `opts` | `PuppeteerLaunchOptions` & { `captchaToken?`: `string` ; `nopechaKey?`: `string` ; `proxyServer?`: `string` } | | `opts` | `PuppeteerLaunchOptions` & { `captchaToken?`: `string` ; `minimize?`: `boolean` ; `nopechaKey?`: `string` ; `proxyServer?`: `string` } |
#### Returns #### Returns
...@@ -556,7 +557,7 @@ recognizes it and blocks access. ...@@ -556,7 +557,7 @@ recognizes it and blocks access.
#### Defined in #### Defined in
[src/openai-auth.ts:241](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/openai-auth.ts#L241) [src/openai-auth.ts:248](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/openai-auth.ts#L248)
___ ___
...@@ -589,6 +590,7 @@ with your updated credentials. ...@@ -589,6 +590,7 @@ with your updated credentials.
| `__namedParameters.executablePath?` | `string` | | `__namedParameters.executablePath?` | `string` |
| `__namedParameters.isGoogleLogin?` | `boolean` | | `__namedParameters.isGoogleLogin?` | `boolean` |
| `__namedParameters.isMicrosoftLogin?` | `boolean` | | `__namedParameters.isMicrosoftLogin?` | `boolean` |
| `__namedParameters.minimize?` | `boolean` |
| `__namedParameters.nopechaKey?` | `string` | | `__namedParameters.nopechaKey?` | `string` |
| `__namedParameters.page?` | `Page` | | `__namedParameters.page?` | `Page` |
| `__namedParameters.password?` | `string` | | `__namedParameters.password?` | `string` |
...@@ -601,7 +603,30 @@ with your updated credentials. ...@@ -601,7 +603,30 @@ with your updated credentials.
#### Defined in #### Defined in
[src/openai-auth.ts:49](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/openai-auth.ts#L49) [src/openai-auth.ts:50](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/openai-auth.ts#L50)
___
### initializeNopechaExtension
**initializeNopechaExtension**(`browser`, `opts`): `Promise`<`void`\>
#### Parameters
| Name | Type |
| :------ | :------ |
| `browser` | `Browser` |
| `opts` | `Object` |
| `opts.minimize?` | `boolean` |
| `opts.nopechaKey?` | `string` |
#### Returns
`Promise`<`void`\>
#### Defined in
[src/openai-auth.ts:373](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/openai-auth.ts#L373)
___ ___
...@@ -621,7 +646,7 @@ ___ ...@@ -621,7 +646,7 @@ ___
#### Defined in #### Defined in
[src/utils.ts:39](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/utils.ts#L39) [src/utils.ts:39](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/utils.ts#L39)
___ ___
...@@ -641,7 +666,7 @@ ___ ...@@ -641,7 +666,7 @@ ___
#### Defined in #### Defined in
[src/utils.ts:12](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/utils.ts#L12) [src/utils.ts:12](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/utils.ts#L12)
___ ___
...@@ -661,7 +686,7 @@ ___ ...@@ -661,7 +686,7 @@ ___
#### Defined in #### Defined in
[src/utils.ts:29](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/utils.ts#L29) [src/utils.ts:29](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/utils.ts#L29)
___ ___
...@@ -681,4 +706,4 @@ ___ ...@@ -681,4 +706,4 @@ ___
#### Defined in #### Defined in
[src/utils.ts:19](https://github.com/transitive-bullshit/chatgpt-api/blob/7222b7f/src/utils.ts#L19) [src/utils.ts:19](https://github.com/transitive-bullshit/chatgpt-api/blob/d1b74a8/src/utils.ts#L19)
...@@ -350,6 +350,8 @@ All of these awesome projects are built using the `chatgpt` package. 🤯 ...@@ -350,6 +350,8 @@ All of these awesome projects are built using the `chatgpt` package. 🤯
- [Electron Bot](https://github.com/ShiranAbir/chaty) - [Electron Bot](https://github.com/ShiranAbir/chaty)
- [Kodyfire CLI](https://github.com/nooqta/chatgpt-kodyfire) - [Kodyfire CLI](https://github.com/nooqta/chatgpt-kodyfire)
- [Twitch Bot](https://github.com/BennyDeeDev/chatgpt-twitch-bot) - [Twitch Bot](https://github.com/BennyDeeDev/chatgpt-twitch-bot)
- [Continuous Conversation](https://github.com/DanielTerletzkiy/chat-gtp-assistant)
- [Figma plugin](https://github.com/frederickk/chatgpt-figma-plugin)
If you create a cool integration, feel free to open a PR and add it to the list. If you create a cool integration, feel free to open a PR and add it to the list.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment