@lonca/trendyol 0.15.1 → 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
@@ -443,7 +443,7 @@ Override per resource by passing a `TokenBucketRateLimiter` from `@lonca/core` w
443
443
 
444
444
  ## Stability
445
445
 
446
- `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/).
447
447
 
448
448
  ## License
449
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