@productcraft/trawl 0.2.0 → 0.2.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/index.d.cts CHANGED
@@ -509,10 +509,16 @@ interface components {
509
509
  */
510
510
  message: string | string[];
511
511
  /**
512
- * @description HTTP status code echoed in the body. Spelled `statusCode` (camelCase) in every ProductCraft API.
512
+ * @deprecated
513
+ * @description Deprecated alias of `status_code`, same value. Kept so existing clients keep working; read `status_code`. Error responses carry `Deprecation: true` while it is sent.
513
514
  * @example 403
514
515
  */
515
- statusCode: number;
516
+ statusCode?: number;
517
+ /**
518
+ * @description HTTP status code echoed in the body (`status_code`). `statusCode` carries the same value as a deprecated alias.
519
+ * @example 403
520
+ */
521
+ status_code: number;
516
522
  };
517
523
  JobListPaginationDto: {
518
524
  has_more: boolean;
package/dist/index.d.ts CHANGED
@@ -509,10 +509,16 @@ interface components {
509
509
  */
510
510
  message: string | string[];
511
511
  /**
512
- * @description HTTP status code echoed in the body. Spelled `statusCode` (camelCase) in every ProductCraft API.
512
+ * @deprecated
513
+ * @description Deprecated alias of `status_code`, same value. Kept so existing clients keep working; read `status_code`. Error responses carry `Deprecation: true` while it is sent.
513
514
  * @example 403
514
515
  */
515
- statusCode: number;
516
+ statusCode?: number;
517
+ /**
518
+ * @description HTTP status code echoed in the body (`status_code`). `statusCode` carries the same value as a deprecated alias.
519
+ * @example 403
520
+ */
521
+ status_code: number;
516
522
  };
517
523
  JobListPaginationDto: {
518
524
  has_more: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productcraft/trawl",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "AI web-extraction — submit a JSON Schema + natural-language description, get schema-conforming data extracted from the live web and delivered to an HMAC-signed webhook via ProductCraft Trawl. Generated from the production OpenAPI spec.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",