bantr-api-client 1.5.1 → 11.0.1

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.
@@ -53,8 +53,8 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
53
53
  _input_out: {
54
54
  authorization?: string | undefined;
55
55
  limit: number;
56
- cursor: number;
57
56
  direction: "asc" | "desc";
57
+ cursor: number;
58
58
  listExpired: boolean;
59
59
  orgWorkspaceId?: number | null | undefined;
60
60
  code?: string | undefined;
@@ -44,6 +44,22 @@ export declare const freeAgentPaymentsRouter: import("@trpc/server").CreateRoute
44
44
  customerId: string;
45
45
  orgPublishableKey: string | undefined;
46
46
  orgStripeAccountId: string;
47
+ paymentIntent: {
48
+ intent: import("stripe").Stripe.Response<import("stripe").Stripe.PaymentIntent>;
49
+ discountAndFee: {
50
+ discountApplied: number;
51
+ discountedAmount: number;
52
+ priceAmount: number;
53
+ otherTaxLabel: string;
54
+ otherTaxPercent: number;
55
+ otherTax: number;
56
+ bantrTax: number;
57
+ stripeTax: number;
58
+ totalTax: number;
59
+ totalWithTax: number;
60
+ transferAmount: number;
61
+ };
62
+ };
47
63
  } | {
48
64
  redirectUrl: string;
49
65
  }>;
@@ -41,10 +41,10 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
41
41
  payments: {
42
42
  id: number;
43
43
  createdAt: string | Date;
44
- price: number;
45
44
  payerId: number;
46
45
  amountApplied: number | null;
47
- offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
46
+ offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
47
+ price: number;
48
48
  }[];
49
49
  }[];
50
50
  _output_out: {
@@ -61,10 +61,10 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
61
61
  payments: {
62
62
  id: number;
63
63
  createdAt: string | Date;
64
- price: number;
65
64
  payerId: number;
66
65
  amountApplied: number | null;
67
- offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
66
+ offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
67
+ price: number;
68
68
  }[];
69
69
  }[];
70
70
  }, unknown>;
@@ -84,15 +84,15 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
84
84
  _input_in: {
85
85
  authorization?: string | undefined;
86
86
  leagueId: number;
87
+ offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
87
88
  price: number;
88
- offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
89
89
  teamRosterId: number;
90
90
  };
91
91
  _input_out: {
92
92
  authorization?: string | undefined;
93
93
  leagueId: number;
94
+ offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
94
95
  price: number;
95
- offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
96
96
  teamRosterId: number;
97
97
  };
98
98
  _output_in: typeof import("@trpc/server").unsetMarker;
@@ -114,15 +114,15 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
114
114
  _input_in: {
115
115
  authorization?: string | undefined;
116
116
  id: number;
117
+ offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
117
118
  price: number;
118
- offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
119
119
  teamRosterId: number;
120
120
  };
121
121
  _input_out: {
122
122
  authorization?: string | undefined;
123
123
  id: number;
124
+ offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
124
125
  price: number;
125
- offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
126
126
  teamRosterId: number;
127
127
  };
128
128
  _output_in: typeof import("@trpc/server").unsetMarker;
@@ -34,8 +34,8 @@ export declare const productRouter: import("@trpc/server").CreateRouterInner<imp
34
34
  otherTaxLabel: string;
35
35
  otherTax: number;
36
36
  otherTaxPercent: number;
37
- code?: string | undefined;
38
37
  description?: string | undefined;
38
+ code?: string | undefined;
39
39
  };
40
40
  _output_out: {
41
41
  discountApplied: number;
@@ -44,8 +44,8 @@ export declare const productRouter: import("@trpc/server").CreateRouterInner<imp
44
44
  otherTaxLabel: string;
45
45
  otherTax: number;
46
46
  otherTaxPercent: number;
47
- code?: string | undefined;
48
47
  description?: string | undefined;
48
+ code?: string | undefined;
49
49
  };
50
50
  }, unknown>;
51
51
  }>;