{"version":3,"file":"schema.mjs","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/perps/schema.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,yGAAyG;AACzG,yDAAyD","sourcesContent":["/* eslint-disable jsdoc/tag-lines */\n// This file is auto-generated from OpenAPI spec and uses snake_case property names from the external API\n/* eslint-disable @typescript-eslint/naming-convention */\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"]}