bantr-api-client 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -149,6 +149,7 @@ export declare const BantrSdk: {
149
149
  amountValue: number;
150
150
  validFrom: Date | null;
151
151
  validUntil: Date | null;
152
+ usageLimit: number | null;
152
153
  };
153
154
  _input_out: {
154
155
  authorization?: string | undefined;
@@ -161,6 +162,7 @@ export declare const BantrSdk: {
161
162
  amountValue: number;
162
163
  validFrom: Date | null;
163
164
  validUntil: Date | null;
165
+ usageLimit: number | null;
164
166
  };
165
167
  _output_in: typeof import("@trpc/server").unsetMarker;
166
168
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -301,50 +303,50 @@ export declare const BantrSdk: {
301
303
  };
302
304
  _input_in: {
303
305
  authorization?: string | undefined;
304
- leagueId: number;
305
306
  teamId: number;
307
+ leagueId: number;
306
308
  };
307
309
  _input_out: {
308
310
  authorization?: string | undefined;
309
- leagueId: number;
310
311
  teamId: number;
312
+ leagueId: number;
311
313
  };
312
314
  _output_in: {
315
+ memberId: number;
313
316
  id: number;
314
317
  deletedAt: Date | null;
315
- memberId: number;
316
318
  member: {
317
- email: string;
318
319
  id: number;
320
+ email: string;
319
321
  firstName: string | null;
320
322
  lastName: string | null;
321
323
  };
322
324
  totalPaid: number;
323
325
  payments: {
324
- payerId: number;
325
326
  id: number;
326
- price: number;
327
327
  createdAt: string | Date;
328
+ price: number;
329
+ payerId: number;
328
330
  amountApplied: number | null;
329
331
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
330
332
  }[];
331
333
  }[];
332
334
  _output_out: {
335
+ memberId: number;
333
336
  id: number;
334
337
  deletedAt: Date | null;
335
- memberId: number;
336
338
  member: {
337
- email: string;
338
339
  id: number;
340
+ email: string;
339
341
  firstName: string | null;
340
342
  lastName: string | null;
341
343
  };
342
344
  totalPaid: number;
343
345
  payments: {
344
- payerId: number;
345
346
  id: number;
346
- price: number;
347
347
  createdAt: string | Date;
348
+ price: number;
349
+ payerId: number;
348
350
  amountApplied: number | null;
349
351
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
350
352
  }[];
@@ -365,15 +367,15 @@ export declare const BantrSdk: {
365
367
  };
366
368
  _input_in: {
367
369
  authorization?: string | undefined;
368
- price: number;
369
370
  leagueId: number;
371
+ price: number;
370
372
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
371
373
  teamRosterId: number;
372
374
  };
373
375
  _input_out: {
374
376
  authorization?: string | undefined;
375
- price: number;
376
377
  leagueId: number;
378
+ price: number;
377
379
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
378
380
  teamRosterId: number;
379
381
  };
@@ -449,18 +451,20 @@ export declare const BantrSdk: {
449
451
  };
450
452
  _input_in: {
451
453
  authorization?: string | undefined;
452
- leagueId: number;
453
454
  teamId: number;
455
+ leagueId: number;
454
456
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
457
+ paymentAmount?: number | undefined;
455
458
  code?: string | undefined;
456
459
  paymentMode?: "session" | "intent" | undefined;
457
460
  };
458
461
  _input_out: {
459
462
  authorization?: string | undefined;
460
- leagueId: number;
461
463
  teamId: number;
464
+ leagueId: number;
462
465
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
463
466
  paymentMode: "session" | "intent";
467
+ paymentAmount?: number | undefined;
464
468
  code?: string | undefined;
465
469
  };
466
470
  _output_in: typeof import("@trpc/server").unsetMarker;
@@ -632,11 +636,11 @@ export declare const BantrSdk: {
632
636
  };
633
637
  _input_in: {
634
638
  authorization?: string | undefined;
635
- provider: "apple" | "google";
639
+ provider: "google" | "apple";
636
640
  };
637
641
  _input_out: {
638
642
  authorization?: string | undefined;
639
- provider: "apple" | "google";
643
+ provider: "google" | "apple";
640
644
  };
641
645
  _output_in: typeof import("@trpc/server").unsetMarker;
642
646
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -663,16 +667,16 @@ export declare const BantrSdk: {
663
667
  };
664
668
  _input_in: {
665
669
  authorization?: string | undefined;
666
- pickupId: number;
667
670
  memberId: number;
671
+ pickupId: number;
668
672
  cancelPath?: string | undefined;
669
673
  code?: string | undefined;
670
674
  paymentMode?: "session" | "intent" | undefined;
671
675
  };
672
676
  _input_out: {
673
677
  authorization?: string | undefined;
674
- pickupId: number;
675
678
  memberId: number;
679
+ pickupId: number;
676
680
  paymentMode: "session" | "intent";
677
681
  cancelPath?: string | undefined;
678
682
  code?: string | undefined;
@@ -813,6 +817,7 @@ export declare const BantrSdk: {
813
817
  amountValue: number;
814
818
  validFrom: Date | null;
815
819
  validUntil: Date | null;
820
+ usageLimit: number | null;
816
821
  };
817
822
  _input_out: {
818
823
  authorization?: string | undefined;
@@ -825,6 +830,7 @@ export declare const BantrSdk: {
825
830
  amountValue: number;
826
831
  validFrom: Date | null;
827
832
  validUntil: Date | null;
833
+ usageLimit: number | null;
828
834
  };
829
835
  _output_in: typeof import("@trpc/server").unsetMarker;
830
836
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -965,50 +971,50 @@ export declare const BantrSdk: {
965
971
  };
966
972
  _input_in: {
967
973
  authorization?: string | undefined;
968
- leagueId: number;
969
974
  teamId: number;
975
+ leagueId: number;
970
976
  };
971
977
  _input_out: {
972
978
  authorization?: string | undefined;
973
- leagueId: number;
974
979
  teamId: number;
980
+ leagueId: number;
975
981
  };
976
982
  _output_in: {
983
+ memberId: number;
977
984
  id: number;
978
985
  deletedAt: Date | null;
979
- memberId: number;
980
986
  member: {
981
- email: string;
982
987
  id: number;
988
+ email: string;
983
989
  firstName: string | null;
984
990
  lastName: string | null;
985
991
  };
986
992
  totalPaid: number;
987
993
  payments: {
988
- payerId: number;
989
994
  id: number;
990
- price: number;
991
995
  createdAt: string | Date;
996
+ price: number;
997
+ payerId: number;
992
998
  amountApplied: number | null;
993
999
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
994
1000
  }[];
995
1001
  }[];
996
1002
  _output_out: {
1003
+ memberId: number;
997
1004
  id: number;
998
1005
  deletedAt: Date | null;
999
- memberId: number;
1000
1006
  member: {
1001
- email: string;
1002
1007
  id: number;
1008
+ email: string;
1003
1009
  firstName: string | null;
1004
1010
  lastName: string | null;
1005
1011
  };
1006
1012
  totalPaid: number;
1007
1013
  payments: {
1008
- payerId: number;
1009
1014
  id: number;
1010
- price: number;
1011
1015
  createdAt: string | Date;
1016
+ price: number;
1017
+ payerId: number;
1012
1018
  amountApplied: number | null;
1013
1019
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1014
1020
  }[];
@@ -1029,15 +1035,15 @@ export declare const BantrSdk: {
1029
1035
  };
1030
1036
  _input_in: {
1031
1037
  authorization?: string | undefined;
1032
- price: number;
1033
1038
  leagueId: number;
1039
+ price: number;
1034
1040
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1035
1041
  teamRosterId: number;
1036
1042
  };
1037
1043
  _input_out: {
1038
1044
  authorization?: string | undefined;
1039
- price: number;
1040
1045
  leagueId: number;
1046
+ price: number;
1041
1047
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1042
1048
  teamRosterId: number;
1043
1049
  };
@@ -1113,18 +1119,20 @@ export declare const BantrSdk: {
1113
1119
  };
1114
1120
  _input_in: {
1115
1121
  authorization?: string | undefined;
1116
- leagueId: number;
1117
1122
  teamId: number;
1123
+ leagueId: number;
1118
1124
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
1125
+ paymentAmount?: number | undefined;
1119
1126
  code?: string | undefined;
1120
1127
  paymentMode?: "session" | "intent" | undefined;
1121
1128
  };
1122
1129
  _input_out: {
1123
1130
  authorization?: string | undefined;
1124
- leagueId: number;
1125
1131
  teamId: number;
1132
+ leagueId: number;
1126
1133
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
1127
1134
  paymentMode: "session" | "intent";
1135
+ paymentAmount?: number | undefined;
1128
1136
  code?: string | undefined;
1129
1137
  };
1130
1138
  _output_in: typeof import("@trpc/server").unsetMarker;
@@ -1296,11 +1304,11 @@ export declare const BantrSdk: {
1296
1304
  };
1297
1305
  _input_in: {
1298
1306
  authorization?: string | undefined;
1299
- provider: "apple" | "google";
1307
+ provider: "google" | "apple";
1300
1308
  };
1301
1309
  _input_out: {
1302
1310
  authorization?: string | undefined;
1303
- provider: "apple" | "google";
1311
+ provider: "google" | "apple";
1304
1312
  };
1305
1313
  _output_in: typeof import("@trpc/server").unsetMarker;
1306
1314
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1327,16 +1335,16 @@ export declare const BantrSdk: {
1327
1335
  };
1328
1336
  _input_in: {
1329
1337
  authorization?: string | undefined;
1330
- pickupId: number;
1331
1338
  memberId: number;
1339
+ pickupId: number;
1332
1340
  cancelPath?: string | undefined;
1333
1341
  code?: string | undefined;
1334
1342
  paymentMode?: "session" | "intent" | undefined;
1335
1343
  };
1336
1344
  _input_out: {
1337
1345
  authorization?: string | undefined;
1338
- pickupId: number;
1339
1346
  memberId: number;
1347
+ pickupId: number;
1340
1348
  paymentMode: "session" | "intent";
1341
1349
  cancelPath?: string | undefined;
1342
1350
  code?: string | undefined;
@@ -1483,6 +1491,7 @@ export declare const BantrSdk: {
1483
1491
  amountValue: number;
1484
1492
  validFrom: Date | null;
1485
1493
  validUntil: Date | null;
1494
+ usageLimit: number | null;
1486
1495
  };
1487
1496
  _input_out: {
1488
1497
  authorization?: string | undefined;
@@ -1495,6 +1504,7 @@ export declare const BantrSdk: {
1495
1504
  amountValue: number;
1496
1505
  validFrom: Date | null;
1497
1506
  validUntil: Date | null;
1507
+ usageLimit: number | null;
1498
1508
  };
1499
1509
  _output_in: typeof import("@trpc/server").unsetMarker;
1500
1510
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1633,50 +1643,50 @@ export declare const BantrSdk: {
1633
1643
  };
1634
1644
  _input_in: {
1635
1645
  authorization?: string | undefined;
1636
- leagueId: number;
1637
1646
  teamId: number;
1647
+ leagueId: number;
1638
1648
  };
1639
1649
  _input_out: {
1640
1650
  authorization?: string | undefined;
1641
- leagueId: number;
1642
1651
  teamId: number;
1652
+ leagueId: number;
1643
1653
  };
1644
1654
  _output_in: {
1655
+ memberId: number;
1645
1656
  id: number;
1646
1657
  deletedAt: Date | null;
1647
- memberId: number;
1648
1658
  member: {
1649
- email: string;
1650
1659
  id: number;
1660
+ email: string;
1651
1661
  firstName: string | null;
1652
1662
  lastName: string | null;
1653
1663
  };
1654
1664
  totalPaid: number;
1655
1665
  payments: {
1656
- payerId: number;
1657
1666
  id: number;
1658
- price: number;
1659
1667
  createdAt: string | Date;
1668
+ price: number;
1669
+ payerId: number;
1660
1670
  amountApplied: number | null;
1661
1671
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1662
1672
  }[];
1663
1673
  }[];
1664
1674
  _output_out: {
1675
+ memberId: number;
1665
1676
  id: number;
1666
1677
  deletedAt: Date | null;
1667
- memberId: number;
1668
1678
  member: {
1669
- email: string;
1670
1679
  id: number;
1680
+ email: string;
1671
1681
  firstName: string | null;
1672
1682
  lastName: string | null;
1673
1683
  };
1674
1684
  totalPaid: number;
1675
1685
  payments: {
1676
- payerId: number;
1677
1686
  id: number;
1678
- price: number;
1679
1687
  createdAt: string | Date;
1688
+ price: number;
1689
+ payerId: number;
1680
1690
  amountApplied: number | null;
1681
1691
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1682
1692
  }[];
@@ -1699,15 +1709,15 @@ export declare const BantrSdk: {
1699
1709
  };
1700
1710
  _input_in: {
1701
1711
  authorization?: string | undefined;
1702
- price: number;
1703
1712
  leagueId: number;
1713
+ price: number;
1704
1714
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1705
1715
  teamRosterId: number;
1706
1716
  };
1707
1717
  _input_out: {
1708
1718
  authorization?: string | undefined;
1709
- price: number;
1710
1719
  leagueId: number;
1720
+ price: number;
1711
1721
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1712
1722
  teamRosterId: number;
1713
1723
  };
@@ -1789,18 +1799,20 @@ export declare const BantrSdk: {
1789
1799
  };
1790
1800
  _input_in: {
1791
1801
  authorization?: string | undefined;
1792
- leagueId: number;
1793
1802
  teamId: number;
1803
+ leagueId: number;
1794
1804
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
1805
+ paymentAmount?: number | undefined;
1795
1806
  code?: string | undefined;
1796
1807
  paymentMode?: "session" | "intent" | undefined;
1797
1808
  };
1798
1809
  _input_out: {
1799
1810
  authorization?: string | undefined;
1800
- leagueId: number;
1801
1811
  teamId: number;
1812
+ leagueId: number;
1802
1813
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
1803
1814
  paymentMode: "session" | "intent";
1815
+ paymentAmount?: number | undefined;
1804
1816
  code?: string | undefined;
1805
1817
  };
1806
1818
  _output_in: typeof import("@trpc/server").unsetMarker;
@@ -1981,11 +1993,11 @@ export declare const BantrSdk: {
1981
1993
  };
1982
1994
  _input_in: {
1983
1995
  authorization?: string | undefined;
1984
- provider: "apple" | "google";
1996
+ provider: "google" | "apple";
1985
1997
  };
1986
1998
  _input_out: {
1987
1999
  authorization?: string | undefined;
1988
- provider: "apple" | "google";
2000
+ provider: "google" | "apple";
1989
2001
  };
1990
2002
  _output_in: typeof import("@trpc/server").unsetMarker;
1991
2003
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -2009,16 +2021,16 @@ export declare const BantrSdk: {
2009
2021
  };
2010
2022
  _input_in: {
2011
2023
  authorization?: string | undefined;
2012
- pickupId: number;
2013
2024
  memberId: number;
2025
+ pickupId: number;
2014
2026
  cancelPath?: string | undefined;
2015
2027
  code?: string | undefined;
2016
2028
  paymentMode?: "session" | "intent" | undefined;
2017
2029
  };
2018
2030
  _input_out: {
2019
2031
  authorization?: string | undefined;
2020
- pickupId: number;
2021
2032
  memberId: number;
2033
+ pickupId: number;
2022
2034
  paymentMode: "session" | "intent";
2023
2035
  cancelPath?: string | undefined;
2024
2036
  code?: string | undefined;