evo360-types 1.3.644 → 1.3.647

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.
@@ -897,6 +897,14 @@ export declare const zAsaasEnvAuthConfigSchema: z.ZodObject<{
897
897
  }, {
898
898
  rate_limit_max_per_minute?: number | undefined;
899
899
  }>>;
900
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
901
+ card_token: z.ZodOptional<z.ZodObject<{
902
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
903
+ }, "strip", z.ZodTypeAny, {
904
+ remote_ip?: string | null | undefined;
905
+ }, {
906
+ remote_ip?: string | null | undefined;
907
+ }>>;
900
908
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
901
909
  enabled: z.ZodBoolean;
902
910
  base_url: z.ZodOptional<z.ZodString>;
@@ -1060,6 +1068,14 @@ export declare const zAsaasEnvAuthConfigSchema: z.ZodObject<{
1060
1068
  }, {
1061
1069
  rate_limit_max_per_minute?: number | undefined;
1062
1070
  }>>;
1071
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
1072
+ card_token: z.ZodOptional<z.ZodObject<{
1073
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1074
+ }, "strip", z.ZodTypeAny, {
1075
+ remote_ip?: string | null | undefined;
1076
+ }, {
1077
+ remote_ip?: string | null | undefined;
1078
+ }>>;
1063
1079
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1064
1080
  enabled: z.ZodBoolean;
1065
1081
  base_url: z.ZodOptional<z.ZodString>;
@@ -1223,6 +1239,14 @@ export declare const zAsaasEnvAuthConfigSchema: z.ZodObject<{
1223
1239
  }, {
1224
1240
  rate_limit_max_per_minute?: number | undefined;
1225
1241
  }>>;
1242
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
1243
+ card_token: z.ZodOptional<z.ZodObject<{
1244
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ remote_ip?: string | null | undefined;
1247
+ }, {
1248
+ remote_ip?: string | null | undefined;
1249
+ }>>;
1226
1250
  }, z.ZodTypeAny, "passthrough">>;
1227
1251
  export declare const zAsaasNfseCapabilitiesSchema: z.ZodObject<{
1228
1252
  enabled: z.ZodBoolean;
@@ -1252,7 +1276,7 @@ export declare const zAsaasEnvFlagSchema: z.ZodObject<{
1252
1276
  }>;
1253
1277
  export declare const zAsaasPaymentsCapabilitiesSchema: z.ZodObject<{
1254
1278
  enabled: z.ZodBoolean;
1255
- /** feat-253 — kill-switch do caminho A. */
1279
+ /** feat-253 — kill-switch do caminho A. @deprecated (caminho A saiu do modelo). */
1256
1280
  card_subscription_adjust: z.ZodOptional<z.ZodObject<{
1257
1281
  sandbox: z.ZodOptional<z.ZodBoolean>;
1258
1282
  production: z.ZodOptional<z.ZodBoolean>;
@@ -1263,7 +1287,7 @@ export declare const zAsaasPaymentsCapabilitiesSchema: z.ZodObject<{
1263
1287
  sandbox?: boolean | undefined;
1264
1288
  production?: boolean | undefined;
1265
1289
  }>>;
1266
- /** feat-253 — flag do caminho B (token). */
1290
+ /** feat-253 — flag do caminho B (captura + cobrança com token). */
1267
1291
  card_token: z.ZodOptional<z.ZodObject<{
1268
1292
  sandbox: z.ZodOptional<z.ZodBoolean>;
1269
1293
  production: z.ZodOptional<z.ZodBoolean>;
@@ -1274,9 +1298,31 @@ export declare const zAsaasPaymentsCapabilitiesSchema: z.ZodObject<{
1274
1298
  sandbox?: boolean | undefined;
1275
1299
  production?: boolean | undefined;
1276
1300
  }>>;
1301
+ /** feat-253 — fatura hospedada (contingência C + entrada da captura). */
1302
+ hosted_invoice: z.ZodOptional<z.ZodObject<{
1303
+ sandbox: z.ZodOptional<z.ZodBoolean>;
1304
+ production: z.ZodOptional<z.ZodBoolean>;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ sandbox?: boolean | undefined;
1307
+ production?: boolean | undefined;
1308
+ }, {
1309
+ sandbox?: boolean | undefined;
1310
+ production?: boolean | undefined;
1311
+ }>>;
1312
+ /** feat-253 — job de cobrança automática no vencimento (fatia 8). */
1313
+ card_token_auto: z.ZodOptional<z.ZodObject<{
1314
+ sandbox: z.ZodOptional<z.ZodBoolean>;
1315
+ production: z.ZodOptional<z.ZodBoolean>;
1316
+ }, "strip", z.ZodTypeAny, {
1317
+ sandbox?: boolean | undefined;
1318
+ production?: boolean | undefined;
1319
+ }, {
1320
+ sandbox?: boolean | undefined;
1321
+ production?: boolean | undefined;
1322
+ }>>;
1277
1323
  }, "strip", z.ZodTypeAny, {
1278
1324
  enabled: boolean;
1279
- card_subscription_adjust?: {
1325
+ hosted_invoice?: {
1280
1326
  sandbox?: boolean | undefined;
1281
1327
  production?: boolean | undefined;
1282
1328
  } | undefined;
@@ -1284,9 +1330,17 @@ export declare const zAsaasPaymentsCapabilitiesSchema: z.ZodObject<{
1284
1330
  sandbox?: boolean | undefined;
1285
1331
  production?: boolean | undefined;
1286
1332
  } | undefined;
1333
+ card_subscription_adjust?: {
1334
+ sandbox?: boolean | undefined;
1335
+ production?: boolean | undefined;
1336
+ } | undefined;
1337
+ card_token_auto?: {
1338
+ sandbox?: boolean | undefined;
1339
+ production?: boolean | undefined;
1340
+ } | undefined;
1287
1341
  }, {
1288
1342
  enabled: boolean;
1289
- card_subscription_adjust?: {
1343
+ hosted_invoice?: {
1290
1344
  sandbox?: boolean | undefined;
1291
1345
  production?: boolean | undefined;
1292
1346
  } | undefined;
@@ -1294,6 +1348,14 @@ export declare const zAsaasPaymentsCapabilitiesSchema: z.ZodObject<{
1294
1348
  sandbox?: boolean | undefined;
1295
1349
  production?: boolean | undefined;
1296
1350
  } | undefined;
1351
+ card_subscription_adjust?: {
1352
+ sandbox?: boolean | undefined;
1353
+ production?: boolean | undefined;
1354
+ } | undefined;
1355
+ card_token_auto?: {
1356
+ sandbox?: boolean | undefined;
1357
+ production?: boolean | undefined;
1358
+ } | undefined;
1297
1359
  }>;
1298
1360
  export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1299
1361
  nfse: z.ZodObject<{
@@ -1314,7 +1376,7 @@ export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1314
1376
  }>;
1315
1377
  payments: z.ZodObject<{
1316
1378
  enabled: z.ZodBoolean;
1317
- /** feat-253 — kill-switch do caminho A. */
1379
+ /** feat-253 — kill-switch do caminho A. @deprecated (caminho A saiu do modelo). */
1318
1380
  card_subscription_adjust: z.ZodOptional<z.ZodObject<{
1319
1381
  sandbox: z.ZodOptional<z.ZodBoolean>;
1320
1382
  production: z.ZodOptional<z.ZodBoolean>;
@@ -1325,7 +1387,7 @@ export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1325
1387
  sandbox?: boolean | undefined;
1326
1388
  production?: boolean | undefined;
1327
1389
  }>>;
1328
- /** feat-253 — flag do caminho B (token). */
1390
+ /** feat-253 — flag do caminho B (captura + cobrança com token). */
1329
1391
  card_token: z.ZodOptional<z.ZodObject<{
1330
1392
  sandbox: z.ZodOptional<z.ZodBoolean>;
1331
1393
  production: z.ZodOptional<z.ZodBoolean>;
@@ -1336,9 +1398,31 @@ export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1336
1398
  sandbox?: boolean | undefined;
1337
1399
  production?: boolean | undefined;
1338
1400
  }>>;
1401
+ /** feat-253 — fatura hospedada (contingência C + entrada da captura). */
1402
+ hosted_invoice: z.ZodOptional<z.ZodObject<{
1403
+ sandbox: z.ZodOptional<z.ZodBoolean>;
1404
+ production: z.ZodOptional<z.ZodBoolean>;
1405
+ }, "strip", z.ZodTypeAny, {
1406
+ sandbox?: boolean | undefined;
1407
+ production?: boolean | undefined;
1408
+ }, {
1409
+ sandbox?: boolean | undefined;
1410
+ production?: boolean | undefined;
1411
+ }>>;
1412
+ /** feat-253 — job de cobrança automática no vencimento (fatia 8). */
1413
+ card_token_auto: z.ZodOptional<z.ZodObject<{
1414
+ sandbox: z.ZodOptional<z.ZodBoolean>;
1415
+ production: z.ZodOptional<z.ZodBoolean>;
1416
+ }, "strip", z.ZodTypeAny, {
1417
+ sandbox?: boolean | undefined;
1418
+ production?: boolean | undefined;
1419
+ }, {
1420
+ sandbox?: boolean | undefined;
1421
+ production?: boolean | undefined;
1422
+ }>>;
1339
1423
  }, "strip", z.ZodTypeAny, {
1340
1424
  enabled: boolean;
1341
- card_subscription_adjust?: {
1425
+ hosted_invoice?: {
1342
1426
  sandbox?: boolean | undefined;
1343
1427
  production?: boolean | undefined;
1344
1428
  } | undefined;
@@ -1346,9 +1430,17 @@ export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1346
1430
  sandbox?: boolean | undefined;
1347
1431
  production?: boolean | undefined;
1348
1432
  } | undefined;
1433
+ card_subscription_adjust?: {
1434
+ sandbox?: boolean | undefined;
1435
+ production?: boolean | undefined;
1436
+ } | undefined;
1437
+ card_token_auto?: {
1438
+ sandbox?: boolean | undefined;
1439
+ production?: boolean | undefined;
1440
+ } | undefined;
1349
1441
  }, {
1350
1442
  enabled: boolean;
1351
- card_subscription_adjust?: {
1443
+ hosted_invoice?: {
1352
1444
  sandbox?: boolean | undefined;
1353
1445
  production?: boolean | undefined;
1354
1446
  } | undefined;
@@ -1356,6 +1448,14 @@ export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1356
1448
  sandbox?: boolean | undefined;
1357
1449
  production?: boolean | undefined;
1358
1450
  } | undefined;
1451
+ card_subscription_adjust?: {
1452
+ sandbox?: boolean | undefined;
1453
+ production?: boolean | undefined;
1454
+ } | undefined;
1455
+ card_token_auto?: {
1456
+ sandbox?: boolean | undefined;
1457
+ production?: boolean | undefined;
1458
+ } | undefined;
1359
1459
  }>;
1360
1460
  }, "strip", z.ZodTypeAny, {
1361
1461
  nfse: {
@@ -1366,7 +1466,7 @@ export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1366
1466
  };
1367
1467
  payments: {
1368
1468
  enabled: boolean;
1369
- card_subscription_adjust?: {
1469
+ hosted_invoice?: {
1370
1470
  sandbox?: boolean | undefined;
1371
1471
  production?: boolean | undefined;
1372
1472
  } | undefined;
@@ -1374,6 +1474,14 @@ export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1374
1474
  sandbox?: boolean | undefined;
1375
1475
  production?: boolean | undefined;
1376
1476
  } | undefined;
1477
+ card_subscription_adjust?: {
1478
+ sandbox?: boolean | undefined;
1479
+ production?: boolean | undefined;
1480
+ } | undefined;
1481
+ card_token_auto?: {
1482
+ sandbox?: boolean | undefined;
1483
+ production?: boolean | undefined;
1484
+ } | undefined;
1377
1485
  };
1378
1486
  }, {
1379
1487
  nfse: {
@@ -1384,7 +1492,7 @@ export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1384
1492
  };
1385
1493
  payments: {
1386
1494
  enabled: boolean;
1387
- card_subscription_adjust?: {
1495
+ hosted_invoice?: {
1388
1496
  sandbox?: boolean | undefined;
1389
1497
  production?: boolean | undefined;
1390
1498
  } | undefined;
@@ -1392,6 +1500,14 @@ export declare const zAsaasProviderCapabilitiesSchema: z.ZodObject<{
1392
1500
  sandbox?: boolean | undefined;
1393
1501
  production?: boolean | undefined;
1394
1502
  } | undefined;
1503
+ card_subscription_adjust?: {
1504
+ sandbox?: boolean | undefined;
1505
+ production?: boolean | undefined;
1506
+ } | undefined;
1507
+ card_token_auto?: {
1508
+ sandbox?: boolean | undefined;
1509
+ production?: boolean | undefined;
1510
+ } | undefined;
1395
1511
  };
1396
1512
  }>;
1397
1513
  export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
@@ -1560,6 +1676,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
1560
1676
  }, {
1561
1677
  rate_limit_max_per_minute?: number | undefined;
1562
1678
  }>>;
1679
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
1680
+ card_token: z.ZodOptional<z.ZodObject<{
1681
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1682
+ }, "strip", z.ZodTypeAny, {
1683
+ remote_ip?: string | null | undefined;
1684
+ }, {
1685
+ remote_ip?: string | null | undefined;
1686
+ }>>;
1563
1687
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1564
1688
  enabled: z.ZodBoolean;
1565
1689
  base_url: z.ZodOptional<z.ZodString>;
@@ -1723,6 +1847,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
1723
1847
  }, {
1724
1848
  rate_limit_max_per_minute?: number | undefined;
1725
1849
  }>>;
1850
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
1851
+ card_token: z.ZodOptional<z.ZodObject<{
1852
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1853
+ }, "strip", z.ZodTypeAny, {
1854
+ remote_ip?: string | null | undefined;
1855
+ }, {
1856
+ remote_ip?: string | null | undefined;
1857
+ }>>;
1726
1858
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1727
1859
  enabled: z.ZodBoolean;
1728
1860
  base_url: z.ZodOptional<z.ZodString>;
@@ -1886,6 +2018,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
1886
2018
  }, {
1887
2019
  rate_limit_max_per_minute?: number | undefined;
1888
2020
  }>>;
2021
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
2022
+ card_token: z.ZodOptional<z.ZodObject<{
2023
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2024
+ }, "strip", z.ZodTypeAny, {
2025
+ remote_ip?: string | null | undefined;
2026
+ }, {
2027
+ remote_ip?: string | null | undefined;
2028
+ }>>;
1889
2029
  }, z.ZodTypeAny, "passthrough">>;
1890
2030
  production: z.ZodObject<{
1891
2031
  enabled: z.ZodBoolean;
@@ -2050,6 +2190,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2050
2190
  }, {
2051
2191
  rate_limit_max_per_minute?: number | undefined;
2052
2192
  }>>;
2193
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
2194
+ card_token: z.ZodOptional<z.ZodObject<{
2195
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2196
+ }, "strip", z.ZodTypeAny, {
2197
+ remote_ip?: string | null | undefined;
2198
+ }, {
2199
+ remote_ip?: string | null | undefined;
2200
+ }>>;
2053
2201
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2054
2202
  enabled: z.ZodBoolean;
2055
2203
  base_url: z.ZodOptional<z.ZodString>;
@@ -2213,6 +2361,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2213
2361
  }, {
2214
2362
  rate_limit_max_per_minute?: number | undefined;
2215
2363
  }>>;
2364
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
2365
+ card_token: z.ZodOptional<z.ZodObject<{
2366
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2367
+ }, "strip", z.ZodTypeAny, {
2368
+ remote_ip?: string | null | undefined;
2369
+ }, {
2370
+ remote_ip?: string | null | undefined;
2371
+ }>>;
2216
2372
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2217
2373
  enabled: z.ZodBoolean;
2218
2374
  base_url: z.ZodOptional<z.ZodString>;
@@ -2376,6 +2532,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2376
2532
  }, {
2377
2533
  rate_limit_max_per_minute?: number | undefined;
2378
2534
  }>>;
2535
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
2536
+ card_token: z.ZodOptional<z.ZodObject<{
2537
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2538
+ }, "strip", z.ZodTypeAny, {
2539
+ remote_ip?: string | null | undefined;
2540
+ }, {
2541
+ remote_ip?: string | null | undefined;
2542
+ }>>;
2379
2543
  }, z.ZodTypeAny, "passthrough">>;
2380
2544
  }, "strip", z.ZodTypeAny, {
2381
2545
  sandbox: {
@@ -2439,6 +2603,9 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2439
2603
  province: z.ZodOptional<z.ZodString>;
2440
2604
  postalCode: z.ZodOptional<z.ZodString>;
2441
2605
  }, z.ZodTypeAny, "passthrough"> | undefined;
2606
+ card_token?: {
2607
+ remote_ip?: string | null | undefined;
2608
+ } | undefined;
2442
2609
  } & {
2443
2610
  [k: string]: unknown;
2444
2611
  };
@@ -2503,6 +2670,9 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2503
2670
  province: z.ZodOptional<z.ZodString>;
2504
2671
  postalCode: z.ZodOptional<z.ZodString>;
2505
2672
  }, z.ZodTypeAny, "passthrough"> | undefined;
2673
+ card_token?: {
2674
+ remote_ip?: string | null | undefined;
2675
+ } | undefined;
2506
2676
  } & {
2507
2677
  [k: string]: unknown;
2508
2678
  };
@@ -2568,6 +2738,9 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2568
2738
  province: z.ZodOptional<z.ZodString>;
2569
2739
  postalCode: z.ZodOptional<z.ZodString>;
2570
2740
  }, z.ZodTypeAny, "passthrough"> | undefined;
2741
+ card_token?: {
2742
+ remote_ip?: string | null | undefined;
2743
+ } | undefined;
2571
2744
  } & {
2572
2745
  [k: string]: unknown;
2573
2746
  };
@@ -2632,6 +2805,9 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2632
2805
  province: z.ZodOptional<z.ZodString>;
2633
2806
  postalCode: z.ZodOptional<z.ZodString>;
2634
2807
  }, z.ZodTypeAny, "passthrough"> | undefined;
2808
+ card_token?: {
2809
+ remote_ip?: string | null | undefined;
2810
+ } | undefined;
2635
2811
  } & {
2636
2812
  [k: string]: unknown;
2637
2813
  };
@@ -2655,7 +2831,7 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2655
2831
  }>;
2656
2832
  payments: z.ZodObject<{
2657
2833
  enabled: z.ZodBoolean;
2658
- /** feat-253 — kill-switch do caminho A. */
2834
+ /** feat-253 — kill-switch do caminho A. @deprecated (caminho A saiu do modelo). */
2659
2835
  card_subscription_adjust: z.ZodOptional<z.ZodObject<{
2660
2836
  sandbox: z.ZodOptional<z.ZodBoolean>;
2661
2837
  production: z.ZodOptional<z.ZodBoolean>;
@@ -2666,7 +2842,7 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2666
2842
  sandbox?: boolean | undefined;
2667
2843
  production?: boolean | undefined;
2668
2844
  }>>;
2669
- /** feat-253 — flag do caminho B (token). */
2845
+ /** feat-253 — flag do caminho B (captura + cobrança com token). */
2670
2846
  card_token: z.ZodOptional<z.ZodObject<{
2671
2847
  sandbox: z.ZodOptional<z.ZodBoolean>;
2672
2848
  production: z.ZodOptional<z.ZodBoolean>;
@@ -2677,9 +2853,31 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2677
2853
  sandbox?: boolean | undefined;
2678
2854
  production?: boolean | undefined;
2679
2855
  }>>;
2856
+ /** feat-253 — fatura hospedada (contingência C + entrada da captura). */
2857
+ hosted_invoice: z.ZodOptional<z.ZodObject<{
2858
+ sandbox: z.ZodOptional<z.ZodBoolean>;
2859
+ production: z.ZodOptional<z.ZodBoolean>;
2860
+ }, "strip", z.ZodTypeAny, {
2861
+ sandbox?: boolean | undefined;
2862
+ production?: boolean | undefined;
2863
+ }, {
2864
+ sandbox?: boolean | undefined;
2865
+ production?: boolean | undefined;
2866
+ }>>;
2867
+ /** feat-253 — job de cobrança automática no vencimento (fatia 8). */
2868
+ card_token_auto: z.ZodOptional<z.ZodObject<{
2869
+ sandbox: z.ZodOptional<z.ZodBoolean>;
2870
+ production: z.ZodOptional<z.ZodBoolean>;
2871
+ }, "strip", z.ZodTypeAny, {
2872
+ sandbox?: boolean | undefined;
2873
+ production?: boolean | undefined;
2874
+ }, {
2875
+ sandbox?: boolean | undefined;
2876
+ production?: boolean | undefined;
2877
+ }>>;
2680
2878
  }, "strip", z.ZodTypeAny, {
2681
2879
  enabled: boolean;
2682
- card_subscription_adjust?: {
2880
+ hosted_invoice?: {
2683
2881
  sandbox?: boolean | undefined;
2684
2882
  production?: boolean | undefined;
2685
2883
  } | undefined;
@@ -2687,9 +2885,17 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2687
2885
  sandbox?: boolean | undefined;
2688
2886
  production?: boolean | undefined;
2689
2887
  } | undefined;
2888
+ card_subscription_adjust?: {
2889
+ sandbox?: boolean | undefined;
2890
+ production?: boolean | undefined;
2891
+ } | undefined;
2892
+ card_token_auto?: {
2893
+ sandbox?: boolean | undefined;
2894
+ production?: boolean | undefined;
2895
+ } | undefined;
2690
2896
  }, {
2691
2897
  enabled: boolean;
2692
- card_subscription_adjust?: {
2898
+ hosted_invoice?: {
2693
2899
  sandbox?: boolean | undefined;
2694
2900
  production?: boolean | undefined;
2695
2901
  } | undefined;
@@ -2697,6 +2903,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2697
2903
  sandbox?: boolean | undefined;
2698
2904
  production?: boolean | undefined;
2699
2905
  } | undefined;
2906
+ card_subscription_adjust?: {
2907
+ sandbox?: boolean | undefined;
2908
+ production?: boolean | undefined;
2909
+ } | undefined;
2910
+ card_token_auto?: {
2911
+ sandbox?: boolean | undefined;
2912
+ production?: boolean | undefined;
2913
+ } | undefined;
2700
2914
  }>;
2701
2915
  }, "strip", z.ZodTypeAny, {
2702
2916
  nfse: {
@@ -2707,7 +2921,7 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2707
2921
  };
2708
2922
  payments: {
2709
2923
  enabled: boolean;
2710
- card_subscription_adjust?: {
2924
+ hosted_invoice?: {
2711
2925
  sandbox?: boolean | undefined;
2712
2926
  production?: boolean | undefined;
2713
2927
  } | undefined;
@@ -2715,6 +2929,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2715
2929
  sandbox?: boolean | undefined;
2716
2930
  production?: boolean | undefined;
2717
2931
  } | undefined;
2932
+ card_subscription_adjust?: {
2933
+ sandbox?: boolean | undefined;
2934
+ production?: boolean | undefined;
2935
+ } | undefined;
2936
+ card_token_auto?: {
2937
+ sandbox?: boolean | undefined;
2938
+ production?: boolean | undefined;
2939
+ } | undefined;
2718
2940
  };
2719
2941
  }, {
2720
2942
  nfse: {
@@ -2725,7 +2947,7 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2725
2947
  };
2726
2948
  payments: {
2727
2949
  enabled: boolean;
2728
- card_subscription_adjust?: {
2950
+ hosted_invoice?: {
2729
2951
  sandbox?: boolean | undefined;
2730
2952
  production?: boolean | undefined;
2731
2953
  } | undefined;
@@ -2733,6 +2955,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2733
2955
  sandbox?: boolean | undefined;
2734
2956
  production?: boolean | undefined;
2735
2957
  } | undefined;
2958
+ card_subscription_adjust?: {
2959
+ sandbox?: boolean | undefined;
2960
+ production?: boolean | undefined;
2961
+ } | undefined;
2962
+ card_token_auto?: {
2963
+ sandbox?: boolean | undefined;
2964
+ production?: boolean | undefined;
2965
+ } | undefined;
2736
2966
  };
2737
2967
  }>;
2738
2968
  }, "strip", z.ZodTypeAny, {
@@ -2745,7 +2975,7 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2745
2975
  };
2746
2976
  payments: {
2747
2977
  enabled: boolean;
2748
- card_subscription_adjust?: {
2978
+ hosted_invoice?: {
2749
2979
  sandbox?: boolean | undefined;
2750
2980
  production?: boolean | undefined;
2751
2981
  } | undefined;
@@ -2753,6 +2983,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2753
2983
  sandbox?: boolean | undefined;
2754
2984
  production?: boolean | undefined;
2755
2985
  } | undefined;
2986
+ card_subscription_adjust?: {
2987
+ sandbox?: boolean | undefined;
2988
+ production?: boolean | undefined;
2989
+ } | undefined;
2990
+ card_token_auto?: {
2991
+ sandbox?: boolean | undefined;
2992
+ production?: boolean | undefined;
2993
+ } | undefined;
2756
2994
  };
2757
2995
  };
2758
2996
  envs: {
@@ -2817,6 +3055,9 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2817
3055
  province: z.ZodOptional<z.ZodString>;
2818
3056
  postalCode: z.ZodOptional<z.ZodString>;
2819
3057
  }, z.ZodTypeAny, "passthrough"> | undefined;
3058
+ card_token?: {
3059
+ remote_ip?: string | null | undefined;
3060
+ } | undefined;
2820
3061
  } & {
2821
3062
  [k: string]: unknown;
2822
3063
  };
@@ -2881,6 +3122,9 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2881
3122
  province: z.ZodOptional<z.ZodString>;
2882
3123
  postalCode: z.ZodOptional<z.ZodString>;
2883
3124
  }, z.ZodTypeAny, "passthrough"> | undefined;
3125
+ card_token?: {
3126
+ remote_ip?: string | null | undefined;
3127
+ } | undefined;
2884
3128
  } & {
2885
3129
  [k: string]: unknown;
2886
3130
  };
@@ -2896,7 +3140,7 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2896
3140
  };
2897
3141
  payments: {
2898
3142
  enabled: boolean;
2899
- card_subscription_adjust?: {
3143
+ hosted_invoice?: {
2900
3144
  sandbox?: boolean | undefined;
2901
3145
  production?: boolean | undefined;
2902
3146
  } | undefined;
@@ -2904,6 +3148,14 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2904
3148
  sandbox?: boolean | undefined;
2905
3149
  production?: boolean | undefined;
2906
3150
  } | undefined;
3151
+ card_subscription_adjust?: {
3152
+ sandbox?: boolean | undefined;
3153
+ production?: boolean | undefined;
3154
+ } | undefined;
3155
+ card_token_auto?: {
3156
+ sandbox?: boolean | undefined;
3157
+ production?: boolean | undefined;
3158
+ } | undefined;
2907
3159
  };
2908
3160
  };
2909
3161
  envs: {
@@ -2968,6 +3220,9 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
2968
3220
  province: z.ZodOptional<z.ZodString>;
2969
3221
  postalCode: z.ZodOptional<z.ZodString>;
2970
3222
  }, z.ZodTypeAny, "passthrough"> | undefined;
3223
+ card_token?: {
3224
+ remote_ip?: string | null | undefined;
3225
+ } | undefined;
2971
3226
  } & {
2972
3227
  [k: string]: unknown;
2973
3228
  };
@@ -3032,6 +3287,9 @@ export declare const zAsaasProviderAsaasBlockSchema: z.ZodObject<{
3032
3287
  province: z.ZodOptional<z.ZodString>;
3033
3288
  postalCode: z.ZodOptional<z.ZodString>;
3034
3289
  }, z.ZodTypeAny, "passthrough"> | undefined;
3290
+ card_token?: {
3291
+ remote_ip?: string | null | undefined;
3292
+ } | undefined;
3035
3293
  } & {
3036
3294
  [k: string]: unknown;
3037
3295
  };
@@ -3244,6 +3502,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
3244
3502
  }, {
3245
3503
  rate_limit_max_per_minute?: number | undefined;
3246
3504
  }>>;
3505
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
3506
+ card_token: z.ZodOptional<z.ZodObject<{
3507
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3508
+ }, "strip", z.ZodTypeAny, {
3509
+ remote_ip?: string | null | undefined;
3510
+ }, {
3511
+ remote_ip?: string | null | undefined;
3512
+ }>>;
3247
3513
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3248
3514
  enabled: z.ZodBoolean;
3249
3515
  base_url: z.ZodOptional<z.ZodString>;
@@ -3407,6 +3673,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
3407
3673
  }, {
3408
3674
  rate_limit_max_per_minute?: number | undefined;
3409
3675
  }>>;
3676
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
3677
+ card_token: z.ZodOptional<z.ZodObject<{
3678
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3679
+ }, "strip", z.ZodTypeAny, {
3680
+ remote_ip?: string | null | undefined;
3681
+ }, {
3682
+ remote_ip?: string | null | undefined;
3683
+ }>>;
3410
3684
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3411
3685
  enabled: z.ZodBoolean;
3412
3686
  base_url: z.ZodOptional<z.ZodString>;
@@ -3570,6 +3844,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
3570
3844
  }, {
3571
3845
  rate_limit_max_per_minute?: number | undefined;
3572
3846
  }>>;
3847
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
3848
+ card_token: z.ZodOptional<z.ZodObject<{
3849
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3850
+ }, "strip", z.ZodTypeAny, {
3851
+ remote_ip?: string | null | undefined;
3852
+ }, {
3853
+ remote_ip?: string | null | undefined;
3854
+ }>>;
3573
3855
  }, z.ZodTypeAny, "passthrough">>;
3574
3856
  production: z.ZodObject<{
3575
3857
  enabled: z.ZodBoolean;
@@ -3734,6 +4016,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
3734
4016
  }, {
3735
4017
  rate_limit_max_per_minute?: number | undefined;
3736
4018
  }>>;
4019
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
4020
+ card_token: z.ZodOptional<z.ZodObject<{
4021
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4022
+ }, "strip", z.ZodTypeAny, {
4023
+ remote_ip?: string | null | undefined;
4024
+ }, {
4025
+ remote_ip?: string | null | undefined;
4026
+ }>>;
3737
4027
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3738
4028
  enabled: z.ZodBoolean;
3739
4029
  base_url: z.ZodOptional<z.ZodString>;
@@ -3897,6 +4187,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
3897
4187
  }, {
3898
4188
  rate_limit_max_per_minute?: number | undefined;
3899
4189
  }>>;
4190
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
4191
+ card_token: z.ZodOptional<z.ZodObject<{
4192
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4193
+ }, "strip", z.ZodTypeAny, {
4194
+ remote_ip?: string | null | undefined;
4195
+ }, {
4196
+ remote_ip?: string | null | undefined;
4197
+ }>>;
3900
4198
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3901
4199
  enabled: z.ZodBoolean;
3902
4200
  base_url: z.ZodOptional<z.ZodString>;
@@ -4060,6 +4358,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4060
4358
  }, {
4061
4359
  rate_limit_max_per_minute?: number | undefined;
4062
4360
  }>>;
4361
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
4362
+ card_token: z.ZodOptional<z.ZodObject<{
4363
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4364
+ }, "strip", z.ZodTypeAny, {
4365
+ remote_ip?: string | null | undefined;
4366
+ }, {
4367
+ remote_ip?: string | null | undefined;
4368
+ }>>;
4063
4369
  }, z.ZodTypeAny, "passthrough">>;
4064
4370
  }, "strip", z.ZodTypeAny, {
4065
4371
  sandbox: {
@@ -4123,6 +4429,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4123
4429
  province: z.ZodOptional<z.ZodString>;
4124
4430
  postalCode: z.ZodOptional<z.ZodString>;
4125
4431
  }, z.ZodTypeAny, "passthrough"> | undefined;
4432
+ card_token?: {
4433
+ remote_ip?: string | null | undefined;
4434
+ } | undefined;
4126
4435
  } & {
4127
4436
  [k: string]: unknown;
4128
4437
  };
@@ -4187,6 +4496,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4187
4496
  province: z.ZodOptional<z.ZodString>;
4188
4497
  postalCode: z.ZodOptional<z.ZodString>;
4189
4498
  }, z.ZodTypeAny, "passthrough"> | undefined;
4499
+ card_token?: {
4500
+ remote_ip?: string | null | undefined;
4501
+ } | undefined;
4190
4502
  } & {
4191
4503
  [k: string]: unknown;
4192
4504
  };
@@ -4252,6 +4564,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4252
4564
  province: z.ZodOptional<z.ZodString>;
4253
4565
  postalCode: z.ZodOptional<z.ZodString>;
4254
4566
  }, z.ZodTypeAny, "passthrough"> | undefined;
4567
+ card_token?: {
4568
+ remote_ip?: string | null | undefined;
4569
+ } | undefined;
4255
4570
  } & {
4256
4571
  [k: string]: unknown;
4257
4572
  };
@@ -4316,6 +4631,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4316
4631
  province: z.ZodOptional<z.ZodString>;
4317
4632
  postalCode: z.ZodOptional<z.ZodString>;
4318
4633
  }, z.ZodTypeAny, "passthrough"> | undefined;
4634
+ card_token?: {
4635
+ remote_ip?: string | null | undefined;
4636
+ } | undefined;
4319
4637
  } & {
4320
4638
  [k: string]: unknown;
4321
4639
  };
@@ -4339,7 +4657,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4339
4657
  }>;
4340
4658
  payments: z.ZodObject<{
4341
4659
  enabled: z.ZodBoolean;
4342
- /** feat-253 — kill-switch do caminho A. */
4660
+ /** feat-253 — kill-switch do caminho A. @deprecated (caminho A saiu do modelo). */
4343
4661
  card_subscription_adjust: z.ZodOptional<z.ZodObject<{
4344
4662
  sandbox: z.ZodOptional<z.ZodBoolean>;
4345
4663
  production: z.ZodOptional<z.ZodBoolean>;
@@ -4350,7 +4668,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4350
4668
  sandbox?: boolean | undefined;
4351
4669
  production?: boolean | undefined;
4352
4670
  }>>;
4353
- /** feat-253 — flag do caminho B (token). */
4671
+ /** feat-253 — flag do caminho B (captura + cobrança com token). */
4354
4672
  card_token: z.ZodOptional<z.ZodObject<{
4355
4673
  sandbox: z.ZodOptional<z.ZodBoolean>;
4356
4674
  production: z.ZodOptional<z.ZodBoolean>;
@@ -4361,9 +4679,31 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4361
4679
  sandbox?: boolean | undefined;
4362
4680
  production?: boolean | undefined;
4363
4681
  }>>;
4682
+ /** feat-253 — fatura hospedada (contingência C + entrada da captura). */
4683
+ hosted_invoice: z.ZodOptional<z.ZodObject<{
4684
+ sandbox: z.ZodOptional<z.ZodBoolean>;
4685
+ production: z.ZodOptional<z.ZodBoolean>;
4686
+ }, "strip", z.ZodTypeAny, {
4687
+ sandbox?: boolean | undefined;
4688
+ production?: boolean | undefined;
4689
+ }, {
4690
+ sandbox?: boolean | undefined;
4691
+ production?: boolean | undefined;
4692
+ }>>;
4693
+ /** feat-253 — job de cobrança automática no vencimento (fatia 8). */
4694
+ card_token_auto: z.ZodOptional<z.ZodObject<{
4695
+ sandbox: z.ZodOptional<z.ZodBoolean>;
4696
+ production: z.ZodOptional<z.ZodBoolean>;
4697
+ }, "strip", z.ZodTypeAny, {
4698
+ sandbox?: boolean | undefined;
4699
+ production?: boolean | undefined;
4700
+ }, {
4701
+ sandbox?: boolean | undefined;
4702
+ production?: boolean | undefined;
4703
+ }>>;
4364
4704
  }, "strip", z.ZodTypeAny, {
4365
4705
  enabled: boolean;
4366
- card_subscription_adjust?: {
4706
+ hosted_invoice?: {
4367
4707
  sandbox?: boolean | undefined;
4368
4708
  production?: boolean | undefined;
4369
4709
  } | undefined;
@@ -4371,13 +4711,29 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4371
4711
  sandbox?: boolean | undefined;
4372
4712
  production?: boolean | undefined;
4373
4713
  } | undefined;
4714
+ card_subscription_adjust?: {
4715
+ sandbox?: boolean | undefined;
4716
+ production?: boolean | undefined;
4717
+ } | undefined;
4718
+ card_token_auto?: {
4719
+ sandbox?: boolean | undefined;
4720
+ production?: boolean | undefined;
4721
+ } | undefined;
4374
4722
  }, {
4375
4723
  enabled: boolean;
4724
+ hosted_invoice?: {
4725
+ sandbox?: boolean | undefined;
4726
+ production?: boolean | undefined;
4727
+ } | undefined;
4728
+ card_token?: {
4729
+ sandbox?: boolean | undefined;
4730
+ production?: boolean | undefined;
4731
+ } | undefined;
4376
4732
  card_subscription_adjust?: {
4377
4733
  sandbox?: boolean | undefined;
4378
4734
  production?: boolean | undefined;
4379
4735
  } | undefined;
4380
- card_token?: {
4736
+ card_token_auto?: {
4381
4737
  sandbox?: boolean | undefined;
4382
4738
  production?: boolean | undefined;
4383
4739
  } | undefined;
@@ -4391,7 +4747,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4391
4747
  };
4392
4748
  payments: {
4393
4749
  enabled: boolean;
4394
- card_subscription_adjust?: {
4750
+ hosted_invoice?: {
4395
4751
  sandbox?: boolean | undefined;
4396
4752
  production?: boolean | undefined;
4397
4753
  } | undefined;
@@ -4399,6 +4755,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4399
4755
  sandbox?: boolean | undefined;
4400
4756
  production?: boolean | undefined;
4401
4757
  } | undefined;
4758
+ card_subscription_adjust?: {
4759
+ sandbox?: boolean | undefined;
4760
+ production?: boolean | undefined;
4761
+ } | undefined;
4762
+ card_token_auto?: {
4763
+ sandbox?: boolean | undefined;
4764
+ production?: boolean | undefined;
4765
+ } | undefined;
4402
4766
  };
4403
4767
  }, {
4404
4768
  nfse: {
@@ -4409,7 +4773,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4409
4773
  };
4410
4774
  payments: {
4411
4775
  enabled: boolean;
4412
- card_subscription_adjust?: {
4776
+ hosted_invoice?: {
4413
4777
  sandbox?: boolean | undefined;
4414
4778
  production?: boolean | undefined;
4415
4779
  } | undefined;
@@ -4417,6 +4781,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4417
4781
  sandbox?: boolean | undefined;
4418
4782
  production?: boolean | undefined;
4419
4783
  } | undefined;
4784
+ card_subscription_adjust?: {
4785
+ sandbox?: boolean | undefined;
4786
+ production?: boolean | undefined;
4787
+ } | undefined;
4788
+ card_token_auto?: {
4789
+ sandbox?: boolean | undefined;
4790
+ production?: boolean | undefined;
4791
+ } | undefined;
4420
4792
  };
4421
4793
  }>;
4422
4794
  }, "strip", z.ZodTypeAny, {
@@ -4429,7 +4801,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4429
4801
  };
4430
4802
  payments: {
4431
4803
  enabled: boolean;
4432
- card_subscription_adjust?: {
4804
+ hosted_invoice?: {
4433
4805
  sandbox?: boolean | undefined;
4434
4806
  production?: boolean | undefined;
4435
4807
  } | undefined;
@@ -4437,6 +4809,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4437
4809
  sandbox?: boolean | undefined;
4438
4810
  production?: boolean | undefined;
4439
4811
  } | undefined;
4812
+ card_subscription_adjust?: {
4813
+ sandbox?: boolean | undefined;
4814
+ production?: boolean | undefined;
4815
+ } | undefined;
4816
+ card_token_auto?: {
4817
+ sandbox?: boolean | undefined;
4818
+ production?: boolean | undefined;
4819
+ } | undefined;
4440
4820
  };
4441
4821
  };
4442
4822
  envs: {
@@ -4501,6 +4881,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4501
4881
  province: z.ZodOptional<z.ZodString>;
4502
4882
  postalCode: z.ZodOptional<z.ZodString>;
4503
4883
  }, z.ZodTypeAny, "passthrough"> | undefined;
4884
+ card_token?: {
4885
+ remote_ip?: string | null | undefined;
4886
+ } | undefined;
4504
4887
  } & {
4505
4888
  [k: string]: unknown;
4506
4889
  };
@@ -4565,6 +4948,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4565
4948
  province: z.ZodOptional<z.ZodString>;
4566
4949
  postalCode: z.ZodOptional<z.ZodString>;
4567
4950
  }, z.ZodTypeAny, "passthrough"> | undefined;
4951
+ card_token?: {
4952
+ remote_ip?: string | null | undefined;
4953
+ } | undefined;
4568
4954
  } & {
4569
4955
  [k: string]: unknown;
4570
4956
  };
@@ -4580,7 +4966,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4580
4966
  };
4581
4967
  payments: {
4582
4968
  enabled: boolean;
4583
- card_subscription_adjust?: {
4969
+ hosted_invoice?: {
4584
4970
  sandbox?: boolean | undefined;
4585
4971
  production?: boolean | undefined;
4586
4972
  } | undefined;
@@ -4588,6 +4974,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4588
4974
  sandbox?: boolean | undefined;
4589
4975
  production?: boolean | undefined;
4590
4976
  } | undefined;
4977
+ card_subscription_adjust?: {
4978
+ sandbox?: boolean | undefined;
4979
+ production?: boolean | undefined;
4980
+ } | undefined;
4981
+ card_token_auto?: {
4982
+ sandbox?: boolean | undefined;
4983
+ production?: boolean | undefined;
4984
+ } | undefined;
4591
4985
  };
4592
4986
  };
4593
4987
  envs: {
@@ -4652,6 +5046,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4652
5046
  province: z.ZodOptional<z.ZodString>;
4653
5047
  postalCode: z.ZodOptional<z.ZodString>;
4654
5048
  }, z.ZodTypeAny, "passthrough"> | undefined;
5049
+ card_token?: {
5050
+ remote_ip?: string | null | undefined;
5051
+ } | undefined;
4655
5052
  } & {
4656
5053
  [k: string]: unknown;
4657
5054
  };
@@ -4716,6 +5113,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4716
5113
  province: z.ZodOptional<z.ZodString>;
4717
5114
  postalCode: z.ZodOptional<z.ZodString>;
4718
5115
  }, z.ZodTypeAny, "passthrough"> | undefined;
5116
+ card_token?: {
5117
+ remote_ip?: string | null | undefined;
5118
+ } | undefined;
4719
5119
  } & {
4720
5120
  [k: string]: unknown;
4721
5121
  };
@@ -4928,6 +5328,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
4928
5328
  }, {
4929
5329
  rate_limit_max_per_minute?: number | undefined;
4930
5330
  }>>;
5331
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
5332
+ card_token: z.ZodOptional<z.ZodObject<{
5333
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5334
+ }, "strip", z.ZodTypeAny, {
5335
+ remote_ip?: string | null | undefined;
5336
+ }, {
5337
+ remote_ip?: string | null | undefined;
5338
+ }>>;
4931
5339
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4932
5340
  enabled: z.ZodBoolean;
4933
5341
  base_url: z.ZodOptional<z.ZodString>;
@@ -5091,6 +5499,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
5091
5499
  }, {
5092
5500
  rate_limit_max_per_minute?: number | undefined;
5093
5501
  }>>;
5502
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
5503
+ card_token: z.ZodOptional<z.ZodObject<{
5504
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5505
+ }, "strip", z.ZodTypeAny, {
5506
+ remote_ip?: string | null | undefined;
5507
+ }, {
5508
+ remote_ip?: string | null | undefined;
5509
+ }>>;
5094
5510
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5095
5511
  enabled: z.ZodBoolean;
5096
5512
  base_url: z.ZodOptional<z.ZodString>;
@@ -5254,6 +5670,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
5254
5670
  }, {
5255
5671
  rate_limit_max_per_minute?: number | undefined;
5256
5672
  }>>;
5673
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
5674
+ card_token: z.ZodOptional<z.ZodObject<{
5675
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5676
+ }, "strip", z.ZodTypeAny, {
5677
+ remote_ip?: string | null | undefined;
5678
+ }, {
5679
+ remote_ip?: string | null | undefined;
5680
+ }>>;
5257
5681
  }, z.ZodTypeAny, "passthrough">>;
5258
5682
  production: z.ZodObject<{
5259
5683
  enabled: z.ZodBoolean;
@@ -5418,6 +5842,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
5418
5842
  }, {
5419
5843
  rate_limit_max_per_minute?: number | undefined;
5420
5844
  }>>;
5845
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
5846
+ card_token: z.ZodOptional<z.ZodObject<{
5847
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5848
+ }, "strip", z.ZodTypeAny, {
5849
+ remote_ip?: string | null | undefined;
5850
+ }, {
5851
+ remote_ip?: string | null | undefined;
5852
+ }>>;
5421
5853
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5422
5854
  enabled: z.ZodBoolean;
5423
5855
  base_url: z.ZodOptional<z.ZodString>;
@@ -5581,6 +6013,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
5581
6013
  }, {
5582
6014
  rate_limit_max_per_minute?: number | undefined;
5583
6015
  }>>;
6016
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
6017
+ card_token: z.ZodOptional<z.ZodObject<{
6018
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6019
+ }, "strip", z.ZodTypeAny, {
6020
+ remote_ip?: string | null | undefined;
6021
+ }, {
6022
+ remote_ip?: string | null | undefined;
6023
+ }>>;
5584
6024
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5585
6025
  enabled: z.ZodBoolean;
5586
6026
  base_url: z.ZodOptional<z.ZodString>;
@@ -5744,6 +6184,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
5744
6184
  }, {
5745
6185
  rate_limit_max_per_minute?: number | undefined;
5746
6186
  }>>;
6187
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
6188
+ card_token: z.ZodOptional<z.ZodObject<{
6189
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6190
+ }, "strip", z.ZodTypeAny, {
6191
+ remote_ip?: string | null | undefined;
6192
+ }, {
6193
+ remote_ip?: string | null | undefined;
6194
+ }>>;
5747
6195
  }, z.ZodTypeAny, "passthrough">>;
5748
6196
  }, "strip", z.ZodTypeAny, {
5749
6197
  sandbox: {
@@ -5807,6 +6255,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
5807
6255
  province: z.ZodOptional<z.ZodString>;
5808
6256
  postalCode: z.ZodOptional<z.ZodString>;
5809
6257
  }, z.ZodTypeAny, "passthrough"> | undefined;
6258
+ card_token?: {
6259
+ remote_ip?: string | null | undefined;
6260
+ } | undefined;
5810
6261
  } & {
5811
6262
  [k: string]: unknown;
5812
6263
  };
@@ -5871,6 +6322,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
5871
6322
  province: z.ZodOptional<z.ZodString>;
5872
6323
  postalCode: z.ZodOptional<z.ZodString>;
5873
6324
  }, z.ZodTypeAny, "passthrough"> | undefined;
6325
+ card_token?: {
6326
+ remote_ip?: string | null | undefined;
6327
+ } | undefined;
5874
6328
  } & {
5875
6329
  [k: string]: unknown;
5876
6330
  };
@@ -5936,6 +6390,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
5936
6390
  province: z.ZodOptional<z.ZodString>;
5937
6391
  postalCode: z.ZodOptional<z.ZodString>;
5938
6392
  }, z.ZodTypeAny, "passthrough"> | undefined;
6393
+ card_token?: {
6394
+ remote_ip?: string | null | undefined;
6395
+ } | undefined;
5939
6396
  } & {
5940
6397
  [k: string]: unknown;
5941
6398
  };
@@ -6000,6 +6457,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6000
6457
  province: z.ZodOptional<z.ZodString>;
6001
6458
  postalCode: z.ZodOptional<z.ZodString>;
6002
6459
  }, z.ZodTypeAny, "passthrough"> | undefined;
6460
+ card_token?: {
6461
+ remote_ip?: string | null | undefined;
6462
+ } | undefined;
6003
6463
  } & {
6004
6464
  [k: string]: unknown;
6005
6465
  };
@@ -6023,7 +6483,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6023
6483
  }>;
6024
6484
  payments: z.ZodObject<{
6025
6485
  enabled: z.ZodBoolean;
6026
- /** feat-253 — kill-switch do caminho A. */
6486
+ /** feat-253 — kill-switch do caminho A. @deprecated (caminho A saiu do modelo). */
6027
6487
  card_subscription_adjust: z.ZodOptional<z.ZodObject<{
6028
6488
  sandbox: z.ZodOptional<z.ZodBoolean>;
6029
6489
  production: z.ZodOptional<z.ZodBoolean>;
@@ -6034,7 +6494,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6034
6494
  sandbox?: boolean | undefined;
6035
6495
  production?: boolean | undefined;
6036
6496
  }>>;
6037
- /** feat-253 — flag do caminho B (token). */
6497
+ /** feat-253 — flag do caminho B (captura + cobrança com token). */
6038
6498
  card_token: z.ZodOptional<z.ZodObject<{
6039
6499
  sandbox: z.ZodOptional<z.ZodBoolean>;
6040
6500
  production: z.ZodOptional<z.ZodBoolean>;
@@ -6045,9 +6505,31 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6045
6505
  sandbox?: boolean | undefined;
6046
6506
  production?: boolean | undefined;
6047
6507
  }>>;
6508
+ /** feat-253 — fatura hospedada (contingência C + entrada da captura). */
6509
+ hosted_invoice: z.ZodOptional<z.ZodObject<{
6510
+ sandbox: z.ZodOptional<z.ZodBoolean>;
6511
+ production: z.ZodOptional<z.ZodBoolean>;
6512
+ }, "strip", z.ZodTypeAny, {
6513
+ sandbox?: boolean | undefined;
6514
+ production?: boolean | undefined;
6515
+ }, {
6516
+ sandbox?: boolean | undefined;
6517
+ production?: boolean | undefined;
6518
+ }>>;
6519
+ /** feat-253 — job de cobrança automática no vencimento (fatia 8). */
6520
+ card_token_auto: z.ZodOptional<z.ZodObject<{
6521
+ sandbox: z.ZodOptional<z.ZodBoolean>;
6522
+ production: z.ZodOptional<z.ZodBoolean>;
6523
+ }, "strip", z.ZodTypeAny, {
6524
+ sandbox?: boolean | undefined;
6525
+ production?: boolean | undefined;
6526
+ }, {
6527
+ sandbox?: boolean | undefined;
6528
+ production?: boolean | undefined;
6529
+ }>>;
6048
6530
  }, "strip", z.ZodTypeAny, {
6049
6531
  enabled: boolean;
6050
- card_subscription_adjust?: {
6532
+ hosted_invoice?: {
6051
6533
  sandbox?: boolean | undefined;
6052
6534
  production?: boolean | undefined;
6053
6535
  } | undefined;
@@ -6055,9 +6537,17 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6055
6537
  sandbox?: boolean | undefined;
6056
6538
  production?: boolean | undefined;
6057
6539
  } | undefined;
6540
+ card_subscription_adjust?: {
6541
+ sandbox?: boolean | undefined;
6542
+ production?: boolean | undefined;
6543
+ } | undefined;
6544
+ card_token_auto?: {
6545
+ sandbox?: boolean | undefined;
6546
+ production?: boolean | undefined;
6547
+ } | undefined;
6058
6548
  }, {
6059
6549
  enabled: boolean;
6060
- card_subscription_adjust?: {
6550
+ hosted_invoice?: {
6061
6551
  sandbox?: boolean | undefined;
6062
6552
  production?: boolean | undefined;
6063
6553
  } | undefined;
@@ -6065,6 +6555,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6065
6555
  sandbox?: boolean | undefined;
6066
6556
  production?: boolean | undefined;
6067
6557
  } | undefined;
6558
+ card_subscription_adjust?: {
6559
+ sandbox?: boolean | undefined;
6560
+ production?: boolean | undefined;
6561
+ } | undefined;
6562
+ card_token_auto?: {
6563
+ sandbox?: boolean | undefined;
6564
+ production?: boolean | undefined;
6565
+ } | undefined;
6068
6566
  }>;
6069
6567
  }, "strip", z.ZodTypeAny, {
6070
6568
  nfse: {
@@ -6075,7 +6573,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6075
6573
  };
6076
6574
  payments: {
6077
6575
  enabled: boolean;
6078
- card_subscription_adjust?: {
6576
+ hosted_invoice?: {
6079
6577
  sandbox?: boolean | undefined;
6080
6578
  production?: boolean | undefined;
6081
6579
  } | undefined;
@@ -6083,6 +6581,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6083
6581
  sandbox?: boolean | undefined;
6084
6582
  production?: boolean | undefined;
6085
6583
  } | undefined;
6584
+ card_subscription_adjust?: {
6585
+ sandbox?: boolean | undefined;
6586
+ production?: boolean | undefined;
6587
+ } | undefined;
6588
+ card_token_auto?: {
6589
+ sandbox?: boolean | undefined;
6590
+ production?: boolean | undefined;
6591
+ } | undefined;
6086
6592
  };
6087
6593
  }, {
6088
6594
  nfse: {
@@ -6093,7 +6599,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6093
6599
  };
6094
6600
  payments: {
6095
6601
  enabled: boolean;
6096
- card_subscription_adjust?: {
6602
+ hosted_invoice?: {
6097
6603
  sandbox?: boolean | undefined;
6098
6604
  production?: boolean | undefined;
6099
6605
  } | undefined;
@@ -6101,6 +6607,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6101
6607
  sandbox?: boolean | undefined;
6102
6608
  production?: boolean | undefined;
6103
6609
  } | undefined;
6610
+ card_subscription_adjust?: {
6611
+ sandbox?: boolean | undefined;
6612
+ production?: boolean | undefined;
6613
+ } | undefined;
6614
+ card_token_auto?: {
6615
+ sandbox?: boolean | undefined;
6616
+ production?: boolean | undefined;
6617
+ } | undefined;
6104
6618
  };
6105
6619
  }>;
6106
6620
  }, "strip", z.ZodTypeAny, {
@@ -6113,7 +6627,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6113
6627
  };
6114
6628
  payments: {
6115
6629
  enabled: boolean;
6116
- card_subscription_adjust?: {
6630
+ hosted_invoice?: {
6117
6631
  sandbox?: boolean | undefined;
6118
6632
  production?: boolean | undefined;
6119
6633
  } | undefined;
@@ -6121,6 +6635,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6121
6635
  sandbox?: boolean | undefined;
6122
6636
  production?: boolean | undefined;
6123
6637
  } | undefined;
6638
+ card_subscription_adjust?: {
6639
+ sandbox?: boolean | undefined;
6640
+ production?: boolean | undefined;
6641
+ } | undefined;
6642
+ card_token_auto?: {
6643
+ sandbox?: boolean | undefined;
6644
+ production?: boolean | undefined;
6645
+ } | undefined;
6124
6646
  };
6125
6647
  };
6126
6648
  envs: {
@@ -6185,6 +6707,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6185
6707
  province: z.ZodOptional<z.ZodString>;
6186
6708
  postalCode: z.ZodOptional<z.ZodString>;
6187
6709
  }, z.ZodTypeAny, "passthrough"> | undefined;
6710
+ card_token?: {
6711
+ remote_ip?: string | null | undefined;
6712
+ } | undefined;
6188
6713
  } & {
6189
6714
  [k: string]: unknown;
6190
6715
  };
@@ -6249,6 +6774,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6249
6774
  province: z.ZodOptional<z.ZodString>;
6250
6775
  postalCode: z.ZodOptional<z.ZodString>;
6251
6776
  }, z.ZodTypeAny, "passthrough"> | undefined;
6777
+ card_token?: {
6778
+ remote_ip?: string | null | undefined;
6779
+ } | undefined;
6252
6780
  } & {
6253
6781
  [k: string]: unknown;
6254
6782
  };
@@ -6264,7 +6792,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6264
6792
  };
6265
6793
  payments: {
6266
6794
  enabled: boolean;
6267
- card_subscription_adjust?: {
6795
+ hosted_invoice?: {
6268
6796
  sandbox?: boolean | undefined;
6269
6797
  production?: boolean | undefined;
6270
6798
  } | undefined;
@@ -6272,6 +6800,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6272
6800
  sandbox?: boolean | undefined;
6273
6801
  production?: boolean | undefined;
6274
6802
  } | undefined;
6803
+ card_subscription_adjust?: {
6804
+ sandbox?: boolean | undefined;
6805
+ production?: boolean | undefined;
6806
+ } | undefined;
6807
+ card_token_auto?: {
6808
+ sandbox?: boolean | undefined;
6809
+ production?: boolean | undefined;
6810
+ } | undefined;
6275
6811
  };
6276
6812
  };
6277
6813
  envs: {
@@ -6336,6 +6872,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6336
6872
  province: z.ZodOptional<z.ZodString>;
6337
6873
  postalCode: z.ZodOptional<z.ZodString>;
6338
6874
  }, z.ZodTypeAny, "passthrough"> | undefined;
6875
+ card_token?: {
6876
+ remote_ip?: string | null | undefined;
6877
+ } | undefined;
6339
6878
  } & {
6340
6879
  [k: string]: unknown;
6341
6880
  };
@@ -6400,6 +6939,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6400
6939
  province: z.ZodOptional<z.ZodString>;
6401
6940
  postalCode: z.ZodOptional<z.ZodString>;
6402
6941
  }, z.ZodTypeAny, "passthrough"> | undefined;
6942
+ card_token?: {
6943
+ remote_ip?: string | null | undefined;
6944
+ } | undefined;
6403
6945
  } & {
6404
6946
  [k: string]: unknown;
6405
6947
  };
@@ -6612,6 +7154,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6612
7154
  }, {
6613
7155
  rate_limit_max_per_minute?: number | undefined;
6614
7156
  }>>;
7157
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
7158
+ card_token: z.ZodOptional<z.ZodObject<{
7159
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7160
+ }, "strip", z.ZodTypeAny, {
7161
+ remote_ip?: string | null | undefined;
7162
+ }, {
7163
+ remote_ip?: string | null | undefined;
7164
+ }>>;
6615
7165
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6616
7166
  enabled: z.ZodBoolean;
6617
7167
  base_url: z.ZodOptional<z.ZodString>;
@@ -6775,6 +7325,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6775
7325
  }, {
6776
7326
  rate_limit_max_per_minute?: number | undefined;
6777
7327
  }>>;
7328
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
7329
+ card_token: z.ZodOptional<z.ZodObject<{
7330
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7331
+ }, "strip", z.ZodTypeAny, {
7332
+ remote_ip?: string | null | undefined;
7333
+ }, {
7334
+ remote_ip?: string | null | undefined;
7335
+ }>>;
6778
7336
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6779
7337
  enabled: z.ZodBoolean;
6780
7338
  base_url: z.ZodOptional<z.ZodString>;
@@ -6938,6 +7496,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
6938
7496
  }, {
6939
7497
  rate_limit_max_per_minute?: number | undefined;
6940
7498
  }>>;
7499
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
7500
+ card_token: z.ZodOptional<z.ZodObject<{
7501
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7502
+ }, "strip", z.ZodTypeAny, {
7503
+ remote_ip?: string | null | undefined;
7504
+ }, {
7505
+ remote_ip?: string | null | undefined;
7506
+ }>>;
6941
7507
  }, z.ZodTypeAny, "passthrough">>;
6942
7508
  production: z.ZodObject<{
6943
7509
  enabled: z.ZodBoolean;
@@ -7102,6 +7668,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7102
7668
  }, {
7103
7669
  rate_limit_max_per_minute?: number | undefined;
7104
7670
  }>>;
7671
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
7672
+ card_token: z.ZodOptional<z.ZodObject<{
7673
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7674
+ }, "strip", z.ZodTypeAny, {
7675
+ remote_ip?: string | null | undefined;
7676
+ }, {
7677
+ remote_ip?: string | null | undefined;
7678
+ }>>;
7105
7679
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7106
7680
  enabled: z.ZodBoolean;
7107
7681
  base_url: z.ZodOptional<z.ZodString>;
@@ -7265,6 +7839,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7265
7839
  }, {
7266
7840
  rate_limit_max_per_minute?: number | undefined;
7267
7841
  }>>;
7842
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
7843
+ card_token: z.ZodOptional<z.ZodObject<{
7844
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7845
+ }, "strip", z.ZodTypeAny, {
7846
+ remote_ip?: string | null | undefined;
7847
+ }, {
7848
+ remote_ip?: string | null | undefined;
7849
+ }>>;
7268
7850
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7269
7851
  enabled: z.ZodBoolean;
7270
7852
  base_url: z.ZodOptional<z.ZodString>;
@@ -7428,6 +8010,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7428
8010
  }, {
7429
8011
  rate_limit_max_per_minute?: number | undefined;
7430
8012
  }>>;
8013
+ /** feat-253 — IP enviado na cobrança com token quando a credencial não tem o do pagador. */
8014
+ card_token: z.ZodOptional<z.ZodObject<{
8015
+ remote_ip: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8016
+ }, "strip", z.ZodTypeAny, {
8017
+ remote_ip?: string | null | undefined;
8018
+ }, {
8019
+ remote_ip?: string | null | undefined;
8020
+ }>>;
7431
8021
  }, z.ZodTypeAny, "passthrough">>;
7432
8022
  }, "strip", z.ZodTypeAny, {
7433
8023
  sandbox: {
@@ -7491,6 +8081,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7491
8081
  province: z.ZodOptional<z.ZodString>;
7492
8082
  postalCode: z.ZodOptional<z.ZodString>;
7493
8083
  }, z.ZodTypeAny, "passthrough"> | undefined;
8084
+ card_token?: {
8085
+ remote_ip?: string | null | undefined;
8086
+ } | undefined;
7494
8087
  } & {
7495
8088
  [k: string]: unknown;
7496
8089
  };
@@ -7555,6 +8148,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7555
8148
  province: z.ZodOptional<z.ZodString>;
7556
8149
  postalCode: z.ZodOptional<z.ZodString>;
7557
8150
  }, z.ZodTypeAny, "passthrough"> | undefined;
8151
+ card_token?: {
8152
+ remote_ip?: string | null | undefined;
8153
+ } | undefined;
7558
8154
  } & {
7559
8155
  [k: string]: unknown;
7560
8156
  };
@@ -7620,6 +8216,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7620
8216
  province: z.ZodOptional<z.ZodString>;
7621
8217
  postalCode: z.ZodOptional<z.ZodString>;
7622
8218
  }, z.ZodTypeAny, "passthrough"> | undefined;
8219
+ card_token?: {
8220
+ remote_ip?: string | null | undefined;
8221
+ } | undefined;
7623
8222
  } & {
7624
8223
  [k: string]: unknown;
7625
8224
  };
@@ -7684,6 +8283,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7684
8283
  province: z.ZodOptional<z.ZodString>;
7685
8284
  postalCode: z.ZodOptional<z.ZodString>;
7686
8285
  }, z.ZodTypeAny, "passthrough"> | undefined;
8286
+ card_token?: {
8287
+ remote_ip?: string | null | undefined;
8288
+ } | undefined;
7687
8289
  } & {
7688
8290
  [k: string]: unknown;
7689
8291
  };
@@ -7707,7 +8309,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7707
8309
  }>;
7708
8310
  payments: z.ZodObject<{
7709
8311
  enabled: z.ZodBoolean;
7710
- /** feat-253 — kill-switch do caminho A. */
8312
+ /** feat-253 — kill-switch do caminho A. @deprecated (caminho A saiu do modelo). */
7711
8313
  card_subscription_adjust: z.ZodOptional<z.ZodObject<{
7712
8314
  sandbox: z.ZodOptional<z.ZodBoolean>;
7713
8315
  production: z.ZodOptional<z.ZodBoolean>;
@@ -7718,7 +8320,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7718
8320
  sandbox?: boolean | undefined;
7719
8321
  production?: boolean | undefined;
7720
8322
  }>>;
7721
- /** feat-253 — flag do caminho B (token). */
8323
+ /** feat-253 — flag do caminho B (captura + cobrança com token). */
7722
8324
  card_token: z.ZodOptional<z.ZodObject<{
7723
8325
  sandbox: z.ZodOptional<z.ZodBoolean>;
7724
8326
  production: z.ZodOptional<z.ZodBoolean>;
@@ -7729,9 +8331,31 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7729
8331
  sandbox?: boolean | undefined;
7730
8332
  production?: boolean | undefined;
7731
8333
  }>>;
8334
+ /** feat-253 — fatura hospedada (contingência C + entrada da captura). */
8335
+ hosted_invoice: z.ZodOptional<z.ZodObject<{
8336
+ sandbox: z.ZodOptional<z.ZodBoolean>;
8337
+ production: z.ZodOptional<z.ZodBoolean>;
8338
+ }, "strip", z.ZodTypeAny, {
8339
+ sandbox?: boolean | undefined;
8340
+ production?: boolean | undefined;
8341
+ }, {
8342
+ sandbox?: boolean | undefined;
8343
+ production?: boolean | undefined;
8344
+ }>>;
8345
+ /** feat-253 — job de cobrança automática no vencimento (fatia 8). */
8346
+ card_token_auto: z.ZodOptional<z.ZodObject<{
8347
+ sandbox: z.ZodOptional<z.ZodBoolean>;
8348
+ production: z.ZodOptional<z.ZodBoolean>;
8349
+ }, "strip", z.ZodTypeAny, {
8350
+ sandbox?: boolean | undefined;
8351
+ production?: boolean | undefined;
8352
+ }, {
8353
+ sandbox?: boolean | undefined;
8354
+ production?: boolean | undefined;
8355
+ }>>;
7732
8356
  }, "strip", z.ZodTypeAny, {
7733
8357
  enabled: boolean;
7734
- card_subscription_adjust?: {
8358
+ hosted_invoice?: {
7735
8359
  sandbox?: boolean | undefined;
7736
8360
  production?: boolean | undefined;
7737
8361
  } | undefined;
@@ -7739,9 +8363,17 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7739
8363
  sandbox?: boolean | undefined;
7740
8364
  production?: boolean | undefined;
7741
8365
  } | undefined;
8366
+ card_subscription_adjust?: {
8367
+ sandbox?: boolean | undefined;
8368
+ production?: boolean | undefined;
8369
+ } | undefined;
8370
+ card_token_auto?: {
8371
+ sandbox?: boolean | undefined;
8372
+ production?: boolean | undefined;
8373
+ } | undefined;
7742
8374
  }, {
7743
8375
  enabled: boolean;
7744
- card_subscription_adjust?: {
8376
+ hosted_invoice?: {
7745
8377
  sandbox?: boolean | undefined;
7746
8378
  production?: boolean | undefined;
7747
8379
  } | undefined;
@@ -7749,6 +8381,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7749
8381
  sandbox?: boolean | undefined;
7750
8382
  production?: boolean | undefined;
7751
8383
  } | undefined;
8384
+ card_subscription_adjust?: {
8385
+ sandbox?: boolean | undefined;
8386
+ production?: boolean | undefined;
8387
+ } | undefined;
8388
+ card_token_auto?: {
8389
+ sandbox?: boolean | undefined;
8390
+ production?: boolean | undefined;
8391
+ } | undefined;
7752
8392
  }>;
7753
8393
  }, "strip", z.ZodTypeAny, {
7754
8394
  nfse: {
@@ -7759,7 +8399,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7759
8399
  };
7760
8400
  payments: {
7761
8401
  enabled: boolean;
7762
- card_subscription_adjust?: {
8402
+ hosted_invoice?: {
7763
8403
  sandbox?: boolean | undefined;
7764
8404
  production?: boolean | undefined;
7765
8405
  } | undefined;
@@ -7767,6 +8407,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7767
8407
  sandbox?: boolean | undefined;
7768
8408
  production?: boolean | undefined;
7769
8409
  } | undefined;
8410
+ card_subscription_adjust?: {
8411
+ sandbox?: boolean | undefined;
8412
+ production?: boolean | undefined;
8413
+ } | undefined;
8414
+ card_token_auto?: {
8415
+ sandbox?: boolean | undefined;
8416
+ production?: boolean | undefined;
8417
+ } | undefined;
7770
8418
  };
7771
8419
  }, {
7772
8420
  nfse: {
@@ -7777,7 +8425,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7777
8425
  };
7778
8426
  payments: {
7779
8427
  enabled: boolean;
7780
- card_subscription_adjust?: {
8428
+ hosted_invoice?: {
7781
8429
  sandbox?: boolean | undefined;
7782
8430
  production?: boolean | undefined;
7783
8431
  } | undefined;
@@ -7785,6 +8433,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7785
8433
  sandbox?: boolean | undefined;
7786
8434
  production?: boolean | undefined;
7787
8435
  } | undefined;
8436
+ card_subscription_adjust?: {
8437
+ sandbox?: boolean | undefined;
8438
+ production?: boolean | undefined;
8439
+ } | undefined;
8440
+ card_token_auto?: {
8441
+ sandbox?: boolean | undefined;
8442
+ production?: boolean | undefined;
8443
+ } | undefined;
7788
8444
  };
7789
8445
  }>;
7790
8446
  }, "strip", z.ZodTypeAny, {
@@ -7797,7 +8453,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7797
8453
  };
7798
8454
  payments: {
7799
8455
  enabled: boolean;
7800
- card_subscription_adjust?: {
8456
+ hosted_invoice?: {
7801
8457
  sandbox?: boolean | undefined;
7802
8458
  production?: boolean | undefined;
7803
8459
  } | undefined;
@@ -7805,6 +8461,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7805
8461
  sandbox?: boolean | undefined;
7806
8462
  production?: boolean | undefined;
7807
8463
  } | undefined;
8464
+ card_subscription_adjust?: {
8465
+ sandbox?: boolean | undefined;
8466
+ production?: boolean | undefined;
8467
+ } | undefined;
8468
+ card_token_auto?: {
8469
+ sandbox?: boolean | undefined;
8470
+ production?: boolean | undefined;
8471
+ } | undefined;
7808
8472
  };
7809
8473
  };
7810
8474
  envs: {
@@ -7869,6 +8533,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7869
8533
  province: z.ZodOptional<z.ZodString>;
7870
8534
  postalCode: z.ZodOptional<z.ZodString>;
7871
8535
  }, z.ZodTypeAny, "passthrough"> | undefined;
8536
+ card_token?: {
8537
+ remote_ip?: string | null | undefined;
8538
+ } | undefined;
7872
8539
  } & {
7873
8540
  [k: string]: unknown;
7874
8541
  };
@@ -7933,6 +8600,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7933
8600
  province: z.ZodOptional<z.ZodString>;
7934
8601
  postalCode: z.ZodOptional<z.ZodString>;
7935
8602
  }, z.ZodTypeAny, "passthrough"> | undefined;
8603
+ card_token?: {
8604
+ remote_ip?: string | null | undefined;
8605
+ } | undefined;
7936
8606
  } & {
7937
8607
  [k: string]: unknown;
7938
8608
  };
@@ -7948,7 +8618,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7948
8618
  };
7949
8619
  payments: {
7950
8620
  enabled: boolean;
7951
- card_subscription_adjust?: {
8621
+ hosted_invoice?: {
7952
8622
  sandbox?: boolean | undefined;
7953
8623
  production?: boolean | undefined;
7954
8624
  } | undefined;
@@ -7956,6 +8626,14 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
7956
8626
  sandbox?: boolean | undefined;
7957
8627
  production?: boolean | undefined;
7958
8628
  } | undefined;
8629
+ card_subscription_adjust?: {
8630
+ sandbox?: boolean | undefined;
8631
+ production?: boolean | undefined;
8632
+ } | undefined;
8633
+ card_token_auto?: {
8634
+ sandbox?: boolean | undefined;
8635
+ production?: boolean | undefined;
8636
+ } | undefined;
7959
8637
  };
7960
8638
  };
7961
8639
  envs: {
@@ -8020,6 +8698,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
8020
8698
  province: z.ZodOptional<z.ZodString>;
8021
8699
  postalCode: z.ZodOptional<z.ZodString>;
8022
8700
  }, z.ZodTypeAny, "passthrough"> | undefined;
8701
+ card_token?: {
8702
+ remote_ip?: string | null | undefined;
8703
+ } | undefined;
8023
8704
  } & {
8024
8705
  [k: string]: unknown;
8025
8706
  };
@@ -8084,6 +8765,9 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
8084
8765
  province: z.ZodOptional<z.ZodString>;
8085
8766
  postalCode: z.ZodOptional<z.ZodString>;
8086
8767
  }, z.ZodTypeAny, "passthrough"> | undefined;
8768
+ card_token?: {
8769
+ remote_ip?: string | null | undefined;
8770
+ } | undefined;
8087
8771
  } & {
8088
8772
  [k: string]: unknown;
8089
8773
  };
@@ -14059,22 +14743,47 @@ export declare const zNexFinopsContractPaymentMethodsWriteSchema: z.ZodObject<{
14059
14743
  payment_method_ids: string[];
14060
14744
  default_payment_method_id?: string | null | undefined;
14061
14745
  }>;
14062
- /** `POST /billings/:id/card-charge` (F2/F3). */
14746
+ /**
14747
+ * `POST /billings/:id/card-charge` (feat-253 F2b).
14748
+ * - `preview`: prévia da cobrança no cartão salvo (não escreve).
14749
+ * - `charge_now`: cobra no cartão salvo (`confirm` + `expected_value`).
14750
+ * - `send_invoice`: fatura hospedada do Asaas (`billing_type` CREDIT_CARD captura o cartão; UNDEFINED = cliente escolhe).
14751
+ * - `cancel_invoice`: cancela a fatura aberta (`asaas_payment_id`).
14752
+ * `.strip()`: dados de cartão/token nunca entram por aqui.
14753
+ */
14063
14754
  export declare const zNexFinopsBillingCardChargeSchema: z.ZodObject<{
14064
- action: z.ZodEnum<["preview", "adjust", "revert", "charge_now"]>;
14065
- expected_value: z.ZodNumber;
14755
+ action: z.ZodEnum<["preview", "charge_now", "send_invoice", "cancel_invoice"]>;
14756
+ expected_value: z.ZodOptional<z.ZodNumber>;
14066
14757
  asaas_payment_id: z.ZodOptional<z.ZodString>;
14067
14758
  confirm: z.ZodOptional<z.ZodBoolean>;
14759
+ capture_card: z.ZodOptional<z.ZodBoolean>;
14760
+ billing_type: z.ZodOptional<z.ZodEnum<["CREDIT_CARD", "UNDEFINED"]>>;
14761
+ provider_id: z.ZodOptional<z.ZodString>;
14762
+ env: z.ZodOptional<z.ZodEnum<["sandbox", "production"]>>;
14763
+ taker_id: z.ZodOptional<z.ZodString>;
14764
+ allow_early: z.ZodOptional<z.ZodBoolean>;
14068
14765
  }, "strip", z.ZodTypeAny, {
14069
- action: "adjust" | "revert" | "preview" | "charge_now";
14070
- expected_value: number;
14766
+ action: "send_invoice" | "cancel_invoice" | "preview" | "charge_now";
14071
14767
  confirm?: boolean | undefined;
14768
+ provider_id?: string | undefined;
14769
+ billing_type?: "CREDIT_CARD" | "UNDEFINED" | undefined;
14770
+ env?: "sandbox" | "production" | undefined;
14771
+ expected_value?: number | undefined;
14072
14772
  asaas_payment_id?: string | undefined;
14773
+ capture_card?: boolean | undefined;
14774
+ taker_id?: string | undefined;
14775
+ allow_early?: boolean | undefined;
14073
14776
  }, {
14074
- action: "adjust" | "revert" | "preview" | "charge_now";
14075
- expected_value: number;
14777
+ action: "send_invoice" | "cancel_invoice" | "preview" | "charge_now";
14076
14778
  confirm?: boolean | undefined;
14779
+ provider_id?: string | undefined;
14780
+ billing_type?: "CREDIT_CARD" | "UNDEFINED" | undefined;
14781
+ env?: "sandbox" | "production" | undefined;
14782
+ expected_value?: number | undefined;
14077
14783
  asaas_payment_id?: string | undefined;
14784
+ capture_card?: boolean | undefined;
14785
+ taker_id?: string | undefined;
14786
+ allow_early?: boolean | undefined;
14078
14787
  }>;
14079
14788
  /** `POST /payment-methods/discover` — sem `confirm` é dry-run. */
14080
14789
  export declare const zNexFinopsPaymentMethodsDiscoverSchema: z.ZodObject<{