ebay-api 7.0.1 → 7.0.2
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.
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ It supports `client credentials grant` and `authorization code grant` \(Auth'N'A
|
|
|
20
20
|
|
|
21
21
|
## Changelog
|
|
22
22
|
|
|
23
|
-
* `v7.0.
|
|
23
|
+
* `v7.0.2` is the latest release.
|
|
24
24
|
* See [here](https://github.com/hendt/ebay-api/blob/master/CHANGELOG.md) for the full changelog.
|
|
25
25
|
|
|
26
26
|
## Implementation status
|
|
@@ -24,11 +24,13 @@ export default class Finances extends Restful {
|
|
|
24
24
|
* @param limit The number of payouts to return per page of the result set.
|
|
25
25
|
* @param offset Specifies the number of payouts to skip in the result set before returning the first payout in the
|
|
26
26
|
* paginated response.
|
|
27
|
+
* @param sort Allows sorting by payouts date in descending order with '-payoutDate' (default) and ascending with 'payoutDate'
|
|
27
28
|
*/
|
|
28
|
-
getPayouts({ filter, limit, offset, }?: {
|
|
29
|
+
getPayouts({ filter, limit, offset, sort, }?: {
|
|
29
30
|
filter?: string;
|
|
30
31
|
limit?: number;
|
|
31
32
|
offset?: number;
|
|
33
|
+
sort?: 'payoutDate' | '-payoutDate';
|
|
32
34
|
}): Promise<any>;
|
|
33
35
|
/**
|
|
34
36
|
* Search for and retrieve the details of multiple payouts.
|
|
@@ -35,13 +35,15 @@ class Finances extends __1.default {
|
|
|
35
35
|
* @param limit The number of payouts to return per page of the result set.
|
|
36
36
|
* @param offset Specifies the number of payouts to skip in the result set before returning the first payout in the
|
|
37
37
|
* paginated response.
|
|
38
|
+
* @param sort Allows sorting by payouts date in descending order with '-payoutDate' (default) and ascending with 'payoutDate'
|
|
38
39
|
*/
|
|
39
|
-
getPayouts({ filter, limit, offset, } = {}) {
|
|
40
|
+
getPayouts({ filter, limit, offset, sort, } = {}) {
|
|
40
41
|
return this.get(`/payout`, {
|
|
41
42
|
params: {
|
|
42
43
|
filter,
|
|
43
44
|
limit,
|
|
44
45
|
offset,
|
|
46
|
+
sort,
|
|
45
47
|
},
|
|
46
48
|
});
|
|
47
49
|
}
|
|
@@ -1 +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
|
|
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;;;;;;;;;;OAUG;IACI,UAAU,CAAC,EACE,MAAM,EACN,KAAK,EACL,MAAM,EACN,IAAI,MAMpB,EAAE;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE;YACzB,MAAM,EAAE;gBACN,MAAM;gBACN,KAAK;gBACL,MAAM;gBACN,IAAI;aACL;SACF,CAAC,CAA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