bantr-api-client 1.5.0 → 1.5.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.
@@ -13,9 +13,9 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
13
13
  }>;
14
14
  _meta: object;
15
15
  _ctx_out: {
16
+ user: import("../types/auth").TJwtPayload;
16
17
  req: import("http").IncomingMessage;
17
18
  res: import("http").ServerResponse<import("http").IncomingMessage>;
18
- user: import("../types/auth").TJwtPayload;
19
19
  };
20
20
  _input_in: {
21
21
  authorization?: string | undefined;
@@ -37,16 +37,16 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
37
37
  }>;
38
38
  _meta: object;
39
39
  _ctx_out: {
40
+ user: import("../types/auth").TJwtPayload;
40
41
  req: import("http").IncomingMessage;
41
42
  res: import("http").ServerResponse<import("http").IncomingMessage>;
42
- user: import("../types/auth").TJwtPayload;
43
43
  };
44
44
  _input_in: {
45
45
  authorization?: string | undefined;
46
46
  limit: number;
47
47
  cursor: number;
48
- code?: string | undefined;
49
48
  orgWorkspaceId?: number | null | undefined;
49
+ code?: string | undefined;
50
50
  direction?: "asc" | "desc" | undefined;
51
51
  listExpired?: boolean | undefined;
52
52
  };
@@ -56,8 +56,8 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
56
56
  cursor: number;
57
57
  direction: "asc" | "desc";
58
58
  listExpired: boolean;
59
- code?: string | undefined;
60
59
  orgWorkspaceId?: number | null | undefined;
60
+ code?: string | undefined;
61
61
  };
62
62
  _output_in: typeof import("@trpc/server").unsetMarker;
63
63
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -74,14 +74,14 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
74
74
  }>;
75
75
  _meta: object;
76
76
  _ctx_out: {
77
+ user: import("../types/auth").TJwtPayload;
77
78
  req: import("http").IncomingMessage;
78
79
  res: import("http").ServerResponse<import("http").IncomingMessage>;
79
- user: import("../types/auth").TJwtPayload;
80
80
  };
81
81
  _input_in: {
82
82
  authorization?: string | undefined;
83
- code: string;
84
83
  description: string;
84
+ code: string;
85
85
  appliesWhen: "purchase";
86
86
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
87
87
  amountType: "flat-rate" | "percentage";
@@ -92,8 +92,8 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
92
92
  };
93
93
  _input_out: {
94
94
  authorization?: string | undefined;
95
- code: string;
96
95
  description: string;
96
+ code: string;
97
97
  appliesWhen: "purchase";
98
98
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
99
99
  amountType: "flat-rate" | "percentage";
@@ -116,15 +116,15 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
116
116
  }>;
117
117
  _meta: object;
118
118
  _ctx_out: {
119
+ user: import("../types/auth").TJwtPayload;
119
120
  req: import("http").IncomingMessage;
120
121
  res: import("http").ServerResponse<import("http").IncomingMessage>;
121
- user: import("../types/auth").TJwtPayload;
122
122
  };
123
123
  _input_in: {
124
124
  authorization?: string | undefined;
125
125
  id: number;
126
- code: string;
127
126
  description: string;
127
+ code: string;
128
128
  appliesWhen: "purchase";
129
129
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
130
130
  amountType: "flat-rate" | "percentage";
@@ -137,8 +137,8 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
137
137
  _input_out: {
138
138
  authorization?: string | undefined;
139
139
  id: number;
140
- code: string;
141
140
  description: string;
141
+ code: string;
142
142
  appliesWhen: "purchase";
143
143
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
144
144
  amountType: "flat-rate" | "percentage";
@@ -160,9 +160,9 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
160
160
  }>;
161
161
  _meta: object;
162
162
  _ctx_out: {
163
+ user: import("../types/auth").TJwtPayload;
163
164
  req: import("http").IncomingMessage;
164
165
  res: import("http").ServerResponse<import("http").IncomingMessage>;
165
- user: import("../types/auth").TJwtPayload;
166
166
  };
167
167
  _input_in: {
168
168
  authorization?: string | undefined;
@@ -199,16 +199,16 @@ export declare const discountCodeRouter: import("@trpc/server").CreateRouterInne
199
199
  code?: string | undefined;
200
200
  };
201
201
  _output_in: {
202
- code: string;
203
202
  description: string;
203
+ code: string;
204
204
  amountType: "flat-rate" | "percentage";
205
205
  amountValue: number;
206
206
  reducedValue: number;
207
207
  newValue: number;
208
208
  };
209
209
  _output_out: {
210
- code: string;
211
210
  description: string;
211
+ code: string;
212
212
  amountType: "flat-rate" | "percentage";
213
213
  amountValue: number;
214
214
  reducedValue: number;
@@ -13,26 +13,26 @@ export declare const freeAgentPaymentsRouter: import("@trpc/server").CreateRoute
13
13
  }>;
14
14
  _meta: object;
15
15
  _ctx_out: {
16
+ user: import("../types/auth").TJwtPayload;
16
17
  req: import("http").IncomingMessage;
17
18
  res: import("http").ServerResponse<import("http").IncomingMessage>;
18
- user: import("../types/auth").TJwtPayload;
19
19
  };
20
20
  _input_in: {
21
21
  authorization?: string | undefined;
22
22
  description: string;
23
23
  freeAgentId: number;
24
- code?: string | undefined;
25
24
  leagueId?: number | undefined;
25
+ code?: string | undefined;
26
26
  paymentMode?: "session" | "intent" | undefined;
27
27
  cancelPath?: string | undefined;
28
28
  };
29
29
  _input_out: {
30
30
  authorization?: string | undefined;
31
31
  description: string;
32
- freeAgentId: number;
33
32
  paymentMode: "session" | "intent";
34
- code?: string | undefined;
33
+ freeAgentId: number;
35
34
  leagueId?: number | undefined;
35
+ code?: string | undefined;
36
36
  cancelPath?: string | undefined;
37
37
  };
38
38
  _output_in: typeof import("@trpc/server").unsetMarker;
@@ -13,30 +13,30 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
13
13
  }>;
14
14
  _meta: object;
15
15
  _ctx_out: {
16
+ user: import("../types/auth").TJwtPayload;
16
17
  req: import("http").IncomingMessage;
17
18
  res: import("http").ServerResponse<import("http").IncomingMessage>;
18
- user: import("../types/auth").TJwtPayload;
19
19
  };
20
20
  _input_in: {
21
21
  authorization?: string | undefined;
22
- leagueId: number;
23
22
  teamId: number;
23
+ leagueId: number;
24
24
  };
25
25
  _input_out: {
26
26
  authorization?: string | undefined;
27
- leagueId: number;
28
27
  teamId: number;
28
+ leagueId: number;
29
29
  };
30
30
  _output_in: {
31
31
  id: number;
32
- memberId: number;
33
32
  deletedAt: Date | null;
34
33
  member: {
35
34
  id: number;
36
- email: string;
37
35
  firstName: string | null;
38
36
  lastName: string | null;
37
+ email: string;
39
38
  };
39
+ memberId: number;
40
40
  totalPaid: number;
41
41
  payments: {
42
42
  id: number;
@@ -49,14 +49,14 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
49
49
  }[];
50
50
  _output_out: {
51
51
  id: number;
52
- memberId: number;
53
52
  deletedAt: Date | null;
54
53
  member: {
55
54
  id: number;
56
- email: string;
57
55
  firstName: string | null;
58
56
  lastName: string | null;
57
+ email: string;
59
58
  };
59
+ memberId: number;
60
60
  totalPaid: number;
61
61
  payments: {
62
62
  id: number;
@@ -77,9 +77,9 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
77
77
  }>;
78
78
  _meta: object;
79
79
  _ctx_out: {
80
+ user: import("../types/auth").TJwtPayload;
80
81
  req: import("http").IncomingMessage;
81
82
  res: import("http").ServerResponse<import("http").IncomingMessage>;
82
- user: import("../types/auth").TJwtPayload;
83
83
  };
84
84
  _input_in: {
85
85
  authorization?: string | undefined;
@@ -107,9 +107,9 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
107
107
  }>;
108
108
  _meta: object;
109
109
  _ctx_out: {
110
+ user: import("../types/auth").TJwtPayload;
110
111
  req: import("http").IncomingMessage;
111
112
  res: import("http").ServerResponse<import("http").IncomingMessage>;
112
- user: import("../types/auth").TJwtPayload;
113
113
  };
114
114
  _input_in: {
115
115
  authorization?: string | undefined;
@@ -137,9 +137,9 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
137
137
  }>;
138
138
  _meta: object;
139
139
  _ctx_out: {
140
+ user: import("../types/auth").TJwtPayload;
140
141
  req: import("http").IncomingMessage;
141
142
  res: import("http").ServerResponse<import("http").IncomingMessage>;
142
- user: import("../types/auth").TJwtPayload;
143
143
  };
144
144
  _input_in: {
145
145
  authorization?: string | undefined;
@@ -161,14 +161,14 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
161
161
  }>;
162
162
  _meta: object;
163
163
  _ctx_out: {
164
+ user: import("../types/auth").TJwtPayload;
164
165
  req: import("http").IncomingMessage;
165
166
  res: import("http").ServerResponse<import("http").IncomingMessage>;
166
- user: import("../types/auth").TJwtPayload;
167
167
  };
168
168
  _input_in: {
169
169
  authorization?: string | undefined;
170
- leagueId: number;
171
170
  teamId: number;
171
+ leagueId: number;
172
172
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
173
173
  code?: string | undefined;
174
174
  paymentMode?: "session" | "intent" | undefined;
@@ -176,10 +176,10 @@ export declare const leaguePaymentsRouter: import("@trpc/server").CreateRouterIn
176
176
  };
177
177
  _input_out: {
178
178
  authorization?: string | undefined;
179
- leagueId: number;
180
- paymentMode: "session" | "intent";
181
179
  teamId: number;
180
+ leagueId: number;
182
181
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
182
+ paymentMode: "session" | "intent";
183
183
  code?: string | undefined;
184
184
  paymentAmount?: number | undefined;
185
185
  };
@@ -156,17 +156,17 @@ export declare const oauthRouter: import("@trpc/server").CreateRouterInner<impor
156
156
  }>;
157
157
  _meta: object;
158
158
  _ctx_out: {
159
+ user: import("../types/auth").TJwtPayload;
159
160
  req: import("http").IncomingMessage;
160
161
  res: import("http").ServerResponse<import("http").IncomingMessage>;
161
- user: import("../types/auth").TJwtPayload;
162
162
  };
163
163
  _input_in: {
164
164
  authorization?: string | undefined;
165
- provider: "apple" | "google";
165
+ provider: "google" | "apple";
166
166
  };
167
167
  _input_out: {
168
168
  authorization?: string | undefined;
169
- provider: "apple" | "google";
169
+ provider: "google" | "apple";
170
170
  };
171
171
  _output_in: typeof import("@trpc/server").unsetMarker;
172
172
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -13,9 +13,9 @@ export declare const organizationRouter: import("@trpc/server").CreateRouterInne
13
13
  }>;
14
14
  _meta: object;
15
15
  _ctx_out: {
16
+ user: import("../types/auth").TJwtPayload;
16
17
  req: import("http").IncomingMessage;
17
18
  res: import("http").ServerResponse<import("http").IncomingMessage>;
18
- user: import("../types/auth").TJwtPayload;
19
19
  };
20
20
  _input_in: {
21
21
  authorization?: string | undefined;
@@ -45,9 +45,9 @@ export declare const organizationRouter: import("@trpc/server").CreateRouterInne
45
45
  }>;
46
46
  _meta: object;
47
47
  _ctx_out: {
48
+ user: import("../types/auth").TJwtPayload;
48
49
  req: import("http").IncomingMessage;
49
50
  res: import("http").ServerResponse<import("http").IncomingMessage>;
50
- user: import("../types/auth").TJwtPayload;
51
51
  };
52
52
  _input_in: {
53
53
  authorization?: string | undefined;
@@ -13,9 +13,9 @@ export declare const pickupPaymentsRouter: import("@trpc/server").CreateRouterIn
13
13
  }>;
14
14
  _meta: object;
15
15
  _ctx_out: {
16
+ user: import("../types/auth").TJwtPayload;
16
17
  req: import("http").IncomingMessage;
17
18
  res: import("http").ServerResponse<import("http").IncomingMessage>;
18
- user: import("../types/auth").TJwtPayload;
19
19
  };
20
20
  _input_in: {
21
21
  authorization?: string | undefined;
@@ -33,6 +33,7 @@ export declare const productRouter: import("@trpc/server").CreateRouterInner<imp
33
33
  totalTax: number;
34
34
  otherTaxLabel: string;
35
35
  otherTax: number;
36
+ otherTaxPercent: number;
36
37
  code?: string | undefined;
37
38
  description?: string | undefined;
38
39
  };
@@ -42,6 +43,7 @@ export declare const productRouter: import("@trpc/server").CreateRouterInner<imp
42
43
  totalTax: number;
43
44
  otherTaxLabel: string;
44
45
  otherTax: number;
46
+ otherTaxPercent: number;
45
47
  code?: string | undefined;
46
48
  description?: string | undefined;
47
49
  };
@@ -303,15 +303,15 @@ export declare const appRouter: import("@trpc/server").CreateRouterInner<import(
303
303
  };
304
304
  _output_in: {
305
305
  id: number;
306
- memberId: number;
307
306
  deletedAt: Date | null;
307
+ memberId: number;
308
+ totalPaid: number;
308
309
  member: {
309
310
  id: number;
310
311
  email: string;
311
312
  firstName: string | null;
312
313
  lastName: string | null;
313
314
  };
314
- totalPaid: number;
315
315
  payments: {
316
316
  id: number;
317
317
  createdAt: string | Date;
@@ -323,15 +323,15 @@ export declare const appRouter: import("@trpc/server").CreateRouterInner<import(
323
323
  }[];
324
324
  _output_out: {
325
325
  id: number;
326
- memberId: number;
327
326
  deletedAt: Date | null;
327
+ memberId: number;
328
+ totalPaid: number;
328
329
  member: {
329
330
  id: number;
330
331
  email: string;
331
332
  firstName: string | null;
332
333
  lastName: string | null;
333
334
  };
334
- totalPaid: number;
335
335
  payments: {
336
336
  id: number;
337
337
  createdAt: string | Date;
@@ -734,8 +734,8 @@ export declare const appRouter: import("@trpc/server").CreateRouterInner<import(
734
734
  };
735
735
  _input_out: {
736
736
  authorization?: string | undefined;
737
- memberId: number;
738
737
  paymentMode: "session" | "intent";
738
+ memberId: number;
739
739
  pickupId: number;
740
740
  code?: string | undefined;
741
741
  cancelPath?: string | undefined;
@@ -781,6 +781,7 @@ export declare const appRouter: import("@trpc/server").CreateRouterInner<import(
781
781
  totalTax: number;
782
782
  otherTaxLabel: string;
783
783
  otherTax: number;
784
+ otherTaxPercent: number;
784
785
  code?: string | undefined;
785
786
  description?: string | undefined;
786
787
  };
@@ -790,6 +791,7 @@ export declare const appRouter: import("@trpc/server").CreateRouterInner<import(
790
791
  totalTax: number;
791
792
  otherTaxLabel: string;
792
793
  otherTax: number;
794
+ otherTaxPercent: number;
793
795
  code?: string | undefined;
794
796
  description?: string | undefined;
795
797
  };
@@ -1101,15 +1103,15 @@ export declare const createTrpcCaller: import("@trpc/server").RouterCaller<impor
1101
1103
  };
1102
1104
  _output_in: {
1103
1105
  id: number;
1104
- memberId: number;
1105
1106
  deletedAt: Date | null;
1107
+ memberId: number;
1108
+ totalPaid: number;
1106
1109
  member: {
1107
1110
  id: number;
1108
1111
  email: string;
1109
1112
  firstName: string | null;
1110
1113
  lastName: string | null;
1111
1114
  };
1112
- totalPaid: number;
1113
1115
  payments: {
1114
1116
  id: number;
1115
1117
  createdAt: string | Date;
@@ -1121,15 +1123,15 @@ export declare const createTrpcCaller: import("@trpc/server").RouterCaller<impor
1121
1123
  }[];
1122
1124
  _output_out: {
1123
1125
  id: number;
1124
- memberId: number;
1125
1126
  deletedAt: Date | null;
1127
+ memberId: number;
1128
+ totalPaid: number;
1126
1129
  member: {
1127
1130
  id: number;
1128
1131
  email: string;
1129
1132
  firstName: string | null;
1130
1133
  lastName: string | null;
1131
1134
  };
1132
- totalPaid: number;
1133
1135
  payments: {
1134
1136
  id: number;
1135
1137
  createdAt: string | Date;
@@ -1532,8 +1534,8 @@ export declare const createTrpcCaller: import("@trpc/server").RouterCaller<impor
1532
1534
  };
1533
1535
  _input_out: {
1534
1536
  authorization?: string | undefined;
1535
- memberId: number;
1536
1537
  paymentMode: "session" | "intent";
1538
+ memberId: number;
1537
1539
  pickupId: number;
1538
1540
  code?: string | undefined;
1539
1541
  cancelPath?: string | undefined;
@@ -1579,6 +1581,7 @@ export declare const createTrpcCaller: import("@trpc/server").RouterCaller<impor
1579
1581
  totalTax: number;
1580
1582
  otherTaxLabel: string;
1581
1583
  otherTax: number;
1584
+ otherTaxPercent: number;
1582
1585
  code?: string | undefined;
1583
1586
  description?: string | undefined;
1584
1587
  };
@@ -1588,6 +1591,7 @@ export declare const createTrpcCaller: import("@trpc/server").RouterCaller<impor
1588
1591
  totalTax: number;
1589
1592
  otherTaxLabel: string;
1590
1593
  otherTax: number;
1594
+ otherTaxPercent: number;
1591
1595
  code?: string | undefined;
1592
1596
  description?: string | undefined;
1593
1597
  };
@@ -319,15 +319,15 @@ export declare const BantrSdk: {
319
319
  };
320
320
  _output_in: {
321
321
  id: number;
322
- memberId: number;
323
322
  deletedAt: Date | null;
323
+ memberId: number;
324
+ totalPaid: number;
324
325
  member: {
325
326
  id: number;
326
327
  email: string;
327
328
  firstName: string | null;
328
329
  lastName: string | null;
329
330
  };
330
- totalPaid: number;
331
331
  payments: {
332
332
  id: number;
333
333
  createdAt: string | Date;
@@ -339,15 +339,15 @@ export declare const BantrSdk: {
339
339
  }[];
340
340
  _output_out: {
341
341
  id: number;
342
- memberId: number;
343
342
  deletedAt: Date | null;
343
+ memberId: number;
344
+ totalPaid: number;
344
345
  member: {
345
346
  id: number;
346
347
  email: string;
347
348
  firstName: string | null;
348
349
  lastName: string | null;
349
350
  };
350
- totalPaid: number;
351
351
  payments: {
352
352
  id: number;
353
353
  createdAt: string | Date;
@@ -750,8 +750,8 @@ export declare const BantrSdk: {
750
750
  };
751
751
  _input_out: {
752
752
  authorization?: string | undefined;
753
- memberId: number;
754
753
  paymentMode: "session" | "intent";
754
+ memberId: number;
755
755
  pickupId: number;
756
756
  code?: string | undefined;
757
757
  cancelPath?: string | undefined;
@@ -797,6 +797,7 @@ export declare const BantrSdk: {
797
797
  totalTax: number;
798
798
  otherTaxLabel: string;
799
799
  otherTax: number;
800
+ otherTaxPercent: number;
800
801
  code?: string | undefined;
801
802
  description?: string | undefined;
802
803
  };
@@ -806,6 +807,7 @@ export declare const BantrSdk: {
806
807
  totalTax: number;
807
808
  otherTaxLabel: string;
808
809
  otherTax: number;
810
+ otherTaxPercent: number;
809
811
  code?: string | undefined;
810
812
  description?: string | undefined;
811
813
  };
@@ -1111,15 +1113,15 @@ export declare const BantrSdk: {
1111
1113
  };
1112
1114
  _output_in: {
1113
1115
  id: number;
1114
- memberId: number;
1115
1116
  deletedAt: Date | null;
1117
+ memberId: number;
1118
+ totalPaid: number;
1116
1119
  member: {
1117
1120
  id: number;
1118
1121
  email: string;
1119
1122
  firstName: string | null;
1120
1123
  lastName: string | null;
1121
1124
  };
1122
- totalPaid: number;
1123
1125
  payments: {
1124
1126
  id: number;
1125
1127
  createdAt: string | Date;
@@ -1131,15 +1133,15 @@ export declare const BantrSdk: {
1131
1133
  }[];
1132
1134
  _output_out: {
1133
1135
  id: number;
1134
- memberId: number;
1135
1136
  deletedAt: Date | null;
1137
+ memberId: number;
1138
+ totalPaid: number;
1136
1139
  member: {
1137
1140
  id: number;
1138
1141
  email: string;
1139
1142
  firstName: string | null;
1140
1143
  lastName: string | null;
1141
1144
  };
1142
- totalPaid: number;
1143
1145
  payments: {
1144
1146
  id: number;
1145
1147
  createdAt: string | Date;
@@ -1542,8 +1544,8 @@ export declare const BantrSdk: {
1542
1544
  };
1543
1545
  _input_out: {
1544
1546
  authorization?: string | undefined;
1545
- memberId: number;
1546
1547
  paymentMode: "session" | "intent";
1548
+ memberId: number;
1547
1549
  pickupId: number;
1548
1550
  code?: string | undefined;
1549
1551
  cancelPath?: string | undefined;
@@ -1589,6 +1591,7 @@ export declare const BantrSdk: {
1589
1591
  totalTax: number;
1590
1592
  otherTaxLabel: string;
1591
1593
  otherTax: number;
1594
+ otherTaxPercent: number;
1592
1595
  code?: string | undefined;
1593
1596
  description?: string | undefined;
1594
1597
  };
@@ -1598,6 +1601,7 @@ export declare const BantrSdk: {
1598
1601
  totalTax: number;
1599
1602
  otherTaxLabel: string;
1600
1603
  otherTax: number;
1604
+ otherTaxPercent: number;
1601
1605
  code?: string | undefined;
1602
1606
  description?: string | undefined;
1603
1607
  };
@@ -1907,15 +1911,15 @@ export declare const BantrSdk: {
1907
1911
  };
1908
1912
  _output_in: {
1909
1913
  id: number;
1910
- memberId: number;
1911
1914
  deletedAt: Date | null;
1915
+ memberId: number;
1916
+ totalPaid: number;
1912
1917
  member: {
1913
1918
  id: number;
1914
1919
  email: string;
1915
1920
  firstName: string | null;
1916
1921
  lastName: string | null;
1917
1922
  };
1918
- totalPaid: number;
1919
1923
  payments: {
1920
1924
  id: number;
1921
1925
  createdAt: string | Date;
@@ -1927,15 +1931,15 @@ export declare const BantrSdk: {
1927
1931
  }[];
1928
1932
  _output_out: {
1929
1933
  id: number;
1930
- memberId: number;
1931
1934
  deletedAt: Date | null;
1935
+ memberId: number;
1936
+ totalPaid: number;
1932
1937
  member: {
1933
1938
  id: number;
1934
1939
  email: string;
1935
1940
  firstName: string | null;
1936
1941
  lastName: string | null;
1937
1942
  };
1938
- totalPaid: number;
1939
1943
  payments: {
1940
1944
  id: number;
1941
1945
  createdAt: string | Date;
@@ -2351,8 +2355,8 @@ export declare const BantrSdk: {
2351
2355
  };
2352
2356
  _input_out: {
2353
2357
  authorization?: string | undefined;
2354
- memberId: number;
2355
2358
  paymentMode: "session" | "intent";
2359
+ memberId: number;
2356
2360
  pickupId: number;
2357
2361
  code?: string | undefined;
2358
2362
  cancelPath?: string | undefined;
@@ -2395,6 +2399,7 @@ export declare const BantrSdk: {
2395
2399
  totalTax: number;
2396
2400
  otherTaxLabel: string;
2397
2401
  otherTax: number;
2402
+ otherTaxPercent: number;
2398
2403
  code?: string | undefined;
2399
2404
  description?: string | undefined;
2400
2405
  };
@@ -2404,6 +2409,7 @@ export declare const BantrSdk: {
2404
2409
  totalTax: number;
2405
2410
  otherTaxLabel: string;
2406
2411
  otherTax: number;
2412
+ otherTaxPercent: number;
2407
2413
  code?: string | undefined;
2408
2414
  description?: string | undefined;
2409
2415
  };
@@ -306,15 +306,15 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
306
306
  };
307
307
  _output_in: {
308
308
  id: number;
309
- memberId: number;
310
309
  deletedAt: Date | null;
310
+ memberId: number;
311
+ totalPaid: number;
311
312
  member: {
312
313
  id: number;
313
314
  email: string;
314
315
  firstName: string | null;
315
316
  lastName: string | null;
316
317
  };
317
- totalPaid: number;
318
318
  payments: {
319
319
  id: number;
320
320
  createdAt: string | Date;
@@ -326,15 +326,15 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
326
326
  }[];
327
327
  _output_out: {
328
328
  id: number;
329
- memberId: number;
330
329
  deletedAt: Date | null;
330
+ memberId: number;
331
+ totalPaid: number;
331
332
  member: {
332
333
  id: number;
333
334
  email: string;
334
335
  firstName: string | null;
335
336
  lastName: string | null;
336
337
  };
337
- totalPaid: number;
338
338
  payments: {
339
339
  id: number;
340
340
  createdAt: string | Date;
@@ -737,8 +737,8 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
737
737
  };
738
738
  _input_out: {
739
739
  authorization?: string | undefined;
740
- memberId: number;
741
740
  paymentMode: "session" | "intent";
741
+ memberId: number;
742
742
  pickupId: number;
743
743
  code?: string | undefined;
744
744
  cancelPath?: string | undefined;
@@ -784,6 +784,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
784
784
  totalTax: number;
785
785
  otherTaxLabel: string;
786
786
  otherTax: number;
787
+ otherTaxPercent: number;
787
788
  code?: string | undefined;
788
789
  description?: string | undefined;
789
790
  };
@@ -793,6 +794,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
793
794
  totalTax: number;
794
795
  otherTaxLabel: string;
795
796
  otherTax: number;
797
+ otherTaxPercent: number;
796
798
  code?: string | undefined;
797
799
  description?: string | undefined;
798
800
  };
@@ -1098,15 +1100,15 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
1098
1100
  };
1099
1101
  _output_in: {
1100
1102
  id: number;
1101
- memberId: number;
1102
1103
  deletedAt: Date | null;
1104
+ memberId: number;
1105
+ totalPaid: number;
1103
1106
  member: {
1104
1107
  id: number;
1105
1108
  email: string;
1106
1109
  firstName: string | null;
1107
1110
  lastName: string | null;
1108
1111
  };
1109
- totalPaid: number;
1110
1112
  payments: {
1111
1113
  id: number;
1112
1114
  createdAt: string | Date;
@@ -1118,15 +1120,15 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
1118
1120
  }[];
1119
1121
  _output_out: {
1120
1122
  id: number;
1121
- memberId: number;
1122
1123
  deletedAt: Date | null;
1124
+ memberId: number;
1125
+ totalPaid: number;
1123
1126
  member: {
1124
1127
  id: number;
1125
1128
  email: string;
1126
1129
  firstName: string | null;
1127
1130
  lastName: string | null;
1128
1131
  };
1129
- totalPaid: number;
1130
1132
  payments: {
1131
1133
  id: number;
1132
1134
  createdAt: string | Date;
@@ -1529,8 +1531,8 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
1529
1531
  };
1530
1532
  _input_out: {
1531
1533
  authorization?: string | undefined;
1532
- memberId: number;
1533
1534
  paymentMode: "session" | "intent";
1535
+ memberId: number;
1534
1536
  pickupId: number;
1535
1537
  code?: string | undefined;
1536
1538
  cancelPath?: string | undefined;
@@ -1576,6 +1578,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
1576
1578
  totalTax: number;
1577
1579
  otherTaxLabel: string;
1578
1580
  otherTax: number;
1581
+ otherTaxPercent: number;
1579
1582
  code?: string | undefined;
1580
1583
  description?: string | undefined;
1581
1584
  };
@@ -1585,6 +1588,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
1585
1588
  totalTax: number;
1586
1589
  otherTaxLabel: string;
1587
1590
  otherTax: number;
1591
+ otherTaxPercent: number;
1588
1592
  code?: string | undefined;
1589
1593
  description?: string | undefined;
1590
1594
  };
@@ -302,15 +302,15 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
302
302
  };
303
303
  _output_in: {
304
304
  id: number;
305
- memberId: number;
306
305
  deletedAt: Date | null;
306
+ memberId: number;
307
+ totalPaid: number;
307
308
  member: {
308
309
  id: number;
309
310
  email: string;
310
311
  firstName: string | null;
311
312
  lastName: string | null;
312
313
  };
313
- totalPaid: number;
314
314
  payments: {
315
315
  id: number;
316
316
  createdAt: string | Date;
@@ -322,15 +322,15 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
322
322
  }[];
323
323
  _output_out: {
324
324
  id: number;
325
- memberId: number;
326
325
  deletedAt: Date | null;
326
+ memberId: number;
327
+ totalPaid: number;
327
328
  member: {
328
329
  id: number;
329
330
  email: string;
330
331
  firstName: string | null;
331
332
  lastName: string | null;
332
333
  };
333
- totalPaid: number;
334
334
  payments: {
335
335
  id: number;
336
336
  createdAt: string | Date;
@@ -746,8 +746,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
746
746
  };
747
747
  _input_out: {
748
748
  authorization?: string | undefined;
749
- memberId: number;
750
749
  paymentMode: "session" | "intent";
750
+ memberId: number;
751
751
  pickupId: number;
752
752
  code?: string | undefined;
753
753
  cancelPath?: string | undefined;
@@ -790,6 +790,7 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
790
790
  totalTax: number;
791
791
  otherTaxLabel: string;
792
792
  otherTax: number;
793
+ otherTaxPercent: number;
793
794
  code?: string | undefined;
794
795
  description?: string | undefined;
795
796
  };
@@ -799,6 +800,7 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
799
800
  totalTax: number;
800
801
  otherTaxLabel: string;
801
802
  otherTax: number;
803
+ otherTaxPercent: number;
802
804
  code?: string | undefined;
803
805
  description?: string | undefined;
804
806
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bantr-api-client",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "SDK for Bantr API integration using tRPC and react-query",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",