ebay-api 1.13.4 → 6.0.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.
Files changed (218) hide show
  1. package/LICENSE +18 -19
  2. package/README.md +512 -118
  3. package/lib/api/apiFactory.d.ts +27 -0
  4. package/lib/api/apiFactory.js +100 -0
  5. package/lib/api/apiFactory.js.map +1 -0
  6. package/lib/api/base.d.ts +13 -0
  7. package/lib/api/base.js +25 -0
  8. package/lib/api/base.js.map +1 -0
  9. package/lib/api/index.d.ts +11 -0
  10. package/lib/api/index.js +18 -0
  11. package/lib/api/index.js.map +1 -0
  12. package/lib/api/restful/buy/browse/index.d.ts +84 -0
  13. package/lib/api/restful/buy/browse/index.js +142 -0
  14. package/lib/api/restful/buy/browse/index.js.map +1 -0
  15. package/lib/api/restful/buy/deal/index.d.ts +55 -0
  16. package/lib/api/restful/buy/deal/index.js +80 -0
  17. package/lib/api/restful/buy/deal/index.js.map +1 -0
  18. package/lib/api/restful/buy/feed/index.d.ts +43 -0
  19. package/lib/api/restful/buy/feed/index.js +85 -0
  20. package/lib/api/restful/buy/feed/index.js.map +1 -0
  21. package/lib/api/restful/buy/index.d.ts +17 -0
  22. package/lib/api/restful/buy/index.js +21 -0
  23. package/lib/api/restful/buy/index.js.map +1 -0
  24. package/lib/api/restful/buy/marketing/index.d.ts +27 -0
  25. package/lib/api/restful/buy/marketing/index.js +51 -0
  26. package/lib/api/restful/buy/marketing/index.js.map +1 -0
  27. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +28 -0
  28. package/lib/api/restful/buy/marketplaceInsights/index.js +51 -0
  29. package/lib/api/restful/buy/marketplaceInsights/index.js.map +1 -0
  30. package/lib/api/restful/buy/offer/index.d.ts +23 -0
  31. package/lib/api/restful/buy/offer/index.js +37 -0
  32. package/lib/api/restful/buy/offer/index.js.map +1 -0
  33. package/lib/api/restful/buy/order/index.d.ts +264 -0
  34. package/lib/api/restful/buy/order/index.js +369 -0
  35. package/lib/api/restful/buy/order/index.js.map +1 -0
  36. package/lib/api/restful/commerce/catalog/index.d.ts +73 -0
  37. package/lib/api/restful/commerce/catalog/index.js +108 -0
  38. package/lib/api/restful/commerce/catalog/index.js.map +1 -0
  39. package/lib/api/restful/commerce/charity/index.d.ts +34 -0
  40. package/lib/api/restful/commerce/charity/index.js +56 -0
  41. package/lib/api/restful/commerce/charity/index.js.map +1 -0
  42. package/lib/api/restful/commerce/identity/index.d.ts +14 -0
  43. package/lib/api/restful/commerce/identity/index.js +27 -0
  44. package/lib/api/restful/commerce/identity/index.js.map +1 -0
  45. package/lib/api/restful/commerce/index.d.ts +15 -0
  46. package/lib/api/restful/commerce/index.js +19 -0
  47. package/lib/api/restful/commerce/index.js.map +1 -0
  48. package/lib/api/restful/commerce/notification/index.d.ts +117 -0
  49. package/lib/api/restful/commerce/notification/index.js +187 -0
  50. package/lib/api/restful/commerce/notification/index.js.map +1 -0
  51. package/lib/api/restful/commerce/taxonomy/index.d.ts +78 -0
  52. package/lib/api/restful/commerce/taxonomy/index.js +135 -0
  53. package/lib/api/restful/commerce/taxonomy/index.js.map +1 -0
  54. package/lib/api/restful/commerce/translation/index.d.ts +15 -0
  55. package/lib/api/restful/commerce/translation/index.js +25 -0
  56. package/lib/api/restful/commerce/translation/index.js.map +1 -0
  57. package/lib/api/restful/developer/analytics/index.d.ts +22 -0
  58. package/lib/api/restful/developer/analytics/index.js +45 -0
  59. package/lib/api/restful/developer/analytics/index.js.map +1 -0
  60. package/lib/api/restful/developer/index.d.ts +5 -0
  61. package/lib/api/restful/developer/index.js +9 -0
  62. package/lib/api/restful/developer/index.js.map +1 -0
  63. package/lib/api/restful/index.d.ts +63 -0
  64. package/lib/api/restful/index.js +165 -0
  65. package/lib/api/restful/index.js.map +1 -0
  66. package/lib/api/restful/postOrder/cancellation/index.d.ts +57 -0
  67. package/lib/api/restful/postOrder/cancellation/index.js +95 -0
  68. package/lib/api/restful/postOrder/cancellation/index.js.map +1 -0
  69. package/lib/api/restful/postOrder/case/index.d.ts +63 -0
  70. package/lib/api/restful/postOrder/case/index.js +97 -0
  71. package/lib/api/restful/postOrder/case/index.js.map +1 -0
  72. package/lib/api/restful/postOrder/index.d.ts +11 -0
  73. package/lib/api/restful/postOrder/index.js +15 -0
  74. package/lib/api/restful/postOrder/index.js.map +1 -0
  75. package/lib/api/restful/postOrder/inquiry/index.d.ts +82 -0
  76. package/lib/api/restful/postOrder/inquiry/index.js +131 -0
  77. package/lib/api/restful/postOrder/inquiry/index.js.map +1 -0
  78. package/lib/api/restful/postOrder/return/index.d.ts +231 -0
  79. package/lib/api/restful/postOrder/return/index.js +361 -0
  80. package/lib/api/restful/postOrder/return/index.js.map +1 -0
  81. package/lib/api/restful/sell/account/index.d.ts +217 -0
  82. package/lib/api/restful/sell/account/index.js +337 -0
  83. package/lib/api/restful/sell/account/index.js.map +1 -0
  84. package/lib/api/restful/sell/analytics/index.d.ts +41 -0
  85. package/lib/api/restful/sell/analytics/index.js +61 -0
  86. package/lib/api/restful/sell/analytics/index.js.map +1 -0
  87. package/lib/api/restful/sell/compliance/index.d.ts +37 -0
  88. package/lib/api/restful/sell/compliance/index.js +57 -0
  89. package/lib/api/restful/sell/compliance/index.js.map +1 -0
  90. package/lib/api/restful/sell/feed/index.d.ts +151 -0
  91. package/lib/api/restful/sell/feed/index.js +255 -0
  92. package/lib/api/restful/sell/feed/index.js.map +1 -0
  93. package/lib/api/restful/sell/finances/index.d.ts +74 -0
  94. package/lib/api/restful/sell/finances/index.js +105 -0
  95. package/lib/api/restful/sell/finances/index.js.map +1 -0
  96. package/lib/api/restful/sell/fulfillment/index.d.ts +137 -0
  97. package/lib/api/restful/sell/fulfillment/index.js +199 -0
  98. package/lib/api/restful/sell/fulfillment/index.js.map +1 -0
  99. package/lib/api/restful/sell/index.d.ts +29 -0
  100. package/lib/api/restful/sell/index.js +33 -0
  101. package/lib/api/restful/sell/index.js.map +1 -0
  102. package/lib/api/restful/sell/inventory/index.d.ts +248 -0
  103. package/lib/api/restful/sell/inventory/index.js +346 -0
  104. package/lib/api/restful/sell/inventory/index.js.map +1 -0
  105. package/lib/api/restful/sell/listing/index.d.ts +14 -0
  106. package/lib/api/restful/sell/listing/index.js +25 -0
  107. package/lib/api/restful/sell/listing/index.js.map +1 -0
  108. package/lib/api/restful/sell/logistics/index.d.ts +44 -0
  109. package/lib/api/restful/sell/logistics/index.js +66 -0
  110. package/lib/api/restful/sell/logistics/index.js.map +1 -0
  111. package/lib/api/restful/sell/marketing/index.d.ts +443 -0
  112. package/lib/api/restful/sell/marketing/index.js +609 -0
  113. package/lib/api/restful/sell/marketing/index.js.map +1 -0
  114. package/lib/api/restful/sell/metadata/index.d.ts +77 -0
  115. package/lib/api/restful/sell/metadata/index.js +131 -0
  116. package/lib/api/restful/sell/metadata/index.js.map +1 -0
  117. package/lib/api/restful/sell/negotiation/index.d.ts +24 -0
  118. package/lib/api/restful/sell/negotiation/index.js +39 -0
  119. package/lib/api/restful/sell/negotiation/index.js.map +1 -0
  120. package/lib/api/restful/sell/recommendation/index.d.ts +26 -0
  121. package/lib/api/restful/sell/recommendation/index.js +39 -0
  122. package/lib/api/restful/sell/recommendation/index.js.map +1 -0
  123. package/lib/api/traditional/XMLRequest.d.ts +98 -0
  124. package/lib/api/traditional/XMLRequest.js +191 -0
  125. package/lib/api/traditional/XMLRequest.js.map +1 -0
  126. package/lib/api/traditional/clientAlerts/index.d.ts +9 -0
  127. package/lib/api/traditional/clientAlerts/index.js +15 -0
  128. package/lib/api/traditional/clientAlerts/index.js.map +1 -0
  129. package/lib/api/traditional/clientAlerts/types.d.ts +31 -0
  130. package/lib/api/traditional/clientAlerts/types.js +36 -0
  131. package/lib/api/traditional/clientAlerts/types.js.map +1 -0
  132. package/lib/api/traditional/fields.d.ts +1948 -0
  133. package/lib/api/traditional/fields.js +1949 -0
  134. package/lib/api/traditional/fields.js.map +1 -0
  135. package/lib/api/traditional/finding/index.d.ts +12 -0
  136. package/lib/api/traditional/finding/index.js +16 -0
  137. package/lib/api/traditional/finding/index.js.map +1 -0
  138. package/lib/api/traditional/index.d.ts +17 -0
  139. package/lib/api/traditional/index.js +207 -0
  140. package/lib/api/traditional/index.js.map +1 -0
  141. package/lib/api/traditional/merchandising/index.d.ts +7 -0
  142. package/lib/api/traditional/merchandising/index.js +11 -0
  143. package/lib/api/traditional/merchandising/index.js.map +1 -0
  144. package/lib/api/traditional/shopping/index.d.ts +11 -0
  145. package/lib/api/traditional/shopping/index.js +16 -0
  146. package/lib/api/traditional/shopping/index.js.map +1 -0
  147. package/lib/api/traditional/trading/index.d.ts +142 -0
  148. package/lib/api/traditional/trading/index.js +146 -0
  149. package/lib/api/traditional/trading/index.js.map +1 -0
  150. package/lib/auth/authNAuth.d.ts +49 -0
  151. package/lib/auth/authNAuth.js +122 -0
  152. package/lib/auth/authNAuth.js.map +1 -0
  153. package/lib/auth/index.d.ts +17 -0
  154. package/lib/auth/index.js +32 -0
  155. package/lib/auth/index.js.map +1 -0
  156. package/lib/auth/oAuth2.d.ts +90 -0
  157. package/lib/auth/oAuth2.js +258 -0
  158. package/lib/auth/oAuth2.js.map +1 -0
  159. package/lib/ebay-api.min.js +2 -0
  160. package/lib/ebay-api.min.js.map +1 -0
  161. package/lib/enums/apiEnums.d.ts +49 -0
  162. package/lib/enums/apiEnums.js +55 -0
  163. package/lib/enums/apiEnums.js.map +1 -0
  164. package/lib/enums/index.d.ts +2 -0
  165. package/lib/enums/index.js +15 -0
  166. package/lib/enums/index.js.map +1 -0
  167. package/lib/enums/restfulEnums.d.ts +672 -0
  168. package/lib/enums/restfulEnums.js +714 -0
  169. package/lib/enums/restfulEnums.js.map +1 -0
  170. package/lib/errors/index.d.ts +66 -0
  171. package/lib/errors/index.js +208 -0
  172. package/lib/errors/index.js.map +1 -0
  173. package/lib/index.d.ts +55 -0
  174. package/lib/index.js +98 -0
  175. package/lib/index.js.map +1 -0
  176. package/lib/request.d.ts +26 -0
  177. package/lib/request.js +51 -0
  178. package/lib/request.js.map +1 -0
  179. package/lib/types/apiTypes.d.ts +28 -0
  180. package/lib/types/apiTypes.js +3 -0
  181. package/lib/types/apiTypes.js.map +1 -0
  182. package/lib/types/index.d.ts +3 -0
  183. package/lib/types/index.js +16 -0
  184. package/lib/types/index.js.map +1 -0
  185. package/lib/types/restfulTypes.d.ts +1067 -0
  186. package/lib/types/restfulTypes.js +3 -0
  187. package/lib/types/restfulTypes.js.map +1 -0
  188. package/lib/types/traditonalTypes.d.ts +34 -0
  189. package/lib/types/traditonalTypes.js +3 -0
  190. package/lib/types/traditonalTypes.js.map +1 -0
  191. package/package.json +115 -21
  192. package/.npmignore +0 -17
  193. package/.travis.yml +0 -7
  194. package/examples/Finding-FindItemsByKeywords.js +0 -46
  195. package/examples/Merchandising-GetMostWatchedItemsRequest.js +0 -16
  196. package/examples/Shopping-GetSingleItem.js +0 -18
  197. package/examples/Trading-GetOrders.js +0 -26
  198. package/index.js +0 -10
  199. package/lib/deep-to-array.js +0 -42
  200. package/lib/defaults.js +0 -69
  201. package/lib/errors.js +0 -44
  202. package/lib/json-parser.js +0 -336
  203. package/lib/key-lists.js +0 -64
  204. package/lib/urls.js +0 -64
  205. package/lib/versions.js +0 -35
  206. package/lib/xml-converter.js +0 -21
  207. package/lib/xml-request.js +0 -207
  208. package/scripts/parse-input-xml.js +0 -41
  209. package/test/deep-to-array.test.js +0 -100
  210. package/test/errors.test.js +0 -75
  211. package/test/helpers.js +0 -22
  212. package/test/mocha.opts +0 -1
  213. package/test/mocks/GetMultipleItems.xml +0 -115
  214. package/test/mocks/GetOrders-empty.xml +0 -17
  215. package/test/mocks/GetOrders.xml +0 -463
  216. package/test/pagination.test.js +0 -5
  217. package/test/parsing.test.js +0 -248
  218. package/test/xml-request.test.js +0 -447
@@ -1,463 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <GetOrdersResponse xmlns="urn:ebay:apis:eBLBaseComponents">
3
- <Timestamp>2015-10-11T15:01:00.222Z</Timestamp>
4
- <Ack>Success</Ack>
5
- <Version>939</Version>
6
- <Build>E939_CORE_APIXO_17691495_R1</Build>
7
- <PaginationResult>
8
- <TotalNumberOfPages>1</TotalNumberOfPages>
9
- <TotalNumberOfEntries>2</TotalNumberOfEntries>
10
- </PaginationResult>
11
- <HasMoreOrders>false</HasMoreOrders>
12
- <OrderArray>
13
- <Order>
14
- <OrderID>222222222222-1616161616161</OrderID>
15
- <OrderStatus>Completed</OrderStatus>
16
- <AdjustmentAmount currencyID="USD">0.0</AdjustmentAmount>
17
- <AmountPaid currencyID="USD">6.0</AmountPaid>
18
- <AmountSaved currencyID="USD">0.0</AmountSaved>
19
- <CheckoutStatus>
20
- <eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus>
21
- <LastModifiedTime>2015-10-11T00:00:00.000Z</LastModifiedTime>
22
- <PaymentMethod>PayPal</PaymentMethod>
23
- <Status>Complete</Status>
24
- <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled>
25
- </CheckoutStatus>
26
- <ShippingDetails>
27
- <SalesTax>
28
- <SalesTaxPercent>0.0</SalesTaxPercent>
29
- <SalesTaxState></SalesTaxState>
30
- <ShippingIncludedInTax>false</ShippingIncludedInTax>
31
- <SalesTaxAmount currencyID="USD">0.0</SalesTaxAmount>
32
- </SalesTax>
33
- <ShippingServiceOptions>
34
- <ShippingService>USPSPriority</ShippingService>
35
- <ShippingServicePriority>1</ShippingServicePriority>
36
- <ExpeditedService>false</ExpeditedService>
37
- <ShippingTimeMin>1</ShippingTimeMin>
38
- <ShippingTimeMax>4</ShippingTimeMax>
39
- </ShippingServiceOptions>
40
- <InternationalShippingServiceOption>
41
- <ShippingService>InternationalPriorityShipping</ShippingService>
42
- <ShippingServicePriority>1</ShippingServicePriority>
43
- <ShipToLocation>CA</ShipToLocation>
44
- <ShipToLocation>GB</ShipToLocation>
45
- <ShipToLocation>DK</ShipToLocation>
46
- <ShipToLocation>RO</ShipToLocation>
47
- <ShipToLocation>SK</ShipToLocation>
48
- <ShipToLocation>BG</ShipToLocation>
49
- <ShipToLocation>CZ</ShipToLocation>
50
- <ShipToLocation>FI</ShipToLocation>
51
- <ShipToLocation>HU</ShipToLocation>
52
- <ShipToLocation>LV</ShipToLocation>
53
- <ShipToLocation>LT</ShipToLocation>
54
- <ShipToLocation>MT</ShipToLocation>
55
- <ShipToLocation>EE</ShipToLocation>
56
- <ShipToLocation>AU</ShipToLocation>
57
- <ShipToLocation>GR</ShipToLocation>
58
- <ShipToLocation>PT</ShipToLocation>
59
- <ShipToLocation>CY</ShipToLocation>
60
- <ShipToLocation>SI</ShipToLocation>
61
- <ShipToLocation>JP</ShipToLocation>
62
- <ShipToLocation>CN</ShipToLocation>
63
- <ShipToLocation>SE</ShipToLocation>
64
- <ShipToLocation>KR</ShipToLocation>
65
- <ShipToLocation>ID</ShipToLocation>
66
- <ShipToLocation>TW</ShipToLocation>
67
- <ShipToLocation>TH</ShipToLocation>
68
- <ShipToLocation>BE</ShipToLocation>
69
- <ShipToLocation>FR</ShipToLocation>
70
- <ShipToLocation>HK</ShipToLocation>
71
- <ShipToLocation>IE</ShipToLocation>
72
- <ShipToLocation>NL</ShipToLocation>
73
- <ShipToLocation>PL</ShipToLocation>
74
- <ShipToLocation>ES</ShipToLocation>
75
- <ShipToLocation>IT</ShipToLocation>
76
- <ShipToLocation>DE</ShipToLocation>
77
- <ShipToLocation>AT</ShipToLocation>
78
- <ShipToLocation>RU</ShipToLocation>
79
- <ShipToLocation>IL</ShipToLocation>
80
- <ShipToLocation>MX</ShipToLocation>
81
- <ShipToLocation>NZ</ShipToLocation>
82
- <ShipToLocation>PH</ShipToLocation>
83
- <ShipToLocation>SG</ShipToLocation>
84
- <ShipToLocation>CH</ShipToLocation>
85
- <ShipToLocation>NO</ShipToLocation>
86
- <ShipToLocation>SA</ShipToLocation>
87
- <ShipToLocation>UA</ShipToLocation>
88
- <ShipToLocation>AE</ShipToLocation>
89
- <ShipToLocation>QA</ShipToLocation>
90
- <ShipToLocation>KW</ShipToLocation>
91
- <ShipToLocation>BH</ShipToLocation>
92
- <ShipToLocation>HR</ShipToLocation>
93
- <ShipToLocation>MY</ShipToLocation>
94
- <ShipToLocation>CL</ShipToLocation>
95
- <ShipToLocation>CO</ShipToLocation>
96
- <ShipToLocation>CR</ShipToLocation>
97
- <ShipToLocation>DO</ShipToLocation>
98
- <ShipToLocation>PA</ShipToLocation>
99
- <ShipToLocation>TT</ShipToLocation>
100
- <ShipToLocation>GT</ShipToLocation>
101
- <ShipToLocation>SV</ShipToLocation>
102
- <ShipToLocation>HN</ShipToLocation>
103
- <ShipToLocation>JM</ShipToLocation>
104
- </InternationalShippingServiceOption>
105
- <SellingManagerSalesRecordNumber>109</SellingManagerSalesRecordNumber>
106
- <GetItFast>false</GetItFast>
107
- </ShippingDetails>
108
- <CreatedTime>2015-10-11T00:00:00.000Z</CreatedTime>
109
- <PaymentMethods>PayPal</PaymentMethods>
110
- <SellerEmail>ebay-seller@mail.com</SellerEmail>
111
- <ShippingAddress>
112
- <Name>Mr. John Buyer</Name>
113
- <Street1>1000 Market St</Street1>
114
- <Street2>2nd Floor</Street2>
115
- <CityName>San Francisco</CityName>
116
- <StateOrProvince>CA</StateOrProvince>
117
- <Country>US</Country>
118
- <CountryName>United States</CountryName>
119
- <Phone>111 222 3333</Phone>
120
- <PostalCode>94111-1111</PostalCode>
121
- <AddressID>3535353535353</AddressID>
122
- <AddressOwner>eBay</AddressOwner>
123
- <ExternalAddressID></ExternalAddressID>
124
- </ShippingAddress>
125
- <ShippingServiceSelected>
126
- <ShippingService>USPSPriority</ShippingService>
127
- <ShippingServiceCost currencyID="USD">0.0</ShippingServiceCost>
128
- </ShippingServiceSelected>
129
- <Subtotal currencyID="USD">6.0</Subtotal>
130
- <Total currencyID="USD">6.0</Total>
131
- <TransactionArray>
132
- <Transaction>
133
- <Buyer>
134
- <Email>ebay-buyer@mail.com</Email>
135
- <UserFirstName>John</UserFirstName>
136
- <UserLastName>Buyer</UserLastName>
137
- </Buyer>
138
- <ShippingDetails>
139
- <CalculatedShippingRate>
140
- <OriginatingPostalCode>94117</OriginatingPostalCode>
141
- <PackageDepth measurementSystem="English" unit="inches">12</PackageDepth>
142
- <PackageLength measurementSystem="English" unit="inches">12</PackageLength>
143
- <PackageWidth measurementSystem="English" unit="inches">12</PackageWidth>
144
- <PackagingHandlingCosts currencyID="USD">0.0</PackagingHandlingCosts>
145
- <ShippingIrregular>false</ShippingIrregular>
146
- <ShippingPackage>PackageThickEnvelope</ShippingPackage>
147
- <WeightMajor measurementSystem="English" unit="lbs">3</WeightMajor>
148
- <WeightMinor measurementSystem="English" unit="oz">0</WeightMinor>
149
- </CalculatedShippingRate>
150
- <SellingManagerSalesRecordNumber>109</SellingManagerSalesRecordNumber>
151
- </ShippingDetails>
152
- <CreatedDate>2015-10-11T00:00:00.000Z</CreatedDate>
153
- <Item>
154
- <ItemID>222222222222</ItemID>
155
- <Site>US</Site>
156
- <Title>Mason Jars</Title>
157
- <ConditionID>3000</ConditionID>
158
- <ConditionDisplayName>Used</ConditionDisplayName>
159
- </Item>
160
- <QuantityPurchased>2</QuantityPurchased>
161
- <Status>
162
- <PaymentHoldStatus>PaymentHold</PaymentHoldStatus>
163
- <InquiryStatus>NotApplicable</InquiryStatus>
164
- <ReturnStatus>NotApplicable</ReturnStatus>
165
- </Status>
166
- <TransactionID>1616161616161</TransactionID>
167
- <TransactionPrice currencyID="USD">3.0</TransactionPrice>
168
- <ShippingServiceSelected>
169
- <ShippingPackageInfo>
170
- <EstimatedDeliveryTimeMin>2015-10-19T07:00:00.000Z</EstimatedDeliveryTimeMin>
171
- <EstimatedDeliveryTimeMax>2015-10-19T07:00:00.000Z</EstimatedDeliveryTimeMax>
172
- </ShippingPackageInfo>
173
- </ShippingServiceSelected>
174
- <TransactionSiteID>US</TransactionSiteID>
175
- <Platform>eBay</Platform>
176
- <Taxes>
177
- <TotalTaxAmount currencyID="USD">0.0</TotalTaxAmount>
178
- <TaxDetails>
179
- <Imposition>SalesTax</Imposition>
180
- <TaxDescription>SalesTax</TaxDescription>
181
- <TaxAmount currencyID="USD">0.0</TaxAmount>
182
- <TaxOnSubtotalAmount currencyID="USD">0.0</TaxOnSubtotalAmount>
183
- <TaxOnShippingAmount currencyID="USD">0.0</TaxOnShippingAmount>
184
- <TaxOnHandlingAmount currencyID="USD">0.0</TaxOnHandlingAmount>
185
- </TaxDetails>
186
- </Taxes>
187
- <ActualShippingCost currencyID="USD">0.0</ActualShippingCost>
188
- <ActualHandlingCost currencyID="USD">0.0</ActualHandlingCost>
189
- <OrderLineItemID>222222222222-1616161616161</OrderLineItemID>
190
- <ExtendedOrderID>222222222222-1616161616161!545454545454</ExtendedOrderID>
191
- <eBayPlusTransaction>false</eBayPlusTransaction>
192
- </Transaction>
193
- </TransactionArray>
194
- <BuyerUserID>johnbuyer</BuyerUserID>
195
- <PaidTime>2015-10-11T00:00:00.000Z</PaidTime>
196
- <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled>
197
- <EIASToken>nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn==</EIASToken>
198
- <PaymentHoldStatus>PaymentHold</PaymentHoldStatus>
199
- <PaymentHoldDetails>
200
- <ExpectedReleaseDate>2015-10-31T07:00:00.000Z</ExpectedReleaseDate>
201
- <RequiredSellerActionArray>
202
- <RequiredSellerAction>MarkAsShipped</RequiredSellerAction>
203
- </RequiredSellerActionArray>
204
- <NumOfReqSellerActions>1</NumOfReqSellerActions>
205
- <PaymentHoldReason>NewSeller</PaymentHoldReason>
206
- </PaymentHoldDetails>
207
- <IsMultiLegShipping>false</IsMultiLegShipping>
208
- <SellerUserID>joeseller</SellerUserID>
209
- <SellerEIASToken>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm==</SellerEIASToken>
210
- <CancelStatus>NotApplicable</CancelStatus>
211
- <ExtendedOrderID>222222222222-1616161616161!545454545454</ExtendedOrderID>
212
- <ContainseBayPlusTransaction>false</ContainseBayPlusTransaction>
213
- </Order>
214
- <Order>
215
- <OrderID>333333333333-6666666666666</OrderID>
216
- <OrderStatus>Completed</OrderStatus>
217
- <AdjustmentAmount currencyID="USD">0.0</AdjustmentAmount>
218
- <AmountPaid currencyID="USD">12.0</AmountPaid>
219
- <AmountSaved currencyID="USD">0.0</AmountSaved>
220
- <CheckoutStatus>
221
- <eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus>
222
- <LastModifiedTime>2015-10-11T00:00:00.000Z</LastModifiedTime>
223
- <PaymentMethod>PayPal</PaymentMethod>
224
- <Status>Complete</Status>
225
- <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled>
226
- </CheckoutStatus>
227
- <ShippingDetails>
228
- <SalesTax>
229
- <SalesTaxPercent>0.0</SalesTaxPercent>
230
- <SalesTaxState></SalesTaxState>
231
- <ShippingIncludedInTax>false</ShippingIncludedInTax>
232
- <SalesTaxAmount currencyID="USD">0.0</SalesTaxAmount>
233
- </SalesTax>
234
- <ShippingServiceOptions>
235
- <ShippingService>Other</ShippingService>
236
- <ShippingServiceCost currencyID="USD">2.0</ShippingServiceCost>
237
- <ShippingServicePriority>1</ShippingServicePriority>
238
- <ExpeditedService>false</ExpeditedService>
239
- <ShippingTimeMin>1</ShippingTimeMin>
240
- <ShippingTimeMax>10</ShippingTimeMax>
241
- </ShippingServiceOptions>
242
- <InternationalShippingServiceOption>
243
- <ShippingService>InternationalPriorityShipping</ShippingService>
244
- <ShippingServicePriority>1</ShippingServicePriority>
245
- <ShipToLocation>CA</ShipToLocation>
246
- <ShipToLocation>GB</ShipToLocation>
247
- <ShipToLocation>DK</ShipToLocation>
248
- <ShipToLocation>RO</ShipToLocation>
249
- <ShipToLocation>SK</ShipToLocation>
250
- <ShipToLocation>BG</ShipToLocation>
251
- <ShipToLocation>CZ</ShipToLocation>
252
- <ShipToLocation>FI</ShipToLocation>
253
- <ShipToLocation>HU</ShipToLocation>
254
- <ShipToLocation>LV</ShipToLocation>
255
- <ShipToLocation>LT</ShipToLocation>
256
- <ShipToLocation>MT</ShipToLocation>
257
- <ShipToLocation>EE</ShipToLocation>
258
- <ShipToLocation>AU</ShipToLocation>
259
- <ShipToLocation>GR</ShipToLocation>
260
- <ShipToLocation>PT</ShipToLocation>
261
- <ShipToLocation>CY</ShipToLocation>
262
- <ShipToLocation>SI</ShipToLocation>
263
- <ShipToLocation>JP</ShipToLocation>
264
- <ShipToLocation>SE</ShipToLocation>
265
- <ShipToLocation>KR</ShipToLocation>
266
- <ShipToLocation>ID</ShipToLocation>
267
- <ShipToLocation>TW</ShipToLocation>
268
- <ShipToLocation>ZA</ShipToLocation>
269
- <ShipToLocation>BE</ShipToLocation>
270
- <ShipToLocation>FR</ShipToLocation>
271
- <ShipToLocation>HK</ShipToLocation>
272
- <ShipToLocation>IE</ShipToLocation>
273
- <ShipToLocation>NL</ShipToLocation>
274
- <ShipToLocation>PL</ShipToLocation>
275
- <ShipToLocation>ES</ShipToLocation>
276
- <ShipToLocation>IT</ShipToLocation>
277
- <ShipToLocation>DE</ShipToLocation>
278
- <ShipToLocation>AT</ShipToLocation>
279
- <ShipToLocation>RU</ShipToLocation>
280
- <ShipToLocation>IL</ShipToLocation>
281
- <ShipToLocation>MX</ShipToLocation>
282
- <ShipToLocation>NZ</ShipToLocation>
283
- <ShipToLocation>PH</ShipToLocation>
284
- <ShipToLocation>SG</ShipToLocation>
285
- <ShipToLocation>NO</ShipToLocation>
286
- <ShipToLocation>SA</ShipToLocation>
287
- <ShipToLocation>UA</ShipToLocation>
288
- <ShipToLocation>AE</ShipToLocation>
289
- <ShipToLocation>QA</ShipToLocation>
290
- <ShipToLocation>KW</ShipToLocation>
291
- <ShipToLocation>BH</ShipToLocation>
292
- <ShipToLocation>HR</ShipToLocation>
293
- <ShipToLocation>MY</ShipToLocation>
294
- <ShipToLocation>CL</ShipToLocation>
295
- <ShipToLocation>CO</ShipToLocation>
296
- <ShipToLocation>CR</ShipToLocation>
297
- <ShipToLocation>DO</ShipToLocation>
298
- <ShipToLocation>PA</ShipToLocation>
299
- <ShipToLocation>TT</ShipToLocation>
300
- <ShipToLocation>GT</ShipToLocation>
301
- <ShipToLocation>SV</ShipToLocation>
302
- <ShipToLocation>HN</ShipToLocation>
303
- <ShipToLocation>JM</ShipToLocation>
304
- </InternationalShippingServiceOption>
305
- <SellingManagerSalesRecordNumber>107</SellingManagerSalesRecordNumber>
306
- <GetItFast>false</GetItFast>
307
- </ShippingDetails>
308
- <CreatedTime>2015-10-11T00:00:00.000Z</CreatedTime>
309
- <PaymentMethods>PayPal</PaymentMethods>
310
- <SellerEmail>ebay-seller@mail.com</SellerEmail>
311
- <ShippingAddress>
312
- <Name>John Buyer</Name>
313
- <Street1>1000 Market St</Street1>
314
- <Street2>2nd Floor</Street2>
315
- <CityName>San Francisco</CityName>
316
- <StateOrProvince>CA</StateOrProvince>
317
- <Country>US</Country>
318
- <CountryName>United States</CountryName>
319
- <Phone>111 222 3333</Phone>
320
- <PostalCode>94111-1111</PostalCode>
321
- <AddressID>3535353535353</AddressID>
322
- <AddressOwner>eBay</AddressOwner>
323
- <ExternalAddressID></ExternalAddressID>
324
- </ShippingAddress>
325
- <ShippingServiceSelected>
326
- <ShippingService>Other</ShippingService>
327
- <ShippingServiceCost currencyID="USD">2.0</ShippingServiceCost>
328
- </ShippingServiceSelected>
329
- <Subtotal currencyID="USD">10.0</Subtotal>
330
- <Total currencyID="USD">12.0</Total>
331
- <TransactionArray>
332
- <Transaction>
333
- <Buyer>
334
- <Email>ebay-buyer@mail.com</Email>
335
- <UserFirstName>John</UserFirstName>
336
- <UserLastName>Buyer</UserLastName>
337
- </Buyer>
338
- <ShippingDetails>
339
- <SellingManagerSalesRecordNumber>107</SellingManagerSalesRecordNumber>
340
- </ShippingDetails>
341
- <CreatedDate>2015-10-11T00:00:00.000Z</CreatedDate>
342
- <Item>
343
- <ItemID>333333333333</ItemID>
344
- <Site>US</Site>
345
- <Title>Penguin</Title>
346
- </Item>
347
- <QuantityPurchased>1</QuantityPurchased>
348
- <Status>
349
- <PaymentHoldStatus>PaymentHold</PaymentHoldStatus>
350
- <InquiryStatus>NotApplicable</InquiryStatus>
351
- <ReturnStatus>NotApplicable</ReturnStatus>
352
- </Status>
353
- <TransactionID>6666666666666</TransactionID>
354
- <TransactionPrice currencyID="USD">10.0</TransactionPrice>
355
- <ShippingServiceSelected>
356
- <ShippingPackageInfo>
357
- <EstimatedDeliveryTimeMin>2015-10-20T07:00:00.000Z</EstimatedDeliveryTimeMin>
358
- <EstimatedDeliveryTimeMax>2015-10-20T07:00:00.000Z</EstimatedDeliveryTimeMax>
359
- </ShippingPackageInfo>
360
- </ShippingServiceSelected>
361
- <TransactionSiteID>US</TransactionSiteID>
362
- <Platform>eBay</Platform>
363
- <Taxes>
364
- <TotalTaxAmount currencyID="USD">0.0</TotalTaxAmount>
365
- <TaxDetails>
366
- <Imposition>SalesTax</Imposition>
367
- <TaxDescription>SalesTax</TaxDescription>
368
- <TaxAmount currencyID="USD">0.0</TaxAmount>
369
- <TaxOnSubtotalAmount currencyID="USD">0.0</TaxOnSubtotalAmount>
370
- <TaxOnShippingAmount currencyID="USD">0.0</TaxOnShippingAmount>
371
- <TaxOnHandlingAmount currencyID="USD">0.0</TaxOnHandlingAmount>
372
- </TaxDetails>
373
- <TaxDetails>
374
- <Imposition>WasteRecyclingFee</Imposition>
375
- <TaxDescription>ElectronicWasteRecyclingFee</TaxDescription>
376
- <TaxAmount currencyID="USD">0.0</TaxAmount>
377
- </TaxDetails>
378
- </Taxes>
379
- <ActualShippingCost currencyID="USD">2.0</ActualShippingCost>
380
- <ActualHandlingCost currencyID="USD">0.0</ActualHandlingCost>
381
- <OrderLineItemID>333333333333-6666666666666</OrderLineItemID>
382
- <ExtendedOrderID>333333333333-6666666666666!545454545454</ExtendedOrderID>
383
- <eBayPlusTransaction>false</eBayPlusTransaction>
384
- </Transaction>
385
- <Transaction>
386
- <Buyer>
387
- <Email>ebay-buyer@mail.com</Email>
388
- <UserFirstName>Mary</UserFirstName>
389
- <UserLastName>Buyer</UserLastName>
390
- </Buyer>
391
- <ShippingDetails>
392
- <SellingManagerSalesRecordNumber>208</SellingManagerSalesRecordNumber>
393
- </ShippingDetails>
394
- <CreatedDate>2015-10-12T00:00:00.000Z</CreatedDate>
395
- <Item>
396
- <ItemID>444444444444</ItemID>
397
- <Site>US</Site>
398
- <Title>Panda</Title>
399
- </Item>
400
- <QuantityPurchased>1</QuantityPurchased>
401
- <Status>
402
- <PaymentHoldStatus>PaymentHold</PaymentHoldStatus>
403
- <InquiryStatus>NotApplicable</InquiryStatus>
404
- <ReturnStatus>NotApplicable</ReturnStatus>
405
- </Status>
406
- <TransactionID>7777777777777</TransactionID>
407
- <TransactionPrice currencyID="USD">20.0</TransactionPrice>
408
- <ShippingServiceSelected>
409
- <ShippingPackageInfo>
410
- <EstimatedDeliveryTimeMin>2015-10-21T07:00:00.000Z</EstimatedDeliveryTimeMin>
411
- <EstimatedDeliveryTimeMax>2015-10-21T07:00:00.000Z</EstimatedDeliveryTimeMax>
412
- </ShippingPackageInfo>
413
- </ShippingServiceSelected>
414
- <TransactionSiteID>US</TransactionSiteID>
415
- <Platform>eBay</Platform>
416
- <Taxes>
417
- <TotalTaxAmount currencyID="USD">0.0</TotalTaxAmount>
418
- <TaxDetails>
419
- <Imposition>SalesTax</Imposition>
420
- <TaxDescription>SalesTax</TaxDescription>
421
- <TaxAmount currencyID="USD">0.0</TaxAmount>
422
- <TaxOnSubtotalAmount currencyID="USD">0.0</TaxOnSubtotalAmount>
423
- <TaxOnShippingAmount currencyID="USD">0.0</TaxOnShippingAmount>
424
- <TaxOnHandlingAmount currencyID="USD">0.0</TaxOnHandlingAmount>
425
- </TaxDetails>
426
- <TaxDetails>
427
- <Imposition>WasteRecyclingFee</Imposition>
428
- <TaxDescription>ElectronicWasteRecyclingFee</TaxDescription>
429
- <TaxAmount currencyID="USD">0.0</TaxAmount>
430
- </TaxDetails>
431
- </Taxes>
432
- <ActualShippingCost currencyID="USD">2.0</ActualShippingCost>
433
- <ActualHandlingCost currencyID="USD">0.0</ActualHandlingCost>
434
- <OrderLineItemID>444444444444-7777777777777</OrderLineItemID>
435
- <ExtendedOrderID>444444444444-7777777777777!545454545454</ExtendedOrderID>
436
- <eBayPlusTransaction>false</eBayPlusTransaction>
437
- </Transaction>
438
- </TransactionArray>
439
- <BuyerUserID>johnbuyer</BuyerUserID>
440
- <PaidTime>2015-10-11T00:00:00.000Z</PaidTime>
441
- <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled>
442
- <EIASToken>nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn==</EIASToken>
443
- <PaymentHoldStatus>PaymentHold</PaymentHoldStatus>
444
- <PaymentHoldDetails>
445
- <ExpectedReleaseDate>2015-10-31T07:00:00.000Z</ExpectedReleaseDate>
446
- <RequiredSellerActionArray>
447
- <RequiredSellerAction>MarkAsShipped</RequiredSellerAction>
448
- </RequiredSellerActionArray>
449
- <NumOfReqSellerActions>1</NumOfReqSellerActions>
450
- <PaymentHoldReason>NewSeller</PaymentHoldReason>
451
- </PaymentHoldDetails>
452
- <IsMultiLegShipping>false</IsMultiLegShipping>
453
- <SellerUserID>joeseller</SellerUserID>
454
- <SellerEIASToken>mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm==</SellerEIASToken>
455
- <CancelStatus>NotApplicable</CancelStatus>
456
- <ExtendedOrderID>444444444444-6666666666666!545454545454</ExtendedOrderID>
457
- <ContainseBayPlusTransaction>false</ContainseBayPlusTransaction>
458
- </Order>
459
- </OrderArray>
460
- <OrdersPerPage>100</OrdersPerPage>
461
- <PageNumber>1</PageNumber>
462
- <ReturnedOrderCountActual>2</ReturnedOrderCountActual>
463
- </GetOrdersResponse>
@@ -1,5 +0,0 @@
1
- require('./helpers');
2
-
3
- describe('`paginatedRequest`', function() {
4
- it('#TODO')
5
- });