Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
docs: remove ts usage from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
justinemmanuelmercado committed Jun 30, 2020
1 parent 50d53a9 commit 76ccb91
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 18 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ $ npm i -s @scaleleap/amazon-mws-api-sdk
import {
amazonMarketplaces,
HttpClient,
MWSOptions,
Sellers,
Orders
} from '@scaleleap/amazon-mws-api-sdk'

const mwsOptions: MWSOptions = {
const mwsOptions = {
marketplace: amazonMarketplaces.US,
awsAccessKeyId: '',
mwsAuthToken: '',
Expand Down
3 changes: 1 addition & 2 deletions examples/fulfillment-inventory/list-inventory-supply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
HttpClient,
InventorySupplyList,
ListInventorySupplyRequestParameters,
MWSOptions,
RequestMeta,
ResponseGroup,
} from '@scaleleap/amazon-mws-api-sdk'
Expand All @@ -27,7 +26,7 @@ import {
* Configure the HttpClient
*/

const mwsOptions: MWSOptions = {
const mwsOptions = {
marketplace: amazonMarketplaces.US,
awsAccessKeyId: '',
mwsAuthToken: '',
Expand Down
6 changes: 2 additions & 4 deletions examples/get-service-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
/**
* import from '@scaleleap/amazon-mws-api-sdk'
*/
import { amazonMarketplaces, HttpClient, MWSOptions, Sellers } from '@scaleleap/amazon-mws-api-sdk'

import { ServiceStatus } from '../src/parsing'
import { amazonMarketplaces, HttpClient, Sellers } from '@scaleleap/amazon-mws-api-sdk'

/**
* Configure the HttpClient
*/

const mwsOptions: MWSOptions = {
const mwsOptions = {
marketplace: amazonMarketplaces.US,
awsAccessKeyId: '',
mwsAuthToken: '',
Expand Down
3 changes: 1 addition & 2 deletions examples/orders/list-orders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
HttpClient,
ListOrderParameters,
ListOrders,
MWSOptions,
Orders,
OrderStatus,
PaymentMethod,
Expand All @@ -28,7 +27,7 @@ import {
* Configure the HttpClient
*/

const mwsOptions: MWSOptions = {
const mwsOptions = {
marketplace: amazonMarketplaces.US,
awsAccessKeyId: '',
mwsAuthToken: '',
Expand Down
10 changes: 2 additions & 8 deletions examples/using-next-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,13 @@
/**
* import from '@scaleleap/amazon-mws-api-sdk'
*/
import {
amazonMarketplaces,
HttpClient,
MWSOptions,
NextToken,
Sellers,
} from '@scaleleap/amazon-mws-api-sdk'
import { amazonMarketplaces, HttpClient, NextToken, Sellers } from '@scaleleap/amazon-mws-api-sdk'

/**
* Configure the HttpClient
*/

const mwsOptions: MWSOptions = {
const mwsOptions = {
marketplace: amazonMarketplaces.US,
awsAccessKeyId: '',
mwsAuthToken: '',
Expand Down

0 comments on commit 76ccb91

Please sign in to comment.