@productcraft/platform-auth 0.1.0 → 0.1.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
@@ -1932,10 +1932,16 @@ interface components {
1932
1932
  */
1933
1933
  message: string | string[];
1934
1934
  /**
1935
- * @description HTTP status code echoed in the body. Spelled `statusCode` (camelCase) in every ProductCraft API.
1935
+ * @deprecated
1936
+ * @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.
1936
1937
  * @example 403
1937
1938
  */
1938
- statusCode: number;
1939
+ statusCode?: number;
1940
+ /**
1941
+ * @description HTTP status code echoed in the body (`status_code`). `statusCode` carries the same value as a deprecated alias.
1942
+ * @example 403
1943
+ */
1944
+ status_code: number;
1939
1945
  };
1940
1946
  FeedItemDto: {
1941
1947
  /**
package/dist/index.d.ts CHANGED
@@ -1932,10 +1932,16 @@ interface components {
1932
1932
  */
1933
1933
  message: string | string[];
1934
1934
  /**
1935
- * @description HTTP status code echoed in the body. Spelled `statusCode` (camelCase) in every ProductCraft API.
1935
+ * @deprecated
1936
+ * @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.
1936
1937
  * @example 403
1937
1938
  */
1938
- statusCode: number;
1939
+ statusCode?: number;
1940
+ /**
1941
+ * @description HTTP status code echoed in the body (`status_code`). `statusCode` carries the same value as a deprecated alias.
1942
+ * @example 403
1943
+ */
1944
+ status_code: number;
1939
1945
  };
1940
1946
  FeedItemDto: {
1941
1947
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productcraft/platform-auth",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "PlatformUser auth, workspaces, members, invites, roles + IAM policies, API keys, service activation, and the introspect endpoint every ProductCraft backend uses to resolve permissions. Generated from the production OpenAPI spec.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",