@lonca/trendyol 0.15.0 → 1.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.
package/README.md CHANGED
@@ -11,6 +11,8 @@ Type-safe TypeScript SDK for the [Trendyol Marketplace API](https://developers.t
11
11
  > [!IMPORTANT]
12
12
  > **Unofficial.** This is an independent, community-maintained SDK. It is not affiliated with, endorsed by, or supported by Trendyol. "Trendyol" and related names are trademarks of their respective owners.
13
13
 
14
+ See [Stability & versioning](https://loncadev.github.io/lonca/stability/) for the semver policy and what counts as the public API.
15
+
14
16
  > **Trendyol surface complete.** 16 resources spanning catalog, orders, claims, finance, webhooks, and Export Center, plus a `parseWebhookEvent` helper for inbound event handling. Every endpoint a non-AutoFT non-V1 seller can hit is covered. See the [npm badge](https://www.npmjs.com/package/@lonca/trendyol) above for the current release.
15
17
 
16
18
  ## Coverage
@@ -441,7 +443,7 @@ Override per resource by passing a `TokenBucketRateLimiter` from `@lonca/core` w
441
443
 
442
444
  ## Stability
443
445
 
444
- `0.x` — alpha. The Trendyol surface is feature-complete and STAGE-verified, but public types may still adjust between minor versions until `1.0.0`.
446
+ `1.x` — stable. The Trendyol surface is feature-complete and verified read-only against the production API. Breaking changes ship only in major versions; see [Stability & versioning](https://loncadev.github.io/lonca/stability/).
445
447
 
446
448
  ## License
447
449
 
package/dist/index.cjs CHANGED
@@ -2689,7 +2689,7 @@ var WebhooksResource = class {
2689
2689
  this.validateInput(input, "create");
2690
2690
  const raw = await this.transport.request({
2691
2691
  method: "POST",
2692
- path: `/integration/sellers/${this.transport.sellerId}/webhooks`,
2692
+ path: `/integration/webhook/sellers/${this.transport.sellerId}/webhooks`,
2693
2693
  body: input,
2694
2694
  rateLimiter: this.limiter
2695
2695
  });
@@ -2702,7 +2702,7 @@ var WebhooksResource = class {
2702
2702
  async list() {
2703
2703
  const data = await this.transport.request({
2704
2704
  method: "GET",
2705
- path: `/integration/sellers/${this.transport.sellerId}/webhooks`,
2705
+ path: `/integration/webhook/sellers/${this.transport.sellerId}/webhooks`,
2706
2706
  rateLimiter: this.limiter
2707
2707
  });
2708
2708
  const rows = Array.isArray(data) ? data : Array.isArray(data?.webhooks) ? data.webhooks : Array.isArray(data?.content) ? data.content : [];
@@ -2786,7 +2786,7 @@ var WebhooksResource = class {
2786
2786
  if (input.subscribedStatuses && input.subscribedStatuses.length === 0) ;
2787
2787
  }
2788
2788
  webhookPath(webhookId) {
2789
- return `/integration/sellers/${this.transport.sellerId}/webhooks/${encodeURIComponent(String(webhookId))}`;
2789
+ return `/integration/webhook/sellers/${this.transport.sellerId}/webhooks/${encodeURIComponent(String(webhookId))}`;
2790
2790
  }
2791
2791
  };
2792
2792