chore(docs): Generated JS Client Reference (#5334)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
378ca1b36e
commit
daea35fe73
@@ -0,0 +1,294 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Class: Axios
|
||||
|
||||
[internal](../modules/internal-12.md).Axios
|
||||
|
||||
## Hierarchy
|
||||
|
||||
- **`Axios`**
|
||||
|
||||
↳ [`AxiosInstance`](../interfaces/internal-12.AxiosInstance.md)
|
||||
|
||||
## Properties
|
||||
|
||||
### defaults
|
||||
|
||||
• **defaults**: [`AxiosDefaults`](../interfaces/internal-12.AxiosDefaults.md)<`any`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:171
|
||||
|
||||
___
|
||||
|
||||
### interceptors
|
||||
|
||||
• **interceptors**: `Object`
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `request` | [`AxiosInterceptorManager`](../interfaces/internal-12.AxiosInterceptorManager.md)<`AxiosRequestConfig`<`any`\>\> |
|
||||
| `response` | [`AxiosInterceptorManager`](../interfaces/internal-12.AxiosInterceptorManager.md)<[`AxiosResponse`](../interfaces/internal-12.AxiosResponse.md)<`any`, `any`\>\> |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:172
|
||||
|
||||
## Methods
|
||||
|
||||
### delete
|
||||
|
||||
▸ **delete**<`T`, `R`, `D`\>(`url`, `config?`): `Promise`<`R`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `any` |
|
||||
| `R` | [`AxiosResponse`](../interfaces/internal-12.AxiosResponse.md)<`T`, `any`\> |
|
||||
| `D` | `any` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `url` | `string` |
|
||||
| `config?` | `AxiosRequestConfig`<`D`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`R`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:179
|
||||
|
||||
___
|
||||
|
||||
### get
|
||||
|
||||
▸ **get**<`T`, `R`, `D`\>(`url`, `config?`): `Promise`<`R`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `any` |
|
||||
| `R` | [`AxiosResponse`](../interfaces/internal-12.AxiosResponse.md)<`T`, `any`\> |
|
||||
| `D` | `any` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `url` | `string` |
|
||||
| `config?` | `AxiosRequestConfig`<`D`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`R`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:178
|
||||
|
||||
___
|
||||
|
||||
### getUri
|
||||
|
||||
▸ **getUri**(`config?`): `string`
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `config?` | `AxiosRequestConfig`<`any`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`string`
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:176
|
||||
|
||||
___
|
||||
|
||||
### head
|
||||
|
||||
▸ **head**<`T`, `R`, `D`\>(`url`, `config?`): `Promise`<`R`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `any` |
|
||||
| `R` | [`AxiosResponse`](../interfaces/internal-12.AxiosResponse.md)<`T`, `any`\> |
|
||||
| `D` | `any` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `url` | `string` |
|
||||
| `config?` | `AxiosRequestConfig`<`D`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`R`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:180
|
||||
|
||||
___
|
||||
|
||||
### options
|
||||
|
||||
▸ **options**<`T`, `R`, `D`\>(`url`, `config?`): `Promise`<`R`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `any` |
|
||||
| `R` | [`AxiosResponse`](../interfaces/internal-12.AxiosResponse.md)<`T`, `any`\> |
|
||||
| `D` | `any` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `url` | `string` |
|
||||
| `config?` | `AxiosRequestConfig`<`D`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`R`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:181
|
||||
|
||||
___
|
||||
|
||||
### patch
|
||||
|
||||
▸ **patch**<`T`, `R`, `D`\>(`url`, `data?`, `config?`): `Promise`<`R`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `any` |
|
||||
| `R` | [`AxiosResponse`](../interfaces/internal-12.AxiosResponse.md)<`T`, `any`\> |
|
||||
| `D` | `any` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `url` | `string` |
|
||||
| `data?` | `D` |
|
||||
| `config?` | `AxiosRequestConfig`<`D`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`R`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:184
|
||||
|
||||
___
|
||||
|
||||
### post
|
||||
|
||||
▸ **post**<`T`, `R`, `D`\>(`url`, `data?`, `config?`): `Promise`<`R`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `any` |
|
||||
| `R` | [`AxiosResponse`](../interfaces/internal-12.AxiosResponse.md)<`T`, `any`\> |
|
||||
| `D` | `any` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `url` | `string` |
|
||||
| `data?` | `D` |
|
||||
| `config?` | `AxiosRequestConfig`<`D`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`R`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:182
|
||||
|
||||
___
|
||||
|
||||
### put
|
||||
|
||||
▸ **put**<`T`, `R`, `D`\>(`url`, `data?`, `config?`): `Promise`<`R`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `any` |
|
||||
| `R` | [`AxiosResponse`](../interfaces/internal-12.AxiosResponse.md)<`T`, `any`\> |
|
||||
| `D` | `any` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `url` | `string` |
|
||||
| `data?` | `D` |
|
||||
| `config?` | `AxiosRequestConfig`<`D`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`R`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:183
|
||||
|
||||
___
|
||||
|
||||
### request
|
||||
|
||||
▸ **request**<`T`, `R`, `D`\>(`config`): `Promise`<`R`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `any` |
|
||||
| `R` | [`AxiosResponse`](../interfaces/internal-12.AxiosResponse.md)<`T`, `any`\> |
|
||||
| `D` | `any` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `config` | `AxiosRequestConfig`<`D`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`R`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:177
|
||||
Reference in New Issue
Block a user