@productcraft/waitlist 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
@@ -972,10 +972,16 @@ interface components {
972
972
  */
973
973
  message: string | string[];
974
974
  /**
975
- * @description HTTP status code echoed in the body. Spelled `statusCode` (camelCase) in every ProductCraft API.
975
+ * @deprecated
976
+ * @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.
977
+ * @example 403
978
+ */
979
+ statusCode?: number;
980
+ /**
981
+ * @description HTTP status code echoed in the body (`status_code`). `statusCode` carries the same value as a deprecated alias.
976
982
  * @example 403
977
983
  */
978
- statusCode: number;
984
+ status_code: number;
979
985
  };
980
986
  InviteToAppDto: {
981
987
  /** @description Auth app slug to invite into; defaults to the workspace Waitlist settings default (`default_heimdall_app_slug`) */
@@ -1062,8 +1068,14 @@ interface components {
1062
1068
  * @example https://evil.test
1063
1069
  */
1064
1070
  origin: string;
1071
+ /**
1072
+ * @deprecated
1073
+ * @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.
1074
+ * @example 403
1075
+ */
1076
+ statusCode?: number;
1065
1077
  /** @example 403 */
1066
- statusCode: number;
1078
+ status_code: number;
1067
1079
  };
1068
1080
  PaginationDto: {
1069
1081
  /**
package/dist/index.d.ts CHANGED
@@ -972,10 +972,16 @@ interface components {
972
972
  */
973
973
  message: string | string[];
974
974
  /**
975
- * @description HTTP status code echoed in the body. Spelled `statusCode` (camelCase) in every ProductCraft API.
975
+ * @deprecated
976
+ * @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.
977
+ * @example 403
978
+ */
979
+ statusCode?: number;
980
+ /**
981
+ * @description HTTP status code echoed in the body (`status_code`). `statusCode` carries the same value as a deprecated alias.
976
982
  * @example 403
977
983
  */
978
- statusCode: number;
984
+ status_code: number;
979
985
  };
980
986
  InviteToAppDto: {
981
987
  /** @description Auth app slug to invite into; defaults to the workspace Waitlist settings default (`default_heimdall_app_slug`) */
@@ -1062,8 +1068,14 @@ interface components {
1062
1068
  * @example https://evil.test
1063
1069
  */
1064
1070
  origin: string;
1071
+ /**
1072
+ * @deprecated
1073
+ * @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.
1074
+ * @example 403
1075
+ */
1076
+ statusCode?: number;
1065
1077
  /** @example 403 */
1066
- statusCode: number;
1078
+ status_code: number;
1067
1079
  };
1068
1080
  PaginationDto: {
1069
1081
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productcraft/waitlist",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Waitlist management — public-form signups, variants for A/B/n landing pages, referrals, position + leaderboard, approval workflow with invite-to-app, signed outbound webhooks, CSV export. Generated from the production OpenAPI spec.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",