bantr-api-client 1.3.1 → 1.5.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.
@@ -68,6 +68,7 @@ export declare const BantrSdk: {
68
68
  limit: number;
69
69
  cursor: number;
70
70
  code?: string | undefined;
71
+ orgWorkspaceId?: number | null | undefined;
71
72
  direction?: "asc" | "desc" | undefined;
72
73
  listExpired?: boolean | undefined;
73
74
  };
@@ -78,6 +79,7 @@ export declare const BantrSdk: {
78
79
  direction: "asc" | "desc";
79
80
  listExpired: boolean;
80
81
  code?: string | undefined;
82
+ orgWorkspaceId?: number | null | undefined;
81
83
  };
82
84
  _output_in: typeof import("@trpc/server").unsetMarker;
83
85
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -100,25 +102,27 @@ export declare const BantrSdk: {
100
102
  };
101
103
  _input_in: {
102
104
  authorization?: string | undefined;
103
- description: string;
104
105
  code: string;
106
+ description: string;
105
107
  appliesWhen: "purchase";
106
108
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
107
109
  amountType: "flat-rate" | "percentage";
108
110
  amountValue: number;
109
111
  validFrom: Date | null;
110
112
  validUntil: Date | null;
113
+ orgWorkspaceId?: number | null | undefined;
111
114
  };
112
115
  _input_out: {
113
116
  authorization?: string | undefined;
114
- description: string;
115
117
  code: string;
118
+ description: string;
116
119
  appliesWhen: "purchase";
117
120
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
118
121
  amountType: "flat-rate" | "percentage";
119
122
  amountValue: number;
120
123
  validFrom: Date | null;
121
124
  validUntil: Date | null;
125
+ orgWorkspaceId?: number | null | undefined;
122
126
  };
123
127
  _output_in: typeof import("@trpc/server").unsetMarker;
124
128
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -141,26 +145,30 @@ export declare const BantrSdk: {
141
145
  _input_in: {
142
146
  authorization?: string | undefined;
143
147
  id: number;
144
- description: string;
145
148
  code: string;
149
+ description: string;
146
150
  appliesWhen: "purchase";
147
151
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
148
152
  amountType: "flat-rate" | "percentage";
149
153
  amountValue: number;
150
154
  validFrom: Date | null;
151
155
  validUntil: Date | null;
156
+ usageLimit: number | null;
157
+ orgWorkspaceId?: number | null | undefined;
152
158
  };
153
159
  _input_out: {
154
160
  authorization?: string | undefined;
155
161
  id: number;
156
- description: string;
157
162
  code: string;
163
+ description: string;
158
164
  appliesWhen: "purchase";
159
165
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
160
166
  amountType: "flat-rate" | "percentage";
161
167
  amountValue: number;
162
168
  validFrom: Date | null;
163
169
  validUntil: Date | null;
170
+ usageLimit: number | null;
171
+ orgWorkspaceId?: number | null | undefined;
164
172
  };
165
173
  _output_in: typeof import("@trpc/server").unsetMarker;
166
174
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -200,29 +208,29 @@ export declare const BantrSdk: {
200
208
  _ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
201
209
  _input_in: {
202
210
  id: number;
203
- code: string;
204
211
  appliesWhen: "purchase";
205
212
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
206
213
  productValue: number;
214
+ code?: string | undefined;
207
215
  };
208
216
  _input_out: {
209
217
  id: number;
210
- code: string;
211
218
  appliesWhen: "purchase";
212
219
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
213
220
  productValue: number;
221
+ code?: string | undefined;
214
222
  };
215
223
  _output_in: {
216
- description: string;
217
224
  code: string;
225
+ description: string;
218
226
  amountType: "flat-rate" | "percentage";
219
227
  amountValue: number;
220
228
  reducedValue: number;
221
229
  newValue: number;
222
230
  };
223
231
  _output_out: {
224
- description: string;
225
232
  code: string;
233
+ description: string;
226
234
  amountType: "flat-rate" | "percentage";
227
235
  amountValue: number;
228
236
  reducedValue: number;
@@ -253,19 +261,19 @@ export declare const BantrSdk: {
253
261
  authorization?: string | undefined;
254
262
  description: string;
255
263
  freeAgentId: number;
256
- leagueId?: number | undefined;
257
- cancelPath?: string | undefined;
258
264
  code?: string | undefined;
265
+ leagueId?: number | undefined;
259
266
  paymentMode?: "session" | "intent" | undefined;
267
+ cancelPath?: string | undefined;
260
268
  };
261
269
  _input_out: {
262
270
  authorization?: string | undefined;
263
271
  description: string;
264
- paymentMode: "session" | "intent";
265
272
  freeAgentId: number;
273
+ paymentMode: "session" | "intent";
274
+ code?: string | undefined;
266
275
  leagueId?: number | undefined;
267
276
  cancelPath?: string | undefined;
268
- code?: string | undefined;
269
277
  };
270
278
  _output_in: typeof import("@trpc/server").unsetMarker;
271
279
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -311,40 +319,40 @@ export declare const BantrSdk: {
311
319
  };
312
320
  _output_in: {
313
321
  id: number;
314
- deletedAt: Date | null;
315
322
  memberId: number;
323
+ deletedAt: Date | null;
316
324
  member: {
317
- email: string;
318
325
  id: number;
326
+ email: string;
319
327
  firstName: string | null;
320
328
  lastName: string | null;
321
329
  };
322
330
  totalPaid: number;
323
331
  payments: {
324
- payerId: number;
325
332
  id: number;
326
- price: number;
327
333
  createdAt: string | Date;
334
+ price: number;
335
+ payerId: number;
328
336
  amountApplied: number | null;
329
337
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
330
338
  }[];
331
339
  }[];
332
340
  _output_out: {
333
341
  id: number;
334
- deletedAt: Date | null;
335
342
  memberId: number;
343
+ deletedAt: Date | null;
336
344
  member: {
337
- email: string;
338
345
  id: number;
346
+ email: string;
339
347
  firstName: string | null;
340
348
  lastName: string | null;
341
349
  };
342
350
  totalPaid: number;
343
351
  payments: {
344
- payerId: number;
345
352
  id: number;
346
- price: number;
347
353
  createdAt: string | Date;
354
+ price: number;
355
+ payerId: number;
348
356
  amountApplied: number | null;
349
357
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
350
358
  }[];
@@ -365,15 +373,15 @@ export declare const BantrSdk: {
365
373
  };
366
374
  _input_in: {
367
375
  authorization?: string | undefined;
368
- price: number;
369
376
  leagueId: number;
377
+ price: number;
370
378
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
371
379
  teamRosterId: number;
372
380
  };
373
381
  _input_out: {
374
382
  authorization?: string | undefined;
375
- price: number;
376
383
  leagueId: number;
384
+ price: number;
377
385
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
378
386
  teamRosterId: number;
379
387
  };
@@ -454,14 +462,16 @@ export declare const BantrSdk: {
454
462
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
455
463
  code?: string | undefined;
456
464
  paymentMode?: "session" | "intent" | undefined;
465
+ paymentAmount?: number | undefined;
457
466
  };
458
467
  _input_out: {
459
468
  authorization?: string | undefined;
460
469
  leagueId: number;
470
+ paymentMode: "session" | "intent";
461
471
  teamId: number;
462
472
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
463
- paymentMode: "session" | "intent";
464
473
  code?: string | undefined;
474
+ paymentAmount?: number | undefined;
465
475
  };
466
476
  _output_in: typeof import("@trpc/server").unsetMarker;
467
477
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -642,6 +652,75 @@ export declare const BantrSdk: {
642
652
  _output_out: typeof import("@trpc/server").unsetMarker;
643
653
  }, import("../api-type/src/types/auth").MemberAuthResponse>;
644
654
  }>;
655
+ organization: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
656
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
657
+ meta: object;
658
+ errorShape: import("@trpc/server").DefaultErrorShape;
659
+ transformer: import("@trpc/server").DefaultDataTransformer;
660
+ }>, {
661
+ fetchStripeFee: import("@trpc/server").BuildProcedure<"query", {
662
+ _config: import("@trpc/server").RootConfig<{
663
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
664
+ meta: object;
665
+ errorShape: import("@trpc/server").DefaultErrorShape;
666
+ transformer: import("@trpc/server").DefaultDataTransformer;
667
+ }>;
668
+ _meta: object;
669
+ _ctx_out: {
670
+ req: import("http").IncomingMessage;
671
+ res: import("http").ServerResponse<import("http").IncomingMessage>;
672
+ user: import("../api-type/src/types/auth").TJwtPayload;
673
+ };
674
+ _input_in: {
675
+ authorization?: string | undefined;
676
+ workspaceId?: number | undefined;
677
+ };
678
+ _input_out: {
679
+ authorization?: string | undefined;
680
+ workspaceId?: number | undefined;
681
+ };
682
+ _output_in: {
683
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
684
+ extraTechnologyFeePercent: number;
685
+ extraTechnologyFeeLabel: string | null;
686
+ };
687
+ _output_out: {
688
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
689
+ extraTechnologyFeePercent: number;
690
+ extraTechnologyFeeLabel: string | null;
691
+ };
692
+ }, unknown>;
693
+ updateStripeFee: import("@trpc/server").BuildProcedure<"mutation", {
694
+ _config: import("@trpc/server").RootConfig<{
695
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
696
+ meta: object;
697
+ errorShape: import("@trpc/server").DefaultErrorShape;
698
+ transformer: import("@trpc/server").DefaultDataTransformer;
699
+ }>;
700
+ _meta: object;
701
+ _ctx_out: {
702
+ req: import("http").IncomingMessage;
703
+ res: import("http").ServerResponse<import("http").IncomingMessage>;
704
+ user: import("../api-type/src/types/auth").TJwtPayload;
705
+ };
706
+ _input_in: {
707
+ authorization?: string | undefined;
708
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
709
+ extraTechnologyFeePercent: number;
710
+ extraTechnologyFeeLabel: string | null;
711
+ workspaceId?: number | undefined;
712
+ };
713
+ _input_out: {
714
+ authorization?: string | undefined;
715
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
716
+ extraTechnologyFeePercent: number;
717
+ extraTechnologyFeeLabel: string | null;
718
+ workspaceId?: number | undefined;
719
+ };
720
+ _output_in: typeof import("@trpc/server").unsetMarker;
721
+ _output_out: typeof import("@trpc/server").unsetMarker;
722
+ }, void>;
723
+ }>;
645
724
  pickupPayments: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
646
725
  ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
647
726
  meta: object;
@@ -663,19 +742,19 @@ export declare const BantrSdk: {
663
742
  };
664
743
  _input_in: {
665
744
  authorization?: string | undefined;
666
- pickupId: number;
667
745
  memberId: number;
668
- cancelPath?: string | undefined;
746
+ pickupId: number;
669
747
  code?: string | undefined;
670
748
  paymentMode?: "session" | "intent" | undefined;
749
+ cancelPath?: string | undefined;
671
750
  };
672
751
  _input_out: {
673
752
  authorization?: string | undefined;
674
- pickupId: number;
675
753
  memberId: number;
676
754
  paymentMode: "session" | "intent";
677
- cancelPath?: string | undefined;
755
+ pickupId: number;
678
756
  code?: string | undefined;
757
+ cancelPath?: string | undefined;
679
758
  };
680
759
  _output_in: typeof import("@trpc/server").unsetMarker;
681
760
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -683,6 +762,55 @@ export declare const BantrSdk: {
683
762
  eventName: string;
684
763
  }>;
685
764
  }>;
765
+ product: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
766
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
767
+ meta: object;
768
+ errorShape: import("@trpc/server").DefaultErrorShape;
769
+ transformer: import("@trpc/server").DefaultDataTransformer;
770
+ }>, {
771
+ info: import("@trpc/server").BuildProcedure<"mutation", {
772
+ _config: import("@trpc/server").RootConfig<{
773
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
774
+ meta: object;
775
+ errorShape: import("@trpc/server").DefaultErrorShape;
776
+ transformer: import("@trpc/server").DefaultDataTransformer;
777
+ }>;
778
+ _meta: object;
779
+ _ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
780
+ _input_in: {
781
+ id: number;
782
+ appliesWhen: "purchase";
783
+ applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
784
+ productValue: number;
785
+ code?: string | undefined;
786
+ };
787
+ _input_out: {
788
+ id: number;
789
+ appliesWhen: "purchase";
790
+ applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
791
+ productValue: number;
792
+ code?: string | undefined;
793
+ };
794
+ _output_in: {
795
+ discountApplied: number;
796
+ totalWithTax: number;
797
+ totalTax: number;
798
+ otherTaxLabel: string;
799
+ otherTax: number;
800
+ code?: string | undefined;
801
+ description?: string | undefined;
802
+ };
803
+ _output_out: {
804
+ discountApplied: number;
805
+ totalWithTax: number;
806
+ totalTax: number;
807
+ otherTaxLabel: string;
808
+ otherTax: number;
809
+ code?: string | undefined;
810
+ description?: string | undefined;
811
+ };
812
+ }, unknown>;
813
+ }>;
686
814
  }>, unknown> & import("@trpc/react-query/dist/createTRPCReact").DecoratedProcedureRecord<{
687
815
  discountCode: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
688
816
  ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
@@ -732,6 +860,7 @@ export declare const BantrSdk: {
732
860
  limit: number;
733
861
  cursor: number;
734
862
  code?: string | undefined;
863
+ orgWorkspaceId?: number | null | undefined;
735
864
  direction?: "asc" | "desc" | undefined;
736
865
  listExpired?: boolean | undefined;
737
866
  };
@@ -742,6 +871,7 @@ export declare const BantrSdk: {
742
871
  direction: "asc" | "desc";
743
872
  listExpired: boolean;
744
873
  code?: string | undefined;
874
+ orgWorkspaceId?: number | null | undefined;
745
875
  };
746
876
  _output_in: typeof import("@trpc/server").unsetMarker;
747
877
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -764,25 +894,27 @@ export declare const BantrSdk: {
764
894
  };
765
895
  _input_in: {
766
896
  authorization?: string | undefined;
767
- description: string;
768
897
  code: string;
898
+ description: string;
769
899
  appliesWhen: "purchase";
770
900
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
771
901
  amountType: "flat-rate" | "percentage";
772
902
  amountValue: number;
773
903
  validFrom: Date | null;
774
904
  validUntil: Date | null;
905
+ orgWorkspaceId?: number | null | undefined;
775
906
  };
776
907
  _input_out: {
777
908
  authorization?: string | undefined;
778
- description: string;
779
909
  code: string;
910
+ description: string;
780
911
  appliesWhen: "purchase";
781
912
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
782
913
  amountType: "flat-rate" | "percentage";
783
914
  amountValue: number;
784
915
  validFrom: Date | null;
785
916
  validUntil: Date | null;
917
+ orgWorkspaceId?: number | null | undefined;
786
918
  };
787
919
  _output_in: typeof import("@trpc/server").unsetMarker;
788
920
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -805,26 +937,30 @@ export declare const BantrSdk: {
805
937
  _input_in: {
806
938
  authorization?: string | undefined;
807
939
  id: number;
808
- description: string;
809
940
  code: string;
941
+ description: string;
810
942
  appliesWhen: "purchase";
811
943
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
812
944
  amountType: "flat-rate" | "percentage";
813
945
  amountValue: number;
814
946
  validFrom: Date | null;
815
947
  validUntil: Date | null;
948
+ usageLimit: number | null;
949
+ orgWorkspaceId?: number | null | undefined;
816
950
  };
817
951
  _input_out: {
818
952
  authorization?: string | undefined;
819
953
  id: number;
820
- description: string;
821
954
  code: string;
955
+ description: string;
822
956
  appliesWhen: "purchase";
823
957
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
824
958
  amountType: "flat-rate" | "percentage";
825
959
  amountValue: number;
826
960
  validFrom: Date | null;
827
961
  validUntil: Date | null;
962
+ usageLimit: number | null;
963
+ orgWorkspaceId?: number | null | undefined;
828
964
  };
829
965
  _output_in: typeof import("@trpc/server").unsetMarker;
830
966
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -864,29 +1000,29 @@ export declare const BantrSdk: {
864
1000
  _ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
865
1001
  _input_in: {
866
1002
  id: number;
867
- code: string;
868
1003
  appliesWhen: "purchase";
869
1004
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
870
1005
  productValue: number;
1006
+ code?: string | undefined;
871
1007
  };
872
1008
  _input_out: {
873
1009
  id: number;
874
- code: string;
875
1010
  appliesWhen: "purchase";
876
1011
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
877
1012
  productValue: number;
1013
+ code?: string | undefined;
878
1014
  };
879
1015
  _output_in: {
880
- description: string;
881
1016
  code: string;
1017
+ description: string;
882
1018
  amountType: "flat-rate" | "percentage";
883
1019
  amountValue: number;
884
1020
  reducedValue: number;
885
1021
  newValue: number;
886
1022
  };
887
1023
  _output_out: {
888
- description: string;
889
1024
  code: string;
1025
+ description: string;
890
1026
  amountType: "flat-rate" | "percentage";
891
1027
  amountValue: number;
892
1028
  reducedValue: number;
@@ -917,19 +1053,19 @@ export declare const BantrSdk: {
917
1053
  authorization?: string | undefined;
918
1054
  description: string;
919
1055
  freeAgentId: number;
920
- leagueId?: number | undefined;
921
- cancelPath?: string | undefined;
922
1056
  code?: string | undefined;
1057
+ leagueId?: number | undefined;
923
1058
  paymentMode?: "session" | "intent" | undefined;
1059
+ cancelPath?: string | undefined;
924
1060
  };
925
1061
  _input_out: {
926
1062
  authorization?: string | undefined;
927
1063
  description: string;
928
- paymentMode: "session" | "intent";
929
1064
  freeAgentId: number;
1065
+ paymentMode: "session" | "intent";
1066
+ code?: string | undefined;
930
1067
  leagueId?: number | undefined;
931
1068
  cancelPath?: string | undefined;
932
- code?: string | undefined;
933
1069
  };
934
1070
  _output_in: typeof import("@trpc/server").unsetMarker;
935
1071
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -975,40 +1111,40 @@ export declare const BantrSdk: {
975
1111
  };
976
1112
  _output_in: {
977
1113
  id: number;
978
- deletedAt: Date | null;
979
1114
  memberId: number;
1115
+ deletedAt: Date | null;
980
1116
  member: {
981
- email: string;
982
1117
  id: number;
1118
+ email: string;
983
1119
  firstName: string | null;
984
1120
  lastName: string | null;
985
1121
  };
986
1122
  totalPaid: number;
987
1123
  payments: {
988
- payerId: number;
989
1124
  id: number;
990
- price: number;
991
1125
  createdAt: string | Date;
1126
+ price: number;
1127
+ payerId: number;
992
1128
  amountApplied: number | null;
993
1129
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
994
1130
  }[];
995
1131
  }[];
996
1132
  _output_out: {
997
1133
  id: number;
998
- deletedAt: Date | null;
999
1134
  memberId: number;
1135
+ deletedAt: Date | null;
1000
1136
  member: {
1001
- email: string;
1002
1137
  id: number;
1138
+ email: string;
1003
1139
  firstName: string | null;
1004
1140
  lastName: string | null;
1005
1141
  };
1006
1142
  totalPaid: number;
1007
1143
  payments: {
1008
- payerId: number;
1009
1144
  id: number;
1010
- price: number;
1011
1145
  createdAt: string | Date;
1146
+ price: number;
1147
+ payerId: number;
1012
1148
  amountApplied: number | null;
1013
1149
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1014
1150
  }[];
@@ -1029,15 +1165,15 @@ export declare const BantrSdk: {
1029
1165
  };
1030
1166
  _input_in: {
1031
1167
  authorization?: string | undefined;
1032
- price: number;
1033
1168
  leagueId: number;
1169
+ price: number;
1034
1170
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1035
1171
  teamRosterId: number;
1036
1172
  };
1037
1173
  _input_out: {
1038
1174
  authorization?: string | undefined;
1039
- price: number;
1040
1175
  leagueId: number;
1176
+ price: number;
1041
1177
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1042
1178
  teamRosterId: number;
1043
1179
  };
@@ -1118,14 +1254,16 @@ export declare const BantrSdk: {
1118
1254
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
1119
1255
  code?: string | undefined;
1120
1256
  paymentMode?: "session" | "intent" | undefined;
1257
+ paymentAmount?: number | undefined;
1121
1258
  };
1122
1259
  _input_out: {
1123
1260
  authorization?: string | undefined;
1124
1261
  leagueId: number;
1262
+ paymentMode: "session" | "intent";
1125
1263
  teamId: number;
1126
1264
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
1127
- paymentMode: "session" | "intent";
1128
1265
  code?: string | undefined;
1266
+ paymentAmount?: number | undefined;
1129
1267
  };
1130
1268
  _output_in: typeof import("@trpc/server").unsetMarker;
1131
1269
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1306,6 +1444,75 @@ export declare const BantrSdk: {
1306
1444
  _output_out: typeof import("@trpc/server").unsetMarker;
1307
1445
  }, import("../api-type/src/types/auth").MemberAuthResponse>;
1308
1446
  }>;
1447
+ organization: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
1448
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
1449
+ meta: object;
1450
+ errorShape: import("@trpc/server").DefaultErrorShape;
1451
+ transformer: import("@trpc/server").DefaultDataTransformer;
1452
+ }>, {
1453
+ fetchStripeFee: import("@trpc/server").BuildProcedure<"query", {
1454
+ _config: import("@trpc/server").RootConfig<{
1455
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
1456
+ meta: object;
1457
+ errorShape: import("@trpc/server").DefaultErrorShape;
1458
+ transformer: import("@trpc/server").DefaultDataTransformer;
1459
+ }>;
1460
+ _meta: object;
1461
+ _ctx_out: {
1462
+ req: import("http").IncomingMessage;
1463
+ res: import("http").ServerResponse<import("http").IncomingMessage>;
1464
+ user: import("../api-type/src/types/auth").TJwtPayload;
1465
+ };
1466
+ _input_in: {
1467
+ authorization?: string | undefined;
1468
+ workspaceId?: number | undefined;
1469
+ };
1470
+ _input_out: {
1471
+ authorization?: string | undefined;
1472
+ workspaceId?: number | undefined;
1473
+ };
1474
+ _output_in: {
1475
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
1476
+ extraTechnologyFeePercent: number;
1477
+ extraTechnologyFeeLabel: string | null;
1478
+ };
1479
+ _output_out: {
1480
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
1481
+ extraTechnologyFeePercent: number;
1482
+ extraTechnologyFeeLabel: string | null;
1483
+ };
1484
+ }, unknown>;
1485
+ updateStripeFee: import("@trpc/server").BuildProcedure<"mutation", {
1486
+ _config: import("@trpc/server").RootConfig<{
1487
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
1488
+ meta: object;
1489
+ errorShape: import("@trpc/server").DefaultErrorShape;
1490
+ transformer: import("@trpc/server").DefaultDataTransformer;
1491
+ }>;
1492
+ _meta: object;
1493
+ _ctx_out: {
1494
+ req: import("http").IncomingMessage;
1495
+ res: import("http").ServerResponse<import("http").IncomingMessage>;
1496
+ user: import("../api-type/src/types/auth").TJwtPayload;
1497
+ };
1498
+ _input_in: {
1499
+ authorization?: string | undefined;
1500
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
1501
+ extraTechnologyFeePercent: number;
1502
+ extraTechnologyFeeLabel: string | null;
1503
+ workspaceId?: number | undefined;
1504
+ };
1505
+ _input_out: {
1506
+ authorization?: string | undefined;
1507
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
1508
+ extraTechnologyFeePercent: number;
1509
+ extraTechnologyFeeLabel: string | null;
1510
+ workspaceId?: number | undefined;
1511
+ };
1512
+ _output_in: typeof import("@trpc/server").unsetMarker;
1513
+ _output_out: typeof import("@trpc/server").unsetMarker;
1514
+ }, void>;
1515
+ }>;
1309
1516
  pickupPayments: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
1310
1517
  ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
1311
1518
  meta: object;
@@ -1327,19 +1534,19 @@ export declare const BantrSdk: {
1327
1534
  };
1328
1535
  _input_in: {
1329
1536
  authorization?: string | undefined;
1330
- pickupId: number;
1331
1537
  memberId: number;
1332
- cancelPath?: string | undefined;
1538
+ pickupId: number;
1333
1539
  code?: string | undefined;
1334
1540
  paymentMode?: "session" | "intent" | undefined;
1541
+ cancelPath?: string | undefined;
1335
1542
  };
1336
1543
  _input_out: {
1337
1544
  authorization?: string | undefined;
1338
- pickupId: number;
1339
1545
  memberId: number;
1340
1546
  paymentMode: "session" | "intent";
1341
- cancelPath?: string | undefined;
1547
+ pickupId: number;
1342
1548
  code?: string | undefined;
1549
+ cancelPath?: string | undefined;
1343
1550
  };
1344
1551
  _output_in: typeof import("@trpc/server").unsetMarker;
1345
1552
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1347,6 +1554,55 @@ export declare const BantrSdk: {
1347
1554
  eventName: string;
1348
1555
  }>;
1349
1556
  }>;
1557
+ product: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
1558
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
1559
+ meta: object;
1560
+ errorShape: import("@trpc/server").DefaultErrorShape;
1561
+ transformer: import("@trpc/server").DefaultDataTransformer;
1562
+ }>, {
1563
+ info: import("@trpc/server").BuildProcedure<"mutation", {
1564
+ _config: import("@trpc/server").RootConfig<{
1565
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
1566
+ meta: object;
1567
+ errorShape: import("@trpc/server").DefaultErrorShape;
1568
+ transformer: import("@trpc/server").DefaultDataTransformer;
1569
+ }>;
1570
+ _meta: object;
1571
+ _ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
1572
+ _input_in: {
1573
+ id: number;
1574
+ appliesWhen: "purchase";
1575
+ applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
1576
+ productValue: number;
1577
+ code?: string | undefined;
1578
+ };
1579
+ _input_out: {
1580
+ id: number;
1581
+ appliesWhen: "purchase";
1582
+ applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
1583
+ productValue: number;
1584
+ code?: string | undefined;
1585
+ };
1586
+ _output_in: {
1587
+ discountApplied: number;
1588
+ totalWithTax: number;
1589
+ totalTax: number;
1590
+ otherTaxLabel: string;
1591
+ otherTax: number;
1592
+ code?: string | undefined;
1593
+ description?: string | undefined;
1594
+ };
1595
+ _output_out: {
1596
+ discountApplied: number;
1597
+ totalWithTax: number;
1598
+ totalTax: number;
1599
+ otherTaxLabel: string;
1600
+ otherTax: number;
1601
+ code?: string | undefined;
1602
+ description?: string | undefined;
1603
+ };
1604
+ }, unknown>;
1605
+ }>;
1350
1606
  }, null, "">;
1351
1607
  createTRPCClientQuery: (options?: {
1352
1608
  useLocalUrl?: boolean;
@@ -1398,6 +1654,7 @@ export declare const BantrSdk: {
1398
1654
  limit: number;
1399
1655
  cursor: number;
1400
1656
  code?: string | undefined;
1657
+ orgWorkspaceId?: number | null | undefined;
1401
1658
  direction?: "asc" | "desc" | undefined;
1402
1659
  listExpired?: boolean | undefined;
1403
1660
  };
@@ -1408,6 +1665,7 @@ export declare const BantrSdk: {
1408
1665
  direction: "asc" | "desc";
1409
1666
  listExpired: boolean;
1410
1667
  code?: string | undefined;
1668
+ orgWorkspaceId?: number | null | undefined;
1411
1669
  };
1412
1670
  _output_in: typeof import("@trpc/server").unsetMarker;
1413
1671
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1432,25 +1690,27 @@ export declare const BantrSdk: {
1432
1690
  };
1433
1691
  _input_in: {
1434
1692
  authorization?: string | undefined;
1435
- description: string;
1436
1693
  code: string;
1694
+ description: string;
1437
1695
  appliesWhen: "purchase";
1438
1696
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
1439
1697
  amountType: "flat-rate" | "percentage";
1440
1698
  amountValue: number;
1441
1699
  validFrom: Date | null;
1442
1700
  validUntil: Date | null;
1701
+ orgWorkspaceId?: number | null | undefined;
1443
1702
  };
1444
1703
  _input_out: {
1445
1704
  authorization?: string | undefined;
1446
- description: string;
1447
1705
  code: string;
1706
+ description: string;
1448
1707
  appliesWhen: "purchase";
1449
1708
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
1450
1709
  amountType: "flat-rate" | "percentage";
1451
1710
  amountValue: number;
1452
1711
  validFrom: Date | null;
1453
1712
  validUntil: Date | null;
1713
+ orgWorkspaceId?: number | null | undefined;
1454
1714
  };
1455
1715
  _output_in: typeof import("@trpc/server").unsetMarker;
1456
1716
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1475,26 +1735,30 @@ export declare const BantrSdk: {
1475
1735
  _input_in: {
1476
1736
  authorization?: string | undefined;
1477
1737
  id: number;
1478
- description: string;
1479
1738
  code: string;
1739
+ description: string;
1480
1740
  appliesWhen: "purchase";
1481
1741
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
1482
1742
  amountType: "flat-rate" | "percentage";
1483
1743
  amountValue: number;
1484
1744
  validFrom: Date | null;
1485
1745
  validUntil: Date | null;
1746
+ usageLimit: number | null;
1747
+ orgWorkspaceId?: number | null | undefined;
1486
1748
  };
1487
1749
  _input_out: {
1488
1750
  authorization?: string | undefined;
1489
1751
  id: number;
1490
- description: string;
1491
1752
  code: string;
1753
+ description: string;
1492
1754
  appliesWhen: "purchase";
1493
1755
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
1494
1756
  amountType: "flat-rate" | "percentage";
1495
1757
  amountValue: number;
1496
1758
  validFrom: Date | null;
1497
1759
  validUntil: Date | null;
1760
+ usageLimit: number | null;
1761
+ orgWorkspaceId?: number | null | undefined;
1498
1762
  };
1499
1763
  _output_in: typeof import("@trpc/server").unsetMarker;
1500
1764
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1538,29 +1802,29 @@ export declare const BantrSdk: {
1538
1802
  _ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
1539
1803
  _input_in: {
1540
1804
  id: number;
1541
- code: string;
1542
1805
  appliesWhen: "purchase";
1543
1806
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
1544
1807
  productValue: number;
1808
+ code?: string | undefined;
1545
1809
  };
1546
1810
  _input_out: {
1547
1811
  id: number;
1548
- code: string;
1549
1812
  appliesWhen: "purchase";
1550
1813
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
1551
1814
  productValue: number;
1815
+ code?: string | undefined;
1552
1816
  };
1553
1817
  _output_in: {
1554
- description: string;
1555
1818
  code: string;
1819
+ description: string;
1556
1820
  amountType: "flat-rate" | "percentage";
1557
1821
  amountValue: number;
1558
1822
  reducedValue: number;
1559
1823
  newValue: number;
1560
1824
  };
1561
1825
  _output_out: {
1562
- description: string;
1563
1826
  code: string;
1827
+ description: string;
1564
1828
  amountType: "flat-rate" | "percentage";
1565
1829
  amountValue: number;
1566
1830
  reducedValue: number;
@@ -1588,19 +1852,19 @@ export declare const BantrSdk: {
1588
1852
  authorization?: string | undefined;
1589
1853
  description: string;
1590
1854
  freeAgentId: number;
1591
- leagueId?: number | undefined;
1592
- cancelPath?: string | undefined;
1593
1855
  code?: string | undefined;
1856
+ leagueId?: number | undefined;
1594
1857
  paymentMode?: "session" | "intent" | undefined;
1858
+ cancelPath?: string | undefined;
1595
1859
  };
1596
1860
  _input_out: {
1597
1861
  authorization?: string | undefined;
1598
1862
  description: string;
1599
- paymentMode: "session" | "intent";
1600
1863
  freeAgentId: number;
1864
+ paymentMode: "session" | "intent";
1865
+ code?: string | undefined;
1601
1866
  leagueId?: number | undefined;
1602
1867
  cancelPath?: string | undefined;
1603
- code?: string | undefined;
1604
1868
  };
1605
1869
  _output_in: typeof import("@trpc/server").unsetMarker;
1606
1870
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1643,40 +1907,40 @@ export declare const BantrSdk: {
1643
1907
  };
1644
1908
  _output_in: {
1645
1909
  id: number;
1646
- deletedAt: Date | null;
1647
1910
  memberId: number;
1911
+ deletedAt: Date | null;
1648
1912
  member: {
1649
- email: string;
1650
1913
  id: number;
1914
+ email: string;
1651
1915
  firstName: string | null;
1652
1916
  lastName: string | null;
1653
1917
  };
1654
1918
  totalPaid: number;
1655
1919
  payments: {
1656
- payerId: number;
1657
1920
  id: number;
1658
- price: number;
1659
1921
  createdAt: string | Date;
1922
+ price: number;
1923
+ payerId: number;
1660
1924
  amountApplied: number | null;
1661
1925
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1662
1926
  }[];
1663
1927
  }[];
1664
1928
  _output_out: {
1665
1929
  id: number;
1666
- deletedAt: Date | null;
1667
1930
  memberId: number;
1931
+ deletedAt: Date | null;
1668
1932
  member: {
1669
- email: string;
1670
1933
  id: number;
1934
+ email: string;
1671
1935
  firstName: string | null;
1672
1936
  lastName: string | null;
1673
1937
  };
1674
1938
  totalPaid: number;
1675
1939
  payments: {
1676
- payerId: number;
1677
1940
  id: number;
1678
- price: number;
1679
1941
  createdAt: string | Date;
1942
+ price: number;
1943
+ payerId: number;
1680
1944
  amountApplied: number | null;
1681
1945
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1682
1946
  }[];
@@ -1699,15 +1963,15 @@ export declare const BantrSdk: {
1699
1963
  };
1700
1964
  _input_in: {
1701
1965
  authorization?: string | undefined;
1702
- price: number;
1703
1966
  leagueId: number;
1967
+ price: number;
1704
1968
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1705
1969
  teamRosterId: number;
1706
1970
  };
1707
1971
  _input_out: {
1708
1972
  authorization?: string | undefined;
1709
- price: number;
1710
1973
  leagueId: number;
1974
+ price: number;
1711
1975
  offlineMethod: "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
1712
1976
  teamRosterId: number;
1713
1977
  };
@@ -1794,14 +2058,16 @@ export declare const BantrSdk: {
1794
2058
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
1795
2059
  code?: string | undefined;
1796
2060
  paymentMode?: "session" | "intent" | undefined;
2061
+ paymentAmount?: number | undefined;
1797
2062
  };
1798
2063
  _input_out: {
1799
2064
  authorization?: string | undefined;
1800
2065
  leagueId: number;
2066
+ paymentMode: "session" | "intent";
1801
2067
  teamId: number;
1802
2068
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
1803
- paymentMode: "session" | "intent";
1804
2069
  code?: string | undefined;
2070
+ paymentAmount?: number | undefined;
1805
2071
  };
1806
2072
  _output_in: typeof import("@trpc/server").unsetMarker;
1807
2073
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1992,6 +2258,74 @@ export declare const BantrSdk: {
1992
2258
  }, import("../api-type/src/types/auth").MemberAuthResponse>>;
1993
2259
  };
1994
2260
  };
2261
+ organization: {
2262
+ fetchStripeFee: {
2263
+ query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
2264
+ _config: import("@trpc/server").RootConfig<{
2265
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
2266
+ meta: object;
2267
+ errorShape: import("@trpc/server").DefaultErrorShape;
2268
+ transformer: import("@trpc/server").DefaultDataTransformer;
2269
+ }>;
2270
+ _meta: object;
2271
+ _ctx_out: {
2272
+ req: import("http").IncomingMessage;
2273
+ res: import("http").ServerResponse<import("http").IncomingMessage>;
2274
+ user: import("../api-type/src/types/auth").TJwtPayload;
2275
+ };
2276
+ _input_in: {
2277
+ authorization?: string | undefined;
2278
+ workspaceId?: number | undefined;
2279
+ };
2280
+ _input_out: {
2281
+ authorization?: string | undefined;
2282
+ workspaceId?: number | undefined;
2283
+ };
2284
+ _output_in: {
2285
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
2286
+ extraTechnologyFeePercent: number;
2287
+ extraTechnologyFeeLabel: string | null;
2288
+ };
2289
+ _output_out: {
2290
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
2291
+ extraTechnologyFeePercent: number;
2292
+ extraTechnologyFeeLabel: string | null;
2293
+ };
2294
+ }, unknown>>;
2295
+ };
2296
+ updateStripeFee: {
2297
+ mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
2298
+ _config: import("@trpc/server").RootConfig<{
2299
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
2300
+ meta: object;
2301
+ errorShape: import("@trpc/server").DefaultErrorShape;
2302
+ transformer: import("@trpc/server").DefaultDataTransformer;
2303
+ }>;
2304
+ _meta: object;
2305
+ _ctx_out: {
2306
+ req: import("http").IncomingMessage;
2307
+ res: import("http").ServerResponse<import("http").IncomingMessage>;
2308
+ user: import("../api-type/src/types/auth").TJwtPayload;
2309
+ };
2310
+ _input_in: {
2311
+ authorization?: string | undefined;
2312
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
2313
+ extraTechnologyFeePercent: number;
2314
+ extraTechnologyFeeLabel: string | null;
2315
+ workspaceId?: number | undefined;
2316
+ };
2317
+ _input_out: {
2318
+ authorization?: string | undefined;
2319
+ technologyFeeMode: import("../api-type/src/constants").TECHNOLOGY_FEE_MODES;
2320
+ extraTechnologyFeePercent: number;
2321
+ extraTechnologyFeeLabel: string | null;
2322
+ workspaceId?: number | undefined;
2323
+ };
2324
+ _output_in: typeof import("@trpc/server").unsetMarker;
2325
+ _output_out: typeof import("@trpc/server").unsetMarker;
2326
+ }, void>>;
2327
+ };
2328
+ };
1995
2329
  pickupPayments: {
1996
2330
  registrationCheckout: {
1997
2331
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
@@ -2009,19 +2343,19 @@ export declare const BantrSdk: {
2009
2343
  };
2010
2344
  _input_in: {
2011
2345
  authorization?: string | undefined;
2012
- pickupId: number;
2013
2346
  memberId: number;
2014
- cancelPath?: string | undefined;
2347
+ pickupId: number;
2015
2348
  code?: string | undefined;
2016
2349
  paymentMode?: "session" | "intent" | undefined;
2350
+ cancelPath?: string | undefined;
2017
2351
  };
2018
2352
  _input_out: {
2019
2353
  authorization?: string | undefined;
2020
- pickupId: number;
2021
2354
  memberId: number;
2022
2355
  paymentMode: "session" | "intent";
2023
- cancelPath?: string | undefined;
2356
+ pickupId: number;
2024
2357
  code?: string | undefined;
2358
+ cancelPath?: string | undefined;
2025
2359
  };
2026
2360
  _output_in: typeof import("@trpc/server").unsetMarker;
2027
2361
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -2030,6 +2364,52 @@ export declare const BantrSdk: {
2030
2364
  }>>;
2031
2365
  };
2032
2366
  };
2367
+ product: {
2368
+ info: {
2369
+ mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
2370
+ _config: import("@trpc/server").RootConfig<{
2371
+ ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
2372
+ meta: object;
2373
+ errorShape: import("@trpc/server").DefaultErrorShape;
2374
+ transformer: import("@trpc/server").DefaultDataTransformer;
2375
+ }>;
2376
+ _meta: object;
2377
+ _ctx_out: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
2378
+ _input_in: {
2379
+ id: number;
2380
+ appliesWhen: "purchase";
2381
+ applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
2382
+ productValue: number;
2383
+ code?: string | undefined;
2384
+ };
2385
+ _input_out: {
2386
+ id: number;
2387
+ appliesWhen: "purchase";
2388
+ applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
2389
+ productValue: number;
2390
+ code?: string | undefined;
2391
+ };
2392
+ _output_in: {
2393
+ discountApplied: number;
2394
+ totalWithTax: number;
2395
+ totalTax: number;
2396
+ otherTaxLabel: string;
2397
+ otherTax: number;
2398
+ code?: string | undefined;
2399
+ description?: string | undefined;
2400
+ };
2401
+ _output_out: {
2402
+ discountApplied: number;
2403
+ totalWithTax: number;
2404
+ totalTax: number;
2405
+ otherTaxLabel: string;
2406
+ otherTax: number;
2407
+ code?: string | undefined;
2408
+ description?: string | undefined;
2409
+ };
2410
+ }, unknown>>;
2411
+ };
2412
+ };
2033
2413
  };
2034
2414
  };
2035
2415
  export default BantrSdk;