Personal finance tracker
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: add README & LICENSE

+639 -604
+21
LICENSE
··· 1 + MIT License 2 + 3 + Copyright (c) 2026-present Jeff Yang 4 + 5 + Permission is hereby granted, free of charge, to any person obtaining a copy 6 + of this software and associated documentation files (the "Software"), to deal 7 + in the Software without restriction, including without limitation the rights 8 + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 + copies of the Software, and to permit persons to whom the Software is 10 + furnished to do so, subject to the following conditions: 11 + 12 + The above copyright notice and this permission notice shall be included in all 13 + copies or substantial portions of the Software. 14 + 15 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 + SOFTWARE.
+14
README.md
··· 1 + # Subete 2 + 3 + > My expense tracker 4 + 5 + ## Tech Stack 6 + 7 + - Vue + Vite for front-end 8 + - Go for back-end 9 + - SQLite 10 + - AT Protocol 11 + 12 + ## License 13 + 14 + [MIT](./LICENSE)
+604 -604
frontend/src/api/schema.d.ts
··· 1 1 export interface paths { 2 - "/me": { 3 - parameters: { 4 - query?: never; 5 - header?: never; 6 - path?: never; 7 - cookie?: never; 8 - }; 9 - /** Get me */ 10 - get: operations["get-me"]; 11 - put?: never; 12 - post?: never; 13 - delete?: never; 14 - options?: never; 15 - head?: never; 16 - patch?: never; 17 - trace?: never; 18 - }; 19 - "/wallet/{walletID}/transaction/{transactionID}": { 20 - parameters: { 21 - query?: never; 22 - header?: never; 23 - path?: never; 24 - cookie?: never; 25 - }; 26 - /** Get wallet by wallet ID transaction by transaction ID */ 27 - get: operations["get-wallet-by-wallet-id-transaction-by-transaction-id"]; 28 - /** Put wallet by wallet ID transaction by transaction ID */ 29 - put: operations["put-wallet-by-wallet-id-transaction-by-transaction-id"]; 30 - post?: never; 31 - /** Delete wallet by wallet ID transaction by transaction ID */ 32 - delete: operations["delete-wallet-by-wallet-id-transaction-by-transaction-id"]; 33 - options?: never; 34 - head?: never; 35 - patch?: never; 36 - trace?: never; 37 - }; 38 - "/wallet/{walletID}/transactions": { 39 - parameters: { 40 - query?: never; 41 - header?: never; 42 - path?: never; 43 - cookie?: never; 44 - }; 45 - /** List wallet by wallet ID transactions */ 46 - get: operations["list-wallet-by-wallet-id-transactions"]; 47 - put?: never; 48 - /** Post wallet by wallet ID transactions */ 49 - post: operations["post-wallet-by-wallet-id-transactions"]; 50 - delete?: never; 51 - options?: never; 52 - head?: never; 53 - patch?: never; 54 - trace?: never; 55 - }; 56 - "/wallet/{walletId}": { 57 - parameters: { 58 - query?: never; 59 - header?: never; 60 - path?: never; 61 - cookie?: never; 62 - }; 63 - /** Get wallet by wallet ID */ 64 - get: operations["get-wallet-by-wallet-id"]; 65 - /** Put wallet by wallet ID */ 66 - put: operations["put-wallet-by-wallet-id"]; 67 - post?: never; 68 - /** Delete wallet by wallet ID */ 69 - delete: operations["delete-wallet-by-wallet-id"]; 70 - options?: never; 71 - head?: never; 72 - patch?: never; 73 - trace?: never; 74 - }; 75 - "/wallets": { 76 - parameters: { 77 - query?: never; 78 - header?: never; 79 - path?: never; 80 - cookie?: never; 81 - }; 82 - /** List wallets */ 83 - get: operations["list-wallets"]; 84 - put?: never; 85 - /** Post wallets */ 86 - post: operations["post-wallets"]; 87 - delete?: never; 88 - options?: never; 89 - head?: never; 90 - patch?: never; 91 - trace?: never; 92 - }; 2 + '/me': { 3 + parameters: { 4 + query?: never; 5 + header?: never; 6 + path?: never; 7 + cookie?: never; 8 + }; 9 + /** Get me */ 10 + get: operations['get-me']; 11 + put?: never; 12 + post?: never; 13 + delete?: never; 14 + options?: never; 15 + head?: never; 16 + patch?: never; 17 + trace?: never; 18 + }; 19 + '/wallet/{walletID}/transaction/{transactionID}': { 20 + parameters: { 21 + query?: never; 22 + header?: never; 23 + path?: never; 24 + cookie?: never; 25 + }; 26 + /** Get wallet by wallet ID transaction by transaction ID */ 27 + get: operations['get-wallet-by-wallet-id-transaction-by-transaction-id']; 28 + /** Put wallet by wallet ID transaction by transaction ID */ 29 + put: operations['put-wallet-by-wallet-id-transaction-by-transaction-id']; 30 + post?: never; 31 + /** Delete wallet by wallet ID transaction by transaction ID */ 32 + delete: operations['delete-wallet-by-wallet-id-transaction-by-transaction-id']; 33 + options?: never; 34 + head?: never; 35 + patch?: never; 36 + trace?: never; 37 + }; 38 + '/wallet/{walletID}/transactions': { 39 + parameters: { 40 + query?: never; 41 + header?: never; 42 + path?: never; 43 + cookie?: never; 44 + }; 45 + /** List wallet by wallet ID transactions */ 46 + get: operations['list-wallet-by-wallet-id-transactions']; 47 + put?: never; 48 + /** Post wallet by wallet ID transactions */ 49 + post: operations['post-wallet-by-wallet-id-transactions']; 50 + delete?: never; 51 + options?: never; 52 + head?: never; 53 + patch?: never; 54 + trace?: never; 55 + }; 56 + '/wallet/{walletId}': { 57 + parameters: { 58 + query?: never; 59 + header?: never; 60 + path?: never; 61 + cookie?: never; 62 + }; 63 + /** Get wallet by wallet ID */ 64 + get: operations['get-wallet-by-wallet-id']; 65 + /** Put wallet by wallet ID */ 66 + put: operations['put-wallet-by-wallet-id']; 67 + post?: never; 68 + /** Delete wallet by wallet ID */ 69 + delete: operations['delete-wallet-by-wallet-id']; 70 + options?: never; 71 + head?: never; 72 + patch?: never; 73 + trace?: never; 74 + }; 75 + '/wallets': { 76 + parameters: { 77 + query?: never; 78 + header?: never; 79 + path?: never; 80 + cookie?: never; 81 + }; 82 + /** List wallets */ 83 + get: operations['list-wallets']; 84 + put?: never; 85 + /** Post wallets */ 86 + post: operations['post-wallets']; 87 + delete?: never; 88 + options?: never; 89 + head?: never; 90 + patch?: never; 91 + trace?: never; 92 + }; 93 93 } 94 94 export type webhooks = Record<string, never>; 95 95 export interface components { 96 - schemas: { 97 - CreateTransactionSchema: { 98 - /** 99 - * Format: uri 100 - * @description A URL to the JSON Schema for this object. 101 - * @example https://example.com/schemas/CreateTransactionSchema.json 102 - */ 103 - readonly $schema?: string; 104 - /** Format: int64 */ 105 - amount: number; 106 - reason: string; 107 - type: string; 108 - /** Format: int64 */ 109 - walletID: number; 110 - }; 111 - CreateWalletSchema: { 112 - /** 113 - * Format: uri 114 - * @description A URL to the JSON Schema for this object. 115 - * @example https://example.com/schemas/CreateWalletSchema.json 116 - */ 117 - readonly $schema?: string; 118 - /** Format: int64 */ 119 - balance: number; 120 - name: string; 121 - }; 122 - ErrorDetail: { 123 - /** @description Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' */ 124 - location?: string; 125 - /** @description Error message text */ 126 - message?: string; 127 - /** @description The value at the given location */ 128 - value?: unknown; 129 - }; 130 - ErrorModel: { 131 - /** 132 - * Format: uri 133 - * @description A URL to the JSON Schema for this object. 134 - * @example https://example.com/schemas/ErrorModel.json 135 - */ 136 - readonly $schema?: string; 137 - /** 138 - * @description A human-readable explanation specific to this occurrence of the problem. 139 - * @example Property foo is required but is missing. 140 - */ 141 - detail?: string; 142 - /** @description Optional list of individual error details */ 143 - errors?: components["schemas"]["ErrorDetail"][] | null; 144 - /** 145 - * Format: uri 146 - * @description A URI reference that identifies the specific occurrence of the problem. 147 - * @example https://example.com/error-log/abc123 148 - */ 149 - instance?: string; 150 - /** 151 - * Format: int64 152 - * @description HTTP status code 153 - * @example 400 154 - */ 155 - status?: number; 156 - /** 157 - * @description A short, human-readable summary of the problem type. This value should not change between occurrences of the error. 158 - * @example Bad Request 159 - */ 160 - title?: string; 161 - /** 162 - * Format: uri 163 - * @description A URI reference to human-readable documentation for the error. 164 - * @default about:blank 165 - * @example https://example.com/errors/example 166 - */ 167 - type: string; 168 - }; 169 - TransactionModel: { 170 - /** 171 - * Format: uri 172 - * @description A URL to the JSON Schema for this object. 173 - * @example https://example.com/schemas/TransactionModel.json 174 - */ 175 - readonly $schema?: string; 176 - /** Format: int64 */ 177 - Amount: number; 178 - /** Format: date-time */ 179 - CreatedAt: string; 180 - /** Format: date-time */ 181 - DeletedAt: string; 182 - /** Format: int64 */ 183 - ID: number; 184 - Reason: string; 185 - Type: string; 186 - /** Format: date-time */ 187 - UpdatedAt: string; 188 - Wallet: components["schemas"]["WalletModel"]; 189 - /** Format: int64 */ 190 - WalletID: number; 191 - }; 192 - UpdateTransactionSchema: { 193 - /** 194 - * Format: uri 195 - * @description A URL to the JSON Schema for this object. 196 - * @example https://example.com/schemas/UpdateTransactionSchema.json 197 - */ 198 - readonly $schema?: string; 199 - /** Format: int64 */ 200 - ID: number; 201 - /** Format: int64 */ 202 - amount: number; 203 - reason: string; 204 - type: string; 205 - /** Format: int64 */ 206 - walletID: number; 207 - }; 208 - UpdateWalletSchema: { 209 - /** 210 - * Format: uri 211 - * @description A URL to the JSON Schema for this object. 212 - * @example https://example.com/schemas/UpdateWalletSchema.json 213 - */ 214 - readonly $schema?: string; 215 - /** Format: int64 */ 216 - ID: number; 217 - /** Format: int64 */ 218 - balance: number; 219 - name: string; 220 - }; 221 - UserModel: { 222 - /** 223 - * Format: uri 224 - * @description A URL to the JSON Schema for this object. 225 - * @example https://example.com/schemas/UserModel.json 226 - */ 227 - readonly $schema?: string; 228 - AccountDID: string; 229 - /** Format: date-time */ 230 - CreatedAt: string; 231 - Handle: string; 232 - /** Format: date-time */ 233 - UpdatedAt: string; 234 - }; 235 - WalletModel: { 236 - /** 237 - * Format: uri 238 - * @description A URL to the JSON Schema for this object. 239 - * @example https://example.com/schemas/WalletModel.json 240 - */ 241 - readonly $schema?: string; 242 - /** Format: int64 */ 243 - Balance: number; 244 - /** Format: date-time */ 245 - CreatedAt: string; 246 - /** Format: date-time */ 247 - DeletedAt: string; 248 - /** Format: int64 */ 249 - ID: number; 250 - Name: string; 251 - /** Format: date-time */ 252 - UpdatedAt: string; 253 - }; 254 - }; 255 - responses: never; 256 - parameters: never; 257 - requestBodies: never; 258 - headers: never; 259 - pathItems: never; 96 + schemas: { 97 + CreateTransactionSchema: { 98 + /** 99 + * Format: uri 100 + * @description A URL to the JSON Schema for this object. 101 + * @example https://example.com/schemas/CreateTransactionSchema.json 102 + */ 103 + readonly $schema?: string; 104 + /** Format: int64 */ 105 + amount: number; 106 + reason: string; 107 + type: string; 108 + /** Format: int64 */ 109 + walletID: number; 110 + }; 111 + CreateWalletSchema: { 112 + /** 113 + * Format: uri 114 + * @description A URL to the JSON Schema for this object. 115 + * @example https://example.com/schemas/CreateWalletSchema.json 116 + */ 117 + readonly $schema?: string; 118 + /** Format: int64 */ 119 + balance: number; 120 + name: string; 121 + }; 122 + ErrorDetail: { 123 + /** @description Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' */ 124 + location?: string; 125 + /** @description Error message text */ 126 + message?: string; 127 + /** @description The value at the given location */ 128 + value?: unknown; 129 + }; 130 + ErrorModel: { 131 + /** 132 + * Format: uri 133 + * @description A URL to the JSON Schema for this object. 134 + * @example https://example.com/schemas/ErrorModel.json 135 + */ 136 + readonly $schema?: string; 137 + /** 138 + * @description A human-readable explanation specific to this occurrence of the problem. 139 + * @example Property foo is required but is missing. 140 + */ 141 + detail?: string; 142 + /** @description Optional list of individual error details */ 143 + errors?: components['schemas']['ErrorDetail'][] | null; 144 + /** 145 + * Format: uri 146 + * @description A URI reference that identifies the specific occurrence of the problem. 147 + * @example https://example.com/error-log/abc123 148 + */ 149 + instance?: string; 150 + /** 151 + * Format: int64 152 + * @description HTTP status code 153 + * @example 400 154 + */ 155 + status?: number; 156 + /** 157 + * @description A short, human-readable summary of the problem type. This value should not change between occurrences of the error. 158 + * @example Bad Request 159 + */ 160 + title?: string; 161 + /** 162 + * Format: uri 163 + * @description A URI reference to human-readable documentation for the error. 164 + * @default about:blank 165 + * @example https://example.com/errors/example 166 + */ 167 + type: string; 168 + }; 169 + TransactionModel: { 170 + /** 171 + * Format: uri 172 + * @description A URL to the JSON Schema for this object. 173 + * @example https://example.com/schemas/TransactionModel.json 174 + */ 175 + readonly $schema?: string; 176 + /** Format: int64 */ 177 + Amount: number; 178 + /** Format: date-time */ 179 + CreatedAt: string; 180 + /** Format: date-time */ 181 + DeletedAt: string; 182 + /** Format: int64 */ 183 + ID: number; 184 + Reason: string; 185 + Type: string; 186 + /** Format: date-time */ 187 + UpdatedAt: string; 188 + Wallet: components['schemas']['WalletModel']; 189 + /** Format: int64 */ 190 + WalletID: number; 191 + }; 192 + UpdateTransactionSchema: { 193 + /** 194 + * Format: uri 195 + * @description A URL to the JSON Schema for this object. 196 + * @example https://example.com/schemas/UpdateTransactionSchema.json 197 + */ 198 + readonly $schema?: string; 199 + /** Format: int64 */ 200 + ID: number; 201 + /** Format: int64 */ 202 + amount: number; 203 + reason: string; 204 + type: string; 205 + /** Format: int64 */ 206 + walletID: number; 207 + }; 208 + UpdateWalletSchema: { 209 + /** 210 + * Format: uri 211 + * @description A URL to the JSON Schema for this object. 212 + * @example https://example.com/schemas/UpdateWalletSchema.json 213 + */ 214 + readonly $schema?: string; 215 + /** Format: int64 */ 216 + ID: number; 217 + /** Format: int64 */ 218 + balance: number; 219 + name: string; 220 + }; 221 + UserModel: { 222 + /** 223 + * Format: uri 224 + * @description A URL to the JSON Schema for this object. 225 + * @example https://example.com/schemas/UserModel.json 226 + */ 227 + readonly $schema?: string; 228 + AccountDID: string; 229 + /** Format: date-time */ 230 + CreatedAt: string; 231 + Handle: string; 232 + /** Format: date-time */ 233 + UpdatedAt: string; 234 + }; 235 + WalletModel: { 236 + /** 237 + * Format: uri 238 + * @description A URL to the JSON Schema for this object. 239 + * @example https://example.com/schemas/WalletModel.json 240 + */ 241 + readonly $schema?: string; 242 + /** Format: int64 */ 243 + Balance: number; 244 + /** Format: date-time */ 245 + CreatedAt: string; 246 + /** Format: date-time */ 247 + DeletedAt: string; 248 + /** Format: int64 */ 249 + ID: number; 250 + Name: string; 251 + /** Format: date-time */ 252 + UpdatedAt: string; 253 + }; 254 + }; 255 + responses: never; 256 + parameters: never; 257 + requestBodies: never; 258 + headers: never; 259 + pathItems: never; 260 260 } 261 261 export type $defs = Record<string, never>; 262 262 export interface operations { 263 - "get-me": { 264 - parameters: { 265 - query?: never; 266 - header?: never; 267 - path?: never; 268 - cookie?: never; 269 - }; 270 - requestBody?: never; 271 - responses: { 272 - /** @description OK */ 273 - 200: { 274 - headers: { 275 - [name: string]: unknown; 276 - }; 277 - content: { 278 - "application/json": components["schemas"]["UserModel"]; 279 - }; 280 - }; 281 - /** @description Error */ 282 - default: { 283 - headers: { 284 - [name: string]: unknown; 285 - }; 286 - content: { 287 - "application/problem+json": components["schemas"]["ErrorModel"]; 288 - }; 289 - }; 290 - }; 291 - }; 292 - "get-wallet-by-wallet-id-transaction-by-transaction-id": { 293 - parameters: { 294 - query?: never; 295 - header?: never; 296 - path: { 297 - walletID: number; 298 - transactionID: number; 299 - }; 300 - cookie?: never; 301 - }; 302 - requestBody?: never; 303 - responses: { 304 - /** @description OK */ 305 - 200: { 306 - headers: { 307 - [name: string]: unknown; 308 - }; 309 - content: { 310 - "application/json": components["schemas"]["TransactionModel"]; 311 - }; 312 - }; 313 - /** @description Error */ 314 - default: { 315 - headers: { 316 - [name: string]: unknown; 317 - }; 318 - content: { 319 - "application/problem+json": components["schemas"]["ErrorModel"]; 320 - }; 321 - }; 322 - }; 323 - }; 324 - "put-wallet-by-wallet-id-transaction-by-transaction-id": { 325 - parameters: { 326 - query?: never; 327 - header?: never; 328 - path?: never; 329 - cookie?: never; 330 - }; 331 - requestBody: { 332 - content: { 333 - "application/json": components["schemas"]["UpdateTransactionSchema"]; 334 - }; 335 - }; 336 - responses: { 337 - /** @description OK */ 338 - 200: { 339 - headers: { 340 - [name: string]: unknown; 341 - }; 342 - content: { 343 - "application/json": components["schemas"]["TransactionModel"]; 344 - }; 345 - }; 346 - /** @description Error */ 347 - default: { 348 - headers: { 349 - [name: string]: unknown; 350 - }; 351 - content: { 352 - "application/problem+json": components["schemas"]["ErrorModel"]; 353 - }; 354 - }; 355 - }; 356 - }; 357 - "delete-wallet-by-wallet-id-transaction-by-transaction-id": { 358 - parameters: { 359 - query?: never; 360 - header?: never; 361 - path: { 362 - walletID: number; 363 - transactionID: number; 364 - }; 365 - cookie?: never; 366 - }; 367 - requestBody?: never; 368 - responses: { 369 - /** @description OK */ 370 - 200: { 371 - headers: { 372 - [name: string]: unknown; 373 - }; 374 - content: { 375 - "application/json": string; 376 - }; 377 - }; 378 - /** @description Error */ 379 - default: { 380 - headers: { 381 - [name: string]: unknown; 382 - }; 383 - content: { 384 - "application/problem+json": components["schemas"]["ErrorModel"]; 385 - }; 386 - }; 387 - }; 388 - }; 389 - "list-wallet-by-wallet-id-transactions": { 390 - parameters: { 391 - query?: never; 392 - header?: never; 393 - path: { 394 - walletID: number; 395 - }; 396 - cookie?: never; 397 - }; 398 - requestBody?: never; 399 - responses: { 400 - /** @description OK */ 401 - 200: { 402 - headers: { 403 - [name: string]: unknown; 404 - }; 405 - content: { 406 - "application/json": components["schemas"]["TransactionModel"][] | null; 407 - }; 408 - }; 409 - /** @description Error */ 410 - default: { 411 - headers: { 412 - [name: string]: unknown; 413 - }; 414 - content: { 415 - "application/problem+json": components["schemas"]["ErrorModel"]; 416 - }; 417 - }; 418 - }; 419 - }; 420 - "post-wallet-by-wallet-id-transactions": { 421 - parameters: { 422 - query?: never; 423 - header?: never; 424 - path: { 425 - walletID: number; 426 - }; 427 - cookie?: never; 428 - }; 429 - requestBody: { 430 - content: { 431 - "application/json": components["schemas"]["CreateTransactionSchema"]; 432 - }; 433 - }; 434 - responses: { 435 - /** @description OK */ 436 - 200: { 437 - headers: { 438 - [name: string]: unknown; 439 - }; 440 - content: { 441 - "application/json": components["schemas"]["TransactionModel"]; 442 - }; 443 - }; 444 - /** @description Error */ 445 - default: { 446 - headers: { 447 - [name: string]: unknown; 448 - }; 449 - content: { 450 - "application/problem+json": components["schemas"]["ErrorModel"]; 451 - }; 452 - }; 453 - }; 454 - }; 455 - "get-wallet-by-wallet-id": { 456 - parameters: { 457 - query?: never; 458 - header?: never; 459 - path: { 460 - walletId: number; 461 - }; 462 - cookie?: never; 463 - }; 464 - requestBody?: never; 465 - responses: { 466 - /** @description OK */ 467 - 200: { 468 - headers: { 469 - [name: string]: unknown; 470 - }; 471 - content: { 472 - "application/json": components["schemas"]["WalletModel"]; 473 - }; 474 - }; 475 - /** @description Error */ 476 - default: { 477 - headers: { 478 - [name: string]: unknown; 479 - }; 480 - content: { 481 - "application/problem+json": components["schemas"]["ErrorModel"]; 482 - }; 483 - }; 484 - }; 485 - }; 486 - "put-wallet-by-wallet-id": { 487 - parameters: { 488 - query?: never; 489 - header?: never; 490 - path?: never; 491 - cookie?: never; 492 - }; 493 - requestBody: { 494 - content: { 495 - "application/json": components["schemas"]["UpdateWalletSchema"]; 496 - }; 497 - }; 498 - responses: { 499 - /** @description OK */ 500 - 200: { 501 - headers: { 502 - [name: string]: unknown; 503 - }; 504 - content: { 505 - "application/json": components["schemas"]["WalletModel"]; 506 - }; 507 - }; 508 - /** @description Error */ 509 - default: { 510 - headers: { 511 - [name: string]: unknown; 512 - }; 513 - content: { 514 - "application/problem+json": components["schemas"]["ErrorModel"]; 515 - }; 516 - }; 517 - }; 518 - }; 519 - "delete-wallet-by-wallet-id": { 520 - parameters: { 521 - query?: never; 522 - header?: never; 523 - path: { 524 - walletId: number; 525 - }; 526 - cookie?: never; 527 - }; 528 - requestBody?: never; 529 - responses: { 530 - /** @description OK */ 531 - 200: { 532 - headers: { 533 - [name: string]: unknown; 534 - }; 535 - content: { 536 - "application/json": string; 537 - }; 538 - }; 539 - /** @description Error */ 540 - default: { 541 - headers: { 542 - [name: string]: unknown; 543 - }; 544 - content: { 545 - "application/problem+json": components["schemas"]["ErrorModel"]; 546 - }; 547 - }; 548 - }; 549 - }; 550 - "list-wallets": { 551 - parameters: { 552 - query?: never; 553 - header?: never; 554 - path?: never; 555 - cookie?: never; 556 - }; 557 - requestBody?: never; 558 - responses: { 559 - /** @description OK */ 560 - 200: { 561 - headers: { 562 - [name: string]: unknown; 563 - }; 564 - content: { 565 - "application/json": components["schemas"]["WalletModel"][] | null; 566 - }; 567 - }; 568 - /** @description Error */ 569 - default: { 570 - headers: { 571 - [name: string]: unknown; 572 - }; 573 - content: { 574 - "application/problem+json": components["schemas"]["ErrorModel"]; 575 - }; 576 - }; 577 - }; 578 - }; 579 - "post-wallets": { 580 - parameters: { 581 - query?: never; 582 - header?: never; 583 - path?: never; 584 - cookie?: never; 585 - }; 586 - requestBody: { 587 - content: { 588 - "application/json": components["schemas"]["CreateWalletSchema"]; 589 - }; 590 - }; 591 - responses: { 592 - /** @description OK */ 593 - 200: { 594 - headers: { 595 - [name: string]: unknown; 596 - }; 597 - content: { 598 - "application/json": components["schemas"]["WalletModel"]; 599 - }; 600 - }; 601 - /** @description Error */ 602 - default: { 603 - headers: { 604 - [name: string]: unknown; 605 - }; 606 - content: { 607 - "application/problem+json": components["schemas"]["ErrorModel"]; 608 - }; 609 - }; 610 - }; 611 - }; 263 + 'get-me': { 264 + parameters: { 265 + query?: never; 266 + header?: never; 267 + path?: never; 268 + cookie?: never; 269 + }; 270 + requestBody?: never; 271 + responses: { 272 + /** @description OK */ 273 + 200: { 274 + headers: { 275 + [name: string]: unknown; 276 + }; 277 + content: { 278 + 'application/json': components['schemas']['UserModel']; 279 + }; 280 + }; 281 + /** @description Error */ 282 + default: { 283 + headers: { 284 + [name: string]: unknown; 285 + }; 286 + content: { 287 + 'application/problem+json': components['schemas']['ErrorModel']; 288 + }; 289 + }; 290 + }; 291 + }; 292 + 'get-wallet-by-wallet-id-transaction-by-transaction-id': { 293 + parameters: { 294 + query?: never; 295 + header?: never; 296 + path: { 297 + walletID: number; 298 + transactionID: number; 299 + }; 300 + cookie?: never; 301 + }; 302 + requestBody?: never; 303 + responses: { 304 + /** @description OK */ 305 + 200: { 306 + headers: { 307 + [name: string]: unknown; 308 + }; 309 + content: { 310 + 'application/json': components['schemas']['TransactionModel']; 311 + }; 312 + }; 313 + /** @description Error */ 314 + default: { 315 + headers: { 316 + [name: string]: unknown; 317 + }; 318 + content: { 319 + 'application/problem+json': components['schemas']['ErrorModel']; 320 + }; 321 + }; 322 + }; 323 + }; 324 + 'put-wallet-by-wallet-id-transaction-by-transaction-id': { 325 + parameters: { 326 + query?: never; 327 + header?: never; 328 + path?: never; 329 + cookie?: never; 330 + }; 331 + requestBody: { 332 + content: { 333 + 'application/json': components['schemas']['UpdateTransactionSchema']; 334 + }; 335 + }; 336 + responses: { 337 + /** @description OK */ 338 + 200: { 339 + headers: { 340 + [name: string]: unknown; 341 + }; 342 + content: { 343 + 'application/json': components['schemas']['TransactionModel']; 344 + }; 345 + }; 346 + /** @description Error */ 347 + default: { 348 + headers: { 349 + [name: string]: unknown; 350 + }; 351 + content: { 352 + 'application/problem+json': components['schemas']['ErrorModel']; 353 + }; 354 + }; 355 + }; 356 + }; 357 + 'delete-wallet-by-wallet-id-transaction-by-transaction-id': { 358 + parameters: { 359 + query?: never; 360 + header?: never; 361 + path: { 362 + walletID: number; 363 + transactionID: number; 364 + }; 365 + cookie?: never; 366 + }; 367 + requestBody?: never; 368 + responses: { 369 + /** @description OK */ 370 + 200: { 371 + headers: { 372 + [name: string]: unknown; 373 + }; 374 + content: { 375 + 'application/json': string; 376 + }; 377 + }; 378 + /** @description Error */ 379 + default: { 380 + headers: { 381 + [name: string]: unknown; 382 + }; 383 + content: { 384 + 'application/problem+json': components['schemas']['ErrorModel']; 385 + }; 386 + }; 387 + }; 388 + }; 389 + 'list-wallet-by-wallet-id-transactions': { 390 + parameters: { 391 + query?: never; 392 + header?: never; 393 + path: { 394 + walletID: number; 395 + }; 396 + cookie?: never; 397 + }; 398 + requestBody?: never; 399 + responses: { 400 + /** @description OK */ 401 + 200: { 402 + headers: { 403 + [name: string]: unknown; 404 + }; 405 + content: { 406 + 'application/json': components['schemas']['TransactionModel'][] | null; 407 + }; 408 + }; 409 + /** @description Error */ 410 + default: { 411 + headers: { 412 + [name: string]: unknown; 413 + }; 414 + content: { 415 + 'application/problem+json': components['schemas']['ErrorModel']; 416 + }; 417 + }; 418 + }; 419 + }; 420 + 'post-wallet-by-wallet-id-transactions': { 421 + parameters: { 422 + query?: never; 423 + header?: never; 424 + path: { 425 + walletID: number; 426 + }; 427 + cookie?: never; 428 + }; 429 + requestBody: { 430 + content: { 431 + 'application/json': components['schemas']['CreateTransactionSchema']; 432 + }; 433 + }; 434 + responses: { 435 + /** @description OK */ 436 + 200: { 437 + headers: { 438 + [name: string]: unknown; 439 + }; 440 + content: { 441 + 'application/json': components['schemas']['TransactionModel']; 442 + }; 443 + }; 444 + /** @description Error */ 445 + default: { 446 + headers: { 447 + [name: string]: unknown; 448 + }; 449 + content: { 450 + 'application/problem+json': components['schemas']['ErrorModel']; 451 + }; 452 + }; 453 + }; 454 + }; 455 + 'get-wallet-by-wallet-id': { 456 + parameters: { 457 + query?: never; 458 + header?: never; 459 + path: { 460 + walletId: number; 461 + }; 462 + cookie?: never; 463 + }; 464 + requestBody?: never; 465 + responses: { 466 + /** @description OK */ 467 + 200: { 468 + headers: { 469 + [name: string]: unknown; 470 + }; 471 + content: { 472 + 'application/json': components['schemas']['WalletModel']; 473 + }; 474 + }; 475 + /** @description Error */ 476 + default: { 477 + headers: { 478 + [name: string]: unknown; 479 + }; 480 + content: { 481 + 'application/problem+json': components['schemas']['ErrorModel']; 482 + }; 483 + }; 484 + }; 485 + }; 486 + 'put-wallet-by-wallet-id': { 487 + parameters: { 488 + query?: never; 489 + header?: never; 490 + path?: never; 491 + cookie?: never; 492 + }; 493 + requestBody: { 494 + content: { 495 + 'application/json': components['schemas']['UpdateWalletSchema']; 496 + }; 497 + }; 498 + responses: { 499 + /** @description OK */ 500 + 200: { 501 + headers: { 502 + [name: string]: unknown; 503 + }; 504 + content: { 505 + 'application/json': components['schemas']['WalletModel']; 506 + }; 507 + }; 508 + /** @description Error */ 509 + default: { 510 + headers: { 511 + [name: string]: unknown; 512 + }; 513 + content: { 514 + 'application/problem+json': components['schemas']['ErrorModel']; 515 + }; 516 + }; 517 + }; 518 + }; 519 + 'delete-wallet-by-wallet-id': { 520 + parameters: { 521 + query?: never; 522 + header?: never; 523 + path: { 524 + walletId: number; 525 + }; 526 + cookie?: never; 527 + }; 528 + requestBody?: never; 529 + responses: { 530 + /** @description OK */ 531 + 200: { 532 + headers: { 533 + [name: string]: unknown; 534 + }; 535 + content: { 536 + 'application/json': string; 537 + }; 538 + }; 539 + /** @description Error */ 540 + default: { 541 + headers: { 542 + [name: string]: unknown; 543 + }; 544 + content: { 545 + 'application/problem+json': components['schemas']['ErrorModel']; 546 + }; 547 + }; 548 + }; 549 + }; 550 + 'list-wallets': { 551 + parameters: { 552 + query?: never; 553 + header?: never; 554 + path?: never; 555 + cookie?: never; 556 + }; 557 + requestBody?: never; 558 + responses: { 559 + /** @description OK */ 560 + 200: { 561 + headers: { 562 + [name: string]: unknown; 563 + }; 564 + content: { 565 + 'application/json': components['schemas']['WalletModel'][] | null; 566 + }; 567 + }; 568 + /** @description Error */ 569 + default: { 570 + headers: { 571 + [name: string]: unknown; 572 + }; 573 + content: { 574 + 'application/problem+json': components['schemas']['ErrorModel']; 575 + }; 576 + }; 577 + }; 578 + }; 579 + 'post-wallets': { 580 + parameters: { 581 + query?: never; 582 + header?: never; 583 + path?: never; 584 + cookie?: never; 585 + }; 586 + requestBody: { 587 + content: { 588 + 'application/json': components['schemas']['CreateWalletSchema']; 589 + }; 590 + }; 591 + responses: { 592 + /** @description OK */ 593 + 200: { 594 + headers: { 595 + [name: string]: unknown; 596 + }; 597 + content: { 598 + 'application/json': components['schemas']['WalletModel']; 599 + }; 600 + }; 601 + /** @description Error */ 602 + default: { 603 + headers: { 604 + [name: string]: unknown; 605 + }; 606 + content: { 607 + 'application/problem+json': components['schemas']['ErrorModel']; 608 + }; 609 + }; 610 + }; 611 + }; 612 612 }