@lonca/trendyol 1.0.0 → 1.0.1
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/dist/{client-Dnfjvwah.d.cts → client-CnDyop_o.d.cts} +5 -3
- package/dist/{client-Dnfjvwah.d.ts → client-CnDyop_o.d.ts} +5 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/testing.cjs +1 -1
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/testing.js.map +1 -1
- package/package.json +2 -2
|
@@ -2497,10 +2497,12 @@ declare class TestOrdersResource {
|
|
|
2497
2497
|
*/
|
|
2498
2498
|
|
|
2499
2499
|
/**
|
|
2500
|
-
* Status of a seller integration video as Trendyol processes it
|
|
2501
|
-
*
|
|
2500
|
+
* Status of a seller integration video as Trendyol processes it:
|
|
2501
|
+
* `IN_PROGRESS` (downloading / processing), `SUCCESS` (downloaded),
|
|
2502
|
+
* `FAILED` (download failed). Open union — Trendyol may add new statuses
|
|
2503
|
+
* without an SDK release.
|
|
2502
2504
|
*/
|
|
2503
|
-
type SellerIntegrationStatus = '
|
|
2505
|
+
type SellerIntegrationStatus = 'IN_PROGRESS' | 'SUCCESS' | 'FAILED' | (string & {});
|
|
2504
2506
|
/**
|
|
2505
2507
|
* Documented `videoContentType` values for `videos.create()`. Open union —
|
|
2506
2508
|
* Trendyol may add new types without an SDK release. Omitted, Trendyol
|
|
@@ -2497,10 +2497,12 @@ declare class TestOrdersResource {
|
|
|
2497
2497
|
*/
|
|
2498
2498
|
|
|
2499
2499
|
/**
|
|
2500
|
-
* Status of a seller integration video as Trendyol processes it
|
|
2501
|
-
*
|
|
2500
|
+
* Status of a seller integration video as Trendyol processes it:
|
|
2501
|
+
* `IN_PROGRESS` (downloading / processing), `SUCCESS` (downloaded),
|
|
2502
|
+
* `FAILED` (download failed). Open union — Trendyol may add new statuses
|
|
2503
|
+
* without an SDK release.
|
|
2502
2504
|
*/
|
|
2503
|
-
type SellerIntegrationStatus = '
|
|
2505
|
+
type SellerIntegrationStatus = 'IN_PROGRESS' | 'SUCCESS' | 'FAILED' | (string & {});
|
|
2504
2506
|
/**
|
|
2505
2507
|
* Documented `videoContentType` values for `videos.create()`. Open union —
|
|
2506
2508
|
* Trendyol may add new types without an SDK release. Omitted, Trendyol
|
package/dist/index.cjs
CHANGED
|
@@ -2642,7 +2642,7 @@ var VideosResource = class {
|
|
|
2642
2642
|
},
|
|
2643
2643
|
rateLimiter: this.listLimiter
|
|
2644
2644
|
});
|
|
2645
|
-
const rows = Array.isArray(data) ? data : Array.isArray(data?.content) ? data.content : Array.isArray(data?.items) ? data.items : [];
|
|
2645
|
+
const rows = Array.isArray(data) ? data : Array.isArray(data?.data) ? data.data : Array.isArray(data?.content) ? data.content : Array.isArray(data?.items) ? data.items : [];
|
|
2646
2646
|
return rows.map((r) => {
|
|
2647
2647
|
const row = r ?? {};
|
|
2648
2648
|
const out = { raw: row };
|