ebay-api 1.13.5 → 6.1.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
@@ -0,0 +1,151 @@
1
+ import Restful from '../../';
2
+ import { SellFeedParams } from '../../../../types';
3
+ /**
4
+ * The <strong>Feed API</strong> lets sellers upload input files, download reports and files including their status, filter reports using URI parameters, and retrieve customer service metrics task details.
5
+ */
6
+ export default class Feed extends Restful {
7
+ static id: string;
8
+ get basePath(): string;
9
+ /**
10
+ * This method returns the details and status for an array of order tasks based on a specified feed_type or scheduled_id.
11
+ *
12
+ * @param dateRange The order tasks creation date range.
13
+ * @param feedType The feed type associated with the task.
14
+ * @param limit The maximum number of order tasks that can be returned on each page of the paginated response.
15
+ * @param lookBackDays The number of previous days in which to search for tasks. Do not use with the date_range parameter.
16
+ * @param offset The number of order tasks to skip in the result set before returning the first order in the paginated response.
17
+ * @param scheduleId The schedule ID associated with the order task.
18
+ */
19
+ getOrderTasks({ dateRange, feedType, limit, lookBackDays, offset, scheduleId }?: SellFeedParams): Promise<any>;
20
+ /**
21
+ * This method creates an order download task with filter criteria for the order report.
22
+ *
23
+ * @param data The CreateOrderTaskRequest
24
+ */
25
+ createOrderTask(data: any): Promise<any>;
26
+ /**
27
+ * This method retrieves the task details and status of the specified task.
28
+ *
29
+ * @param taskId The ID of the task. This ID is generated when the task was created by the createOrderTask method.
30
+ */
31
+ getOrderTask(taskId: string): Promise<any>;
32
+ /**
33
+ * This method retrieves an array containing the details and status of all schedules based on the specified feed_type.
34
+ *
35
+ * @param feedType The feedType associated with the schedule.
36
+ * @param limit The maximum number of schedules that can be returned on each page of the paginated response.
37
+ * @param offset The number of schedules to skip in the result set before returning the first schedule in the paginated response.
38
+ */
39
+ getSchedules({ feedType, limit, offset, }?: SellFeedParams): Promise<any>;
40
+ /**
41
+ * This method creates a schedule, which is a subscription to the specified schedule template.
42
+ *
43
+ * @params data The CreateUserScheduleRequest
44
+ */
45
+ createSchedule(data: any): Promise<any>;
46
+ /**
47
+ * This method retrieves schedule details and status of the specified schedule.
48
+ *
49
+ * @param scheduleId The ID of the schedule for which to retrieve the details.
50
+ */
51
+ getSchedule(scheduleId: string): Promise<any>;
52
+ /**
53
+ * This method updates an existing schedule.
54
+ *
55
+ * @param scheduleId The ID of the schedule to update.
56
+ * @param data The UpdateUserScheduleRequest.
57
+ */
58
+ updateSchedule(scheduleId: string, data?: any): Promise<any>;
59
+ /**
60
+ * This method deletes an existing schedule.
61
+ *
62
+ * @param scheduleId The schedule_id of the schedule to delete.
63
+ */
64
+ deleteSchedule(scheduleId: string): Promise<any>;
65
+ /**
66
+ * This method downloads the latest result file generated by the schedule.
67
+ *
68
+ * @param scheduleId The ID of the schedule for which to retrieve the latest result file.
69
+ */
70
+ getLatestResultFile(scheduleId: string): Promise<any>;
71
+ /**
72
+ * This method downloads the latest result file generated by the schedule.
73
+ *
74
+ * @param scheduleTemplateId The ID of the template to retrieve.
75
+ */
76
+ getScheduleTemplate(scheduleTemplateId: string): Promise<any>;
77
+ /**
78
+ * This method retrieves an array containing the details and status of all schedule templates based on the specified feed_type.
79
+ *
80
+ * @param feedType The feedType associated with the schedule.
81
+ * @param limit The maximum number of schedules that can be returned on each page of the paginated response.
82
+ * @param offset The number of schedules to skip in the result set before returning the first schedule in the paginated response.
83
+ */
84
+ getScheduleTemplates({ feedType, limit, offset, }?: SellFeedParams): Promise<any>;
85
+ /**
86
+ * This method returns the details and status for an array of tasks based on a specified feed_type or scheduledId.
87
+ *
88
+ * @param dateRange The order tasks creation date range.
89
+ * @param feedType The feed type associated with the task.
90
+ * @param limit The maximum number of order tasks that can be returned on each page of the paginated response.
91
+ * @param lookBackDays The number of previous days in which to search for tasks. Do not use with the date_range parameter.
92
+ * @param offset The number of order tasks to skip in the result set before returning the first order in the paginated response.
93
+ * @param scheduleId The schedule ID associated with the task.
94
+ */
95
+ getTasks({ dateRange, feedType, limit, lookBackDays, offset, scheduleId }?: SellFeedParams): Promise<any>;
96
+ /**
97
+ * This method creates an upload task or a download task without filter criteria.
98
+ *
99
+ * @param data The CreateTaskRequest.
100
+ */
101
+ createTask(data: any): Promise<any>;
102
+ /**
103
+ * This method downloads the file previously uploaded using uploadFile.
104
+ *
105
+ * @param taskId The task ID associated with the file to be downloaded.
106
+ */
107
+ getInputFile(taskId: string): Promise<any>;
108
+ /**
109
+ * This method retrieves the generated file that is associated with the specified task ID.
110
+ *
111
+ * @param taskId The task ID associated with the file to be downloaded.
112
+ */
113
+ getResultFile(taskId: string): Promise<any>;
114
+ /**
115
+ * This method retrieves the details and status of the specified task.
116
+ *
117
+ * @param taskId The ID of the task.
118
+ */
119
+ getTask(taskId: string): Promise<any>;
120
+ /**
121
+ * This method associates the specified file with the specified task ID and uploads the input file.
122
+ *
123
+ * @param taskId The task_id associated with the file that will be uploaded.
124
+ * @param data FormDataContentDisposition.
125
+ */
126
+ uploadFile(taskId: string, data?: any): Promise<any>;
127
+ /**
128
+ * Use this method to return an array of customer service metric tasks.
129
+ *
130
+ * @param dateRange The order tasks creation date range.
131
+ * @param feedType The feed type associated with the task.
132
+ * @param limit The maximum number of order tasks that can be returned on each page of the paginated response.
133
+ * @param lookBackDays The number of previous days in which to search for tasks. Do not use with the date_range parameter.
134
+ * @param offset The number of order tasks to skip in the result set before returning the first order in the paginated response.
135
+ * @param scheduleId The schedule ID associated with the task.
136
+ */
137
+ getCustomerServiceMetricTasks({ dateRange, feedType, limit, lookBackDays, offset, }?: SellFeedParams): Promise<any>;
138
+ /**
139
+ * Use this method to create a customer service metrics download task with filter criteria for the customer service metrics report.
140
+ *
141
+ * @params acceptLanguage Use this header to specify the natural language in which the authenticated user desires the response.
142
+ * @params data The CreateServiceMetricsTaskRequest
143
+ */
144
+ createCustomerServiceMetricTask(acceptLanguage: string, data: any): Promise<any>;
145
+ /**
146
+ * Use this method to retrieve customer service metric task details for the specified task.
147
+ *
148
+ * @param taskId Use this path parameter to specify the task ID value for the customer service metric task to retrieve.
149
+ */
150
+ getCustomerServiceMetricTask(taskId: string): Promise<any>;
151
+ }
@@ -0,0 +1,255 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const __1 = __importDefault(require("../../"));
7
+ const request_1 = require("../../../../request");
8
+ /**
9
+ * The <strong>Feed API</strong> lets sellers upload input files, download reports and files including their status, filter reports using URI parameters, and retrieve customer service metrics task details.
10
+ */
11
+ class Feed extends __1.default {
12
+ get basePath() {
13
+ return '/sell/feed/v1';
14
+ }
15
+ /**
16
+ * This method returns the details and status for an array of order tasks based on a specified feed_type or scheduled_id.
17
+ *
18
+ * @param dateRange The order tasks creation date range.
19
+ * @param feedType The feed type associated with the task.
20
+ * @param limit The maximum number of order tasks that can be returned on each page of the paginated response.
21
+ * @param lookBackDays The number of previous days in which to search for tasks. Do not use with the date_range parameter.
22
+ * @param offset The number of order tasks to skip in the result set before returning the first order in the paginated response.
23
+ * @param scheduleId The schedule ID associated with the order task.
24
+ */
25
+ getOrderTasks({ dateRange, feedType, limit, lookBackDays, offset, scheduleId } = {}) {
26
+ return this.get(`/order_task`, {
27
+ params: {
28
+ date_range: dateRange,
29
+ feed_type: feedType,
30
+ limit,
31
+ look_back_days: lookBackDays,
32
+ offset,
33
+ schedule_id: scheduleId
34
+ }
35
+ });
36
+ }
37
+ /**
38
+ * This method creates an order download task with filter criteria for the order report.
39
+ *
40
+ * @param data The CreateOrderTaskRequest
41
+ */
42
+ createOrderTask(data) {
43
+ return this.post(`/order_task`, data);
44
+ }
45
+ /**
46
+ * This method retrieves the task details and status of the specified task.
47
+ *
48
+ * @param taskId The ID of the task. This ID is generated when the task was created by the createOrderTask method.
49
+ */
50
+ getOrderTask(taskId) {
51
+ taskId = encodeURIComponent(taskId);
52
+ return this.get(`/order_task/${taskId}`);
53
+ }
54
+ /**
55
+ * This method retrieves an array containing the details and status of all schedules based on the specified feed_type.
56
+ *
57
+ * @param feedType The feedType associated with the schedule.
58
+ * @param limit The maximum number of schedules that can be returned on each page of the paginated response.
59
+ * @param offset The number of schedules to skip in the result set before returning the first schedule in the paginated response.
60
+ */
61
+ getSchedules({ feedType, limit, offset, } = {}) {
62
+ return this.get(`/schedule`, {
63
+ params: {
64
+ feed_type: feedType,
65
+ limit,
66
+ offset
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * This method creates a schedule, which is a subscription to the specified schedule template.
72
+ *
73
+ * @params data The CreateUserScheduleRequest
74
+ */
75
+ createSchedule(data) {
76
+ return this.post(`/schedule`, data);
77
+ }
78
+ /**
79
+ * This method retrieves schedule details and status of the specified schedule.
80
+ *
81
+ * @param scheduleId The ID of the schedule for which to retrieve the details.
82
+ */
83
+ getSchedule(scheduleId) {
84
+ scheduleId = encodeURIComponent(scheduleId);
85
+ return this.get(`/schedule/${scheduleId}`);
86
+ }
87
+ /**
88
+ * This method updates an existing schedule.
89
+ *
90
+ * @param scheduleId The ID of the schedule to update.
91
+ * @param data The UpdateUserScheduleRequest.
92
+ */
93
+ updateSchedule(scheduleId, data) {
94
+ scheduleId = encodeURIComponent(scheduleId);
95
+ return this.put(`/schedule/${scheduleId}`, data);
96
+ }
97
+ /**
98
+ * This method deletes an existing schedule.
99
+ *
100
+ * @param scheduleId The schedule_id of the schedule to delete.
101
+ */
102
+ deleteSchedule(scheduleId) {
103
+ scheduleId = encodeURIComponent(scheduleId);
104
+ return this.delete(`/schedule/${scheduleId}`);
105
+ }
106
+ /**
107
+ * This method downloads the latest result file generated by the schedule.
108
+ *
109
+ * @param scheduleId The ID of the schedule for which to retrieve the latest result file.
110
+ */
111
+ getLatestResultFile(scheduleId) {
112
+ scheduleId = encodeURIComponent(scheduleId);
113
+ return this.get(`/schedule/${scheduleId}/download_result_file`);
114
+ }
115
+ /**
116
+ * This method downloads the latest result file generated by the schedule.
117
+ *
118
+ * @param scheduleTemplateId The ID of the template to retrieve.
119
+ */
120
+ getScheduleTemplate(scheduleTemplateId) {
121
+ scheduleTemplateId = encodeURIComponent(scheduleTemplateId);
122
+ return this.get(`/schedule_template/${scheduleTemplateId}`);
123
+ }
124
+ /**
125
+ * This method retrieves an array containing the details and status of all schedule templates based on the specified feed_type.
126
+ *
127
+ * @param feedType The feedType associated with the schedule.
128
+ * @param limit The maximum number of schedules that can be returned on each page of the paginated response.
129
+ * @param offset The number of schedules to skip in the result set before returning the first schedule in the paginated response.
130
+ */
131
+ getScheduleTemplates({ feedType, limit, offset, } = {}) {
132
+ return this.get(`/schedule_template`, {
133
+ params: {
134
+ feed_type: feedType,
135
+ limit,
136
+ offset
137
+ }
138
+ });
139
+ }
140
+ /**
141
+ * This method returns the details and status for an array of tasks based on a specified feed_type or scheduledId.
142
+ *
143
+ * @param dateRange The order tasks creation date range.
144
+ * @param feedType The feed type associated with the task.
145
+ * @param limit The maximum number of order tasks that can be returned on each page of the paginated response.
146
+ * @param lookBackDays The number of previous days in which to search for tasks. Do not use with the date_range parameter.
147
+ * @param offset The number of order tasks to skip in the result set before returning the first order in the paginated response.
148
+ * @param scheduleId The schedule ID associated with the task.
149
+ */
150
+ getTasks({ dateRange, feedType, limit, lookBackDays, offset, scheduleId } = {}) {
151
+ return this.get(`/task`, {
152
+ params: {
153
+ date_range: dateRange,
154
+ feed_type: feedType,
155
+ limit,
156
+ look_back_days: lookBackDays,
157
+ offset,
158
+ schedule_id: scheduleId
159
+ }
160
+ });
161
+ }
162
+ /**
163
+ * This method creates an upload task or a download task without filter criteria.
164
+ *
165
+ * @param data The CreateTaskRequest.
166
+ */
167
+ createTask(data) {
168
+ return this.post(`/task`, data);
169
+ }
170
+ /**
171
+ * This method downloads the file previously uploaded using uploadFile.
172
+ *
173
+ * @param taskId The task ID associated with the file to be downloaded.
174
+ */
175
+ getInputFile(taskId) {
176
+ taskId = encodeURIComponent(taskId);
177
+ return this.get(`/task/${taskId}/download_input_file`);
178
+ }
179
+ /**
180
+ * This method retrieves the generated file that is associated with the specified task ID.
181
+ *
182
+ * @param taskId The task ID associated with the file to be downloaded.
183
+ */
184
+ getResultFile(taskId) {
185
+ taskId = encodeURIComponent(taskId);
186
+ return this.get(`/task/${taskId}/download_result_file`);
187
+ }
188
+ /**
189
+ * This method retrieves the details and status of the specified task.
190
+ *
191
+ * @param taskId The ID of the task.
192
+ */
193
+ getTask(taskId) {
194
+ taskId = encodeURIComponent(taskId);
195
+ return this.get(`/task/${taskId}`);
196
+ }
197
+ /**
198
+ * This method associates the specified file with the specified task ID and uploads the input file.
199
+ *
200
+ * @param taskId The task_id associated with the file that will be uploaded.
201
+ * @param data FormDataContentDisposition.
202
+ */
203
+ uploadFile(taskId, data) {
204
+ taskId = encodeURIComponent(taskId);
205
+ return this.post(`/task/${taskId}/upload_file`, data, {
206
+ headers: request_1.multipartHeader,
207
+ });
208
+ }
209
+ /**
210
+ * Use this method to return an array of customer service metric tasks.
211
+ *
212
+ * @param dateRange The order tasks creation date range.
213
+ * @param feedType The feed type associated with the task.
214
+ * @param limit The maximum number of order tasks that can be returned on each page of the paginated response.
215
+ * @param lookBackDays The number of previous days in which to search for tasks. Do not use with the date_range parameter.
216
+ * @param offset The number of order tasks to skip in the result set before returning the first order in the paginated response.
217
+ * @param scheduleId The schedule ID associated with the task.
218
+ */
219
+ getCustomerServiceMetricTasks({ dateRange, feedType, limit, lookBackDays, offset, } = {}) {
220
+ return this.get(`/customer_service_metric_task`, {
221
+ params: {
222
+ date_range: dateRange,
223
+ feed_type: feedType,
224
+ limit,
225
+ look_back_days: lookBackDays,
226
+ offset,
227
+ }
228
+ });
229
+ }
230
+ /**
231
+ * Use this method to create a customer service metrics download task with filter criteria for the customer service metrics report.
232
+ *
233
+ * @params acceptLanguage Use this header to specify the natural language in which the authenticated user desires the response.
234
+ * @params data The CreateServiceMetricsTaskRequest
235
+ */
236
+ createCustomerServiceMetricTask(acceptLanguage, data) {
237
+ return this.post(`/customer_service_metric_task`, data, {
238
+ headers: {
239
+ 'accept-language': acceptLanguage
240
+ }
241
+ });
242
+ }
243
+ /**
244
+ * Use this method to retrieve customer service metric task details for the specified task.
245
+ *
246
+ * @param taskId Use this path parameter to specify the task ID value for the customer service metric task to retrieve.
247
+ */
248
+ getCustomerServiceMetricTask(taskId) {
249
+ taskId = encodeURIComponent(taskId);
250
+ return this.get(`/customer_service_metric_task/${taskId}`);
251
+ }
252
+ }
253
+ exports.default = Feed;
254
+ Feed.id = 'Feed';
255
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/restful/sell/feed/index.ts"],"names":[],"mappings":";;;;;AAAA,+CAA6B;AAC7B,iDAAoD;AAGpD;;GAEG;AACH,MAAqB,IAAK,SAAQ,WAAO;IAIvC,IAAI,QAAQ;QACV,OAAO,eAAe,CAAC;IACzB,CAAC;IAED;;;;;;;;;OASG;IACI,aAAa,CAAC,EACE,SAAS,EACT,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,MAAM,EACN,UAAU,KACQ,EAAE;QACzC,OAAO,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE;YAC7B,MAAM,EAAE;gBACN,UAAU,EAAE,SAAS;gBACrB,SAAS,EAAE,QAAQ;gBACnB,KAAK;gBACL,cAAc,EAAE,YAAY;gBAC5B,MAAM;gBACN,WAAW,EAAE,UAAU;aACxB;SACF,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACI,eAAe,CAAC,IAAS;QAC9B,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;IACxC,CAAC;IAED;;;;OAIG;IACI,YAAY,CAAC,MAAc;QAChC,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;QAEpC,OAAO,IAAI,CAAC,GAAG,CAAC,eAAe,MAAM,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED;;;;;;OAMG;IACI,YAAY,CAAC,EACE,QAAQ,EACR,KAAK,EACL,MAAM,MACY,EAAE;QACxC,OAAO,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE;YAC3B,MAAM,EAAE;gBACN,SAAS,EAAE,QAAQ;gBACnB,KAAK;gBACL,MAAM;aACP;SACF,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACI,cAAc,CAAC,IAAS;QAC7B,OAAO,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IA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AE;YAC/C,MAAM,EAAE;gBACN,UAAU,EAAE,SAAS;gBACrB,SAAS,EAAE,QAAQ;gBACnB,KAAK;gBACL,cAAc,EAAE,YAAY;gBAC5B,MAAM;aACP;SACF,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACI,+BAA+B,CAAC,cAAsB,EAAE,IAAS;QACtE,OAAO,IAAI,CAAC,IAAI,CAAC,+BAA+B,EAAE,IAAI,EAAE;YACtD,OAAO,EAAE;gBACP,iBAAiB,EAAE,cAAc;aAClC;SACF,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACI,4BAA4B,CAAC,MAAc;QAChD,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;QACpC,OAAO,IAAI,CAAC,GAAG,CAAC,iCAAiC,MAAM,EAAE,CAAC,CAAC;IAC7D,CAAC;;AApSH,uBAqSC;AAnSQ,OAAE,GAAG,MAAM,CAAC"}
@@ -0,0 +1,74 @@
1
+ import Restful from '../../';
2
+ /**
3
+ * The Finances API is used by sellers in eBay's managed payments program to retrieve seller payout information.
4
+ *
5
+ * https://api.ebay.com/oauth/api_scope/sell.finances
6
+ *
7
+ */
8
+ export default class Finances extends Restful {
9
+ static id: string;
10
+ get basePath(): string;
11
+ get subdomain(): string;
12
+ /**
13
+ * Use this call to retrieve the details of a specific seller payout.
14
+ *
15
+ * @param payoutId The unique identifier of the payout.
16
+ */
17
+ getPayout(payoutId: string): Promise<any>;
18
+ /**
19
+ * Use this call to search for and retrieve one or more payout based on their payout date,
20
+ * or payout status using the filter parameter.
21
+ *
22
+ * @param filter One or more comma-separated criteria for narrowing down the collection of payout returned by this
23
+ * call.
24
+ * @param limit The number of payouts to return per page of the result set.
25
+ * @param offset Specifies the number of payouts to skip in the result set before returning the first payout in the
26
+ * paginated response.
27
+ */
28
+ getPayouts({ filter, limit, offset, }?: {
29
+ filter?: string;
30
+ limit?: number;
31
+ offset?: number;
32
+ }): Promise<any>;
33
+ /**
34
+ * Search for and retrieve the details of multiple payouts.
35
+ * *
36
+ * @param filter One or more comma-separated criteria for narrowing down the collection of payout returned by this
37
+ * call.
38
+ */
39
+ getPayoutSummary({ filter, }?: {
40
+ filter?: string;
41
+ }): Promise<any>;
42
+ /**
43
+ * Retrieve details of one or more monetary transactions.
44
+ * @param filter One or more comma-separated criteria for narrowing down the collection of transaction returned by this
45
+ * call.
46
+ * @param limit The number of transaction to return per page of the result set.
47
+ * @param offset Specifies the number of payouts to skip in the result set before returning the first transaction in the
48
+ * paginated response.
49
+ */
50
+ getTransactions({ filter, limit, offset, }?: {
51
+ filter?: string;
52
+ limit?: number;
53
+ offset?: number;
54
+ }): Promise<any>;
55
+ /**
56
+ * Retrieve total counts and values of the seller's order sales, seller credits, buyer refunds, and payment holds.
57
+ * @param filter One or more comma-separated criteria for narrowing down the collection of transaction returned by this
58
+ * call.
59
+ * @param limit The number of transaction to return per page of the result set.
60
+ */
61
+ getTransactionSummary({ filter, }?: {
62
+ filter?: string;
63
+ }): Promise<any>;
64
+ /**
65
+ * Retrieve detailed information on a TRANSFER transaction type.
66
+ *
67
+ * @param transferId The unique identifier of the transfer.
68
+ */
69
+ getTransfer(transferId: string): Promise<any>;
70
+ /**
71
+ * Retrieve all pending funds that have not yet been distributed through a seller payout.
72
+ */
73
+ getSellerFundsSummary(): Promise<any>;
74
+ }
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const __1 = __importDefault(require("../../"));
7
+ /**
8
+ * The Finances API is used by sellers in eBay's managed payments program to retrieve seller payout information.
9
+ *
10
+ * https://api.ebay.com/oauth/api_scope/sell.finances
11
+ *
12
+ */
13
+ class Finances extends __1.default {
14
+ get basePath() {
15
+ return '/sell/finances/v1';
16
+ }
17
+ get subdomain() {
18
+ return 'apiz';
19
+ }
20
+ /**
21
+ * Use this call to retrieve the details of a specific seller payout.
22
+ *
23
+ * @param payoutId The unique identifier of the payout.
24
+ */
25
+ getPayout(payoutId) {
26
+ payoutId = encodeURIComponent(payoutId);
27
+ return this.get(`/payout/${payoutId}`);
28
+ }
29
+ /**
30
+ * Use this call to search for and retrieve one or more payout based on their payout date,
31
+ * or payout status using the filter parameter.
32
+ *
33
+ * @param filter One or more comma-separated criteria for narrowing down the collection of payout returned by this
34
+ * call.
35
+ * @param limit The number of payouts to return per page of the result set.
36
+ * @param offset Specifies the number of payouts to skip in the result set before returning the first payout in the
37
+ * paginated response.
38
+ */
39
+ getPayouts({ filter, limit, offset, } = {}) {
40
+ return this.get(`/payout`, {
41
+ params: {
42
+ filter,
43
+ limit,
44
+ offset,
45
+ },
46
+ });
47
+ }
48
+ /**
49
+ * Search for and retrieve the details of multiple payouts.
50
+ * *
51
+ * @param filter One or more comma-separated criteria for narrowing down the collection of payout returned by this
52
+ * call.
53
+ */
54
+ getPayoutSummary({ filter, } = {}) {
55
+ return this.get(`/payout_summary`, { params: { filter } });
56
+ }
57
+ /**
58
+ * Retrieve details of one or more monetary transactions.
59
+ * @param filter One or more comma-separated criteria for narrowing down the collection of transaction returned by this
60
+ * call.
61
+ * @param limit The number of transaction to return per page of the result set.
62
+ * @param offset Specifies the number of payouts to skip in the result set before returning the first transaction in the
63
+ * paginated response.
64
+ */
65
+ getTransactions({ filter, limit, offset, } = {}) {
66
+ return this.get(`/transaction`, {
67
+ params: {
68
+ filter,
69
+ limit,
70
+ offset,
71
+ },
72
+ });
73
+ }
74
+ /**
75
+ * Retrieve total counts and values of the seller's order sales, seller credits, buyer refunds, and payment holds.
76
+ * @param filter One or more comma-separated criteria for narrowing down the collection of transaction returned by this
77
+ * call.
78
+ * @param limit The number of transaction to return per page of the result set.
79
+ */
80
+ getTransactionSummary({ filter, } = {}) {
81
+ return this.get(`/transaction_summary`, {
82
+ params: {
83
+ filter,
84
+ },
85
+ });
86
+ }
87
+ /**
88
+ * Retrieve detailed information on a TRANSFER transaction type.
89
+ *
90
+ * @param transferId The unique identifier of the transfer.
91
+ */
92
+ getTransfer(transferId) {
93
+ transferId = encodeURIComponent(transferId);
94
+ return this.get(`/transfer/${transferId}`);
95
+ }
96
+ /**
97
+ * Retrieve all pending funds that have not yet been distributed through a seller payout.
98
+ */
99
+ getSellerFundsSummary() {
100
+ return this.get(`/seller_funds_summary`);
101
+ }
102
+ }
103
+ exports.default = Finances;
104
+ Finances.id = 'Finances';
105
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/restful/sell/finances/index.ts"],"names":[],"mappings":";;;;;AAAA,+CAA6B;AAE7B;;;;;GAKG;AACH,MAAqB,QAAS,SAAQ,WAAO;IAI3C,IAAI,QAAQ;QACV,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAED,IAAI,SAAS;QACX,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;;OAIG;IACI,SAAS,CAAC,QAAgB;QAC/B,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC;QACxC,OAAO,IAAI,CAAC,GAAG,CAAC,WAAW,QAAQ,EAAE,CAAC,CAAC;IACzC,CAAC;IAED;;;;;;;;;OASG;IACI,UAAU,CAAC,EACE,MAAM,EACN,KAAK,EACL,MAAM,MAKtB,EAAE;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE;YACzB,MAAM,EAAE;gBACN,MAAM;gBACN,KAAK;gBACL,MAAM;aACP;SACF,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACI,gBAAgB,CAAC,EACE,MAAM,MAG5B,EAAE;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAC,MAAM,EAAE,EAAC,MAAM,EAAC,EAAC,CAAC,CAAC;IACzD,CAAC;IAED;;;;;;;OAOG;IACI,eAAe,CAAC,EACE,MAAM,EACN,KAAK,EACL,MAAM,MAK3B,EAAE;QACJ,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