@metamask-previews/notification-services-controller 17.0.0-preview-ea6406b3 → 17.0.0-preview-f3f2e8c8

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +0 -11
  2. package/dist/NotificationServicesController/NotificationServicesController.cjs +1 -19
  3. package/dist/NotificationServicesController/NotificationServicesController.cjs.map +1 -1
  4. package/dist/NotificationServicesController/NotificationServicesController.d.cts +0 -8
  5. package/dist/NotificationServicesController/NotificationServicesController.d.cts.map +1 -1
  6. package/dist/NotificationServicesController/NotificationServicesController.d.mts +0 -8
  7. package/dist/NotificationServicesController/NotificationServicesController.d.mts.map +1 -1
  8. package/dist/NotificationServicesController/NotificationServicesController.mjs +1 -19
  9. package/dist/NotificationServicesController/NotificationServicesController.mjs.map +1 -1
  10. package/dist/NotificationServicesController/mocks/mockResponses.cjs +1 -10
  11. package/dist/NotificationServicesController/mocks/mockResponses.cjs.map +1 -1
  12. package/dist/NotificationServicesController/mocks/mockResponses.d.cts +0 -5
  13. package/dist/NotificationServicesController/mocks/mockResponses.d.cts.map +1 -1
  14. package/dist/NotificationServicesController/mocks/mockResponses.d.mts +0 -5
  15. package/dist/NotificationServicesController/mocks/mockResponses.d.mts.map +1 -1
  16. package/dist/NotificationServicesController/mocks/mockResponses.mjs +0 -8
  17. package/dist/NotificationServicesController/mocks/mockResponses.mjs.map +1 -1
  18. package/dist/NotificationServicesController/types/index.cjs.map +1 -1
  19. package/dist/NotificationServicesController/types/index.d.cts +0 -1
  20. package/dist/NotificationServicesController/types/index.d.cts.map +1 -1
  21. package/dist/NotificationServicesController/types/index.d.mts +0 -1
  22. package/dist/NotificationServicesController/types/index.d.mts.map +1 -1
  23. package/dist/NotificationServicesController/types/index.mjs.map +1 -1
  24. package/package.json +2 -2
  25. package/dist/NotificationServicesController/services/perp-notifications.cjs +0 -32
  26. package/dist/NotificationServicesController/services/perp-notifications.cjs.map +0 -1
  27. package/dist/NotificationServicesController/services/perp-notifications.d.cts +0 -11
  28. package/dist/NotificationServicesController/services/perp-notifications.d.cts.map +0 -1
  29. package/dist/NotificationServicesController/services/perp-notifications.d.mts +0 -11
  30. package/dist/NotificationServicesController/services/perp-notifications.d.mts.map +0 -1
  31. package/dist/NotificationServicesController/services/perp-notifications.mjs +0 -28
  32. package/dist/NotificationServicesController/services/perp-notifications.mjs.map +0 -1
  33. package/dist/NotificationServicesController/types/perps/index.cjs +0 -3
  34. package/dist/NotificationServicesController/types/perps/index.cjs.map +0 -1
  35. package/dist/NotificationServicesController/types/perps/index.d.cts +0 -2
  36. package/dist/NotificationServicesController/types/perps/index.d.cts.map +0 -1
  37. package/dist/NotificationServicesController/types/perps/index.d.mts +0 -2
  38. package/dist/NotificationServicesController/types/perps/index.d.mts.map +0 -1
  39. package/dist/NotificationServicesController/types/perps/index.mjs +0 -2
  40. package/dist/NotificationServicesController/types/perps/index.mjs.map +0 -1
  41. package/dist/NotificationServicesController/types/perps/perp-types.cjs +0 -3
  42. package/dist/NotificationServicesController/types/perps/perp-types.cjs.map +0 -1
  43. package/dist/NotificationServicesController/types/perps/perp-types.d.cts +0 -3
  44. package/dist/NotificationServicesController/types/perps/perp-types.d.cts.map +0 -1
  45. package/dist/NotificationServicesController/types/perps/perp-types.d.mts +0 -3
  46. package/dist/NotificationServicesController/types/perps/perp-types.d.mts.map +0 -1
  47. package/dist/NotificationServicesController/types/perps/perp-types.mjs +0 -2
  48. package/dist/NotificationServicesController/types/perps/perp-types.mjs.map +0 -1
  49. package/dist/NotificationServicesController/types/perps/schema.cjs +0 -4
  50. package/dist/NotificationServicesController/types/perps/schema.cjs.map +0 -1
  51. package/dist/NotificationServicesController/types/perps/schema.d.cts +0 -133
  52. package/dist/NotificationServicesController/types/perps/schema.d.cts.map +0 -1
  53. package/dist/NotificationServicesController/types/perps/schema.d.mts +0 -133
  54. package/dist/NotificationServicesController/types/perps/schema.d.mts.map +0 -1
  55. package/dist/NotificationServicesController/types/perps/schema.mjs +0 -3
  56. package/dist/NotificationServicesController/types/perps/schema.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/index.ts"],"names":[],"mappings":"","sourcesContent":["export type * from './perp-types';\n"]}
@@ -1,2 +0,0 @@
1
- export type * from "./perp-types.cjs";
2
- //# sourceMappingURL=index.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/index.ts"],"names":[],"mappings":"AAAA,sCAAkC"}
@@ -1,2 +0,0 @@
1
- export type * from "./perp-types.mjs";
2
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/index.ts"],"names":[],"mappings":"AAAA,sCAAkC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/index.ts"],"names":[],"mappings":"","sourcesContent":["export type * from './perp-types';\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=perp-types.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"perp-types.cjs","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/perp-types.ts"],"names":[],"mappings":"","sourcesContent":["import type { components } from './schema';\n\nexport type OrderInput = components['schemas']['OrderInput'];\n"]}
@@ -1,3 +0,0 @@
1
- import type { components } from "./schema.cjs";
2
- export type OrderInput = components['schemas']['OrderInput'];
3
- //# sourceMappingURL=perp-types.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"perp-types.d.cts","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/perp-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,qBAAiB;AAE3C,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { components } from "./schema.mjs";
2
- export type OrderInput = components['schemas']['OrderInput'];
3
- //# sourceMappingURL=perp-types.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"perp-types.d.mts","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/perp-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,qBAAiB;AAE3C,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=perp-types.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"perp-types.mjs","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/perp-types.ts"],"names":[],"mappings":"","sourcesContent":["import type { components } from './schema';\n\nexport type OrderInput = components['schemas']['OrderInput'];\n"]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
- /* eslint-disable jsdoc/tag-lines */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- //# sourceMappingURL=schema.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema.cjs","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/schema.ts"],"names":[],"mappings":";AAAA,oCAAoC","sourcesContent":["/* eslint-disable jsdoc/tag-lines */\n\n/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n * Script: `npx openapi-typescript <PATH TO NOTIFICATION API SPEC> -o ./schema.d.ts`\n */\n\n/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\nexport type paths = {\n '/api/v1/orders': {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /**\n * Create a new trading order\n * @description Creates a new trading order for a specific user.\n *\n * Supports optional stop-loss (sl_price) and take-profit (tp_price) levels.\n *\n * **Authentication Required**: This endpoint requires JWT authentication.\n *\n */\n post: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n 'application/json': components['schemas']['OrderInput'];\n };\n };\n responses: {\n /** @description Order successfully created */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Invalid request - malformed JSON or missing required fields */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n 'application/json': components['schemas']['Error'];\n };\n };\n /** @description Unauthorized - invalid or missing JWT token */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n 'application/json': components['schemas']['Error'];\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n 'application/json': components['schemas']['Error'];\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n};\nexport type webhooks = Record<string, never>;\nexport type components = {\n schemas: {\n OrderInput: {\n /**\n * @description User's Ethereum address\n * @example 0x1234567890abcdef1234567890abcdef12345678\n */\n user_id: string;\n /**\n * @description Coin symbol (e.g., BTC, ETH, DOGE)\n * @example BTC\n */\n coin: string;\n /**\n * Format: double\n * @description Optional stop-loss price level\n * @example 45000.5\n */\n sl_price?: number;\n /**\n * Format: double\n * @description Optional take-profit price level\n * @example 55000.75\n */\n tp_price?: number;\n };\n Error: {\n /**\n * @description Human-readable error message\n * @example Invalid request format\n */\n message?: string;\n /**\n * @description Technical error details\n * @example validation error\n */\n error?: string;\n };\n };\n responses: never;\n parameters: never;\n requestBodies: never;\n headers: never;\n pathItems: never;\n};\nexport type $defs = Record<string, never>;\nexport type operations = Record<string, never>;\n"]}
@@ -1,133 +0,0 @@
1
- /**
2
- * This file was auto-generated by openapi-typescript.
3
- * Do not make direct changes to the file.
4
- * Script: `npx openapi-typescript <PATH TO NOTIFICATION API SPEC> -o ./schema.d.ts`
5
- */
6
- /**
7
- * This file was auto-generated by openapi-typescript.
8
- * Do not make direct changes to the file.
9
- */
10
- export type paths = {
11
- '/api/v1/orders': {
12
- parameters: {
13
- query?: never;
14
- header?: never;
15
- path?: never;
16
- cookie?: never;
17
- };
18
- get?: never;
19
- put?: never;
20
- /**
21
- * Create a new trading order
22
- * @description Creates a new trading order for a specific user.
23
- *
24
- * Supports optional stop-loss (sl_price) and take-profit (tp_price) levels.
25
- *
26
- * **Authentication Required**: This endpoint requires JWT authentication.
27
- *
28
- */
29
- post: {
30
- parameters: {
31
- query?: never;
32
- header?: never;
33
- path?: never;
34
- cookie?: never;
35
- };
36
- requestBody: {
37
- content: {
38
- 'application/json': components['schemas']['OrderInput'];
39
- };
40
- };
41
- responses: {
42
- /** @description Order successfully created */
43
- 201: {
44
- headers: {
45
- [name: string]: unknown;
46
- };
47
- content?: never;
48
- };
49
- /** @description Invalid request - malformed JSON or missing required fields */
50
- 400: {
51
- headers: {
52
- [name: string]: unknown;
53
- };
54
- content: {
55
- 'application/json': components['schemas']['Error'];
56
- };
57
- };
58
- /** @description Unauthorized - invalid or missing JWT token */
59
- 401: {
60
- headers: {
61
- [name: string]: unknown;
62
- };
63
- content: {
64
- 'application/json': components['schemas']['Error'];
65
- };
66
- };
67
- /** @description Internal server error */
68
- 500: {
69
- headers: {
70
- [name: string]: unknown;
71
- };
72
- content: {
73
- 'application/json': components['schemas']['Error'];
74
- };
75
- };
76
- };
77
- };
78
- delete?: never;
79
- options?: never;
80
- head?: never;
81
- patch?: never;
82
- trace?: never;
83
- };
84
- };
85
- export type webhooks = Record<string, never>;
86
- export type components = {
87
- schemas: {
88
- OrderInput: {
89
- /**
90
- * @description User's Ethereum address
91
- * @example 0x1234567890abcdef1234567890abcdef12345678
92
- */
93
- user_id: string;
94
- /**
95
- * @description Coin symbol (e.g., BTC, ETH, DOGE)
96
- * @example BTC
97
- */
98
- coin: string;
99
- /**
100
- * Format: double
101
- * @description Optional stop-loss price level
102
- * @example 45000.5
103
- */
104
- sl_price?: number;
105
- /**
106
- * Format: double
107
- * @description Optional take-profit price level
108
- * @example 55000.75
109
- */
110
- tp_price?: number;
111
- };
112
- Error: {
113
- /**
114
- * @description Human-readable error message
115
- * @example Invalid request format
116
- */
117
- message?: string;
118
- /**
119
- * @description Technical error details
120
- * @example validation error
121
- */
122
- error?: string;
123
- };
124
- };
125
- responses: never;
126
- parameters: never;
127
- requestBodies: never;
128
- headers: never;
129
- pathItems: never;
130
- };
131
- export type $defs = Record<string, never>;
132
- export type operations = Record<string, never>;
133
- //# sourceMappingURL=schema.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema.d.cts","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/schema.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH;;;GAGG;AAEH,MAAM,MAAM,KAAK,GAAG;IAClB,gBAAgB,EAAE;QAChB,UAAU,EAAE;YACV,KAAK,CAAC,EAAE,KAAK,CAAC;YACd,MAAM,CAAC,EAAE,KAAK,CAAC;YACf,IAAI,CAAC,EAAE,KAAK,CAAC;YACb,MAAM,CAAC,EAAE,KAAK,CAAC;SAChB,CAAC;QACF,GAAG,CAAC,EAAE,KAAK,CAAC;QACZ,GAAG,CAAC,EAAE,KAAK,CAAC;QACZ;;;;;;;;WAQG;QACH,IAAI,EAAE;YACJ,UAAU,EAAE;gBACV,KAAK,CAAC,EAAE,KAAK,CAAC;gBACd,MAAM,CAAC,EAAE,KAAK,CAAC;gBACf,IAAI,CAAC,EAAE,KAAK,CAAC;gBACb,MAAM,CAAC,EAAE,KAAK,CAAC;aAChB,CAAC;YACF,WAAW,EAAE;gBACX,OAAO,EAAE;oBACP,kBAAkB,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC;iBACzD,CAAC;aACH,CAAC;YACF,SAAS,EAAE;gBACT,8CAA8C;gBAC9C,GAAG,EAAE;oBACH,OAAO,EAAE;wBACP,CAAC,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;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB;;;;eAIG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;SACnB,CAAC;QACF,KAAK,EAAE;YACL;;;eAGG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB;;;eAGG;YACH,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,CAAC;IACF,SAAS,EAAE,KAAK,CAAC;IACjB,UAAU,EAAE,KAAK,CAAC;IAClB,aAAa,EAAE,KAAK,CAAC;IACrB,OAAO,EAAE,KAAK,CAAC;IACf,SAAS,EAAE,KAAK,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAC1C,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC"}
@@ -1,133 +0,0 @@
1
- /**
2
- * This file was auto-generated by openapi-typescript.
3
- * Do not make direct changes to the file.
4
- * Script: `npx openapi-typescript <PATH TO NOTIFICATION API SPEC> -o ./schema.d.ts`
5
- */
6
- /**
7
- * This file was auto-generated by openapi-typescript.
8
- * Do not make direct changes to the file.
9
- */
10
- export type paths = {
11
- '/api/v1/orders': {
12
- parameters: {
13
- query?: never;
14
- header?: never;
15
- path?: never;
16
- cookie?: never;
17
- };
18
- get?: never;
19
- put?: never;
20
- /**
21
- * Create a new trading order
22
- * @description Creates a new trading order for a specific user.
23
- *
24
- * Supports optional stop-loss (sl_price) and take-profit (tp_price) levels.
25
- *
26
- * **Authentication Required**: This endpoint requires JWT authentication.
27
- *
28
- */
29
- post: {
30
- parameters: {
31
- query?: never;
32
- header?: never;
33
- path?: never;
34
- cookie?: never;
35
- };
36
- requestBody: {
37
- content: {
38
- 'application/json': components['schemas']['OrderInput'];
39
- };
40
- };
41
- responses: {
42
- /** @description Order successfully created */
43
- 201: {
44
- headers: {
45
- [name: string]: unknown;
46
- };
47
- content?: never;
48
- };
49
- /** @description Invalid request - malformed JSON or missing required fields */
50
- 400: {
51
- headers: {
52
- [name: string]: unknown;
53
- };
54
- content: {
55
- 'application/json': components['schemas']['Error'];
56
- };
57
- };
58
- /** @description Unauthorized - invalid or missing JWT token */
59
- 401: {
60
- headers: {
61
- [name: string]: unknown;
62
- };
63
- content: {
64
- 'application/json': components['schemas']['Error'];
65
- };
66
- };
67
- /** @description Internal server error */
68
- 500: {
69
- headers: {
70
- [name: string]: unknown;
71
- };
72
- content: {
73
- 'application/json': components['schemas']['Error'];
74
- };
75
- };
76
- };
77
- };
78
- delete?: never;
79
- options?: never;
80
- head?: never;
81
- patch?: never;
82
- trace?: never;
83
- };
84
- };
85
- export type webhooks = Record<string, never>;
86
- export type components = {
87
- schemas: {
88
- OrderInput: {
89
- /**
90
- * @description User's Ethereum address
91
- * @example 0x1234567890abcdef1234567890abcdef12345678
92
- */
93
- user_id: string;
94
- /**
95
- * @description Coin symbol (e.g., BTC, ETH, DOGE)
96
- * @example BTC
97
- */
98
- coin: string;
99
- /**
100
- * Format: double
101
- * @description Optional stop-loss price level
102
- * @example 45000.5
103
- */
104
- sl_price?: number;
105
- /**
106
- * Format: double
107
- * @description Optional take-profit price level
108
- * @example 55000.75
109
- */
110
- tp_price?: number;
111
- };
112
- Error: {
113
- /**
114
- * @description Human-readable error message
115
- * @example Invalid request format
116
- */
117
- message?: string;
118
- /**
119
- * @description Technical error details
120
- * @example validation error
121
- */
122
- error?: string;
123
- };
124
- };
125
- responses: never;
126
- parameters: never;
127
- requestBodies: never;
128
- headers: never;
129
- pathItems: never;
130
- };
131
- export type $defs = Record<string, never>;
132
- export type operations = Record<string, never>;
133
- //# sourceMappingURL=schema.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema.d.mts","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/schema.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH;;;GAGG;AAEH,MAAM,MAAM,KAAK,GAAG;IAClB,gBAAgB,EAAE;Q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slint-disable jsdoc/tag-lines */
2
- export {};
3
- //# sourceMappingURL=schema.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema.mjs","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/schema.ts"],"names":[],"mappings":"AAAA,oCAAoC","sourcesContent":["/* eslint-disable jsdoc/tag-lines */\n\n/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n * Script: `npx openapi-typescript <PATH TO NOTIFICATION API SPEC> -o ./schema.d.ts`\n */\n\n/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\nexport type paths = {\n '/api/v1/orders': {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /**\n * Create a new trading order\n * @description Creates a new trading order for a specific user.\n *\n * Supports optional stop-loss (sl_price) and take-profit (tp_price) levels.\n *\n * **Authentication Required**: This endpoint requires JWT authentication.\n *\n */\n post: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n 'application/json': components['schemas']['OrderInput'];\n };\n };\n responses: {\n /** @description Order successfully created */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Invalid request - malformed JSON or missing required fields */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n 'application/json': components['schemas']['Error'];\n };\n };\n /** @description Unauthorized - invalid or missing JWT token */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n 'application/json': components['schemas']['Error'];\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n 'application/json': components['schemas']['Error'];\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n};\nexport type webhooks = Record<string, never>;\nexport type components = {\n schemas: {\n OrderInput: {\n /**\n * @description User's Ethereum address\n * @example 0x1234567890abcdef1234567890abcdef12345678\n */\n user_id: string;\n /**\n * @description Coin symbol (e.g., BTC, ETH, DOGE)\n * @example BTC\n */\n coin: string;\n /**\n * Format: double\n * @description Optional stop-loss price level\n * @example 45000.5\n */\n sl_price?: number;\n /**\n * Format: double\n * @description Optional take-profit price level\n * @example 55000.75\n */\n tp_price?: number;\n };\n Error: {\n /**\n * @description Human-readable error message\n * @example Invalid request format\n */\n message?: string;\n /**\n * @description Technical error details\n * @example validation error\n */\n error?: string;\n };\n };\n responses: never;\n parameters: never;\n requestBodies: never;\n headers: never;\n pathItems: never;\n};\nexport type $defs = Record<string, never>;\nexport type operations = Record<string, never>;\n"]}