{"version":3,"file":"schema.cjs","sourceRoot":"","sources":["../../../../src/NotificationServicesController/types/notification-api/schema.ts"],"names":[],"mappings":";AAAA,oCAAoC;AACpC,2EAA2E;AAC3E,yDAAyD","sourcesContent":["/* eslint-disable jsdoc/tag-lines */\n// Auto-generated from OpenAPI spec - naming follows API schema conventions\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\nexport type paths = {\n  '/api/v3/notifications': {\n    parameters: {\n      query?: never;\n      header?: never;\n      path?: never;\n      cookie?: never;\n    };\n    get?: never;\n    put?: never;\n    /** List both platform and on-chain notifications for a certain user/address(es) */\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']['NotificationInputV3'];\n        };\n      };\n      responses: {\n        /** @description Notifications listed successfully */\n        200: {\n          headers: {\n            [name: string]: unknown;\n          };\n          content: {\n            'application/json': components['schemas']['NotificationOutputV3'];\n          };\n        };\n        /** @description Bad request */\n        400: {\n          headers: {\n            [name: string]: unknown;\n          };\n          content?: never;\n        };\n        /** @description Internal server error */\n        500: {\n          headers: {\n            [name: string]: unknown;\n          };\n          content?: never;\n        };\n      };\n    };\n    delete?: never;\n    options?: never;\n    head?: never;\n    patch?: never;\n    trace?: never;\n  };\n  '/api/v3/notifications/mark-as-read': {\n    parameters: {\n      query?: never;\n      header?: never;\n      path?: never;\n      cookie?: never;\n    };\n    get?: never;\n    put?: never;\n    /** Mark notifications as read */\n    post: {\n      parameters: {\n        query?: never;\n        header?: never;\n        path?: never;\n        cookie?: never;\n      };\n      requestBody: {\n        content: {\n          'application/json': {\n            ids?: string[];\n          };\n        };\n      };\n      responses: {\n        /** @description Successfully marked notifications as read */\n        200: {\n          headers: {\n            [name: string]: unknown;\n          };\n          content?: never;\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    NotificationInputV3: {\n      /** @example en-US */\n      locale: string;\n      addresses: string[];\n      platform: 'extension' | 'mobile';\n    };\n    NotificationOutputV3: (\n      | components['schemas']['PlatformNotification']\n      | components['schemas']['OnChainNotification']\n    )[];\n    PlatformNotification: {\n      /**\n       * Format: uuid\n       * @example 3fa85f64-5717-4562-b3fc-2c963f66afa6\n       */\n      id: string;\n      /** @enum {string} */\n      notification_type: 'platform';\n      /** @example false */\n      unread: boolean;\n      template: components['schemas']['LocalizedNotification'];\n      /**\n       * Format: date-time\n       * @example 2025-10-09T09:45:34.202Z\n       */\n      created_at: string;\n    };\n    LocalizedNotification: {\n      image_url: string;\n      cta?: components['schemas']['LocalizedNotificationCTA'];\n      title: string;\n      body: string;\n    };\n    LocalizedNotificationCTA: {\n      content: string;\n      link: string;\n    };\n    OnChainNotification: {\n      /**\n       * Format: uuid\n       * @example 3fa85f64-5717-4562-b3fc-2c963f66afa6\n       */\n      id: string;\n      /** @enum {string} */\n      notification_type: 'on-chain';\n      /** @example false */\n      unread: boolean;\n      /**\n       * Format: date-time\n       * @example 2025-10-09T09:45:34.202Z\n       */\n      created_at: string;\n      payload: components['schemas']['OnChainPayload'];\n    };\n    OnChainPayload: {\n      /** @example 1 */\n      chain_id: number;\n      /** @example 17485840 */\n      block_number: number;\n      block_timestamp: string;\n      /** @example 0x881D40237659C251811CEC9c364ef91dC08D300C */\n      tx_hash: string;\n      address: string;\n      network: components['schemas']['NetworkMetadata'];\n      data?:\n        | components['schemas']['Data_MetamaskSwapCompleted']\n        | components['schemas']['Data_LidoStakeReadyToBeWithdrawn']\n        | components['schemas']['Data_LidoStakeCompleted']\n        | components['schemas']['Data_LidoWithdrawalRequested']\n        | components['schemas']['Data_LidoWithdrawalCompleted']\n        | components['schemas']['Data_RocketPoolStakeCompleted']\n        | components['schemas']['Data_RocketPoolUnstakeCompleted']\n        | components['schemas']['Data_ETHSent']\n        | components['schemas']['Data_ETHReceived']\n        | components['schemas']['Data_ERC20Sent']\n        | components['schemas']['Data_ERC20Received']\n        | components['schemas']['Data_ERC721Sent']\n        | components['schemas']['Data_ERC721Received']\n        | components['schemas']['Data_ERC1155Sent']\n        | components['schemas']['Data_ERC1155Received'];\n    };\n    Data_MetamaskSwapCompleted: {\n      /** @enum {string} */\n      kind: 'metamask_swap_completed';\n      network_fee: components['schemas']['NetworkFee'];\n      /** Format: decimal */\n      rate: string;\n      token_in: components['schemas']['Token'];\n      token_out: components['schemas']['Token'];\n    };\n    Data_LidoStakeCompleted: {\n      /** @enum {string} */\n      kind: 'lido_stake_completed';\n      network_fee: components['schemas']['NetworkFee'];\n      stake_in: components['schemas']['Stake'];\n      stake_out: components['schemas']['Stake'];\n    };\n    Data_LidoWithdrawalRequested: {\n      /** @enum {string} */\n      kind: 'lido_withdrawal_requested';\n      network_fee: components['schemas']['NetworkFee'];\n      stake_in: components['schemas']['Stake'];\n      stake_out: components['schemas']['Stake'];\n    };\n    Data_LidoStakeReadyToBeWithdrawn: {\n      /** @enum {string} */\n      kind: 'lido_stake_ready_to_be_withdrawn';\n      /** Format: decimal */\n      request_id: string;\n      staked_eth: components['schemas']['Stake'];\n    };\n    Data_LidoWithdrawalCompleted: {\n      /** @enum {string} */\n      kind: 'lido_withdrawal_completed';\n      network_fee: components['schemas']['NetworkFee'];\n      stake_in: components['schemas']['Stake'];\n      stake_out: components['schemas']['Stake'];\n    };\n    Data_RocketPoolStakeCompleted: {\n      /** @enum {string} */\n      kind: 'rocketpool_stake_completed';\n      network_fee: components['schemas']['NetworkFee'];\n      stake_in: components['schemas']['Stake'];\n      stake_out: components['schemas']['Stake'];\n    };\n    Data_RocketPoolUnstakeCompleted: {\n      /** @enum {string} */\n      kind: 'rocketpool_unstake_completed';\n      network_fee: components['schemas']['NetworkFee'];\n      stake_in: components['schemas']['Stake'];\n      stake_out: components['schemas']['Stake'];\n    };\n    Data_ETHSent: {\n      /** @enum {string} */\n      kind: 'eth_sent';\n      network_fee: components['schemas']['NetworkFee'];\n      /** Format: address */\n      from: string;\n      /** Format: address */\n      to: string;\n      amount: {\n        /** Format: decimal */\n        usd: string;\n        /** Format: decimal */\n        eth: string;\n      };\n    };\n    Data_ETHReceived: {\n      /** @enum {string} */\n      kind: 'eth_received';\n      network_fee: components['schemas']['NetworkFee'];\n      /** Format: address */\n      from: string;\n      /** Format: address */\n      to: string;\n      amount: {\n        /** Format: decimal */\n        usd: string;\n        /** Format: decimal */\n        eth: string;\n      };\n    };\n    Data_ERC20Sent: {\n      /** @enum {string} */\n      kind: 'erc20_sent';\n      network_fee: components['schemas']['NetworkFee'];\n      /** Format: address */\n      from: string;\n      /** Format: address */\n      to: string;\n      token: components['schemas']['Token'];\n    };\n    Data_ERC20Received: {\n      /** @enum {string} */\n      kind: 'erc20_received';\n      network_fee: components['schemas']['NetworkFee'];\n      /** Format: address */\n      from: string;\n      /** Format: address */\n      to: string;\n      token: components['schemas']['Token'];\n    };\n    Data_ERC721Sent: {\n      /** @enum {string} */\n      kind: 'erc721_sent';\n      network_fee: components['schemas']['NetworkFee'];\n      /** Format: address */\n      from: string;\n      /** Format: address */\n      to: string;\n      nft: components['schemas']['NFT'];\n    };\n    Data_ERC721Received: {\n      /** @enum {string} */\n      kind: 'erc721_received';\n      network_fee: components['schemas']['NetworkFee'];\n      /** Format: address */\n      from: string;\n      /** Format: address */\n      to: string;\n      nft: components['schemas']['NFT'];\n    };\n    Data_ERC1155Sent: {\n      /** @enum {string} */\n      kind: 'erc1155_sent';\n      network_fee: components['schemas']['NetworkFee'];\n      /** Format: address */\n      from: string;\n      /** Format: address */\n      to: string;\n      nft?: components['schemas']['NFT'];\n    };\n    Data_ERC1155Received: {\n      /** @enum {string} */\n      kind: 'erc1155_received';\n      network_fee: components['schemas']['NetworkFee'];\n      /** Format: address */\n      from: string;\n      /** Format: address */\n      to: string;\n      nft?: components['schemas']['NFT'];\n    };\n    NetworkFee: {\n      /** Format: decimal */\n      gas_price: string;\n      /** Format: decimal */\n      native_token_price_in_usd: string;\n    };\n    Token: {\n      /** Format: address */\n      address: string;\n      symbol: string;\n      name: string;\n      /** Format: decimal */\n      amount: string;\n      /** Format: int32 */\n      decimals: string;\n      /** Format: uri */\n      image: string;\n      /** Format: decimal */\n      usd: string;\n    };\n    NFT: {\n      name: string;\n      token_id: string;\n      /** Format: uri */\n      image: string;\n      collection: {\n        /** Format: address */\n        address: string;\n        name: string;\n        symbol: string;\n        /** Format: uri */\n        image: string;\n      };\n    };\n    Stake: {\n      /** Format: address */\n      address: string;\n      symbol: string;\n      name: string;\n      /** Format: decimal */\n      amount: string;\n      /** Format: int32 */\n      decimals: string;\n      /** Format: uri */\n      image: string;\n      /** Format: decimal */\n      usd: string;\n    };\n    BlockExplorer: {\n      /**\n       * Format: uri\n       * @example https://etherscan.io\n       */\n      url: string;\n      /** @example Etherscan */\n      name: string;\n    };\n    NetworkMetadata: {\n      /**\n       * @description Human-readable network name\n       * @example Ethereum\n       */\n      name: string;\n      /**\n       * @description Native token symbol\n       * @example ETH\n       */\n      native_symbol: string;\n      block_explorer: components['schemas']['BlockExplorer'];\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"]}