@capibox/bridge-nextjs-client 0.0.48 → 0.0.50

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.
package/dist/index.d.mts CHANGED
@@ -802,6 +802,40 @@ interface components {
802
802
  [key: string]: unknown;
803
803
  };
804
804
  };
805
+ GetCurrencyDto: {
806
+ /** @example [
807
+ * "EUR",
808
+ * "GBP"
809
+ * ] */
810
+ currencies: string[];
811
+ };
812
+ CurrencyRateResponseDto: {
813
+ /**
814
+ * @description Unique ID of the rate record
815
+ * @example 6
816
+ */
817
+ id: number;
818
+ /**
819
+ * @description Date when the rate was recorded
820
+ * @example 2025-09-24
821
+ */
822
+ date: string;
823
+ /**
824
+ * @description Target currency code (ISO 4217)
825
+ * @example PKR
826
+ */
827
+ currency: string;
828
+ /**
829
+ * @description Base currency code (ISO 4217)
830
+ * @example USD
831
+ */
832
+ base_currency: string;
833
+ /**
834
+ * @description Exchange rate relative to base currency
835
+ * @example 281.4
836
+ */
837
+ rate: number;
838
+ };
805
839
  CreateWebhookDto: {
806
840
  /** @description The title of the webhook */
807
841
  title?: string;
@@ -1017,6 +1051,40 @@ interface components {
1017
1051
  /** @description Payment token */
1018
1052
  token: string;
1019
1053
  };
1054
+ CheckoutConditionsDto: {
1055
+ /** @example true */
1056
+ enabled: boolean;
1057
+ /** @example null */
1058
+ rules: Record<string, never> | null;
1059
+ };
1060
+ YunoCheckoutDto: {
1061
+ /** @example xxxxxx-xxxxx-xxxx-xxxx-xxxxxxx */
1062
+ session: string;
1063
+ /** @example true */
1064
+ sdk_required_action: boolean;
1065
+ conditions: components["schemas"]["CheckoutConditionsDto"];
1066
+ };
1067
+ YunoPaymentMethodResponseDto: {
1068
+ /** @example Card */
1069
+ name: string;
1070
+ /** @example xxxx */
1071
+ vaulted_token: string | null;
1072
+ /** @example Card */
1073
+ description: string;
1074
+ /** @example CARD */
1075
+ type: string;
1076
+ /** @example CARD */
1077
+ category: string;
1078
+ /** @example https://sdk.prod.y.uno/brands/card_image.png */
1079
+ icon: string;
1080
+ /** @example null */
1081
+ last_successfully_used: string | null;
1082
+ /** @example null */
1083
+ last_successfully_used_at: string | null;
1084
+ checkout: components["schemas"]["YunoCheckoutDto"];
1085
+ /** @example true */
1086
+ preferred: boolean;
1087
+ };
1020
1088
  PaymentRefundRequestDto: {
1021
1089
  /** @description Order ID */
1022
1090
  orderId: string;
@@ -1040,6 +1108,149 @@ interface components {
1040
1108
  /** @description Refund error if exists */
1041
1109
  error: string;
1042
1110
  };
1111
+ PrimerCreateReferencePaymentRequestDto: {
1112
+ /**
1113
+ * @description The payment method token used to authorize the payment. If not provided, we will search for a token by client.
1114
+ * @example oXxI7BvGTZWRBucAd92D-HwxNzU0NDAxNTUy
1115
+ */
1116
+ paymentMethodToken?: string;
1117
+ /**
1118
+ * @description Your reference for the payment
1119
+ * @example 123456789
1120
+ */
1121
+ orderId: string;
1122
+ /**
1123
+ * @description The amount you would like to charge the customer, in minor units. e.g. for $7, use 700.
1124
+ * @example 1000
1125
+ */
1126
+ amount: number;
1127
+ /**
1128
+ * @description Payment metadata (optional)
1129
+ * @example {
1130
+ * "productId": 123,
1131
+ * "merchantId": "a13bsd62s"
1132
+ * }
1133
+ */
1134
+ metadata?: {
1135
+ [key: string]: unknown;
1136
+ };
1137
+ };
1138
+ PrimerCreatePaymentResponseDto: {
1139
+ /** @example success */
1140
+ success: boolean;
1141
+ };
1142
+ PrimerCreateRecurringPaymentRequestDto: {
1143
+ /**
1144
+ * @description The payment method token used to authorize the payment. If not provided, we will search for a token by client.
1145
+ * @example oXxI7BvGTZWRBucAd92D-HwxNzU0NDAxNTUy
1146
+ */
1147
+ paymentMethodToken?: string;
1148
+ /**
1149
+ * @description Your reference for the payment
1150
+ * @example 123456789
1151
+ */
1152
+ orderId: string;
1153
+ /**
1154
+ * @description The amount you would like to charge the customer, in minor units. e.g. for $7, use 700.
1155
+ * @example 1000
1156
+ */
1157
+ amount: number;
1158
+ /**
1159
+ * @description Payment metadata (optional)
1160
+ * @example {
1161
+ * "productId": 123,
1162
+ * "merchantId": "a13bsd62s"
1163
+ * }
1164
+ */
1165
+ metadata?: {
1166
+ [key: string]: unknown;
1167
+ };
1168
+ };
1169
+ PrimerCreateReferencePaymentRequestWithDelayDto: {
1170
+ /**
1171
+ * @description The payment method token used to authorize the payment. If not provided, we will search for a token by client.
1172
+ * @example oXxI7BvGTZWRBucAd92D-HwxNzU0NDAxNTUy
1173
+ */
1174
+ paymentMethodToken?: string;
1175
+ /**
1176
+ * @description Your reference for the payment
1177
+ * @example 123456789
1178
+ */
1179
+ orderId: string;
1180
+ /**
1181
+ * @description The amount you would like to charge the customer, in minor units. e.g. for $7, use 700.
1182
+ * @example 1000
1183
+ */
1184
+ amount: number;
1185
+ /**
1186
+ * @description Payment metadata (optional)
1187
+ * @example {
1188
+ * "productId": 123,
1189
+ * "merchantId": "a13bsd62s"
1190
+ * }
1191
+ */
1192
+ metadata?: {
1193
+ [key: string]: unknown;
1194
+ };
1195
+ /**
1196
+ * @description The delay in minutes before the payment is processed
1197
+ * @example 10
1198
+ */
1199
+ delay: number;
1200
+ };
1201
+ TaxValueCountryStateRequestDto: {
1202
+ /**
1203
+ * @description ISO 3166-1 alpha-2 country code (e.g., US, CA)
1204
+ * @example US
1205
+ */
1206
+ countryCode: string;
1207
+ /**
1208
+ * @description State
1209
+ * @example Arizona
1210
+ */
1211
+ state: string;
1212
+ /**
1213
+ * @description Amount for tax calculation
1214
+ * @example 2
1215
+ */
1216
+ amount: number;
1217
+ };
1218
+ TaxValueCountryStateResponseDto: {
1219
+ /**
1220
+ * @description Tax percent
1221
+ * @example 5.6
1222
+ */
1223
+ taxPercent: number;
1224
+ /**
1225
+ * @description Tax amount
1226
+ * @example 2
1227
+ */
1228
+ taxAmount: number;
1229
+ /**
1230
+ * @description Amount with tax
1231
+ * @example 12
1232
+ */
1233
+ amountWithTax: number;
1234
+ };
1235
+ TaxPercentCountryStateRequestDto: {
1236
+ /**
1237
+ * @description ISO 3166-1 alpha-2 country code (e.g., US, CA)
1238
+ * @example US
1239
+ */
1240
+ countryCode: string;
1241
+ /**
1242
+ * @description State
1243
+ * @example Arizona
1244
+ */
1245
+ state: string;
1246
+ };
1247
+ TaxPercentCountryStateResponseDto: {
1248
+ /**
1249
+ * @description Tax percent
1250
+ * @example 5.6
1251
+ */
1252
+ taxPercent: number;
1253
+ };
1043
1254
  PaymentCreateSessionResponseDto: {
1044
1255
  /** @description Token for initiate payment session */
1045
1256
  token: string;
@@ -1062,71 +1273,624 @@ interface components {
1062
1273
  /** @description Charge ID */
1063
1274
  chargeId: string;
1064
1275
  };
1065
- TokenRetrieveResponseDto: {
1066
- /** @description Token */
1067
- token: string;
1068
- /** @description Token type */
1069
- type: string;
1276
+ TokenRetrieveResponseDto: {
1277
+ /** @description Token */
1278
+ token: string;
1279
+ /** @description Token type */
1280
+ type: string;
1281
+ };
1282
+ ImportDisputesUrlRequestDto: {
1283
+ /**
1284
+ * @description URL of the CSV file to import
1285
+ * @example https://example.com/disputes.csv
1286
+ */
1287
+ url: string;
1288
+ };
1289
+ AdyenTransactionPaginatedResponseDto: {
1290
+ /** @description Array of items for the current page */
1291
+ data: string[];
1292
+ /** @description Total number of items available */
1293
+ total: number;
1294
+ /**
1295
+ * @description Current page number
1296
+ * @example 1
1297
+ */
1298
+ page: number;
1299
+ /**
1300
+ * @description Number of items per page
1301
+ * @example 10
1302
+ */
1303
+ limit: number;
1304
+ };
1305
+ ChargeResponseDto: {
1306
+ /**
1307
+ * @description Internal database ID.
1308
+ * @example 1
1309
+ */
1310
+ id: number;
1311
+ /**
1312
+ * @description Stripe charge ID.
1313
+ * @example ch_123
1314
+ */
1315
+ sourceId: string;
1316
+ /**
1317
+ * @description Time at which the charge was created on Stripe. Seconds since Unix epoch.
1318
+ * @example 1679090539
1319
+ */
1320
+ created: number;
1321
+ /**
1322
+ * @description True if the object exists in live mode; false if the object exists in test mode.
1323
+ * @example false
1324
+ */
1325
+ livemode: boolean;
1326
+ /** @description Full Stripe charge object stored as JSON. */
1327
+ data: Record<string, never>;
1328
+ /**
1329
+ * Format: date-time
1330
+ * @description Record creation timestamp.
1331
+ */
1332
+ createdAt: string;
1333
+ /**
1334
+ * Format: date-time
1335
+ * @description Record last update timestamp.
1336
+ */
1337
+ updatedAt: string;
1338
+ };
1339
+ BadRequestErrorDto: {
1340
+ /**
1341
+ * @description HTTP status code.
1342
+ * @example 400
1343
+ */
1344
+ statusCode: number;
1345
+ /**
1346
+ * @description List of error messages.
1347
+ * @example [
1348
+ * "property must be a string"
1349
+ * ]
1350
+ */
1351
+ message: string[];
1352
+ /**
1353
+ * @description Error message.
1354
+ * @example Bad Request
1355
+ */
1356
+ error: string;
1357
+ };
1358
+ DisputeResponseDto: {
1359
+ /**
1360
+ * @description Internal database ID.
1361
+ * @example 1
1362
+ */
1363
+ id: number;
1364
+ /**
1365
+ * @description The ID of the charge associated with the dispute.
1366
+ * @example du_1RqrpqHUCmnJBv5wT1EOPHlg
1367
+ */
1368
+ sourceId: string;
1369
+ /**
1370
+ * Format: date-time
1371
+ * @description The date and time when the dispute was created in UTC.
1372
+ * @example 2025-07-31T10:00:00Z
1373
+ */
1374
+ disputeCreatedUtc: string;
1375
+ /**
1376
+ * Format: date-time
1377
+ * @description The date and time when the original charge was created in UTC.
1378
+ * @example 2025-07-30T15:30:00Z
1379
+ */
1380
+ chargeCreatedUtc: string;
1381
+ /**
1382
+ * @description The amount of the dispute.
1383
+ * @example 100.5
1384
+ */
1385
+ disputeAmount: number;
1386
+ /**
1387
+ * @description The currency of the dispute.
1388
+ * @example USD
1389
+ */
1390
+ disputeCurrency: string;
1391
+ /**
1392
+ * @description The amount of the original charge.
1393
+ * @example 100.5
1394
+ */
1395
+ chargeAmount: number;
1396
+ /**
1397
+ * @description The currency of the original charge.
1398
+ * @example USD
1399
+ */
1400
+ chargeCurrencyChargeId: string;
1401
+ /**
1402
+ * @description The reason for the dispute.
1403
+ * @example fraudulent
1404
+ */
1405
+ reason: string;
1406
+ /**
1407
+ * @description The status of the dispute.
1408
+ * @example needs_response
1409
+ */
1410
+ status: string;
1411
+ /**
1412
+ * @description Indicates if this is a Visa Rapid Dispute Resolution case.
1413
+ * @example false
1414
+ */
1415
+ isVisaRapidDisputeResolution: boolean;
1416
+ /**
1417
+ * @description The ID of the Payment Intent associated with the charge.
1418
+ * @example pi_3Lp7g22eZvKYlo2C1A2B3D4E
1419
+ */
1420
+ paymentIntent: string;
1421
+ /**
1422
+ * @description The ID of the charge that was disputed.
1423
+ * @example ch_3Lp7g22eZvKYlo2C1A2B3D4E
1424
+ */
1425
+ chargeId: string;
1426
+ /**
1427
+ * Format: date-time
1428
+ * @description Timestamp of when the record was created in the database.
1429
+ */
1430
+ createdAt: string;
1431
+ /**
1432
+ * Format: date-time
1433
+ * @description Timestamp of when the record was last updated in the database.
1434
+ */
1435
+ updatedAt: string;
1436
+ };
1437
+ EarlyFraudWarningResponseDto: {
1438
+ /**
1439
+ * @description Internal database ID.
1440
+ * @example 1
1441
+ */
1442
+ id: number;
1443
+ /**
1444
+ * @description The unique identifier for the resource, from Stripe.
1445
+ * @example issfr_1Pb2dF2eZvKYlo2C5Z4Z4Z4Z
1446
+ */
1447
+ sourceId: string;
1448
+ /**
1449
+ * @description String representing the object's type.
1450
+ * @example radar.early_fraud_warning
1451
+ */
1452
+ object: string;
1453
+ /**
1454
+ * @description Whether the fraud warning is actionable.
1455
+ * @example true
1456
+ */
1457
+ actionable: boolean;
1458
+ /**
1459
+ * @description ID of the charge this fraud warning is for.
1460
+ * @example ch_3Pb2dF2eZvKYlo2C1Z4Z4Z4Z
1461
+ */
1462
+ charge: string;
1463
+ /**
1464
+ * @description Time at which the object was created. Measured in seconds since the Unix epoch.
1465
+ * @example 1672531199
1466
+ */
1467
+ created: number;
1468
+ /**
1469
+ * @description The type of fraud.
1470
+ * @example card_risk_level_elevated
1471
+ */
1472
+ fraudType: string;
1473
+ /**
1474
+ * @description Has the value true if the object exists in live mode or the value false if the object exists in test mode.
1475
+ * @example false
1476
+ */
1477
+ livemode: boolean;
1478
+ /**
1479
+ * Format: date-time
1480
+ * @description Timestamp of when the record was created in the database.
1481
+ */
1482
+ createdAt: string;
1483
+ /**
1484
+ * Format: date-time
1485
+ * @description Timestamp of when the record was last updated in the database.
1486
+ */
1487
+ updatedAt: string;
1488
+ };
1489
+ RefundResponseDto: {
1490
+ /**
1491
+ * @description Internal database ID.
1492
+ * @example 1
1493
+ */
1494
+ id: number;
1495
+ /**
1496
+ * @description Stripe refund ID.
1497
+ * @example re_123
1498
+ */
1499
+ sourceId: string;
1500
+ /**
1501
+ * @description Time at which the refund was created on Stripe. Seconds since Unix epoch.
1502
+ * @example 1692942318
1503
+ */
1504
+ created: number;
1505
+ /**
1506
+ * @description True if the object exists in live mode; false if the object exists in test mode.
1507
+ * @example false
1508
+ */
1509
+ livemode: boolean;
1510
+ /** @description Full Stripe refund object stored as JSON. */
1511
+ data: Record<string, never>;
1512
+ /**
1513
+ * Format: date-time
1514
+ * @description Record creation timestamp.
1515
+ */
1516
+ createdAt: string;
1517
+ /**
1518
+ * Format: date-time
1519
+ * @description Record last update timestamp.
1520
+ */
1521
+ updatedAt: string;
1522
+ };
1523
+ PaymentResponseDto: {
1524
+ /** @example 1 */
1525
+ id: number;
1526
+ /** @example pay_123456789 */
1527
+ external_id: string;
1528
+ /** @example SETTLED */
1529
+ status: Record<string, never> | null;
1530
+ /** @example 1000 */
1531
+ amount: Record<string, never> | null;
1532
+ /** @example USD */
1533
+ currency: Record<string, never> | null;
1534
+ /**
1535
+ * Format: date-time
1536
+ * @example 2024-01-01T00:00:00.000Z
1537
+ */
1538
+ created_at: string;
1539
+ /**
1540
+ * Format: date-time
1541
+ * @example 2024-01-01T00:00:00.000Z
1542
+ */
1543
+ updated_at: string;
1544
+ };
1545
+ PaymentsListResponseDto: {
1546
+ data: components["schemas"]["PaymentResponseDto"][];
1547
+ /** @example 1 */
1548
+ page: number;
1549
+ /** @example 10 */
1550
+ limit: number;
1551
+ /** @example 100 */
1552
+ total: number;
1553
+ /** @example 10 */
1554
+ total_pages: number;
1555
+ };
1556
+ TransactionResponseDto: {
1557
+ /** @example 1 */
1558
+ id: number;
1559
+ /** @example txn_123456789 */
1560
+ external_txn_id: string;
1561
+ /** @example 123 */
1562
+ payment_id: number;
1563
+ /** @example pay_123456789 */
1564
+ payment_external_id: string;
1565
+ /**
1566
+ * Format: date-time
1567
+ * @example 2024-01-01T00:00:00.000Z
1568
+ */
1569
+ created_at: string;
1570
+ /**
1571
+ * Format: date-time
1572
+ * @example 2024-01-01T00:00:00.000Z
1573
+ */
1574
+ updated_at: string;
1575
+ };
1576
+ TransactionsListResponseDto: {
1577
+ data: components["schemas"]["TransactionResponseDto"][];
1578
+ /** @example 1 */
1579
+ page: number;
1580
+ /** @example 10 */
1581
+ limit: number;
1582
+ /** @example 100 */
1583
+ total: number;
1584
+ /** @example 10 */
1585
+ total_pages: number;
1586
+ };
1587
+ RefundsListResponseDto: {
1588
+ data: components["schemas"]["RefundResponseDto"][];
1589
+ /** @example 1 */
1590
+ page: number;
1591
+ /** @example 10 */
1592
+ limit: number;
1593
+ /** @example 100 */
1594
+ total: number;
1595
+ /** @example 10 */
1596
+ total_pages: number;
1597
+ };
1598
+ OrderDto: {
1599
+ /** @example DE */
1600
+ countryCode: string;
1601
+ };
1602
+ BillingAddressDto: {
1603
+ /** @example DE */
1604
+ countryCode: string;
1605
+ };
1606
+ CustomerDto: {
1607
+ /** @example nadiakraevaa@gmail.com */
1608
+ emailAddress: string;
1609
+ billingAddress: components["schemas"]["BillingAddressDto"];
1610
+ };
1611
+ BinDataDto: {
1612
+ /** @example MASTERCARD */
1613
+ network: string;
1614
+ /** @example DE */
1615
+ issuerCountryCode: string;
1616
+ /** @example DEUTSCHER SPARKASSEN UND GIROVERBAND */
1617
+ issuerName: string;
1618
+ /** @example EUR */
1619
+ issuerCurrencyCode: string;
1620
+ /** @example UNKNOWN */
1621
+ regionalRestriction: string;
1622
+ /** @example DIGITAL_PAN */
1623
+ accountNumberType: string;
1624
+ /** @example DEBIT */
1625
+ accountFundingType: string;
1626
+ /** @example NOT_APPLICABLE */
1627
+ prepaidReloadableIndicator: string;
1628
+ /** @example CONSUMER */
1629
+ productUsageType: string;
1630
+ /** @example MDS */
1631
+ productCode: string;
1632
+ /** @example DEBIT STANDARD */
1633
+ productName: string;
1634
+ };
1635
+ PaymentMethodDataDto: {
1636
+ /** @example 8276 */
1637
+ last4Digits: string;
1638
+ /** @example 535558 */
1639
+ first6Digits: string;
1640
+ /** @example 12 */
1641
+ expirationMonth: string;
1642
+ /** @example 2027 */
1643
+ expirationYear: string;
1644
+ /** @example MASTERCARD */
1645
+ network: string;
1646
+ /** @example true */
1647
+ isNetworkTokenized: boolean;
1648
+ binData: components["schemas"]["BinDataDto"];
1649
+ };
1650
+ ThreeDSecureAuthenticationDto: {
1651
+ /** @example NOT_PERFORMED */
1652
+ responseCode: string;
1653
+ };
1654
+ PaymentMethodDto: {
1655
+ /** @example SUBSCRIPTION */
1656
+ paymentType: string;
1657
+ /** @example FINAL */
1658
+ authorizationType: string;
1659
+ /** @example Z3-cwYTuSfCklsqVHTtINnwxNzU0NzI1NzM5 */
1660
+ paymentMethodToken: string;
1661
+ /** @example true */
1662
+ isVaulted: boolean;
1663
+ /** @example 7T5oQC13Vlaff55v8jGb1HJW */
1664
+ analyticsId: string;
1665
+ /** @example APPLE_PAY */
1666
+ paymentMethodType: string;
1667
+ paymentMethodData: components["schemas"]["PaymentMethodDataDto"];
1668
+ threeDSecureAuthentication: components["schemas"]["ThreeDSecureAuthenticationDto"];
1669
+ };
1670
+ ProcessorDto: {
1671
+ /** @example ADYEN */
1672
+ name: string;
1673
+ /** @example Parenting_Leader */
1674
+ processorMerchantId: string;
1675
+ /** @example 0 */
1676
+ amountCaptured: number;
1677
+ /** @example 0 */
1678
+ amountRefunded: number;
1679
+ };
1680
+ TransactionDto: {
1681
+ /** @example 2025-09-08T21:18:47.813160 */
1682
+ date: string;
1683
+ /** @example 5359 */
1684
+ amount: number;
1685
+ /** @example EUR */
1686
+ currencyCode: string;
1687
+ /** @example SALE */
1688
+ transactionType: string;
1689
+ /** @example LRXB8Q6HZRTDVCR9 */
1690
+ processorTransactionId: string;
1691
+ /** @example ADYEN */
1692
+ processorName: string;
1693
+ /** @example Parenting_Leader */
1694
+ processorMerchantId: string;
1695
+ /** @example AUTHORIZED */
1696
+ processorStatus: string;
1697
+ /** @example 8557a01b-f88d-4154-8c50-37deab59eb71-re-25092 */
1698
+ orderId: string;
1699
+ };
1700
+ CvvCheckDto: {
1701
+ /** @example ADYEN */
1702
+ source: string;
1703
+ /** @example NOT_APPLICABLE */
1704
+ result: string;
1705
+ };
1706
+ AvsCheckResultDto: {
1707
+ /** @example NOT_APPLICABLE */
1708
+ streetAddress: string;
1709
+ /** @example NOT_APPLICABLE */
1710
+ postalCode: string;
1711
+ };
1712
+ AvsCheckDto: {
1713
+ /** @example ADYEN */
1714
+ source: string;
1715
+ result: components["schemas"]["AvsCheckResultDto"];
1716
+ };
1717
+ RiskDataDto: {
1718
+ cvvCheck: components["schemas"]["CvvCheckDto"];
1719
+ avsCheck: components["schemas"]["AvsCheckDto"];
1720
+ };
1721
+ PrimerPaymentResponseDto: {
1722
+ /** @example KYmx2y97s */
1723
+ id: string;
1724
+ /** @example 2025-09-08T21:18:47.546807 */
1725
+ date: string;
1726
+ /** @example 2025-09-08T21:18:49.821816 */
1727
+ dateUpdated: string;
1728
+ /** @example 5359 */
1729
+ amount: number;
1730
+ /** @example EUR */
1731
+ currencyCode: string;
1732
+ /** @example 8557a01b-f88d-4154-8c50-37deab59eb71 */
1733
+ customerId: string;
1734
+ /** @example {
1735
+ * "captureAt": 1757704727,
1736
+ * "email": "nadiakraevaa@gmail.com",
1737
+ * "manualCapture": true,
1738
+ * "order_id": "8557a01b-f88d-4154-8c50-37deab59eb71-re-25092",
1739
+ * "prevPsp": "adyen",
1740
+ * "sourceId": 238256,
1741
+ * "subId": 76070,
1742
+ * "trafficSplit": 5,
1743
+ * "tx": 0,
1744
+ * "txp": 0
1745
+ * } */
1746
+ metadata: Record<string, never>;
1747
+ /** @example 8557a01b-f88d-4154-8c50-37deab59eb71-re-25092 */
1748
+ orderId: string;
1749
+ /** @example AUTHORIZED */
1750
+ status: string;
1751
+ order: components["schemas"]["OrderDto"];
1752
+ customer: components["schemas"]["CustomerDto"];
1753
+ paymentMethod: components["schemas"]["PaymentMethodDto"];
1754
+ processor: components["schemas"]["ProcessorDto"];
1755
+ transactions: components["schemas"]["TransactionDto"][];
1756
+ riskData: components["schemas"]["RiskDataDto"];
1757
+ };
1758
+ PrimerPaymentPaginatedResponseDto: {
1759
+ /** @example eyJ...== */
1760
+ nextCursor: string | null;
1761
+ /** @example null */
1762
+ prevCursor: string | null;
1763
+ data: components["schemas"]["PrimerPaymentResponseDto"][];
1764
+ };
1765
+ ActionLogResponseDto: {
1766
+ /**
1767
+ * @description The ID of the action log.
1768
+ * @example 1
1769
+ */
1770
+ id: number;
1771
+ /**
1772
+ * @description The reference ID of the action log.
1773
+ * @example some-reference-id
1774
+ */
1775
+ referenceId: Record<string, never>;
1776
+ /**
1777
+ * @description The URL of the action.
1778
+ * @example /api/v1/some-action
1779
+ */
1780
+ actionUrl: string;
1781
+ /**
1782
+ * @description The body of the action.
1783
+ * @example {
1784
+ * "key": "value"
1785
+ * }
1786
+ */
1787
+ body: Record<string, never>;
1788
+ /**
1789
+ * @description The response of the action.
1790
+ * @example {
1791
+ * "success": true
1792
+ * }
1793
+ */
1794
+ response: Record<string, never>;
1795
+ /**
1796
+ * Format: date-time
1797
+ * @description The creation date of the action log.
1798
+ * @example 2021-01-01T00:00:00.000Z
1799
+ */
1800
+ createdAt: string;
1801
+ };
1802
+ PaginatedActionLogResponseDto: {
1803
+ data: components["schemas"]["ActionLogResponseDto"][];
1804
+ /** @example 100 */
1805
+ total: number;
1806
+ /** @example 1 */
1807
+ page: number;
1808
+ /** @example 10 */
1809
+ limit: number;
1810
+ /** @example 10 */
1811
+ totalPages: number;
1070
1812
  };
1071
- ImportDisputesUrlRequestDto: {
1813
+ OrderRequestResponseDto: {
1072
1814
  /**
1073
- * @description URL of the CSV file to import
1074
- * @example https://example.com/disputes.csv
1815
+ * @description The ID of the order request.
1816
+ * @example 1
1075
1817
  */
1076
- url: string;
1818
+ id: number;
1819
+ /**
1820
+ * @description The UUID of the order request.
1821
+ * @example f47ac10b-58cc-4372-a567-0e02b2c3d479
1822
+ */
1823
+ uuid: string;
1824
+ /**
1825
+ * @description The body of the order request.
1826
+ * @example {
1827
+ * "key": "value"
1828
+ * }
1829
+ */
1830
+ body: Record<string, never>;
1831
+ /**
1832
+ * Format: date-time
1833
+ * @description The creation date of the order request.
1834
+ * @example 2021-01-01T00:00:00.000Z
1835
+ */
1836
+ created_at: string;
1077
1837
  };
1078
- TrustpilotInviteResponseDto: {
1838
+ PaginatedOrderRequestResponseDto: {
1839
+ data: components["schemas"]["OrderRequestResponseDto"][];
1840
+ /** @example 100 */
1841
+ total: number;
1079
1842
  /** @example 1 */
1843
+ page: number;
1844
+ /** @example 10 */
1845
+ limit: number;
1846
+ /** @example 10 */
1847
+ totalPages: number;
1848
+ };
1849
+ RefundsLogResponseDto: {
1850
+ /**
1851
+ * @description The ID of the refund log.
1852
+ * @example 1
1853
+ */
1080
1854
  id: number;
1081
- /** @example ext-456 */
1082
- externalId: string | null;
1083
- /** @example customer@example.com */
1084
- email: string;
1085
- /** @example John Doe */
1086
- name: string | null;
1087
1855
  /**
1088
- * Format: date-time
1089
- * @example 2025-09-09T10:00:00.000Z
1856
+ * @description The order ID of the refund log.
1857
+ * @example some-order-id
1090
1858
  */
1091
- scheduledAt: string;
1859
+ orderId: string;
1092
1860
  /**
1093
- * Format: date-time
1094
- * @example 2025-09-09T09:00:00.000Z
1861
+ * @description The transaction ID of the refund log.
1862
+ * @example some-transaction-id
1095
1863
  */
1096
- initialScheduledAt: string;
1864
+ transactionId: string;
1097
1865
  /**
1098
- * @example pending
1099
- * @enum {string}
1866
+ * @description The amount of the refund.
1867
+ * @example 100
1100
1868
  */
1101
- status: "pending" | "retry" | "sent" | "failed" | "cancelled";
1102
- /** @example false */
1103
- sent: boolean;
1104
- /** @example 0 */
1105
- attempts: number;
1869
+ amount: number;
1106
1870
  /**
1107
- * Format: date-time
1108
- * @example 2025-09-08T12:00:00.000Z
1871
+ * @description The currency of the refund.
1872
+ * @example USD
1109
1873
  */
1110
- lastAttemptAt: string | null;
1111
- /** @example SMTP error: 550 rejected */
1112
- lastError: string | null;
1113
- /** @example batch-uuid-789 */
1114
- batchId: string | null;
1115
- /** @example 507f191e810c19729de860ea */
1116
- templateId: string | null;
1874
+ currency: string;
1117
1875
  /**
1118
- * Format: date-time
1119
- * @example 2025-09-08T08:00:00.000Z
1876
+ * @description The status of the refund.
1877
+ * @example success
1120
1878
  */
1121
- createdAt: string;
1879
+ status: string;
1880
+ /**
1881
+ * @description The message of the refund.
1882
+ * @example Refund successful
1883
+ */
1884
+ message: string;
1122
1885
  /**
1123
1886
  * Format: date-time
1124
- * @example 2025-09-08T09:00:00.000Z
1887
+ * @description The creation date of the refund log.
1888
+ * @example 2021-01-01T00:00:00.000Z
1125
1889
  */
1126
- updatedAt: string;
1890
+ createdAt: string;
1127
1891
  };
1128
- PaginatedResponseDtoWithModel: {
1129
- data: components["schemas"]["TrustpilotInviteResponseDto"][];
1892
+ PaginatedRefundsLogResponseDto: {
1893
+ data: components["schemas"]["RefundsLogResponseDto"][];
1130
1894
  /** @example 100 */
1131
1895
  total: number;
1132
1896
  /** @example 1 */
@@ -1136,59 +1900,142 @@ interface components {
1136
1900
  /** @example 10 */
1137
1901
  totalPages: number;
1138
1902
  };
1139
- TaxValueCountryStateRequestDto: {
1903
+ PayerInfoDto: {
1904
+ /** @example Z5GXXXXWTTNPS */
1905
+ account_id: string;
1906
+ /** @example johdoe@example.com */
1907
+ email_address: string;
1908
+ /** @example {
1909
+ * "country_code": "1",
1910
+ * "national_number": "4089027107"
1911
+ * } */
1912
+ phone_number?: Record<string, never>;
1913
+ /** @example N */
1914
+ address_status?: string;
1915
+ /** @example Y */
1916
+ payer_status?: string;
1917
+ /** @example {
1918
+ * "given_name": "John",
1919
+ * "surname": "Doe",
1920
+ * "alternate_full_name": "John Doe"
1921
+ * } */
1922
+ payer_name?: Record<string, never>;
1923
+ /** @example US */
1924
+ country_code?: string;
1925
+ };
1926
+ TransactionRawResponseDto: {
1927
+ /** @example 9GS00022P28620007 */
1928
+ transaction_id?: string;
1929
+ /** @example COMPLETED */
1930
+ transaction_status?: string;
1931
+ /** @example {
1932
+ * "value": "50.00",
1933
+ * "currency_code": "USD"
1934
+ * } */
1935
+ transaction_amount?: Record<string, never>;
1936
+ payer_info: components["schemas"]["PayerInfoDto"];
1937
+ };
1938
+ PaypalTransactionResponseDto: {
1939
+ /** @example 2 */
1940
+ id: number;
1941
+ /** @example 90A000009K706721B */
1942
+ transactionId: string;
1943
+ /** @example Z5G000XWTTNPS */
1944
+ accountNumber: string;
1945
+ rawResponse: components["schemas"]["TransactionRawResponseDto"];
1946
+ /** @example 2025-09-18T10:15:08.153Z */
1947
+ createdAt: string;
1948
+ };
1949
+ PaginatedTransactionResponseDto: {
1950
+ data: components["schemas"]["PaypalTransactionResponseDto"][];
1951
+ /** @example 100 */
1952
+ total: number;
1953
+ /** @example 1 */
1954
+ page: number;
1955
+ /** @example 10 */
1956
+ limit: number;
1957
+ /** @example 10 */
1958
+ totalPages: number;
1959
+ };
1960
+ PaypalFetchTransactionsDto: {
1140
1961
  /**
1141
- * @description ISO 3166-1 alpha-2 country code (e.g., US, CA)
1142
- * @example US
1962
+ * @description Start date (ISO 8601 format: YYYY-MM-DDTHH:mm:ssZ)
1963
+ * @example 2025-08-01T00:00:00Z
1143
1964
  */
1144
- countryCode: string;
1965
+ startDate: string;
1145
1966
  /**
1146
- * @description State
1147
- * @example Arizona
1967
+ * @description End date (ISO 8601 format: YYYY-MM-DDTHH:mm:ssZ)
1968
+ * @example 2025-08-02T23:59:59Z
1148
1969
  */
1149
- state: string;
1970
+ endDate: string;
1150
1971
  /**
1151
- * @description Amount for tax calculation
1152
- * @example 2
1972
+ * @description Optional transaction ID to filter by
1973
+ * @example 9GS80322P28628837
1153
1974
  */
1154
- amount: number;
1975
+ transactionId?: string;
1976
+ /**
1977
+ * @description Indicates whether the response includes only balance-impacting transactions or all transactions
1978
+ * @enum {string}
1979
+ */
1980
+ balanceAffectingRecordsOnly?: "Y" | "N";
1155
1981
  };
1156
- TaxValueCountryStateResponseDto: {
1982
+ PaypalFetchTransactionsResponseDto: {
1983
+ /** @example success */
1984
+ status: string;
1985
+ /** @example Transactions fetched and stored successfully! */
1986
+ message: string;
1987
+ data: components["schemas"]["PaypalTransactionResponseDto"][] | null;
1988
+ };
1989
+ PaypalCrmPaymentResponseDto: {
1990
+ status: string;
1991
+ sourceId: string;
1992
+ processorId: string;
1993
+ date: string;
1994
+ customer: string;
1995
+ total: number;
1996
+ currency: string;
1997
+ fee: number;
1998
+ sourceType: string;
1999
+ orderId: string;
2000
+ relations: string[];
2001
+ };
2002
+ SessionsFindSessionByEmailDto: {
1157
2003
  /**
1158
- * @description Tax percent
1159
- * @example 5.6
2004
+ * @description The unique identifier of the session.
2005
+ * @example 1
1160
2006
  */
1161
- taxPercent: number;
2007
+ id: number;
1162
2008
  /**
1163
- * @description Tax amount
1164
- * @example 2
2009
+ * @description The UUID of the session.
2010
+ * @example a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6
1165
2011
  */
1166
- taxAmount: number;
2012
+ uuid: string;
1167
2013
  /**
1168
- * @description Amount with tax
1169
- * @example 12
2014
+ * @description The cookies associated with the session.
2015
+ * @example {
2016
+ * "key": "value"
2017
+ * }
1170
2018
  */
1171
- amountWithTax: number;
1172
- };
1173
- TaxPercentCountryStateRequestDto: {
2019
+ cookies: Record<string, never>;
1174
2020
  /**
1175
- * @description ISO 3166-1 alpha-2 country code (e.g., US, CA)
1176
- * @example US
2021
+ * @description The email associated with the session.
2022
+ * @example test@example.com
1177
2023
  */
1178
- countryCode: string;
2024
+ email: string;
1179
2025
  /**
1180
- * @description State
1181
- * @example Arizona
2026
+ * @description Indicates if the session resulted in a purchase.
2027
+ * @example true
1182
2028
  */
1183
- state: string;
1184
- };
1185
- TaxPercentCountryStateResponseDto: {
2029
+ isPurchased: boolean;
1186
2030
  /**
1187
- * @description Tax percent
1188
- * @example 5.6
2031
+ * @description Extra data associated with the session.
2032
+ * @example {
2033
+ * "data": "extra"
2034
+ * }
1189
2035
  */
1190
- taxPercent: number;
2036
+ extraData: Record<string, never>;
1191
2037
  };
2038
+ UpdateResult: Record<string, never>;
1192
2039
  FacebookCapiEventDataDto: {
1193
2040
  /** @example USD */
1194
2041
  currency?: string;
@@ -1339,6 +2186,32 @@ interface components {
1339
2186
  */
1340
2187
  totalPages: number;
1341
2188
  };
2189
+ TiktokCapiEventDataDto: {
2190
+ value: number;
2191
+ sku: string;
2192
+ /** @example USD */
2193
+ currency: string;
2194
+ /**
2195
+ * @description Content type
2196
+ * @example product
2197
+ */
2198
+ contentType: string;
2199
+ /** @example https://example.com/product/123 */
2200
+ sourceUrl: string;
2201
+ };
2202
+ TiktokCapiPayloadBridge: {
2203
+ /** @example EVENT_ID_123 */
2204
+ eventId: string;
2205
+ /** @example Purchase */
2206
+ eventName: string;
2207
+ eventData: components["schemas"]["TiktokCapiEventDataDto"];
2208
+ testEventCode?: string;
2209
+ clientData?: components["schemas"]["CustomClientData"];
2210
+ };
2211
+ TiktokCapiPayloadSessionBridge: {
2212
+ uuid: string;
2213
+ event: components["schemas"]["TiktokCapiPayloadBridge"];
2214
+ };
1342
2215
  ReportItemDto: {
1343
2216
  /**
1344
2217
  * @description Unique identifier for the report item
@@ -1485,6 +2358,67 @@ interface components {
1485
2358
  language?: string;
1486
2359
  type: string;
1487
2360
  };
2361
+ TrustpilotInviteResponseDto: {
2362
+ /** @example 1 */
2363
+ id: number;
2364
+ /** @example ext-456 */
2365
+ externalId: string | null;
2366
+ /** @example customer@example.com */
2367
+ email: string;
2368
+ /** @example John Doe */
2369
+ name: string | null;
2370
+ /**
2371
+ * Format: date-time
2372
+ * @example 2025-09-09T10:00:00.000Z
2373
+ */
2374
+ scheduledAt: string;
2375
+ /**
2376
+ * Format: date-time
2377
+ * @example 2025-09-09T09:00:00.000Z
2378
+ */
2379
+ initialScheduledAt: string;
2380
+ /**
2381
+ * @example pending
2382
+ * @enum {string}
2383
+ */
2384
+ status: "pending" | "retry" | "sent" | "failed" | "cancelled";
2385
+ /** @example false */
2386
+ sent: boolean;
2387
+ /** @example 0 */
2388
+ attempts: number;
2389
+ /**
2390
+ * Format: date-time
2391
+ * @example 2025-09-08T12:00:00.000Z
2392
+ */
2393
+ lastAttemptAt: string | null;
2394
+ /** @example SMTP error: 550 rejected */
2395
+ lastError: string | null;
2396
+ /** @example batch-uuid-789 */
2397
+ batchId: string | null;
2398
+ /** @example 507f191e810c19729de860ea */
2399
+ templateId: string | null;
2400
+ /**
2401
+ * Format: date-time
2402
+ * @example 2025-09-08T08:00:00.000Z
2403
+ */
2404
+ createdAt: string;
2405
+ /**
2406
+ * Format: date-time
2407
+ * @example 2025-09-08T09:00:00.000Z
2408
+ */
2409
+ updatedAt: string;
2410
+ };
2411
+ PaginatedResponseDtoWithModel: {
2412
+ data: components["schemas"]["TrustpilotInviteResponseDto"][];
2413
+ /** @example 100 */
2414
+ total: number;
2415
+ /** @example 1 */
2416
+ page: number;
2417
+ /** @example 10 */
2418
+ limit: number;
2419
+ /** @example 10 */
2420
+ totalPages: number;
2421
+ };
1488
2422
  };
1489
2423
  responses: never;
1490
2424
  parameters: never;
@@ -1598,6 +2532,12 @@ declare const browser: {
1598
2532
  yuno: {
1599
2533
  createPayment: (dto: components["schemas"]["YunoCreatePaymentDto"]) => Promise<never>;
1600
2534
  };
2535
+ primer: {
2536
+ oneUsdChargeAndRefund: (dto: components["schemas"]["PrimerCreateRecurringPaymentRequestDto"]) => Promise<{
2537
+ success: boolean;
2538
+ }>;
2539
+ oneUsdChargeAndRefundDeferred: (dto: components["schemas"]["PrimerCreateReferencePaymentRequestWithDelayDto"]) => Promise<true>;
2540
+ };
1601
2541
  };
1602
2542
  trustpilot: {
1603
2543
  getLink: (data: components["schemas"]["CreateTrustpilotInvitationLinkDto"]) => Promise<components["schemas"]["CreateTrustpilotInvitationLinkResponseDto"]>;