@nouter/platform 0.2.0 → 0.3.0

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.
@@ -1300,6 +1300,76 @@ export interface paths {
1300
1300
  patch?: never;
1301
1301
  trace?: never;
1302
1302
  };
1303
+ "/v1/messages/batches": {
1304
+ parameters: {
1305
+ query?: never;
1306
+ header?: never;
1307
+ path?: never;
1308
+ cookie?: never;
1309
+ };
1310
+ /** Lista los batches de la organización */
1311
+ get: operations["getV1MessagesBatches"];
1312
+ put?: never;
1313
+ /** Crea un batch de pedidos de Messages */
1314
+ post: operations["postV1MessagesBatches"];
1315
+ delete?: never;
1316
+ options?: never;
1317
+ head?: never;
1318
+ patch?: never;
1319
+ trace?: never;
1320
+ };
1321
+ "/v1/messages/batches/{batchId}": {
1322
+ parameters: {
1323
+ query?: never;
1324
+ header?: never;
1325
+ path?: never;
1326
+ cookie?: never;
1327
+ };
1328
+ /** Lee un batch */
1329
+ get: operations["getV1MessagesBatchesBatchId"];
1330
+ put?: never;
1331
+ post?: never;
1332
+ /** Borra un batch terminado */
1333
+ delete: operations["deleteV1MessagesBatchesBatchId"];
1334
+ options?: never;
1335
+ head?: never;
1336
+ patch?: never;
1337
+ trace?: never;
1338
+ };
1339
+ "/v1/messages/batches/{batchId}/cancel": {
1340
+ parameters: {
1341
+ query?: never;
1342
+ header?: never;
1343
+ path?: never;
1344
+ cookie?: never;
1345
+ };
1346
+ get?: never;
1347
+ put?: never;
1348
+ /** Cancela un batch */
1349
+ post: operations["postV1MessagesBatchesBatchIdCancel"];
1350
+ delete?: never;
1351
+ options?: never;
1352
+ head?: never;
1353
+ patch?: never;
1354
+ trace?: never;
1355
+ };
1356
+ "/v1/messages/batches/{batchId}/results": {
1357
+ parameters: {
1358
+ query?: never;
1359
+ header?: never;
1360
+ path?: never;
1361
+ cookie?: never;
1362
+ };
1363
+ /** Descarga los results de un batch como JSONL */
1364
+ get: operations["getV1MessagesBatchesBatchIdResults"];
1365
+ put?: never;
1366
+ post?: never;
1367
+ delete?: never;
1368
+ options?: never;
1369
+ head?: never;
1370
+ patch?: never;
1371
+ trace?: never;
1372
+ };
1303
1373
  "/v1/oma/usage": {
1304
1374
  parameters: {
1305
1375
  query?: never;
@@ -1404,6 +1474,196 @@ export interface paths {
1404
1474
  patch?: never;
1405
1475
  trace?: never;
1406
1476
  };
1477
+ "/v1/oma/billing": {
1478
+ parameters: {
1479
+ query?: never;
1480
+ header?: never;
1481
+ path?: never;
1482
+ cookie?: never;
1483
+ };
1484
+ /** Lee la cuenta de facturación, el saldo y la clave publicable */
1485
+ get: operations["getV1OmaBilling"];
1486
+ put?: never;
1487
+ post?: never;
1488
+ delete?: never;
1489
+ options?: never;
1490
+ head?: never;
1491
+ patch?: never;
1492
+ trace?: never;
1493
+ };
1494
+ "/v1/oma/billing/credits/ledger": {
1495
+ parameters: {
1496
+ query?: never;
1497
+ header?: never;
1498
+ path?: never;
1499
+ cookie?: never;
1500
+ };
1501
+ /** Lee el extracto de créditos */
1502
+ get: operations["getV1OmaBillingCreditsLedger"];
1503
+ put?: never;
1504
+ post?: never;
1505
+ delete?: never;
1506
+ options?: never;
1507
+ head?: never;
1508
+ patch?: never;
1509
+ trace?: never;
1510
+ };
1511
+ "/v1/oma/billing/credits/ledger/export": {
1512
+ parameters: {
1513
+ query?: never;
1514
+ header?: never;
1515
+ path?: never;
1516
+ cookie?: never;
1517
+ };
1518
+ /** El extracto de créditos como CSV */
1519
+ get: operations["getV1OmaBillingCreditsLedgerExport"];
1520
+ put?: never;
1521
+ post?: never;
1522
+ delete?: never;
1523
+ options?: never;
1524
+ head?: never;
1525
+ patch?: never;
1526
+ trace?: never;
1527
+ };
1528
+ "/v1/oma/billing/payment_methods": {
1529
+ parameters: {
1530
+ query?: never;
1531
+ header?: never;
1532
+ path?: never;
1533
+ cookie?: never;
1534
+ };
1535
+ /** Lista los métodos de pago */
1536
+ get: operations["getV1OmaBillingPaymentMethods"];
1537
+ put?: never;
1538
+ /** Abre el SetupIntent de un método de pago */
1539
+ post: operations["postV1OmaBillingPaymentMethods"];
1540
+ delete?: never;
1541
+ options?: never;
1542
+ head?: never;
1543
+ patch?: never;
1544
+ trace?: never;
1545
+ };
1546
+ "/v1/oma/billing/invoices": {
1547
+ parameters: {
1548
+ query?: never;
1549
+ header?: never;
1550
+ path?: never;
1551
+ cookie?: never;
1552
+ };
1553
+ /** Lista las facturas */
1554
+ get: operations["getV1OmaBillingInvoices"];
1555
+ put?: never;
1556
+ post?: never;
1557
+ delete?: never;
1558
+ options?: never;
1559
+ head?: never;
1560
+ patch?: never;
1561
+ trace?: never;
1562
+ };
1563
+ "/v1/oma/billing/invoices/export": {
1564
+ parameters: {
1565
+ query?: never;
1566
+ header?: never;
1567
+ path?: never;
1568
+ cookie?: never;
1569
+ };
1570
+ /** Las facturas como CSV */
1571
+ get: operations["getV1OmaBillingInvoicesExport"];
1572
+ put?: never;
1573
+ post?: never;
1574
+ delete?: never;
1575
+ options?: never;
1576
+ head?: never;
1577
+ patch?: never;
1578
+ trace?: never;
1579
+ };
1580
+ "/v1/oma/billing/invoices/{id}": {
1581
+ parameters: {
1582
+ query?: never;
1583
+ header?: never;
1584
+ path?: never;
1585
+ cookie?: never;
1586
+ };
1587
+ /** Lee una factura */
1588
+ get: operations["getV1OmaBillingInvoicesId"];
1589
+ put?: never;
1590
+ post?: never;
1591
+ delete?: never;
1592
+ options?: never;
1593
+ head?: never;
1594
+ patch?: never;
1595
+ trace?: never;
1596
+ };
1597
+ "/v1/oma/billing/profile": {
1598
+ parameters: {
1599
+ query?: never;
1600
+ header?: never;
1601
+ path?: never;
1602
+ cookie?: never;
1603
+ };
1604
+ /** Lee el perfil de facturación */
1605
+ get: operations["getV1OmaBillingProfile"];
1606
+ /** Cambia el perfil de facturación y los datos fiscales */
1607
+ put: operations["putV1OmaBillingProfile"];
1608
+ post?: never;
1609
+ delete?: never;
1610
+ options?: never;
1611
+ head?: never;
1612
+ patch?: never;
1613
+ trace?: never;
1614
+ };
1615
+ "/v1/oma/billing/auto_reload": {
1616
+ parameters: {
1617
+ query?: never;
1618
+ header?: never;
1619
+ path?: never;
1620
+ cookie?: never;
1621
+ };
1622
+ /** Lee la configuración del auto-reload */
1623
+ get: operations["getV1OmaBillingAutoReload"];
1624
+ /** Configura el auto-reload de la organización */
1625
+ put: operations["putV1OmaBillingAutoReload"];
1626
+ post?: never;
1627
+ delete?: never;
1628
+ options?: never;
1629
+ head?: never;
1630
+ patch?: never;
1631
+ trace?: never;
1632
+ };
1633
+ "/v1/oma/billing/credits": {
1634
+ parameters: {
1635
+ query?: never;
1636
+ header?: never;
1637
+ path?: never;
1638
+ cookie?: never;
1639
+ };
1640
+ get?: never;
1641
+ put?: never;
1642
+ /** Compra créditos y abre una sesión de Checkout */
1643
+ post: operations["postV1OmaBillingCredits"];
1644
+ delete?: never;
1645
+ options?: never;
1646
+ head?: never;
1647
+ patch?: never;
1648
+ trace?: never;
1649
+ };
1650
+ "/v1/oma/billing/payment_methods/{id}": {
1651
+ parameters: {
1652
+ query?: never;
1653
+ header?: never;
1654
+ path?: never;
1655
+ cookie?: never;
1656
+ };
1657
+ get?: never;
1658
+ put?: never;
1659
+ post?: never;
1660
+ /** Quita un método de pago */
1661
+ delete: operations["deleteV1OmaBillingPaymentMethodsId"];
1662
+ options?: never;
1663
+ head?: never;
1664
+ patch?: never;
1665
+ trace?: never;
1666
+ };
1407
1667
  "/v1/oma/settings": {
1408
1668
  parameters: {
1409
1669
  query?: never;
@@ -6204,7 +6464,7 @@ export interface components {
6204
6464
  } & {
6205
6465
  [key: string]: unknown;
6206
6466
  };
6207
- getV1ModelsResponse_c3f365c2: {
6467
+ getV1ModelsResponse_0a08aa08: {
6208
6468
  data: ({
6209
6469
  _oma?: {
6210
6470
  data_policy: {
@@ -6222,6 +6482,7 @@ export interface components {
6222
6482
  external_eligible: boolean;
6223
6483
  is_default: boolean;
6224
6484
  labels: string[];
6485
+ serves_messages: boolean;
6225
6486
  speeds: {
6226
6487
  standard: {
6227
6488
  pricing: ({
@@ -6311,6 +6572,11 @@ export interface components {
6311
6572
  } & {
6312
6573
  [key: string]: unknown;
6313
6574
  };
6575
+ sampling: {
6576
+ temperature: boolean | null;
6577
+ } & {
6578
+ [key: string]: unknown;
6579
+ };
6314
6580
  } & {
6315
6581
  [key: string]: unknown;
6316
6582
  };
@@ -6474,7 +6740,7 @@ export interface components {
6474
6740
  } & {
6475
6741
  [key: string]: unknown;
6476
6742
  };
6477
- getV1ModelsModelIdResponse_0c3965de: {
6743
+ getV1ModelsModelIdResponse_46bc37c8: {
6478
6744
  _oma?: {
6479
6745
  data_policy: {
6480
6746
  /** @enum {string} */
@@ -6491,6 +6757,7 @@ export interface components {
6491
6757
  external_eligible: boolean;
6492
6758
  is_default: boolean;
6493
6759
  labels: string[];
6760
+ serves_messages: boolean;
6494
6761
  speeds: {
6495
6762
  standard: {
6496
6763
  pricing: ({
@@ -6580,6 +6847,11 @@ export interface components {
6580
6847
  } & {
6581
6848
  [key: string]: unknown;
6582
6849
  };
6850
+ sampling: {
6851
+ temperature: boolean | null;
6852
+ } & {
6853
+ [key: string]: unknown;
6854
+ };
6583
6855
  } & {
6584
6856
  [key: string]: unknown;
6585
6857
  };
@@ -16043,14 +16315,88 @@ export interface components {
16043
16315
  } & {
16044
16316
  [key: string]: unknown;
16045
16317
  };
16046
- getV1OmaUsageResponse_60ec59ff: {
16318
+ postV1MessagesBatchesResponse_6ba9114b: {
16319
+ id: string;
16320
+ /** @constant */
16321
+ type: "message_batch";
16322
+ /** @enum {string} */
16323
+ processing_status: "in_progress" | "canceling" | "ended";
16324
+ request_counts: {
16325
+ processing: number;
16326
+ succeeded: number;
16327
+ errored: number;
16328
+ canceled: number;
16329
+ expired: number;
16330
+ } & {
16331
+ [key: string]: unknown;
16332
+ };
16333
+ created_at: string;
16334
+ expires_at: string;
16335
+ ended_at: string | null;
16336
+ cancel_initiated_at: string | null;
16337
+ archived_at: string | null;
16338
+ results_url: string | null;
16339
+ } & {
16340
+ [key: string]: unknown;
16341
+ };
16342
+ postV1MessagesBatchesRequest_f857ddb0: {
16343
+ requests: ({
16344
+ custom_id: string;
16345
+ params: {
16346
+ [key: string]: unknown;
16347
+ };
16348
+ } & {
16349
+ [key: string]: unknown;
16350
+ })[];
16351
+ } & {
16352
+ [key: string]: unknown;
16353
+ };
16354
+ getV1MessagesBatchesResponse_ef7a29c7: {
16355
+ data: ({
16356
+ id: string;
16357
+ /** @constant */
16358
+ type: "message_batch";
16359
+ /** @enum {string} */
16360
+ processing_status: "in_progress" | "canceling" | "ended";
16361
+ request_counts: {
16362
+ processing: number;
16363
+ succeeded: number;
16364
+ errored: number;
16365
+ canceled: number;
16366
+ expired: number;
16367
+ } & {
16368
+ [key: string]: unknown;
16369
+ };
16370
+ created_at: string;
16371
+ expires_at: string;
16372
+ ended_at: string | null;
16373
+ cancel_initiated_at: string | null;
16374
+ archived_at: string | null;
16375
+ results_url: string | null;
16376
+ } & {
16377
+ [key: string]: unknown;
16378
+ })[];
16379
+ first_id: string | null;
16380
+ last_id: string | null;
16381
+ has_more: boolean;
16382
+ } & {
16383
+ [key: string]: unknown;
16384
+ };
16385
+ deleteV1MessagesBatchesBatchIdResponse_b7d564fe: {
16386
+ id: string;
16387
+ /** @constant */
16388
+ type: "message_batch_deleted";
16389
+ } & {
16390
+ [key: string]: unknown;
16391
+ };
16392
+ getV1OmaUsageResponse_6e951724: {
16047
16393
  days?: 7 | 30 | 90;
16048
16394
  /** @constant */
16049
16395
  currency: "USD";
16050
16396
  from: string;
16051
16397
  to: string;
16052
16398
  ending_at: string;
16053
- group_by: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace")[];
16399
+ group_by: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace" | "service_tier")[];
16054
16400
  rows: ({
16055
16401
  day?: string;
16056
16402
  model?: string;
@@ -16059,6 +16405,11 @@ export interface components {
16059
16405
  session_id?: string | null;
16060
16406
  api_key_id?: string | null;
16061
16407
  workspace_id?: string | null;
16408
+ /**
16409
+ * @description El nivel del pedido cuando se agrupa por `service_tier`: `standard` (todo lo demás) o `batch` (la Batches API).
16410
+ * @enum {string}
16411
+ */
16412
+ service_tier?: "standard" | "batch";
16062
16413
  /** @description El origen de la fila. Con `group_by=api_key`, el grupo del Playground (las llamadas de la consola, sin clave) viene con `api_key_id: null` y `source: "playground"`; el resto de las filas no lo trae. En el CSV del export es la última columna: `playground` en ese grupo y vacía en el resto. */
16063
16414
  source?: "playground" | null;
16064
16415
  requests: number;
@@ -16170,7 +16521,215 @@ export interface components {
16170
16521
  } & {
16171
16522
  [key: string]: unknown;
16172
16523
  };
16173
- getV1OmaSettingsResponse_03443d80: {
16524
+ getV1OmaBillingResponse_1ce63f23: {
16525
+ /** @constant */
16526
+ type: "billing_account";
16527
+ /** @enum {string} */
16528
+ billing_mode: "prepaid" | "postpaid";
16529
+ currency: string;
16530
+ postpaid_since: string | null;
16531
+ purchase_min_micros: string;
16532
+ purchase_max_micros: string;
16533
+ balance_low_threshold_micros: string;
16534
+ balance: {
16535
+ available_micros: string;
16536
+ debt_micros: string;
16537
+ currency: string;
16538
+ as_of: string | null;
16539
+ } & {
16540
+ [key: string]: unknown;
16541
+ };
16542
+ auto_reload: {
16543
+ /** @constant */
16544
+ type: "auto_reload";
16545
+ enabled: boolean;
16546
+ threshold_micros: string | null;
16547
+ target_micros: string | null;
16548
+ payment_method_id: string | null;
16549
+ last_attempt_at: string | null;
16550
+ last_error: string | null;
16551
+ } & {
16552
+ [key: string]: unknown;
16553
+ };
16554
+ profile: {
16555
+ /** @constant */
16556
+ type: "billing_profile";
16557
+ legal_name: string | null;
16558
+ address: string | null;
16559
+ tax_id: string | null;
16560
+ tax_id_type: string | null;
16561
+ billing_email: string | null;
16562
+ currency: string;
16563
+ } & {
16564
+ [key: string]: unknown;
16565
+ };
16566
+ stripe_publishable_key: string | null;
16567
+ } & {
16568
+ [key: string]: unknown;
16569
+ };
16570
+ getV1OmaBillingCreditsLedgerResponse_a5fb3019: {
16571
+ data: ({
16572
+ /** @constant */
16573
+ type: "credit_ledger_entry";
16574
+ id: string;
16575
+ /** @enum {string} */
16576
+ kind: "grant" | "debit" | "expiration" | "refund" | "chargeback" | "adjustment";
16577
+ amount_micros: string;
16578
+ currency: string;
16579
+ source: string;
16580
+ reference: string;
16581
+ grant_id: string | null;
16582
+ expires_at: string | null;
16583
+ /** Format: date-time */
16584
+ created_at: string;
16585
+ } & {
16586
+ [key: string]: unknown;
16587
+ })[];
16588
+ has_more: boolean;
16589
+ next_page: string | null;
16590
+ } & {
16591
+ [key: string]: unknown;
16592
+ };
16593
+ getV1OmaBillingPaymentMethodsResponse_ccc9dabe: {
16594
+ data: ({
16595
+ /** @constant */
16596
+ type: "payment_method";
16597
+ id: string;
16598
+ brand: string;
16599
+ last4: string;
16600
+ exp_month: number;
16601
+ exp_year: number;
16602
+ is_default: boolean;
16603
+ } & {
16604
+ [key: string]: unknown;
16605
+ })[];
16606
+ } & {
16607
+ [key: string]: unknown;
16608
+ };
16609
+ getV1OmaBillingInvoicesResponse_137e49ba: {
16610
+ data: ({
16611
+ /** @constant */
16612
+ type: "invoice";
16613
+ id: string;
16614
+ provider_invoice_id: string;
16615
+ number: string | null;
16616
+ status: string;
16617
+ /** @enum {string} */
16618
+ billing_mode: "prepaid" | "postpaid";
16619
+ amount_due_micros: string;
16620
+ amount_paid_micros: string;
16621
+ currency: string;
16622
+ /** Format: date-time */
16623
+ period_start: string;
16624
+ /** Format: date-time */
16625
+ period_end: string;
16626
+ issued_at: string | null;
16627
+ paid_at: string | null;
16628
+ hosted_invoice_url: string | null;
16629
+ invoice_pdf: string | null;
16630
+ } & {
16631
+ [key: string]: unknown;
16632
+ })[];
16633
+ has_more: boolean;
16634
+ next_page: string | null;
16635
+ } & {
16636
+ [key: string]: unknown;
16637
+ };
16638
+ getV1OmaBillingInvoicesIdResponse_10236a72: {
16639
+ /** @constant */
16640
+ type: "invoice";
16641
+ id: string;
16642
+ provider_invoice_id: string;
16643
+ number: string | null;
16644
+ status: string;
16645
+ /** @enum {string} */
16646
+ billing_mode: "prepaid" | "postpaid";
16647
+ amount_due_micros: string;
16648
+ amount_paid_micros: string;
16649
+ currency: string;
16650
+ /** Format: date-time */
16651
+ period_start: string;
16652
+ /** Format: date-time */
16653
+ period_end: string;
16654
+ issued_at: string | null;
16655
+ paid_at: string | null;
16656
+ hosted_invoice_url: string | null;
16657
+ invoice_pdf: string | null;
16658
+ } & {
16659
+ [key: string]: unknown;
16660
+ };
16661
+ getV1OmaBillingProfileResponse_7cad6725: {
16662
+ /** @constant */
16663
+ type: "billing_profile";
16664
+ legal_name: string | null;
16665
+ address: string | null;
16666
+ tax_id: string | null;
16667
+ tax_id_type: string | null;
16668
+ billing_email: string | null;
16669
+ currency: string;
16670
+ } & {
16671
+ [key: string]: unknown;
16672
+ };
16673
+ getV1OmaBillingAutoReloadResponse_e45d872b: {
16674
+ /** @constant */
16675
+ type: "auto_reload";
16676
+ enabled: boolean;
16677
+ threshold_micros: string | null;
16678
+ target_micros: string | null;
16679
+ payment_method_id: string | null;
16680
+ last_attempt_at: string | null;
16681
+ last_error: string | null;
16682
+ } & {
16683
+ [key: string]: unknown;
16684
+ };
16685
+ postV1OmaBillingCreditsResponse_8057faa2: {
16686
+ /** @constant */
16687
+ type: "credit_purchase";
16688
+ id: string;
16689
+ workspace_id: string;
16690
+ amount_micros: string;
16691
+ currency: string;
16692
+ /** @enum {string} */
16693
+ status: "pending" | "succeeded" | "failed";
16694
+ /** Format: uri */
16695
+ checkout_url: string;
16696
+ expires_at: string | null;
16697
+ } & {
16698
+ [key: string]: unknown;
16699
+ };
16700
+ postV1OmaBillingCreditsRequest_4d30d62f: {
16701
+ amount_micros: string;
16702
+ };
16703
+ postV1OmaBillingPaymentMethodsResponse_37479ae0: {
16704
+ /** @constant */
16705
+ type: "setup_intent";
16706
+ client_secret: string;
16707
+ } & {
16708
+ [key: string]: unknown;
16709
+ };
16710
+ deleteV1OmaBillingPaymentMethodsIdResponse_4786d4a3: {
16711
+ /** @constant */
16712
+ type: "payment_method";
16713
+ id: string;
16714
+ /** @constant */
16715
+ deleted: true;
16716
+ } & {
16717
+ [key: string]: unknown;
16718
+ };
16719
+ putV1OmaBillingProfileRequest_48ef93e7: {
16720
+ legal_name?: string | null;
16721
+ address?: string | null;
16722
+ tax_id?: string | null;
16723
+ tax_id_type?: string | null;
16724
+ billing_email?: string | null;
16725
+ };
16726
+ putV1OmaBillingAutoReloadRequest_aeb42353: {
16727
+ enabled: boolean;
16728
+ threshold_micros: string;
16729
+ target_micros: string;
16730
+ payment_method_id: string | null;
16731
+ };
16732
+ getV1OmaSettingsResponse_c933aa2c: {
16174
16733
  default_session_budget_micros: string | null;
16175
16734
  person_day_limit_micros: string | null;
16176
16735
  agent_day_limit_micros: string | null;
@@ -16182,12 +16741,13 @@ export interface components {
16182
16741
  [key: string]: unknown;
16183
16742
  } | null;
16184
16743
  session_retention_days: number | null;
16744
+ message_logs_retention_days: number;
16185
16745
  allow_api_key_creation: boolean;
16186
16746
  allow_default_workspace_api_key_creation: boolean;
16187
16747
  } & {
16188
16748
  [key: string]: unknown;
16189
16749
  };
16190
- postV1OmaSettingsRequest_b4aaadea: {
16750
+ postV1OmaSettingsRequest_6d71b96c: {
16191
16751
  default_session_budget_micros?: string | null;
16192
16752
  person_day_limit_micros?: string | null;
16193
16753
  agent_day_limit_micros?: string | null;
@@ -16199,6 +16759,7 @@ export interface components {
16199
16759
  [key: string]: unknown;
16200
16760
  } | null;
16201
16761
  session_retention_days?: number | null;
16762
+ message_logs_retention_days?: number | null;
16202
16763
  allow_api_key_creation?: boolean;
16203
16764
  allow_default_workspace_api_key_creation?: boolean;
16204
16765
  };
@@ -16925,7 +17486,7 @@ export interface components {
16925
17486
  } & {
16926
17487
  [key: string]: unknown;
16927
17488
  };
16928
- getV1OmaTelemetryDestinationsResponse_33b4565e: {
17489
+ getV1OmaTelemetryDestinationsResponse_8e52ec65: {
16929
17490
  data: ({
16930
17491
  id: string;
16931
17492
  name: string;
@@ -16936,6 +17497,13 @@ export interface components {
16936
17497
  content_mode: "metadata_only" | "content";
16937
17498
  max_content_bytes: number;
16938
17499
  header_names: string[];
17500
+ workspaces: {
17501
+ /** @enum {string} */
17502
+ type: "all" | "include" | "exclude";
17503
+ workspace_ids: string[];
17504
+ } & {
17505
+ [key: string]: unknown;
17506
+ };
16939
17507
  /** @enum {string} */
16940
17508
  status: "enabled" | "disabled";
16941
17509
  disabled_reason: ("caller" | "sustained_failure" | "invalid_address" | "redirect") | null;
@@ -16951,7 +17519,7 @@ export interface components {
16951
17519
  } & {
16952
17520
  [key: string]: unknown;
16953
17521
  };
16954
- postV1OmaTelemetryDestinationsResponse_61e9bc38: {
17522
+ postV1OmaTelemetryDestinationsResponse_82071bed: {
16955
17523
  id: string;
16956
17524
  name: string;
16957
17525
  endpoint_url: string;
@@ -16961,6 +17529,13 @@ export interface components {
16961
17529
  content_mode: "metadata_only" | "content";
16962
17530
  max_content_bytes: number;
16963
17531
  header_names: string[];
17532
+ workspaces: {
17533
+ /** @enum {string} */
17534
+ type: "all" | "include" | "exclude";
17535
+ workspace_ids: string[];
17536
+ } & {
17537
+ [key: string]: unknown;
17538
+ };
16964
17539
  /** @enum {string} */
16965
17540
  status: "enabled" | "disabled";
16966
17541
  disabled_reason: ("caller" | "sustained_failure" | "invalid_address" | "redirect") | null;
@@ -16973,7 +17548,7 @@ export interface components {
16973
17548
  } & {
16974
17549
  [key: string]: unknown;
16975
17550
  };
16976
- postV1OmaTelemetryDestinationsRequest_0c37065d: {
17551
+ postV1OmaTelemetryDestinationsRequest_6eb420f0: {
16977
17552
  name: string;
16978
17553
  endpoint_url: string;
16979
17554
  /** @constant */
@@ -16984,8 +17559,14 @@ export interface components {
16984
17559
  headers?: {
16985
17560
  [key: string]: string;
16986
17561
  };
17562
+ /** @description With type "all" the list is not sent (an empty workspace_ids is accepted); a non-empty list is invalid_body. */
17563
+ workspaces?: {
17564
+ /** @enum {string} */
17565
+ type: "all" | "include" | "exclude";
17566
+ workspace_ids?: string[];
17567
+ };
16987
17568
  };
16988
- patchV1OmaTelemetryDestinationsIdRequest_fd36967d: {
17569
+ patchV1OmaTelemetryDestinationsIdRequest_0c839bb8: {
16989
17570
  name?: string;
16990
17571
  endpoint_url?: string;
16991
17572
  /** @enum {string} */
@@ -16994,6 +17575,12 @@ export interface components {
16994
17575
  headers?: {
16995
17576
  [key: string]: string;
16996
17577
  };
17578
+ /** @description With type "all" the list is not sent (an empty workspace_ids is accepted); a non-empty list is invalid_body. */
17579
+ workspaces?: {
17580
+ /** @enum {string} */
17581
+ type: "all" | "include" | "exclude";
17582
+ workspace_ids?: string[];
17583
+ };
16997
17584
  };
16998
17585
  deleteV1OmaTelemetryDestinationsIdResponse_8f528c36: {
16999
17586
  /** @constant */
@@ -21724,7 +22311,7 @@ export interface operations {
21724
22311
  [name: string]: unknown;
21725
22312
  };
21726
22313
  content: {
21727
- "application/json": components["schemas"]["getV1ModelsResponse_c3f365c2"];
22314
+ "application/json": components["schemas"]["getV1ModelsResponse_0a08aa08"];
21728
22315
  };
21729
22316
  };
21730
22317
  /** @description El pedido no es válido */
@@ -21797,7 +22384,7 @@ export interface operations {
21797
22384
  [name: string]: unknown;
21798
22385
  };
21799
22386
  content: {
21800
- "application/json": components["schemas"]["getV1ModelsModelIdResponse_0c3965de"];
22387
+ "application/json": components["schemas"]["getV1ModelsModelIdResponse_46bc37c8"];
21801
22388
  };
21802
22389
  };
21803
22390
  /** @description El pedido no es válido */
@@ -27841,21 +28428,12 @@ export interface operations {
27841
28428
  };
27842
28429
  };
27843
28430
  };
27844
- getV1OmaUsage: {
28431
+ getV1MessagesBatches: {
27845
28432
  parameters: {
27846
28433
  query?: {
27847
- days?: "7" | "30" | "90";
27848
- starting_at?: string;
27849
- ending_at?: string;
27850
- "group_by[]"?: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace")[];
27851
- group_by?: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace")[];
27852
- "api_key_ids[]"?: string[];
27853
- api_key_ids?: string[];
27854
- user_profile_id?: string;
27855
- workspace_id?: string;
27856
28434
  limit?: number;
27857
- page?: string;
27858
- format?: "csv";
28435
+ before_id?: string;
28436
+ after_id?: string;
27859
28437
  };
27860
28438
  header?: never;
27861
28439
  path?: never;
@@ -27870,7 +28448,7 @@ export interface operations {
27870
28448
  [name: string]: unknown;
27871
28449
  };
27872
28450
  content: {
27873
- "application/json": components["schemas"]["getV1OmaUsageResponse_60ec59ff"];
28451
+ "application/json": components["schemas"]["getV1MessagesBatchesResponse_ef7a29c7"];
27874
28452
  };
27875
28453
  };
27876
28454
  /** @description El pedido no es válido */
@@ -27880,7 +28458,7 @@ export interface operations {
27880
28458
  [name: string]: unknown;
27881
28459
  };
27882
28460
  content: {
27883
- "application/json": components["schemas"]["ApiError"];
28461
+ "application/json": components["schemas"]["AnthropicError"];
27884
28462
  };
27885
28463
  };
27886
28464
  /** @description Falta la autenticación */
@@ -27890,7 +28468,7 @@ export interface operations {
27890
28468
  [name: string]: unknown;
27891
28469
  };
27892
28470
  content: {
27893
- "application/json": components["schemas"]["ApiError"];
28471
+ "application/json": components["schemas"]["AnthropicError"];
27894
28472
  };
27895
28473
  };
27896
28474
  /** @description La clave no tiene el alcance */
@@ -27900,7 +28478,7 @@ export interface operations {
27900
28478
  [name: string]: unknown;
27901
28479
  };
27902
28480
  content: {
27903
- "application/json": components["schemas"]["ApiError"];
28481
+ "application/json": components["schemas"]["AnthropicError"];
27904
28482
  };
27905
28483
  };
27906
28484
  /** @description Se pasó el límite de pedidos */
@@ -27910,7 +28488,7 @@ export interface operations {
27910
28488
  [name: string]: unknown;
27911
28489
  };
27912
28490
  content: {
27913
- "application/json": components["schemas"]["ApiError"];
28491
+ "application/json": components["schemas"]["AnthropicError"];
27914
28492
  };
27915
28493
  };
27916
28494
  /** @description Error del servidor */
@@ -27920,32 +28498,33 @@ export interface operations {
27920
28498
  [name: string]: unknown;
27921
28499
  };
27922
28500
  content: {
27923
- "application/json": components["schemas"]["ApiError"];
28501
+ "application/json": components["schemas"]["AnthropicError"];
28502
+ };
28503
+ };
28504
+ /** @description Los batches no se pudieron leer; reintentar con `Retry-After` */
28505
+ 503: {
28506
+ headers: {
28507
+ "request-id": components["headers"]["request-id"];
28508
+ [name: string]: unknown;
28509
+ };
28510
+ content: {
28511
+ "application/json": components["schemas"]["AnthropicError"];
27924
28512
  };
27925
28513
  };
27926
28514
  };
27927
28515
  };
27928
- getV1OmaUsageExport: {
28516
+ postV1MessagesBatches: {
27929
28517
  parameters: {
27930
- query?: {
27931
- days?: "7" | "30" | "90";
27932
- starting_at?: string;
27933
- ending_at?: string;
27934
- "group_by[]"?: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace")[];
27935
- group_by?: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace")[];
27936
- "api_key_ids[]"?: string[];
27937
- api_key_ids?: string[];
27938
- user_profile_id?: string;
27939
- workspace_id?: string;
27940
- limit?: number;
27941
- page?: string;
27942
- format?: "csv";
27943
- };
28518
+ query?: never;
27944
28519
  header?: never;
27945
28520
  path?: never;
27946
28521
  cookie?: never;
27947
28522
  };
27948
- requestBody?: never;
28523
+ requestBody: {
28524
+ content: {
28525
+ "application/json": components["schemas"]["postV1MessagesBatchesRequest_f857ddb0"];
28526
+ };
28527
+ };
27949
28528
  responses: {
27950
28529
  /** @description La respuesta */
27951
28530
  200: {
@@ -27954,7 +28533,7 @@ export interface operations {
27954
28533
  [name: string]: unknown;
27955
28534
  };
27956
28535
  content: {
27957
- "text/csv": string;
28536
+ "application/json": components["schemas"]["postV1MessagesBatchesResponse_6ba9114b"];
27958
28537
  };
27959
28538
  };
27960
28539
  /** @description El pedido no es válido */
@@ -27964,7 +28543,7 @@ export interface operations {
27964
28543
  [name: string]: unknown;
27965
28544
  };
27966
28545
  content: {
27967
- "application/json": components["schemas"]["ApiError"];
28546
+ "application/json": components["schemas"]["AnthropicError"];
27968
28547
  };
27969
28548
  };
27970
28549
  /** @description Falta la autenticación */
@@ -27974,27 +28553,37 @@ export interface operations {
27974
28553
  [name: string]: unknown;
27975
28554
  };
27976
28555
  content: {
27977
- "application/json": components["schemas"]["ApiError"];
28556
+ "application/json": components["schemas"]["AnthropicError"];
27978
28557
  };
27979
28558
  };
27980
- /** @description La clave no tiene el alcance */
28559
+ /** @description La clave no tiene el alcance o es de organización y los batches piden una clave de workspace (`workspace_required`) */
27981
28560
  403: {
27982
28561
  headers: {
27983
28562
  "request-id": components["headers"]["request-id"];
27984
28563
  [name: string]: unknown;
27985
28564
  };
27986
28565
  content: {
27987
- "application/json": components["schemas"]["ApiError"];
28566
+ "application/json": components["schemas"]["AnthropicError"];
27988
28567
  };
27989
28568
  };
27990
- /** @description Se pasó el límite de pedidos */
28569
+ /** @description El cuerpo supera `MESSAGE_BATCH_MAX_BYTES` */
28570
+ 413: {
28571
+ headers: {
28572
+ "request-id": components["headers"]["request-id"];
28573
+ [name: string]: unknown;
28574
+ };
28575
+ content: {
28576
+ "application/json": components["schemas"]["AnthropicError"];
28577
+ };
28578
+ };
28579
+ /** @description La organización llegó a sus batches en vuelo (`batch_limit_reached`), a su cuota de bytes (`batch_quota_exceeded`) o a su tope de gasto */
27991
28580
  429: {
27992
28581
  headers: {
27993
28582
  "request-id": components["headers"]["request-id"];
27994
28583
  [name: string]: unknown;
27995
28584
  };
27996
28585
  content: {
27997
- "application/json": components["schemas"]["ApiError"];
28586
+ "application/json": components["schemas"]["AnthropicError"];
27998
28587
  };
27999
28588
  };
28000
28589
  /** @description Error del servidor */
@@ -28004,19 +28593,28 @@ export interface operations {
28004
28593
  [name: string]: unknown;
28005
28594
  };
28006
28595
  content: {
28007
- "application/json": components["schemas"]["ApiError"];
28596
+ "application/json": components["schemas"]["AnthropicError"];
28597
+ };
28598
+ };
28599
+ /** @description El batch no se pudo guardar; reintentar con `Retry-After` */
28600
+ 503: {
28601
+ headers: {
28602
+ "request-id": components["headers"]["request-id"];
28603
+ [name: string]: unknown;
28604
+ };
28605
+ content: {
28606
+ "application/json": components["schemas"]["AnthropicError"];
28008
28607
  };
28009
28608
  };
28010
28609
  };
28011
28610
  };
28012
- getV1OmaUsageLimits: {
28611
+ getV1MessagesBatchesBatchId: {
28013
28612
  parameters: {
28014
- query?: {
28015
- agent_id?: string;
28016
- workspace_id?: string;
28017
- };
28613
+ query?: never;
28018
28614
  header?: never;
28019
- path?: never;
28615
+ path: {
28616
+ batchId: string;
28617
+ };
28020
28618
  cookie?: never;
28021
28619
  };
28022
28620
  requestBody?: never;
@@ -28028,7 +28626,7 @@ export interface operations {
28028
28626
  [name: string]: unknown;
28029
28627
  };
28030
28628
  content: {
28031
- "application/json": components["schemas"]["getV1OmaUsageLimitsResponse_7480fb17"];
28629
+ "application/json": components["schemas"]["postV1MessagesBatchesResponse_6ba9114b"];
28032
28630
  };
28033
28631
  };
28034
28632
  /** @description El pedido no es válido */
@@ -28038,7 +28636,7 @@ export interface operations {
28038
28636
  [name: string]: unknown;
28039
28637
  };
28040
28638
  content: {
28041
- "application/json": components["schemas"]["ApiError"];
28639
+ "application/json": components["schemas"]["AnthropicError"];
28042
28640
  };
28043
28641
  };
28044
28642
  /** @description Falta la autenticación */
@@ -28048,7 +28646,7 @@ export interface operations {
28048
28646
  [name: string]: unknown;
28049
28647
  };
28050
28648
  content: {
28051
- "application/json": components["schemas"]["ApiError"];
28649
+ "application/json": components["schemas"]["AnthropicError"];
28052
28650
  };
28053
28651
  };
28054
28652
  /** @description La clave no tiene el alcance */
@@ -28058,7 +28656,7 @@ export interface operations {
28058
28656
  [name: string]: unknown;
28059
28657
  };
28060
28658
  content: {
28061
- "application/json": components["schemas"]["ApiError"];
28659
+ "application/json": components["schemas"]["AnthropicError"];
28062
28660
  };
28063
28661
  };
28064
28662
  /** @description El recurso no existe */
@@ -28068,7 +28666,7 @@ export interface operations {
28068
28666
  [name: string]: unknown;
28069
28667
  };
28070
28668
  content: {
28071
- "application/json": components["schemas"]["ApiError"];
28669
+ "application/json": components["schemas"]["AnthropicError"];
28072
28670
  };
28073
28671
  };
28074
28672
  /** @description Se pasó el límite de pedidos */
@@ -28078,7 +28676,7 @@ export interface operations {
28078
28676
  [name: string]: unknown;
28079
28677
  };
28080
28678
  content: {
28081
- "application/json": components["schemas"]["ApiError"];
28679
+ "application/json": components["schemas"]["AnthropicError"];
28082
28680
  };
28083
28681
  };
28084
28682
  /** @description Error del servidor */
@@ -28088,25 +28686,31 @@ export interface operations {
28088
28686
  [name: string]: unknown;
28089
28687
  };
28090
28688
  content: {
28091
- "application/json": components["schemas"]["ApiError"];
28689
+ "application/json": components["schemas"]["AnthropicError"];
28690
+ };
28691
+ };
28692
+ /** @description El batch no se pudo leer; reintentar con `Retry-After` */
28693
+ 503: {
28694
+ headers: {
28695
+ "request-id": components["headers"]["request-id"];
28696
+ [name: string]: unknown;
28697
+ };
28698
+ content: {
28699
+ "application/json": components["schemas"]["AnthropicError"];
28092
28700
  };
28093
28701
  };
28094
28702
  };
28095
28703
  };
28096
- postV1OmaUsageLimits: {
28704
+ deleteV1MessagesBatchesBatchId: {
28097
28705
  parameters: {
28098
- query?: {
28099
- workspace_id?: string;
28100
- };
28706
+ query?: never;
28101
28707
  header?: never;
28102
- path?: never;
28103
- cookie?: never;
28104
- };
28105
- requestBody: {
28106
- content: {
28107
- "application/json": components["schemas"]["postV1OmaUsageLimitsRequest_6c4d6770"];
28708
+ path: {
28709
+ batchId: string;
28108
28710
  };
28711
+ cookie?: never;
28109
28712
  };
28713
+ requestBody?: never;
28110
28714
  responses: {
28111
28715
  /** @description La respuesta */
28112
28716
  200: {
@@ -28115,17 +28719,17 @@ export interface operations {
28115
28719
  [name: string]: unknown;
28116
28720
  };
28117
28721
  content: {
28118
- "application/json": components["schemas"]["getV1OmaUsageLimitsResponse_7480fb17"];
28722
+ "application/json": components["schemas"]["deleteV1MessagesBatchesBatchIdResponse_b7d564fe"];
28119
28723
  };
28120
28724
  };
28121
- /** @description El pedido no es válido */
28725
+ /** @description Solo se borra un batch `ended`; uno en curso se cancela primero */
28122
28726
  400: {
28123
28727
  headers: {
28124
28728
  "request-id": components["headers"]["request-id"];
28125
28729
  [name: string]: unknown;
28126
28730
  };
28127
28731
  content: {
28128
- "application/json": components["schemas"]["ApiError"];
28732
+ "application/json": components["schemas"]["AnthropicError"];
28129
28733
  };
28130
28734
  };
28131
28735
  /** @description Falta la autenticación */
@@ -28135,17 +28739,17 @@ export interface operations {
28135
28739
  [name: string]: unknown;
28136
28740
  };
28137
28741
  content: {
28138
- "application/json": components["schemas"]["ApiError"];
28742
+ "application/json": components["schemas"]["AnthropicError"];
28139
28743
  };
28140
28744
  };
28141
- /** @description La clave no tiene el alcance */
28745
+ /** @description La clave no tiene el alcance o es de organización y los batches piden una clave de workspace (`workspace_required`) */
28142
28746
  403: {
28143
28747
  headers: {
28144
28748
  "request-id": components["headers"]["request-id"];
28145
28749
  [name: string]: unknown;
28146
28750
  };
28147
28751
  content: {
28148
- "application/json": components["schemas"]["ApiError"];
28752
+ "application/json": components["schemas"]["AnthropicError"];
28149
28753
  };
28150
28754
  };
28151
28755
  /** @description El recurso no existe */
@@ -28155,17 +28759,7 @@ export interface operations {
28155
28759
  [name: string]: unknown;
28156
28760
  };
28157
28761
  content: {
28158
- "application/json": components["schemas"]["ApiError"];
28159
- };
28160
- };
28161
- /** @description El recurso ya existe o está en conflicto */
28162
- 409: {
28163
- headers: {
28164
- "request-id": components["headers"]["request-id"];
28165
- [name: string]: unknown;
28166
- };
28167
- content: {
28168
- "application/json": components["schemas"]["ApiError"];
28762
+ "application/json": components["schemas"]["AnthropicError"];
28169
28763
  };
28170
28764
  };
28171
28765
  /** @description Se pasó el límite de pedidos */
@@ -28175,7 +28769,7 @@ export interface operations {
28175
28769
  [name: string]: unknown;
28176
28770
  };
28177
28771
  content: {
28178
- "application/json": components["schemas"]["ApiError"];
28772
+ "application/json": components["schemas"]["AnthropicError"];
28179
28773
  };
28180
28774
  };
28181
28775
  /** @description Error del servidor */
@@ -28185,22 +28779,1513 @@ export interface operations {
28185
28779
  [name: string]: unknown;
28186
28780
  };
28187
28781
  content: {
28188
- "application/json": components["schemas"]["ApiError"];
28782
+ "application/json": components["schemas"]["AnthropicError"];
28783
+ };
28784
+ };
28785
+ /** @description El batch no se pudo borrar; reintentar con `Retry-After` */
28786
+ 503: {
28787
+ headers: {
28788
+ "request-id": components["headers"]["request-id"];
28789
+ [name: string]: unknown;
28790
+ };
28791
+ content: {
28792
+ "application/json": components["schemas"]["AnthropicError"];
28793
+ };
28794
+ };
28795
+ };
28796
+ };
28797
+ postV1MessagesBatchesBatchIdCancel: {
28798
+ parameters: {
28799
+ query?: never;
28800
+ header?: never;
28801
+ path: {
28802
+ batchId: string;
28803
+ };
28804
+ cookie?: never;
28805
+ };
28806
+ requestBody?: never;
28807
+ responses: {
28808
+ /** @description La respuesta */
28809
+ 200: {
28810
+ headers: {
28811
+ "request-id": components["headers"]["request-id"];
28812
+ [name: string]: unknown;
28813
+ };
28814
+ content: {
28815
+ "application/json": components["schemas"]["postV1MessagesBatchesResponse_6ba9114b"];
28816
+ };
28817
+ };
28818
+ /** @description El batch ya terminó y no se puede cancelar */
28819
+ 400: {
28820
+ headers: {
28821
+ "request-id": components["headers"]["request-id"];
28822
+ [name: string]: unknown;
28823
+ };
28824
+ content: {
28825
+ "application/json": components["schemas"]["AnthropicError"];
28826
+ };
28827
+ };
28828
+ /** @description Falta la autenticación */
28829
+ 401: {
28830
+ headers: {
28831
+ "request-id": components["headers"]["request-id"];
28832
+ [name: string]: unknown;
28833
+ };
28834
+ content: {
28835
+ "application/json": components["schemas"]["AnthropicError"];
28836
+ };
28837
+ };
28838
+ /** @description La clave no tiene el alcance o es de organización y los batches piden una clave de workspace (`workspace_required`) */
28839
+ 403: {
28840
+ headers: {
28841
+ "request-id": components["headers"]["request-id"];
28842
+ [name: string]: unknown;
28843
+ };
28844
+ content: {
28845
+ "application/json": components["schemas"]["AnthropicError"];
28846
+ };
28847
+ };
28848
+ /** @description El recurso no existe */
28849
+ 404: {
28850
+ headers: {
28851
+ "request-id": components["headers"]["request-id"];
28852
+ [name: string]: unknown;
28853
+ };
28854
+ content: {
28855
+ "application/json": components["schemas"]["AnthropicError"];
28856
+ };
28857
+ };
28858
+ /** @description Se pasó el límite de pedidos */
28859
+ 429: {
28860
+ headers: {
28861
+ "request-id": components["headers"]["request-id"];
28862
+ [name: string]: unknown;
28863
+ };
28864
+ content: {
28865
+ "application/json": components["schemas"]["AnthropicError"];
28866
+ };
28867
+ };
28868
+ /** @description Error del servidor */
28869
+ 500: {
28870
+ headers: {
28871
+ "request-id": components["headers"]["request-id"];
28872
+ [name: string]: unknown;
28873
+ };
28874
+ content: {
28875
+ "application/json": components["schemas"]["AnthropicError"];
28876
+ };
28877
+ };
28878
+ /** @description El batch no se pudo cancelar; reintentar con `Retry-After` */
28879
+ 503: {
28880
+ headers: {
28881
+ "request-id": components["headers"]["request-id"];
28882
+ [name: string]: unknown;
28883
+ };
28884
+ content: {
28885
+ "application/json": components["schemas"]["AnthropicError"];
28886
+ };
28887
+ };
28888
+ };
28889
+ };
28890
+ getV1MessagesBatchesBatchIdResults: {
28891
+ parameters: {
28892
+ query?: never;
28893
+ header?: never;
28894
+ path: {
28895
+ batchId: string;
28896
+ };
28897
+ cookie?: never;
28898
+ };
28899
+ requestBody?: never;
28900
+ responses: {
28901
+ /** @description La respuesta */
28902
+ 200: {
28903
+ headers: {
28904
+ "request-id": components["headers"]["request-id"];
28905
+ [name: string]: unknown;
28906
+ };
28907
+ content: {
28908
+ "application/x-jsonl": string;
28909
+ };
28910
+ };
28911
+ /** @description Los results solo están disponibles cuando el batch terminó */
28912
+ 400: {
28913
+ headers: {
28914
+ "request-id": components["headers"]["request-id"];
28915
+ [name: string]: unknown;
28916
+ };
28917
+ content: {
28918
+ "application/json": components["schemas"]["AnthropicError"];
28919
+ };
28920
+ };
28921
+ /** @description Falta la autenticación */
28922
+ 401: {
28923
+ headers: {
28924
+ "request-id": components["headers"]["request-id"];
28925
+ [name: string]: unknown;
28926
+ };
28927
+ content: {
28928
+ "application/json": components["schemas"]["AnthropicError"];
28929
+ };
28930
+ };
28931
+ /** @description La clave no tiene el alcance o es de organización y los batches piden una clave de workspace (`workspace_required`) */
28932
+ 403: {
28933
+ headers: {
28934
+ "request-id": components["headers"]["request-id"];
28935
+ [name: string]: unknown;
28936
+ };
28937
+ content: {
28938
+ "application/json": components["schemas"]["AnthropicError"];
28939
+ };
28940
+ };
28941
+ /** @description El batch no existe o sus results ya se borraron por retención */
28942
+ 404: {
28943
+ headers: {
28944
+ "request-id": components["headers"]["request-id"];
28945
+ [name: string]: unknown;
28946
+ };
28947
+ content: {
28948
+ "application/json": components["schemas"]["AnthropicError"];
28949
+ };
28950
+ };
28951
+ /** @description Se pasó el límite de pedidos */
28952
+ 429: {
28953
+ headers: {
28954
+ "request-id": components["headers"]["request-id"];
28955
+ [name: string]: unknown;
28956
+ };
28957
+ content: {
28958
+ "application/json": components["schemas"]["AnthropicError"];
28959
+ };
28960
+ };
28961
+ /** @description Error del servidor */
28962
+ 500: {
28963
+ headers: {
28964
+ "request-id": components["headers"]["request-id"];
28965
+ [name: string]: unknown;
28966
+ };
28967
+ content: {
28968
+ "application/json": components["schemas"]["AnthropicError"];
28969
+ };
28970
+ };
28971
+ /** @description Los results se están ensamblando; reintentar con `Retry-After` */
28972
+ 503: {
28973
+ headers: {
28974
+ "request-id": components["headers"]["request-id"];
28975
+ [name: string]: unknown;
28976
+ };
28977
+ content: {
28978
+ "application/json": components["schemas"]["AnthropicError"];
28979
+ };
28980
+ };
28981
+ };
28982
+ };
28983
+ getV1OmaUsage: {
28984
+ parameters: {
28985
+ query?: {
28986
+ days?: "7" | "30" | "90";
28987
+ starting_at?: string;
28988
+ ending_at?: string;
28989
+ "group_by[]"?: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace" | "service_tier")[];
28990
+ group_by?: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace" | "service_tier")[];
28991
+ "api_key_ids[]"?: string[];
28992
+ api_key_ids?: string[];
28993
+ user_profile_id?: string;
28994
+ "service_tiers[]"?: ("batch" | "flex" | "flex_discount" | "priority" | "priority_on_demand" | "standard")[];
28995
+ service_tiers?: ("batch" | "flex" | "flex_discount" | "priority" | "priority_on_demand" | "standard")[];
28996
+ workspace_id?: string;
28997
+ limit?: number;
28998
+ page?: string;
28999
+ format?: "csv";
29000
+ };
29001
+ header?: never;
29002
+ path?: never;
29003
+ cookie?: never;
29004
+ };
29005
+ requestBody?: never;
29006
+ responses: {
29007
+ /** @description La respuesta */
29008
+ 200: {
29009
+ headers: {
29010
+ "request-id": components["headers"]["request-id"];
29011
+ [name: string]: unknown;
29012
+ };
29013
+ content: {
29014
+ "application/json": components["schemas"]["getV1OmaUsageResponse_6e951724"];
29015
+ };
29016
+ };
29017
+ /** @description El pedido no es válido */
29018
+ 400: {
29019
+ headers: {
29020
+ "request-id": components["headers"]["request-id"];
29021
+ [name: string]: unknown;
29022
+ };
29023
+ content: {
29024
+ "application/json": components["schemas"]["ApiError"];
29025
+ };
29026
+ };
29027
+ /** @description Falta la autenticación */
29028
+ 401: {
29029
+ headers: {
29030
+ "request-id": components["headers"]["request-id"];
29031
+ [name: string]: unknown;
29032
+ };
29033
+ content: {
29034
+ "application/json": components["schemas"]["ApiError"];
29035
+ };
29036
+ };
29037
+ /** @description La clave no tiene el alcance */
29038
+ 403: {
29039
+ headers: {
29040
+ "request-id": components["headers"]["request-id"];
29041
+ [name: string]: unknown;
29042
+ };
29043
+ content: {
29044
+ "application/json": components["schemas"]["ApiError"];
29045
+ };
29046
+ };
29047
+ /** @description Se pasó el límite de pedidos */
29048
+ 429: {
29049
+ headers: {
29050
+ "request-id": components["headers"]["request-id"];
29051
+ [name: string]: unknown;
29052
+ };
29053
+ content: {
29054
+ "application/json": components["schemas"]["ApiError"];
29055
+ };
29056
+ };
29057
+ /** @description Error del servidor */
29058
+ 500: {
29059
+ headers: {
29060
+ "request-id": components["headers"]["request-id"];
29061
+ [name: string]: unknown;
29062
+ };
29063
+ content: {
29064
+ "application/json": components["schemas"]["ApiError"];
29065
+ };
29066
+ };
29067
+ };
29068
+ };
29069
+ getV1OmaUsageExport: {
29070
+ parameters: {
29071
+ query?: {
29072
+ days?: "7" | "30" | "90";
29073
+ starting_at?: string;
29074
+ ending_at?: string;
29075
+ "group_by[]"?: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace" | "service_tier")[];
29076
+ group_by?: ("day" | "model" | "agent" | "user_profile" | "session" | "api_key" | "workspace" | "service_tier")[];
29077
+ "api_key_ids[]"?: string[];
29078
+ api_key_ids?: string[];
29079
+ user_profile_id?: string;
29080
+ "service_tiers[]"?: ("batch" | "flex" | "flex_discount" | "priority" | "priority_on_demand" | "standard")[];
29081
+ service_tiers?: ("batch" | "flex" | "flex_discount" | "priority" | "priority_on_demand" | "standard")[];
29082
+ workspace_id?: string;
29083
+ limit?: number;
29084
+ page?: string;
29085
+ format?: "csv";
29086
+ };
29087
+ header?: never;
29088
+ path?: never;
29089
+ cookie?: never;
29090
+ };
29091
+ requestBody?: never;
29092
+ responses: {
29093
+ /** @description La respuesta */
29094
+ 200: {
29095
+ headers: {
29096
+ "request-id": components["headers"]["request-id"];
29097
+ [name: string]: unknown;
29098
+ };
29099
+ content: {
29100
+ "text/csv": string;
29101
+ };
29102
+ };
29103
+ /** @description El pedido no es válido */
29104
+ 400: {
29105
+ headers: {
29106
+ "request-id": components["headers"]["request-id"];
29107
+ [name: string]: unknown;
29108
+ };
29109
+ content: {
29110
+ "application/json": components["schemas"]["ApiError"];
29111
+ };
29112
+ };
29113
+ /** @description Falta la autenticación */
29114
+ 401: {
29115
+ headers: {
29116
+ "request-id": components["headers"]["request-id"];
29117
+ [name: string]: unknown;
29118
+ };
29119
+ content: {
29120
+ "application/json": components["schemas"]["ApiError"];
29121
+ };
29122
+ };
29123
+ /** @description La clave no tiene el alcance */
29124
+ 403: {
29125
+ headers: {
29126
+ "request-id": components["headers"]["request-id"];
29127
+ [name: string]: unknown;
29128
+ };
29129
+ content: {
29130
+ "application/json": components["schemas"]["ApiError"];
29131
+ };
29132
+ };
29133
+ /** @description Se pasó el límite de pedidos */
29134
+ 429: {
29135
+ headers: {
29136
+ "request-id": components["headers"]["request-id"];
29137
+ [name: string]: unknown;
29138
+ };
29139
+ content: {
29140
+ "application/json": components["schemas"]["ApiError"];
29141
+ };
29142
+ };
29143
+ /** @description Error del servidor */
29144
+ 500: {
29145
+ headers: {
29146
+ "request-id": components["headers"]["request-id"];
29147
+ [name: string]: unknown;
29148
+ };
29149
+ content: {
29150
+ "application/json": components["schemas"]["ApiError"];
29151
+ };
29152
+ };
29153
+ };
29154
+ };
29155
+ getV1OmaUsageLimits: {
29156
+ parameters: {
29157
+ query?: {
29158
+ agent_id?: string;
29159
+ workspace_id?: string;
29160
+ };
29161
+ header?: never;
29162
+ path?: never;
29163
+ cookie?: never;
29164
+ };
29165
+ requestBody?: never;
29166
+ responses: {
29167
+ /** @description La respuesta */
29168
+ 200: {
29169
+ headers: {
29170
+ "request-id": components["headers"]["request-id"];
29171
+ [name: string]: unknown;
29172
+ };
29173
+ content: {
29174
+ "application/json": components["schemas"]["getV1OmaUsageLimitsResponse_7480fb17"];
29175
+ };
29176
+ };
29177
+ /** @description El pedido no es válido */
29178
+ 400: {
29179
+ headers: {
29180
+ "request-id": components["headers"]["request-id"];
29181
+ [name: string]: unknown;
29182
+ };
29183
+ content: {
29184
+ "application/json": components["schemas"]["ApiError"];
29185
+ };
29186
+ };
29187
+ /** @description Falta la autenticación */
29188
+ 401: {
29189
+ headers: {
29190
+ "request-id": components["headers"]["request-id"];
29191
+ [name: string]: unknown;
29192
+ };
29193
+ content: {
29194
+ "application/json": components["schemas"]["ApiError"];
29195
+ };
29196
+ };
29197
+ /** @description La clave no tiene el alcance */
29198
+ 403: {
29199
+ headers: {
29200
+ "request-id": components["headers"]["request-id"];
29201
+ [name: string]: unknown;
29202
+ };
29203
+ content: {
29204
+ "application/json": components["schemas"]["ApiError"];
29205
+ };
29206
+ };
29207
+ /** @description El recurso no existe */
29208
+ 404: {
29209
+ headers: {
29210
+ "request-id": components["headers"]["request-id"];
29211
+ [name: string]: unknown;
29212
+ };
29213
+ content: {
29214
+ "application/json": components["schemas"]["ApiError"];
29215
+ };
29216
+ };
29217
+ /** @description Se pasó el límite de pedidos */
29218
+ 429: {
29219
+ headers: {
29220
+ "request-id": components["headers"]["request-id"];
29221
+ [name: string]: unknown;
29222
+ };
29223
+ content: {
29224
+ "application/json": components["schemas"]["ApiError"];
29225
+ };
29226
+ };
29227
+ /** @description Error del servidor */
29228
+ 500: {
29229
+ headers: {
29230
+ "request-id": components["headers"]["request-id"];
29231
+ [name: string]: unknown;
29232
+ };
29233
+ content: {
29234
+ "application/json": components["schemas"]["ApiError"];
29235
+ };
29236
+ };
29237
+ };
29238
+ };
29239
+ postV1OmaUsageLimits: {
29240
+ parameters: {
29241
+ query?: {
29242
+ workspace_id?: string;
29243
+ };
29244
+ header?: never;
29245
+ path?: never;
29246
+ cookie?: never;
29247
+ };
29248
+ requestBody: {
29249
+ content: {
29250
+ "application/json": components["schemas"]["postV1OmaUsageLimitsRequest_6c4d6770"];
29251
+ };
29252
+ };
29253
+ responses: {
29254
+ /** @description La respuesta */
29255
+ 200: {
29256
+ headers: {
29257
+ "request-id": components["headers"]["request-id"];
29258
+ [name: string]: unknown;
29259
+ };
29260
+ content: {
29261
+ "application/json": components["schemas"]["getV1OmaUsageLimitsResponse_7480fb17"];
29262
+ };
29263
+ };
29264
+ /** @description El pedido no es válido o el tope del workspace no es estrictamente menor que el de la organización del mismo período (`workspace_limit_exceeds_organization`) */
29265
+ 400: {
29266
+ headers: {
29267
+ "request-id": components["headers"]["request-id"];
29268
+ [name: string]: unknown;
29269
+ };
29270
+ content: {
29271
+ "application/json": components["schemas"]["ApiError"];
29272
+ };
29273
+ };
29274
+ /** @description Falta la autenticación */
29275
+ 401: {
29276
+ headers: {
29277
+ "request-id": components["headers"]["request-id"];
29278
+ [name: string]: unknown;
29279
+ };
29280
+ content: {
29281
+ "application/json": components["schemas"]["ApiError"];
29282
+ };
29283
+ };
29284
+ /** @description La clave no tiene el alcance */
29285
+ 403: {
29286
+ headers: {
29287
+ "request-id": components["headers"]["request-id"];
29288
+ [name: string]: unknown;
29289
+ };
29290
+ content: {
29291
+ "application/json": components["schemas"]["ApiError"];
29292
+ };
29293
+ };
29294
+ /** @description El recurso no existe */
29295
+ 404: {
29296
+ headers: {
29297
+ "request-id": components["headers"]["request-id"];
29298
+ [name: string]: unknown;
29299
+ };
29300
+ content: {
29301
+ "application/json": components["schemas"]["ApiError"];
29302
+ };
29303
+ };
29304
+ /** @description El Default no admite topes propios (`default_workspace_immutable`) */
29305
+ 409: {
29306
+ headers: {
29307
+ "request-id": components["headers"]["request-id"];
29308
+ [name: string]: unknown;
29309
+ };
29310
+ content: {
29311
+ "application/json": components["schemas"]["ApiError"];
29312
+ };
29313
+ };
29314
+ /** @description Se pasó el límite de pedidos */
29315
+ 429: {
29316
+ headers: {
29317
+ "request-id": components["headers"]["request-id"];
29318
+ [name: string]: unknown;
29319
+ };
29320
+ content: {
29321
+ "application/json": components["schemas"]["ApiError"];
29322
+ };
29323
+ };
29324
+ /** @description Error del servidor */
29325
+ 500: {
29326
+ headers: {
29327
+ "request-id": components["headers"]["request-id"];
29328
+ [name: string]: unknown;
29329
+ };
29330
+ content: {
29331
+ "application/json": components["schemas"]["ApiError"];
29332
+ };
29333
+ };
29334
+ };
29335
+ };
29336
+ getV1OmaUsageLimitsConsumption: {
29337
+ parameters: {
29338
+ query?: {
29339
+ day?: string;
29340
+ kind?: ("org_day" | "org_month" | "agent_day" | "person_day" | "ws_day" | "ws_month") | ("org_day" | "org_month" | "agent_day" | "person_day" | "ws_day" | "ws_month")[];
29341
+ agent_id?: string;
29342
+ user_profile_id?: string;
29343
+ workspace_id?: string;
29344
+ limit?: number;
29345
+ page?: string;
29346
+ };
29347
+ header?: never;
29348
+ path?: never;
29349
+ cookie?: never;
29350
+ };
29351
+ requestBody?: never;
29352
+ responses: {
29353
+ /** @description La respuesta */
29354
+ 200: {
29355
+ headers: {
29356
+ "request-id": components["headers"]["request-id"];
29357
+ [name: string]: unknown;
29358
+ };
29359
+ content: {
29360
+ "application/json": components["schemas"]["getV1OmaUsageLimitsConsumptionResponse_61163861"];
29361
+ };
29362
+ };
29363
+ /** @description El pedido no es válido */
29364
+ 400: {
29365
+ headers: {
29366
+ "request-id": components["headers"]["request-id"];
29367
+ [name: string]: unknown;
29368
+ };
29369
+ content: {
29370
+ "application/json": components["schemas"]["ApiError"];
29371
+ };
29372
+ };
29373
+ /** @description Falta la autenticación */
29374
+ 401: {
29375
+ headers: {
29376
+ "request-id": components["headers"]["request-id"];
29377
+ [name: string]: unknown;
29378
+ };
29379
+ content: {
29380
+ "application/json": components["schemas"]["ApiError"];
29381
+ };
29382
+ };
29383
+ /** @description La clave no tiene el alcance */
29384
+ 403: {
29385
+ headers: {
29386
+ "request-id": components["headers"]["request-id"];
29387
+ [name: string]: unknown;
29388
+ };
29389
+ content: {
29390
+ "application/json": components["schemas"]["ApiError"];
29391
+ };
29392
+ };
29393
+ /** @description Se pasó el límite de pedidos */
29394
+ 429: {
29395
+ headers: {
29396
+ "request-id": components["headers"]["request-id"];
29397
+ [name: string]: unknown;
29398
+ };
29399
+ content: {
29400
+ "application/json": components["schemas"]["ApiError"];
29401
+ };
29402
+ };
29403
+ /** @description Error del servidor */
29404
+ 500: {
29405
+ headers: {
29406
+ "request-id": components["headers"]["request-id"];
29407
+ [name: string]: unknown;
29408
+ };
29409
+ content: {
29410
+ "application/json": components["schemas"]["ApiError"];
29411
+ };
29412
+ };
29413
+ };
29414
+ };
29415
+ getV1OmaUsageLimitsUserMonth: {
29416
+ parameters: {
29417
+ query?: {
29418
+ user_id?: string;
29419
+ limit?: number;
29420
+ page?: string;
29421
+ };
29422
+ header?: never;
29423
+ path?: never;
29424
+ cookie?: never;
29425
+ };
29426
+ requestBody?: never;
29427
+ responses: {
29428
+ /** @description La respuesta */
29429
+ 200: {
29430
+ headers: {
29431
+ "request-id": components["headers"]["request-id"];
29432
+ [name: string]: unknown;
29433
+ };
29434
+ content: {
29435
+ "application/json": components["schemas"]["getV1OmaUsageLimitsUserMonthResponse_817a0f7c"];
29436
+ };
29437
+ };
29438
+ /** @description El pedido no es válido */
29439
+ 400: {
29440
+ headers: {
29441
+ "request-id": components["headers"]["request-id"];
29442
+ [name: string]: unknown;
29443
+ };
29444
+ content: {
29445
+ "application/json": components["schemas"]["ApiError"];
29446
+ };
29447
+ };
29448
+ /** @description Falta la autenticación */
29449
+ 401: {
29450
+ headers: {
29451
+ "request-id": components["headers"]["request-id"];
29452
+ [name: string]: unknown;
29453
+ };
29454
+ content: {
29455
+ "application/json": components["schemas"]["ApiError"];
29456
+ };
29457
+ };
29458
+ /** @description La clave no tiene el alcance */
29459
+ 403: {
29460
+ headers: {
29461
+ "request-id": components["headers"]["request-id"];
29462
+ [name: string]: unknown;
29463
+ };
29464
+ content: {
29465
+ "application/json": components["schemas"]["ApiError"];
29466
+ };
29467
+ };
29468
+ /** @description El recurso no existe */
29469
+ 404: {
29470
+ headers: {
29471
+ "request-id": components["headers"]["request-id"];
29472
+ [name: string]: unknown;
29473
+ };
29474
+ content: {
29475
+ "application/json": components["schemas"]["ApiError"];
29476
+ };
29477
+ };
29478
+ /** @description Se pasó el límite de pedidos */
29479
+ 429: {
29480
+ headers: {
29481
+ "request-id": components["headers"]["request-id"];
29482
+ [name: string]: unknown;
29483
+ };
29484
+ content: {
29485
+ "application/json": components["schemas"]["ApiError"];
29486
+ };
29487
+ };
29488
+ /** @description Error del servidor */
29489
+ 500: {
29490
+ headers: {
29491
+ "request-id": components["headers"]["request-id"];
29492
+ [name: string]: unknown;
29493
+ };
29494
+ content: {
29495
+ "application/json": components["schemas"]["ApiError"];
29496
+ };
29497
+ };
29498
+ };
29499
+ };
29500
+ putV1OmaUsageLimitsUserMonth: {
29501
+ parameters: {
29502
+ query?: never;
29503
+ header?: never;
29504
+ path?: never;
29505
+ cookie?: never;
29506
+ };
29507
+ requestBody: {
29508
+ content: {
29509
+ "application/json": components["schemas"]["putV1OmaUsageLimitsUserMonthRequest_173800a6"];
29510
+ };
29511
+ };
29512
+ responses: {
29513
+ /** @description La respuesta */
29514
+ 200: {
29515
+ headers: {
29516
+ "request-id": components["headers"]["request-id"];
29517
+ [name: string]: unknown;
29518
+ };
29519
+ content: {
29520
+ "application/json": components["schemas"]["getV1OmaUsageLimitsUserMonthResponse_817a0f7c"];
29521
+ };
29522
+ };
29523
+ /** @description El pedido no es válido */
29524
+ 400: {
29525
+ headers: {
29526
+ "request-id": components["headers"]["request-id"];
29527
+ [name: string]: unknown;
29528
+ };
29529
+ content: {
29530
+ "application/json": components["schemas"]["ApiError"];
29531
+ };
29532
+ };
29533
+ /** @description Falta la autenticación */
29534
+ 401: {
29535
+ headers: {
29536
+ "request-id": components["headers"]["request-id"];
29537
+ [name: string]: unknown;
29538
+ };
29539
+ content: {
29540
+ "application/json": components["schemas"]["ApiError"];
29541
+ };
29542
+ };
29543
+ /** @description La clave no tiene el alcance */
29544
+ 403: {
29545
+ headers: {
29546
+ "request-id": components["headers"]["request-id"];
29547
+ [name: string]: unknown;
29548
+ };
29549
+ content: {
29550
+ "application/json": components["schemas"]["ApiError"];
29551
+ };
29552
+ };
29553
+ /** @description El recurso ya existe o está en conflicto */
29554
+ 409: {
29555
+ headers: {
29556
+ "request-id": components["headers"]["request-id"];
29557
+ [name: string]: unknown;
29558
+ };
29559
+ content: {
29560
+ "application/json": components["schemas"]["ApiError"];
29561
+ };
29562
+ };
29563
+ /** @description Se pasó el límite de pedidos */
29564
+ 429: {
29565
+ headers: {
29566
+ "request-id": components["headers"]["request-id"];
29567
+ [name: string]: unknown;
29568
+ };
29569
+ content: {
29570
+ "application/json": components["schemas"]["ApiError"];
29571
+ };
29572
+ };
29573
+ /** @description Error del servidor */
29574
+ 500: {
29575
+ headers: {
29576
+ "request-id": components["headers"]["request-id"];
29577
+ [name: string]: unknown;
29578
+ };
29579
+ content: {
29580
+ "application/json": components["schemas"]["ApiError"];
29581
+ };
29582
+ };
29583
+ };
29584
+ };
29585
+ deleteV1OmaUsageLimitsUserMonthUserId: {
29586
+ parameters: {
29587
+ query?: never;
29588
+ header?: never;
29589
+ path: {
29590
+ userId: string;
29591
+ };
29592
+ cookie?: never;
29593
+ };
29594
+ requestBody?: never;
29595
+ responses: {
29596
+ /** @description La respuesta */
29597
+ 200: {
29598
+ headers: {
29599
+ "request-id": components["headers"]["request-id"];
29600
+ [name: string]: unknown;
29601
+ };
29602
+ content: {
29603
+ "application/json": components["schemas"]["getV1OmaUsageLimitsUserMonthResponse_817a0f7c"];
29604
+ };
29605
+ };
29606
+ /** @description El pedido no es válido */
29607
+ 400: {
29608
+ headers: {
29609
+ "request-id": components["headers"]["request-id"];
29610
+ [name: string]: unknown;
29611
+ };
29612
+ content: {
29613
+ "application/json": components["schemas"]["ApiError"];
29614
+ };
29615
+ };
29616
+ /** @description Falta la autenticación */
29617
+ 401: {
29618
+ headers: {
29619
+ "request-id": components["headers"]["request-id"];
29620
+ [name: string]: unknown;
29621
+ };
29622
+ content: {
29623
+ "application/json": components["schemas"]["ApiError"];
29624
+ };
29625
+ };
29626
+ /** @description La clave no tiene el alcance */
29627
+ 403: {
29628
+ headers: {
29629
+ "request-id": components["headers"]["request-id"];
29630
+ [name: string]: unknown;
29631
+ };
29632
+ content: {
29633
+ "application/json": components["schemas"]["ApiError"];
29634
+ };
29635
+ };
29636
+ /** @description El recurso no existe */
29637
+ 404: {
29638
+ headers: {
29639
+ "request-id": components["headers"]["request-id"];
29640
+ [name: string]: unknown;
29641
+ };
29642
+ content: {
29643
+ "application/json": components["schemas"]["ApiError"];
29644
+ };
29645
+ };
29646
+ /** @description Se pasó el límite de pedidos */
29647
+ 429: {
29648
+ headers: {
29649
+ "request-id": components["headers"]["request-id"];
29650
+ [name: string]: unknown;
29651
+ };
29652
+ content: {
29653
+ "application/json": components["schemas"]["ApiError"];
29654
+ };
29655
+ };
29656
+ /** @description Error del servidor */
29657
+ 500: {
29658
+ headers: {
29659
+ "request-id": components["headers"]["request-id"];
29660
+ [name: string]: unknown;
29661
+ };
29662
+ content: {
29663
+ "application/json": components["schemas"]["ApiError"];
29664
+ };
29665
+ };
29666
+ };
29667
+ };
29668
+ getV1OmaBilling: {
29669
+ parameters: {
29670
+ query?: never;
29671
+ header?: never;
29672
+ path?: never;
29673
+ cookie?: never;
29674
+ };
29675
+ requestBody?: never;
29676
+ responses: {
29677
+ /** @description La respuesta */
29678
+ 200: {
29679
+ headers: {
29680
+ "request-id": components["headers"]["request-id"];
29681
+ [name: string]: unknown;
29682
+ };
29683
+ content: {
29684
+ "application/json": components["schemas"]["getV1OmaBillingResponse_1ce63f23"];
29685
+ };
29686
+ };
29687
+ /** @description El pedido no es válido */
29688
+ 400: {
29689
+ headers: {
29690
+ "request-id": components["headers"]["request-id"];
29691
+ [name: string]: unknown;
29692
+ };
29693
+ content: {
29694
+ "application/json": components["schemas"]["ApiError"];
29695
+ };
29696
+ };
29697
+ /** @description Falta la autenticación */
29698
+ 401: {
29699
+ headers: {
29700
+ "request-id": components["headers"]["request-id"];
29701
+ [name: string]: unknown;
29702
+ };
29703
+ content: {
29704
+ "application/json": components["schemas"]["ApiError"];
29705
+ };
29706
+ };
29707
+ /** @description La clave no tiene el alcance */
29708
+ 403: {
29709
+ headers: {
29710
+ "request-id": components["headers"]["request-id"];
29711
+ [name: string]: unknown;
29712
+ };
29713
+ content: {
29714
+ "application/json": components["schemas"]["ApiError"];
29715
+ };
29716
+ };
29717
+ /** @description Se pasó el límite de pedidos */
29718
+ 429: {
29719
+ headers: {
29720
+ "request-id": components["headers"]["request-id"];
29721
+ [name: string]: unknown;
29722
+ };
29723
+ content: {
29724
+ "application/json": components["schemas"]["ApiError"];
29725
+ };
29726
+ };
29727
+ /** @description Error del servidor */
29728
+ 500: {
29729
+ headers: {
29730
+ "request-id": components["headers"]["request-id"];
29731
+ [name: string]: unknown;
29732
+ };
29733
+ content: {
29734
+ "application/json": components["schemas"]["ApiError"];
29735
+ };
29736
+ };
29737
+ };
29738
+ };
29739
+ getV1OmaBillingCreditsLedger: {
29740
+ parameters: {
29741
+ query?: {
29742
+ kind?: "grant" | "debit" | "expiration" | "refund" | "chargeback" | "adjustment";
29743
+ limit?: number;
29744
+ page?: string;
29745
+ format?: "csv";
29746
+ };
29747
+ header?: never;
29748
+ path?: never;
29749
+ cookie?: never;
29750
+ };
29751
+ requestBody?: never;
29752
+ responses: {
29753
+ /** @description La respuesta */
29754
+ 200: {
29755
+ headers: {
29756
+ "request-id": components["headers"]["request-id"];
29757
+ [name: string]: unknown;
29758
+ };
29759
+ content: {
29760
+ "application/json": components["schemas"]["getV1OmaBillingCreditsLedgerResponse_a5fb3019"];
29761
+ };
29762
+ };
29763
+ /** @description El pedido no es válido */
29764
+ 400: {
29765
+ headers: {
29766
+ "request-id": components["headers"]["request-id"];
29767
+ [name: string]: unknown;
29768
+ };
29769
+ content: {
29770
+ "application/json": components["schemas"]["ApiError"];
29771
+ };
29772
+ };
29773
+ /** @description Falta la autenticación */
29774
+ 401: {
29775
+ headers: {
29776
+ "request-id": components["headers"]["request-id"];
29777
+ [name: string]: unknown;
29778
+ };
29779
+ content: {
29780
+ "application/json": components["schemas"]["ApiError"];
29781
+ };
29782
+ };
29783
+ /** @description La clave no tiene el alcance */
29784
+ 403: {
29785
+ headers: {
29786
+ "request-id": components["headers"]["request-id"];
29787
+ [name: string]: unknown;
29788
+ };
29789
+ content: {
29790
+ "application/json": components["schemas"]["ApiError"];
29791
+ };
29792
+ };
29793
+ /** @description Se pasó el límite de pedidos */
29794
+ 429: {
29795
+ headers: {
29796
+ "request-id": components["headers"]["request-id"];
29797
+ [name: string]: unknown;
29798
+ };
29799
+ content: {
29800
+ "application/json": components["schemas"]["ApiError"];
29801
+ };
29802
+ };
29803
+ /** @description Error del servidor */
29804
+ 500: {
29805
+ headers: {
29806
+ "request-id": components["headers"]["request-id"];
29807
+ [name: string]: unknown;
29808
+ };
29809
+ content: {
29810
+ "application/json": components["schemas"]["ApiError"];
29811
+ };
29812
+ };
29813
+ };
29814
+ };
29815
+ getV1OmaBillingCreditsLedgerExport: {
29816
+ parameters: {
29817
+ query?: {
29818
+ kind?: "grant" | "debit" | "expiration" | "refund" | "chargeback" | "adjustment";
29819
+ limit?: number;
29820
+ page?: string;
29821
+ format?: "csv";
29822
+ };
29823
+ header?: never;
29824
+ path?: never;
29825
+ cookie?: never;
29826
+ };
29827
+ requestBody?: never;
29828
+ responses: {
29829
+ /** @description La respuesta */
29830
+ 200: {
29831
+ headers: {
29832
+ "request-id": components["headers"]["request-id"];
29833
+ [name: string]: unknown;
29834
+ };
29835
+ content: {
29836
+ "text/csv": string;
29837
+ };
29838
+ };
29839
+ /** @description El pedido no es válido */
29840
+ 400: {
29841
+ headers: {
29842
+ "request-id": components["headers"]["request-id"];
29843
+ [name: string]: unknown;
29844
+ };
29845
+ content: {
29846
+ "application/json": components["schemas"]["ApiError"];
29847
+ };
29848
+ };
29849
+ /** @description Falta la autenticación */
29850
+ 401: {
29851
+ headers: {
29852
+ "request-id": components["headers"]["request-id"];
29853
+ [name: string]: unknown;
29854
+ };
29855
+ content: {
29856
+ "application/json": components["schemas"]["ApiError"];
29857
+ };
29858
+ };
29859
+ /** @description La clave no tiene el alcance */
29860
+ 403: {
29861
+ headers: {
29862
+ "request-id": components["headers"]["request-id"];
29863
+ [name: string]: unknown;
29864
+ };
29865
+ content: {
29866
+ "application/json": components["schemas"]["ApiError"];
29867
+ };
29868
+ };
29869
+ /** @description Se pasó el límite de pedidos */
29870
+ 429: {
29871
+ headers: {
29872
+ "request-id": components["headers"]["request-id"];
29873
+ [name: string]: unknown;
29874
+ };
29875
+ content: {
29876
+ "application/json": components["schemas"]["ApiError"];
29877
+ };
29878
+ };
29879
+ /** @description Error del servidor */
29880
+ 500: {
29881
+ headers: {
29882
+ "request-id": components["headers"]["request-id"];
29883
+ [name: string]: unknown;
29884
+ };
29885
+ content: {
29886
+ "application/json": components["schemas"]["ApiError"];
29887
+ };
29888
+ };
29889
+ };
29890
+ };
29891
+ getV1OmaBillingPaymentMethods: {
29892
+ parameters: {
29893
+ query?: never;
29894
+ header?: never;
29895
+ path?: never;
29896
+ cookie?: never;
29897
+ };
29898
+ requestBody?: never;
29899
+ responses: {
29900
+ /** @description La respuesta */
29901
+ 200: {
29902
+ headers: {
29903
+ "request-id": components["headers"]["request-id"];
29904
+ [name: string]: unknown;
29905
+ };
29906
+ content: {
29907
+ "application/json": components["schemas"]["getV1OmaBillingPaymentMethodsResponse_ccc9dabe"];
29908
+ };
29909
+ };
29910
+ /** @description El pedido no es válido */
29911
+ 400: {
29912
+ headers: {
29913
+ "request-id": components["headers"]["request-id"];
29914
+ [name: string]: unknown;
29915
+ };
29916
+ content: {
29917
+ "application/json": components["schemas"]["ApiError"];
29918
+ };
29919
+ };
29920
+ /** @description Falta la autenticación */
29921
+ 401: {
29922
+ headers: {
29923
+ "request-id": components["headers"]["request-id"];
29924
+ [name: string]: unknown;
29925
+ };
29926
+ content: {
29927
+ "application/json": components["schemas"]["ApiError"];
29928
+ };
29929
+ };
29930
+ /** @description La clave no tiene el alcance */
29931
+ 403: {
29932
+ headers: {
29933
+ "request-id": components["headers"]["request-id"];
29934
+ [name: string]: unknown;
29935
+ };
29936
+ content: {
29937
+ "application/json": components["schemas"]["ApiError"];
29938
+ };
29939
+ };
29940
+ /** @description Se pasó el límite de pedidos */
29941
+ 429: {
29942
+ headers: {
29943
+ "request-id": components["headers"]["request-id"];
29944
+ [name: string]: unknown;
29945
+ };
29946
+ content: {
29947
+ "application/json": components["schemas"]["ApiError"];
29948
+ };
29949
+ };
29950
+ /** @description Error del servidor */
29951
+ 500: {
29952
+ headers: {
29953
+ "request-id": components["headers"]["request-id"];
29954
+ [name: string]: unknown;
29955
+ };
29956
+ content: {
29957
+ "application/json": components["schemas"]["ApiError"];
29958
+ };
29959
+ };
29960
+ };
29961
+ };
29962
+ postV1OmaBillingPaymentMethods: {
29963
+ parameters: {
29964
+ query?: never;
29965
+ header?: never;
29966
+ path?: never;
29967
+ cookie?: never;
29968
+ };
29969
+ requestBody?: never;
29970
+ responses: {
29971
+ /** @description El recurso creado */
29972
+ 201: {
29973
+ headers: {
29974
+ "request-id": components["headers"]["request-id"];
29975
+ [name: string]: unknown;
29976
+ };
29977
+ content: {
29978
+ "application/json": components["schemas"]["postV1OmaBillingPaymentMethodsResponse_37479ae0"];
29979
+ };
29980
+ };
29981
+ /** @description El pedido no es válido */
29982
+ 400: {
29983
+ headers: {
29984
+ "request-id": components["headers"]["request-id"];
29985
+ [name: string]: unknown;
29986
+ };
29987
+ content: {
29988
+ "application/json": components["schemas"]["ApiError"];
29989
+ };
29990
+ };
29991
+ /** @description Falta la autenticación */
29992
+ 401: {
29993
+ headers: {
29994
+ "request-id": components["headers"]["request-id"];
29995
+ [name: string]: unknown;
29996
+ };
29997
+ content: {
29998
+ "application/json": components["schemas"]["ApiError"];
29999
+ };
30000
+ };
30001
+ /** @description La clave no tiene el alcance */
30002
+ 403: {
30003
+ headers: {
30004
+ "request-id": components["headers"]["request-id"];
30005
+ [name: string]: unknown;
30006
+ };
30007
+ content: {
30008
+ "application/json": components["schemas"]["ApiError"];
30009
+ };
30010
+ };
30011
+ /** @description El recurso ya existe o está en conflicto */
30012
+ 409: {
30013
+ headers: {
30014
+ "request-id": components["headers"]["request-id"];
30015
+ [name: string]: unknown;
30016
+ };
30017
+ content: {
30018
+ "application/json": components["schemas"]["ApiError"];
30019
+ };
30020
+ };
30021
+ /** @description Se pasó el límite de pedidos */
30022
+ 429: {
30023
+ headers: {
30024
+ "request-id": components["headers"]["request-id"];
30025
+ [name: string]: unknown;
30026
+ };
30027
+ content: {
30028
+ "application/json": components["schemas"]["ApiError"];
30029
+ };
30030
+ };
30031
+ /** @description Error del servidor */
30032
+ 500: {
30033
+ headers: {
30034
+ "request-id": components["headers"]["request-id"];
30035
+ [name: string]: unknown;
30036
+ };
30037
+ content: {
30038
+ "application/json": components["schemas"]["ApiError"];
30039
+ };
30040
+ };
30041
+ /** @description El reenvío al proveedor falló */
30042
+ 502: {
30043
+ headers: {
30044
+ "request-id": components["headers"]["request-id"];
30045
+ [name: string]: unknown;
30046
+ };
30047
+ content: {
30048
+ "application/json": components["schemas"]["ApiError"];
30049
+ };
30050
+ };
30051
+ };
30052
+ };
30053
+ getV1OmaBillingInvoices: {
30054
+ parameters: {
30055
+ query?: {
30056
+ limit?: number;
30057
+ page?: string;
30058
+ format?: "csv";
30059
+ };
30060
+ header?: never;
30061
+ path?: never;
30062
+ cookie?: never;
30063
+ };
30064
+ requestBody?: never;
30065
+ responses: {
30066
+ /** @description La respuesta */
30067
+ 200: {
30068
+ headers: {
30069
+ "request-id": components["headers"]["request-id"];
30070
+ [name: string]: unknown;
30071
+ };
30072
+ content: {
30073
+ "application/json": components["schemas"]["getV1OmaBillingInvoicesResponse_137e49ba"];
30074
+ };
30075
+ };
30076
+ /** @description El pedido no es válido */
30077
+ 400: {
30078
+ headers: {
30079
+ "request-id": components["headers"]["request-id"];
30080
+ [name: string]: unknown;
30081
+ };
30082
+ content: {
30083
+ "application/json": components["schemas"]["ApiError"];
30084
+ };
30085
+ };
30086
+ /** @description Falta la autenticación */
30087
+ 401: {
30088
+ headers: {
30089
+ "request-id": components["headers"]["request-id"];
30090
+ [name: string]: unknown;
30091
+ };
30092
+ content: {
30093
+ "application/json": components["schemas"]["ApiError"];
30094
+ };
30095
+ };
30096
+ /** @description La clave no tiene el alcance */
30097
+ 403: {
30098
+ headers: {
30099
+ "request-id": components["headers"]["request-id"];
30100
+ [name: string]: unknown;
30101
+ };
30102
+ content: {
30103
+ "application/json": components["schemas"]["ApiError"];
30104
+ };
30105
+ };
30106
+ /** @description Se pasó el límite de pedidos */
30107
+ 429: {
30108
+ headers: {
30109
+ "request-id": components["headers"]["request-id"];
30110
+ [name: string]: unknown;
30111
+ };
30112
+ content: {
30113
+ "application/json": components["schemas"]["ApiError"];
30114
+ };
30115
+ };
30116
+ /** @description Error del servidor */
30117
+ 500: {
30118
+ headers: {
30119
+ "request-id": components["headers"]["request-id"];
30120
+ [name: string]: unknown;
30121
+ };
30122
+ content: {
30123
+ "application/json": components["schemas"]["ApiError"];
30124
+ };
30125
+ };
30126
+ };
30127
+ };
30128
+ getV1OmaBillingInvoicesExport: {
30129
+ parameters: {
30130
+ query?: {
30131
+ limit?: number;
30132
+ page?: string;
30133
+ format?: "csv";
30134
+ };
30135
+ header?: never;
30136
+ path?: never;
30137
+ cookie?: never;
30138
+ };
30139
+ requestBody?: never;
30140
+ responses: {
30141
+ /** @description La respuesta */
30142
+ 200: {
30143
+ headers: {
30144
+ "request-id": components["headers"]["request-id"];
30145
+ [name: string]: unknown;
30146
+ };
30147
+ content: {
30148
+ "text/csv": string;
30149
+ };
30150
+ };
30151
+ /** @description El pedido no es válido */
30152
+ 400: {
30153
+ headers: {
30154
+ "request-id": components["headers"]["request-id"];
30155
+ [name: string]: unknown;
30156
+ };
30157
+ content: {
30158
+ "application/json": components["schemas"]["ApiError"];
30159
+ };
30160
+ };
30161
+ /** @description Falta la autenticación */
30162
+ 401: {
30163
+ headers: {
30164
+ "request-id": components["headers"]["request-id"];
30165
+ [name: string]: unknown;
30166
+ };
30167
+ content: {
30168
+ "application/json": components["schemas"]["ApiError"];
30169
+ };
30170
+ };
30171
+ /** @description La clave no tiene el alcance */
30172
+ 403: {
30173
+ headers: {
30174
+ "request-id": components["headers"]["request-id"];
30175
+ [name: string]: unknown;
30176
+ };
30177
+ content: {
30178
+ "application/json": components["schemas"]["ApiError"];
30179
+ };
30180
+ };
30181
+ /** @description Se pasó el límite de pedidos */
30182
+ 429: {
30183
+ headers: {
30184
+ "request-id": components["headers"]["request-id"];
30185
+ [name: string]: unknown;
30186
+ };
30187
+ content: {
30188
+ "application/json": components["schemas"]["ApiError"];
30189
+ };
30190
+ };
30191
+ /** @description Error del servidor */
30192
+ 500: {
30193
+ headers: {
30194
+ "request-id": components["headers"]["request-id"];
30195
+ [name: string]: unknown;
30196
+ };
30197
+ content: {
30198
+ "application/json": components["schemas"]["ApiError"];
30199
+ };
30200
+ };
30201
+ };
30202
+ };
30203
+ getV1OmaBillingInvoicesId: {
30204
+ parameters: {
30205
+ query?: never;
30206
+ header?: never;
30207
+ path: {
30208
+ id: string;
30209
+ };
30210
+ cookie?: never;
30211
+ };
30212
+ requestBody?: never;
30213
+ responses: {
30214
+ /** @description La respuesta */
30215
+ 200: {
30216
+ headers: {
30217
+ "request-id": components["headers"]["request-id"];
30218
+ [name: string]: unknown;
30219
+ };
30220
+ content: {
30221
+ "application/json": components["schemas"]["getV1OmaBillingInvoicesIdResponse_10236a72"];
30222
+ };
30223
+ };
30224
+ /** @description El pedido no es válido */
30225
+ 400: {
30226
+ headers: {
30227
+ "request-id": components["headers"]["request-id"];
30228
+ [name: string]: unknown;
30229
+ };
30230
+ content: {
30231
+ "application/json": components["schemas"]["ApiError"];
30232
+ };
30233
+ };
30234
+ /** @description Falta la autenticación */
30235
+ 401: {
30236
+ headers: {
30237
+ "request-id": components["headers"]["request-id"];
30238
+ [name: string]: unknown;
30239
+ };
30240
+ content: {
30241
+ "application/json": components["schemas"]["ApiError"];
30242
+ };
30243
+ };
30244
+ /** @description La clave no tiene el alcance */
30245
+ 403: {
30246
+ headers: {
30247
+ "request-id": components["headers"]["request-id"];
30248
+ [name: string]: unknown;
30249
+ };
30250
+ content: {
30251
+ "application/json": components["schemas"]["ApiError"];
30252
+ };
30253
+ };
30254
+ /** @description El recurso no existe */
30255
+ 404: {
30256
+ headers: {
30257
+ "request-id": components["headers"]["request-id"];
30258
+ [name: string]: unknown;
30259
+ };
30260
+ content: {
30261
+ "application/json": components["schemas"]["ApiError"];
30262
+ };
30263
+ };
30264
+ /** @description Se pasó el límite de pedidos */
30265
+ 429: {
30266
+ headers: {
30267
+ "request-id": components["headers"]["request-id"];
30268
+ [name: string]: unknown;
30269
+ };
30270
+ content: {
30271
+ "application/json": components["schemas"]["ApiError"];
30272
+ };
30273
+ };
30274
+ /** @description Error del servidor */
30275
+ 500: {
30276
+ headers: {
30277
+ "request-id": components["headers"]["request-id"];
30278
+ [name: string]: unknown;
30279
+ };
30280
+ content: {
30281
+ "application/json": components["schemas"]["ApiError"];
28189
30282
  };
28190
30283
  };
28191
30284
  };
28192
30285
  };
28193
- getV1OmaUsageLimitsConsumption: {
30286
+ getV1OmaBillingProfile: {
28194
30287
  parameters: {
28195
- query?: {
28196
- day?: string;
28197
- kind?: ("org_day" | "org_month" | "agent_day" | "person_day" | "ws_day" | "ws_month") | ("org_day" | "org_month" | "agent_day" | "person_day" | "ws_day" | "ws_month")[];
28198
- agent_id?: string;
28199
- user_profile_id?: string;
28200
- workspace_id?: string;
28201
- limit?: number;
28202
- page?: string;
28203
- };
30288
+ query?: never;
28204
30289
  header?: never;
28205
30290
  path?: never;
28206
30291
  cookie?: never;
@@ -28214,7 +30299,7 @@ export interface operations {
28214
30299
  [name: string]: unknown;
28215
30300
  };
28216
30301
  content: {
28217
- "application/json": components["schemas"]["getV1OmaUsageLimitsConsumptionResponse_61163861"];
30302
+ "application/json": components["schemas"]["getV1OmaBillingProfileResponse_7cad6725"];
28218
30303
  };
28219
30304
  };
28220
30305
  /** @description El pedido no es válido */
@@ -28269,18 +30354,18 @@ export interface operations {
28269
30354
  };
28270
30355
  };
28271
30356
  };
28272
- getV1OmaUsageLimitsUserMonth: {
30357
+ putV1OmaBillingProfile: {
28273
30358
  parameters: {
28274
- query?: {
28275
- user_id?: string;
28276
- limit?: number;
28277
- page?: string;
28278
- };
30359
+ query?: never;
28279
30360
  header?: never;
28280
30361
  path?: never;
28281
30362
  cookie?: never;
28282
30363
  };
28283
- requestBody?: never;
30364
+ requestBody: {
30365
+ content: {
30366
+ "application/json": components["schemas"]["putV1OmaBillingProfileRequest_48ef93e7"];
30367
+ };
30368
+ };
28284
30369
  responses: {
28285
30370
  /** @description La respuesta */
28286
30371
  200: {
@@ -28289,7 +30374,7 @@ export interface operations {
28289
30374
  [name: string]: unknown;
28290
30375
  };
28291
30376
  content: {
28292
- "application/json": components["schemas"]["getV1OmaUsageLimitsUserMonthResponse_817a0f7c"];
30377
+ "application/json": components["schemas"]["getV1OmaBillingProfileResponse_7cad6725"];
28293
30378
  };
28294
30379
  };
28295
30380
  /** @description El pedido no es válido */
@@ -28322,8 +30407,8 @@ export interface operations {
28322
30407
  "application/json": components["schemas"]["ApiError"];
28323
30408
  };
28324
30409
  };
28325
- /** @description El recurso no existe */
28326
- 404: {
30410
+ /** @description El recurso ya existe o está en conflicto */
30411
+ 409: {
28327
30412
  headers: {
28328
30413
  "request-id": components["headers"]["request-id"];
28329
30414
  [name: string]: unknown;
@@ -28354,7 +30439,78 @@ export interface operations {
28354
30439
  };
28355
30440
  };
28356
30441
  };
28357
- putV1OmaUsageLimitsUserMonth: {
30442
+ getV1OmaBillingAutoReload: {
30443
+ parameters: {
30444
+ query?: never;
30445
+ header?: never;
30446
+ path?: never;
30447
+ cookie?: never;
30448
+ };
30449
+ requestBody?: never;
30450
+ responses: {
30451
+ /** @description La respuesta */
30452
+ 200: {
30453
+ headers: {
30454
+ "request-id": components["headers"]["request-id"];
30455
+ [name: string]: unknown;
30456
+ };
30457
+ content: {
30458
+ "application/json": components["schemas"]["getV1OmaBillingAutoReloadResponse_e45d872b"];
30459
+ };
30460
+ };
30461
+ /** @description El pedido no es válido */
30462
+ 400: {
30463
+ headers: {
30464
+ "request-id": components["headers"]["request-id"];
30465
+ [name: string]: unknown;
30466
+ };
30467
+ content: {
30468
+ "application/json": components["schemas"]["ApiError"];
30469
+ };
30470
+ };
30471
+ /** @description Falta la autenticación */
30472
+ 401: {
30473
+ headers: {
30474
+ "request-id": components["headers"]["request-id"];
30475
+ [name: string]: unknown;
30476
+ };
30477
+ content: {
30478
+ "application/json": components["schemas"]["ApiError"];
30479
+ };
30480
+ };
30481
+ /** @description La clave no tiene el alcance */
30482
+ 403: {
30483
+ headers: {
30484
+ "request-id": components["headers"]["request-id"];
30485
+ [name: string]: unknown;
30486
+ };
30487
+ content: {
30488
+ "application/json": components["schemas"]["ApiError"];
30489
+ };
30490
+ };
30491
+ /** @description Se pasó el límite de pedidos */
30492
+ 429: {
30493
+ headers: {
30494
+ "request-id": components["headers"]["request-id"];
30495
+ [name: string]: unknown;
30496
+ };
30497
+ content: {
30498
+ "application/json": components["schemas"]["ApiError"];
30499
+ };
30500
+ };
30501
+ /** @description Error del servidor */
30502
+ 500: {
30503
+ headers: {
30504
+ "request-id": components["headers"]["request-id"];
30505
+ [name: string]: unknown;
30506
+ };
30507
+ content: {
30508
+ "application/json": components["schemas"]["ApiError"];
30509
+ };
30510
+ };
30511
+ };
30512
+ };
30513
+ putV1OmaBillingAutoReload: {
28358
30514
  parameters: {
28359
30515
  query?: never;
28360
30516
  header?: never;
@@ -28363,7 +30519,7 @@ export interface operations {
28363
30519
  };
28364
30520
  requestBody: {
28365
30521
  content: {
28366
- "application/json": components["schemas"]["putV1OmaUsageLimitsUserMonthRequest_173800a6"];
30522
+ "application/json": components["schemas"]["putV1OmaBillingAutoReloadRequest_aeb42353"];
28367
30523
  };
28368
30524
  };
28369
30525
  responses: {
@@ -28374,7 +30530,7 @@ export interface operations {
28374
30530
  [name: string]: unknown;
28375
30531
  };
28376
30532
  content: {
28377
- "application/json": components["schemas"]["getV1OmaUsageLimitsUserMonthResponse_817a0f7c"];
30533
+ "application/json": components["schemas"]["getV1OmaBillingAutoReloadResponse_e45d872b"];
28378
30534
  };
28379
30535
  };
28380
30536
  /** @description El pedido no es válido */
@@ -28439,12 +30595,110 @@ export interface operations {
28439
30595
  };
28440
30596
  };
28441
30597
  };
28442
- deleteV1OmaUsageLimitsUserMonthUserId: {
30598
+ postV1OmaBillingCredits: {
30599
+ parameters: {
30600
+ query?: never;
30601
+ header?: {
30602
+ /** @description Una clave para que reintentar un POST no duplique el recurso. */
30603
+ "Idempotency-Key"?: components["parameters"]["Idempotency-Key"];
30604
+ };
30605
+ path?: never;
30606
+ cookie?: never;
30607
+ };
30608
+ requestBody: {
30609
+ content: {
30610
+ "application/json": components["schemas"]["postV1OmaBillingCreditsRequest_4d30d62f"];
30611
+ };
30612
+ };
30613
+ responses: {
30614
+ /** @description El recurso creado */
30615
+ 201: {
30616
+ headers: {
30617
+ "request-id": components["headers"]["request-id"];
30618
+ [name: string]: unknown;
30619
+ };
30620
+ content: {
30621
+ "application/json": components["schemas"]["postV1OmaBillingCreditsResponse_8057faa2"];
30622
+ };
30623
+ };
30624
+ /** @description El pedido no es válido */
30625
+ 400: {
30626
+ headers: {
30627
+ "request-id": components["headers"]["request-id"];
30628
+ [name: string]: unknown;
30629
+ };
30630
+ content: {
30631
+ "application/json": components["schemas"]["ApiError"];
30632
+ };
30633
+ };
30634
+ /** @description Falta la autenticación */
30635
+ 401: {
30636
+ headers: {
30637
+ "request-id": components["headers"]["request-id"];
30638
+ [name: string]: unknown;
30639
+ };
30640
+ content: {
30641
+ "application/json": components["schemas"]["ApiError"];
30642
+ };
30643
+ };
30644
+ /** @description La clave no tiene el alcance */
30645
+ 403: {
30646
+ headers: {
30647
+ "request-id": components["headers"]["request-id"];
30648
+ [name: string]: unknown;
30649
+ };
30650
+ content: {
30651
+ "application/json": components["schemas"]["ApiError"];
30652
+ };
30653
+ };
30654
+ /** @description El recurso ya existe o está en conflicto */
30655
+ 409: {
30656
+ headers: {
30657
+ "request-id": components["headers"]["request-id"];
30658
+ [name: string]: unknown;
30659
+ };
30660
+ content: {
30661
+ "application/json": components["schemas"]["ApiError"];
30662
+ };
30663
+ };
30664
+ /** @description Se pasó el límite de pedidos */
30665
+ 429: {
30666
+ headers: {
30667
+ "request-id": components["headers"]["request-id"];
30668
+ [name: string]: unknown;
30669
+ };
30670
+ content: {
30671
+ "application/json": components["schemas"]["ApiError"];
30672
+ };
30673
+ };
30674
+ /** @description Error del servidor */
30675
+ 500: {
30676
+ headers: {
30677
+ "request-id": components["headers"]["request-id"];
30678
+ [name: string]: unknown;
30679
+ };
30680
+ content: {
30681
+ "application/json": components["schemas"]["ApiError"];
30682
+ };
30683
+ };
30684
+ /** @description El reenvío al proveedor falló */
30685
+ 502: {
30686
+ headers: {
30687
+ "request-id": components["headers"]["request-id"];
30688
+ [name: string]: unknown;
30689
+ };
30690
+ content: {
30691
+ "application/json": components["schemas"]["ApiError"];
30692
+ };
30693
+ };
30694
+ };
30695
+ };
30696
+ deleteV1OmaBillingPaymentMethodsId: {
28443
30697
  parameters: {
28444
30698
  query?: never;
28445
30699
  header?: never;
28446
30700
  path: {
28447
- userId: string;
30701
+ id: string;
28448
30702
  };
28449
30703
  cookie?: never;
28450
30704
  };
@@ -28457,7 +30711,7 @@ export interface operations {
28457
30711
  [name: string]: unknown;
28458
30712
  };
28459
30713
  content: {
28460
- "application/json": components["schemas"]["getV1OmaUsageLimitsUserMonthResponse_817a0f7c"];
30714
+ "application/json": components["schemas"]["deleteV1OmaBillingPaymentMethodsIdResponse_4786d4a3"];
28461
30715
  };
28462
30716
  };
28463
30717
  /** @description El pedido no es válido */
@@ -28538,7 +30792,7 @@ export interface operations {
28538
30792
  [name: string]: unknown;
28539
30793
  };
28540
30794
  content: {
28541
- "application/json": components["schemas"]["getV1OmaSettingsResponse_03443d80"];
30795
+ "application/json": components["schemas"]["getV1OmaSettingsResponse_c933aa2c"];
28542
30796
  };
28543
30797
  };
28544
30798
  /** @description El pedido no es válido */
@@ -28602,7 +30856,7 @@ export interface operations {
28602
30856
  };
28603
30857
  requestBody: {
28604
30858
  content: {
28605
- "application/json": components["schemas"]["postV1OmaSettingsRequest_b4aaadea"];
30859
+ "application/json": components["schemas"]["postV1OmaSettingsRequest_6d71b96c"];
28606
30860
  };
28607
30861
  };
28608
30862
  responses: {
@@ -28613,7 +30867,7 @@ export interface operations {
28613
30867
  [name: string]: unknown;
28614
30868
  };
28615
30869
  content: {
28616
- "application/json": components["schemas"]["getV1OmaSettingsResponse_03443d80"];
30870
+ "application/json": components["schemas"]["getV1OmaSettingsResponse_c933aa2c"];
28617
30871
  };
28618
30872
  };
28619
30873
  /** @description El pedido no es válido */
@@ -30051,7 +32305,7 @@ export interface operations {
30051
32305
  [name: string]: unknown;
30052
32306
  };
30053
32307
  content: {
30054
- "application/json": components["schemas"]["getV1OmaTelemetryDestinationsResponse_33b4565e"];
32308
+ "application/json": components["schemas"]["getV1OmaTelemetryDestinationsResponse_8e52ec65"];
30055
32309
  };
30056
32310
  };
30057
32311
  /** @description El pedido no es válido */
@@ -30115,7 +32369,7 @@ export interface operations {
30115
32369
  };
30116
32370
  requestBody: {
30117
32371
  content: {
30118
- "application/json": components["schemas"]["postV1OmaTelemetryDestinationsRequest_0c37065d"];
32372
+ "application/json": components["schemas"]["postV1OmaTelemetryDestinationsRequest_6eb420f0"];
30119
32373
  };
30120
32374
  };
30121
32375
  responses: {
@@ -30126,7 +32380,7 @@ export interface operations {
30126
32380
  [name: string]: unknown;
30127
32381
  };
30128
32382
  content: {
30129
- "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_61e9bc38"];
32383
+ "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_82071bed"];
30130
32384
  };
30131
32385
  };
30132
32386
  /** @description El pedido no es válido */
@@ -30209,7 +32463,7 @@ export interface operations {
30209
32463
  [name: string]: unknown;
30210
32464
  };
30211
32465
  content: {
30212
- "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_61e9bc38"];
32466
+ "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_82071bed"];
30213
32467
  };
30214
32468
  };
30215
32469
  /** @description El pedido no es válido */
@@ -30371,7 +32625,7 @@ export interface operations {
30371
32625
  };
30372
32626
  requestBody: {
30373
32627
  content: {
30374
- "application/json": components["schemas"]["patchV1OmaTelemetryDestinationsIdRequest_fd36967d"];
32628
+ "application/json": components["schemas"]["patchV1OmaTelemetryDestinationsIdRequest_0c839bb8"];
30375
32629
  };
30376
32630
  };
30377
32631
  responses: {
@@ -30382,7 +32636,7 @@ export interface operations {
30382
32636
  [name: string]: unknown;
30383
32637
  };
30384
32638
  content: {
30385
- "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_61e9bc38"];
32639
+ "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_82071bed"];
30386
32640
  };
30387
32641
  };
30388
32642
  /** @description El pedido no es válido */
@@ -30578,7 +32832,7 @@ export interface operations {
30578
32832
  [name: string]: unknown;
30579
32833
  };
30580
32834
  content: {
30581
- "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_61e9bc38"];
32835
+ "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_82071bed"];
30582
32836
  };
30583
32837
  };
30584
32838
  /** @description El pedido no es válido */
@@ -30671,7 +32925,7 @@ export interface operations {
30671
32925
  [name: string]: unknown;
30672
32926
  };
30673
32927
  content: {
30674
- "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_61e9bc38"];
32928
+ "application/json": components["schemas"]["postV1OmaTelemetryDestinationsResponse_82071bed"];
30675
32929
  };
30676
32930
  };
30677
32931
  /** @description El pedido no es válido */