bantr-api-client 1.6.0 → 11.0.2

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.
Files changed (125) hide show
  1. package/api-type/src/models/assists.d.ts +7 -0
  2. package/api-type/src/models/base_league.d.ts +45 -0
  3. package/api-type/src/models/block.d.ts +27 -0
  4. package/api-type/src/models/chat.d.ts +37 -0
  5. package/api-type/src/models/chat_members.d.ts +36 -0
  6. package/api-type/src/models/clap.d.ts +38 -0
  7. package/api-type/src/models/comment.d.ts +46 -0
  8. package/api-type/src/models/demo_leads.d.ts +64 -0
  9. package/api-type/src/models/direct_message.d.ts +34 -0
  10. package/api-type/src/models/dynamic_group.d.ts +42 -0
  11. package/api-type/src/models/dynamic_season_league_template.d.ts +120 -0
  12. package/api-type/src/models/dynamic_stage.d.ts +52 -0
  13. package/api-type/src/models/dynamic_stage_template.d.ts +50 -0
  14. package/api-type/src/models/emoji.d.ts +31 -0
  15. package/api-type/src/models/emoji_media_mapper.d.ts +38 -0
  16. package/api-type/src/models/event.d.ts +133 -0
  17. package/api-type/src/models/free_agent_payment.d.ts +108 -0
  18. package/api-type/src/models/game_stat_model.d.ts +55 -0
  19. package/api-type/src/models/goals.d.ts +7 -0
  20. package/api-type/src/models/hooks/chat_member.d.ts +4 -0
  21. package/api-type/src/models/hooks/event.d.ts +6 -0
  22. package/api-type/src/models/hooks/league_schedule.d.ts +3 -0
  23. package/api-type/src/models/hooks/pickup_group_member.d.ts +4 -0
  24. package/api-type/src/models/hooks/schedule_events.d.ts +2 -0
  25. package/api-type/src/models/hooks/team_roster.d.ts +4 -0
  26. package/api-type/src/models/invite.d.ts +108 -0
  27. package/api-type/src/models/job.d.ts +33 -0
  28. package/api-type/src/models/job_type.d.ts +26 -0
  29. package/api-type/src/models/last_seen_team_message.d.ts +31 -0
  30. package/api-type/src/models/league.d.ts +175 -0
  31. package/api-type/src/models/league_group_teams.d.ts +38 -0
  32. package/api-type/src/models/league_media.d.ts +57 -0
  33. package/api-type/src/models/league_payment.d.ts +93 -0
  34. package/api-type/src/models/league_price.d.ts +52 -0
  35. package/api-type/src/models/league_registration.d.ts +41 -0
  36. package/api-type/src/models/league_schedule.d.ts +116 -0
  37. package/api-type/src/models/league_schedule_referee.d.ts +29 -0
  38. package/api-type/src/models/league_standing.d.ts +83 -0
  39. package/api-type/src/models/league_stripe.d.ts +23 -0
  40. package/api-type/src/models/league_teams.d.ts +34 -0
  41. package/api-type/src/models/league_template.d.ts +35 -0
  42. package/api-type/src/models/league_waitlist.d.ts +39 -0
  43. package/api-type/src/models/market_post.d.ts +91 -0
  44. package/api-type/src/models/match_cards.d.ts +42 -0
  45. package/api-type/src/models/match_notes.d.ts +49 -0
  46. package/api-type/src/models/member.d.ts +138 -0
  47. package/api-type/src/models/member_hidden_comment.d.ts +31 -0
  48. package/api-type/src/models/member_hidden_message.d.ts +48 -0
  49. package/api-type/src/models/member_muted_chat.d.ts +38 -0
  50. package/api-type/src/models/member_muted_event.d.ts +25 -0
  51. package/api-type/src/models/member_organizations.d.ts +65 -0
  52. package/api-type/src/models/member_stripe.d.ts +23 -0
  53. package/api-type/src/models/message.d.ts +34 -0
  54. package/api-type/src/models/mvp_votes.d.ts +42 -0
  55. package/api-type/src/models/notification.d.ts +46 -0
  56. package/api-type/src/models/oauth.d.ts +49 -0
  57. package/api-type/src/models/organization.d.ts +68 -0
  58. package/api-type/src/models/organization_free_agent.d.ts +70 -0
  59. package/api-type/src/models/organization_free_agent_price.d.ts +37 -0
  60. package/api-type/src/models/organization_leagues.d.ts +23 -0
  61. package/api-type/src/models/organization_learn_more.d.ts +75 -0
  62. package/api-type/src/models/organization_stripe.d.ts +68 -0
  63. package/api-type/src/models/organization_waivers.d.ts +59 -0
  64. package/api-type/src/models/organization_workspace.d.ts +76 -0
  65. package/api-type/src/models/organizer.d.ts +70 -0
  66. package/api-type/src/models/organizer_roles.d.ts +26 -0
  67. package/api-type/src/models/pickup.d.ts +163 -0
  68. package/api-type/src/models/pickup_config.d.ts +34 -0
  69. package/api-type/src/models/pickup_group.d.ts +83 -0
  70. package/api-type/src/models/pickup_group_members.d.ts +42 -0
  71. package/api-type/src/models/pickup_payments.d.ts +79 -0
  72. package/api-type/src/models/pickup_price.d.ts +41 -0
  73. package/api-type/src/models/pickup_registration.d.ts +38 -0
  74. package/api-type/src/models/pickup_roster.d.ts +41 -0
  75. package/api-type/src/models/pickup_stripe.d.ts +23 -0
  76. package/api-type/src/models/pickup_waitlist.d.ts +33 -0
  77. package/api-type/src/models/post.d.ts +66 -0
  78. package/api-type/src/models/referee_note.d.ts +35 -0
  79. package/api-type/src/models/referee_organization.d.ts +29 -0
  80. package/api-type/src/models/referees.d.ts +63 -0
  81. package/api-type/src/models/refresh_token.d.ts +39 -0
  82. package/api-type/src/models/refund.d.ts +57 -0
  83. package/api-type/src/models/report.d.ts +32 -0
  84. package/api-type/src/models/reported_comment.d.ts +28 -0
  85. package/api-type/src/models/reported_event.d.ts +28 -0
  86. package/api-type/src/models/reported_message.d.ts +28 -0
  87. package/api-type/src/models/reported_player.d.ts +28 -0
  88. package/api-type/src/models/role.d.ts +44 -0
  89. package/api-type/src/models/rsvp.d.ts +47 -0
  90. package/api-type/src/models/schedule_event.d.ts +59 -0
  91. package/api-type/src/models/season.d.ts +48 -0
  92. package/api-type/src/models/season_league_template.d.ts +126 -0
  93. package/api-type/src/models/setting.d.ts +24 -0
  94. package/api-type/src/models/signed_member_waivers.d.ts +59 -0
  95. package/api-type/src/models/stripe_balance.d.ts +59 -0
  96. package/api-type/src/models/stripe_transaction.d.ts +65 -0
  97. package/api-type/src/models/stripe_transfer.d.ts +59 -0
  98. package/api-type/src/models/stripe_webhook.d.ts +26 -0
  99. package/api-type/src/models/support.d.ts +39 -0
  100. package/api-type/src/models/team.d.ts +97 -0
  101. package/api-type/src/models/team_league_season_roster.d.ts +42 -0
  102. package/api-type/src/models/team_members.d.ts +43 -0
  103. package/api-type/src/models/team_message.d.ts +33 -0
  104. package/api-type/src/models/team_roster.d.ts +71 -0
  105. package/api-type/src/models/transaction.d.ts +155 -0
  106. package/api-type/src/models/transaction_event.d.ts +49 -0
  107. package/api-type/src/models/utils/chat.d.ts +6 -0
  108. package/api-type/src/models/utils/league.d.ts +2 -0
  109. package/api-type/src/models/utils/organization.d.ts +1 -0
  110. package/api-type/src/models/utils/team.d.ts +2 -0
  111. package/api-type/src/trpcRouter/discount_code.router.d.ts +12 -12
  112. package/api-type/src/trpcRouter/free_agent_payments.router.d.ts +3 -3
  113. package/api-type/src/trpcRouter/league_payments.router.d.ts +21 -21
  114. package/api-type/src/trpcRouter/oauth.router.d.ts +1 -1
  115. package/api-type/src/trpcRouter/organization.router.d.ts +2 -2
  116. package/api-type/src/trpcRouter/pickup_payments.router.d.ts +3 -3
  117. package/api-type/src/trpcRouter/product.router.d.ts +2 -2
  118. package/api-type/src/trpcRouter/router.d.ts +148 -148
  119. package/api-type/src/trpcRouter/team.d.ts +16 -16
  120. package/api-type/src/trpcRouter/transaction.router.d.ts +14 -14
  121. package/dist/src/index.d.ts +222 -222
  122. package/dist/src/provider.d.ts +148 -148
  123. package/dist/src/query.d.ts +74 -74
  124. package/package.json +1 -1
  125. package/tsconfig.json +1 -1
@@ -14,9 +14,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
14
14
  }>;
15
15
  _meta: object;
16
16
  _ctx_out: {
17
+ user: import("../api-type/src/types/auth").TJwtPayload;
17
18
  req: import("http").IncomingMessage;
18
19
  res: import("http").ServerResponse<import("http").IncomingMessage>;
19
- user: import("../api-type/src/types/auth").TJwtPayload;
20
20
  };
21
21
  _input_in: {
22
22
  authorization?: string | undefined;
@@ -40,17 +40,17 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
40
40
  }>;
41
41
  _meta: object;
42
42
  _ctx_out: {
43
+ user: import("../api-type/src/types/auth").TJwtPayload;
43
44
  req: import("http").IncomingMessage;
44
45
  res: import("http").ServerResponse<import("http").IncomingMessage>;
45
- user: import("../api-type/src/types/auth").TJwtPayload;
46
46
  };
47
47
  _input_in: {
48
48
  authorization?: string | undefined;
49
49
  limit: number;
50
50
  cursor: number;
51
51
  orgWorkspaceId?: number | null | undefined;
52
- direction?: "asc" | "desc" | undefined;
53
52
  code?: string | undefined;
53
+ direction?: "asc" | "desc" | undefined;
54
54
  listExpired?: boolean | undefined;
55
55
  };
56
56
  _input_out: {
@@ -79,14 +79,14 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
79
79
  }>;
80
80
  _meta: object;
81
81
  _ctx_out: {
82
+ user: import("../api-type/src/types/auth").TJwtPayload;
82
83
  req: import("http").IncomingMessage;
83
84
  res: import("http").ServerResponse<import("http").IncomingMessage>;
84
- user: import("../api-type/src/types/auth").TJwtPayload;
85
85
  };
86
86
  _input_in: {
87
87
  authorization?: string | undefined;
88
- code: string;
89
88
  description: string;
89
+ code: string;
90
90
  appliesWhen: "purchase";
91
91
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
92
92
  amountType: "flat-rate" | "percentage";
@@ -97,8 +97,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
97
97
  };
98
98
  _input_out: {
99
99
  authorization?: string | undefined;
100
- code: string;
101
100
  description: string;
101
+ code: string;
102
102
  appliesWhen: "purchase";
103
103
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
104
104
  amountType: "flat-rate" | "percentage";
@@ -123,15 +123,15 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
123
123
  }>;
124
124
  _meta: object;
125
125
  _ctx_out: {
126
+ user: import("../api-type/src/types/auth").TJwtPayload;
126
127
  req: import("http").IncomingMessage;
127
128
  res: import("http").ServerResponse<import("http").IncomingMessage>;
128
- user: import("../api-type/src/types/auth").TJwtPayload;
129
129
  };
130
130
  _input_in: {
131
131
  authorization?: string | undefined;
132
- code: string;
133
132
  id: number;
134
133
  description: string;
134
+ code: string;
135
135
  appliesWhen: "purchase";
136
136
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
137
137
  amountType: "flat-rate" | "percentage";
@@ -143,9 +143,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
143
143
  };
144
144
  _input_out: {
145
145
  authorization?: string | undefined;
146
- code: string;
147
146
  id: number;
148
147
  description: string;
148
+ code: string;
149
149
  appliesWhen: "purchase";
150
150
  applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
151
151
  amountType: "flat-rate" | "percentage";
@@ -169,9 +169,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
169
169
  }>;
170
170
  _meta: object;
171
171
  _ctx_out: {
172
+ user: import("../api-type/src/types/auth").TJwtPayload;
172
173
  req: import("http").IncomingMessage;
173
174
  res: import("http").ServerResponse<import("http").IncomingMessage>;
174
- user: import("../api-type/src/types/auth").TJwtPayload;
175
175
  };
176
176
  _input_in: {
177
177
  authorization?: string | undefined;
@@ -210,16 +210,16 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
210
210
  code?: string | undefined;
211
211
  };
212
212
  _output_in: {
213
- code: string;
214
213
  description: string;
214
+ code: string;
215
215
  amountType: "flat-rate" | "percentage";
216
216
  amountValue: number;
217
217
  reducedValue: number;
218
218
  newValue: number;
219
219
  };
220
220
  _output_out: {
221
- code: string;
222
221
  description: string;
222
+ code: string;
223
223
  amountType: "flat-rate" | "percentage";
224
224
  amountValue: number;
225
225
  reducedValue: number;
@@ -239,16 +239,16 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
239
239
  }>;
240
240
  _meta: object;
241
241
  _ctx_out: {
242
+ user: import("../api-type/src/types/auth").TJwtPayload;
242
243
  req: import("http").IncomingMessage;
243
244
  res: import("http").ServerResponse<import("http").IncomingMessage>;
244
- user: import("../api-type/src/types/auth").TJwtPayload;
245
245
  };
246
246
  _input_in: {
247
247
  authorization?: string | undefined;
248
248
  description: string;
249
249
  freeAgentId: number;
250
- code?: string | undefined;
251
250
  leagueId?: number | undefined;
251
+ code?: string | undefined;
252
252
  paymentMode?: "session" | "intent" | undefined;
253
253
  cancelPath?: string | undefined;
254
254
  };
@@ -257,8 +257,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
257
257
  description: string;
258
258
  paymentMode: "session" | "intent";
259
259
  freeAgentId: number;
260
- code?: string | undefined;
261
260
  leagueId?: number | undefined;
261
+ code?: string | undefined;
262
262
  cancelPath?: string | undefined;
263
263
  };
264
264
  _output_in: typeof import("@trpc/server").unsetMarker;
@@ -302,58 +302,58 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
302
302
  }>;
303
303
  _meta: object;
304
304
  _ctx_out: {
305
+ user: import("../api-type/src/types/auth").TJwtPayload;
305
306
  req: import("http").IncomingMessage;
306
307
  res: import("http").ServerResponse<import("http").IncomingMessage>;
307
- user: import("../api-type/src/types/auth").TJwtPayload;
308
308
  };
309
309
  _input_in: {
310
310
  authorization?: string | undefined;
311
- leagueId: number;
312
311
  teamId: number;
312
+ leagueId: number;
313
313
  };
314
314
  _input_out: {
315
315
  authorization?: string | undefined;
316
- leagueId: number;
317
316
  teamId: number;
317
+ leagueId: number;
318
318
  };
319
319
  _output_in: {
320
320
  id: number;
321
321
  deletedAt: Date | null;
322
- memberId: number;
323
322
  member: {
324
323
  id: number;
325
324
  firstName: string | null;
326
- email: string;
327
325
  lastName: string | null;
326
+ email: string;
328
327
  };
328
+ memberId: number;
329
329
  totalPaid: number;
330
330
  payments: {
331
331
  id: number;
332
- payerId: number;
333
332
  createdAt: string | Date;
334
- price: number;
333
+ payerId: number;
335
334
  amountApplied: number | null;
336
335
  offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
336
+ price: number;
337
337
  }[];
338
338
  }[];
339
339
  _output_out: {
340
340
  id: number;
341
341
  deletedAt: Date | null;
342
- memberId: number;
343
342
  member: {
344
343
  id: number;
345
344
  firstName: string | null;
346
- email: string;
347
345
  lastName: string | null;
346
+ email: string;
348
347
  };
348
+ memberId: number;
349
349
  totalPaid: number;
350
350
  payments: {
351
351
  id: number;
352
- payerId: number;
353
352
  createdAt: string | Date;
354
- price: number;
353
+ payerId: number;
355
354
  amountApplied: number | null;
356
355
  offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
356
+ price: number;
357
357
  }[];
358
358
  }[];
359
359
  }, unknown>>;
@@ -368,22 +368,22 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
368
368
  }>;
369
369
  _meta: object;
370
370
  _ctx_out: {
371
+ user: import("../api-type/src/types/auth").TJwtPayload;
371
372
  req: import("http").IncomingMessage;
372
373
  res: import("http").ServerResponse<import("http").IncomingMessage>;
373
- user: import("../api-type/src/types/auth").TJwtPayload;
374
374
  };
375
375
  _input_in: {
376
376
  authorization?: string | undefined;
377
- price: number;
378
377
  leagueId: number;
379
378
  offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
379
+ price: number;
380
380
  teamRosterId: number;
381
381
  };
382
382
  _input_out: {
383
383
  authorization?: string | undefined;
384
- price: number;
385
384
  leagueId: number;
386
385
  offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
386
+ price: number;
387
387
  teamRosterId: number;
388
388
  };
389
389
  _output_in: typeof import("@trpc/server").unsetMarker;
@@ -400,22 +400,22 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
400
400
  }>;
401
401
  _meta: object;
402
402
  _ctx_out: {
403
+ user: import("../api-type/src/types/auth").TJwtPayload;
403
404
  req: import("http").IncomingMessage;
404
405
  res: import("http").ServerResponse<import("http").IncomingMessage>;
405
- user: import("../api-type/src/types/auth").TJwtPayload;
406
406
  };
407
407
  _input_in: {
408
408
  authorization?: string | undefined;
409
409
  id: number;
410
- price: number;
411
410
  offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
411
+ price: number;
412
412
  teamRosterId: number;
413
413
  };
414
414
  _input_out: {
415
415
  authorization?: string | undefined;
416
416
  id: number;
417
- price: number;
418
417
  offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
418
+ price: number;
419
419
  teamRosterId: number;
420
420
  };
421
421
  _output_in: typeof import("@trpc/server").unsetMarker;
@@ -432,9 +432,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
432
432
  }>;
433
433
  _meta: object;
434
434
  _ctx_out: {
435
+ user: import("../api-type/src/types/auth").TJwtPayload;
435
436
  req: import("http").IncomingMessage;
436
437
  res: import("http").ServerResponse<import("http").IncomingMessage>;
437
- user: import("../api-type/src/types/auth").TJwtPayload;
438
438
  };
439
439
  _input_in: {
440
440
  authorization?: string | undefined;
@@ -458,14 +458,14 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
458
458
  }>;
459
459
  _meta: object;
460
460
  _ctx_out: {
461
+ user: import("../api-type/src/types/auth").TJwtPayload;
461
462
  req: import("http").IncomingMessage;
462
463
  res: import("http").ServerResponse<import("http").IncomingMessage>;
463
- user: import("../api-type/src/types/auth").TJwtPayload;
464
464
  };
465
465
  _input_in: {
466
466
  authorization?: string | undefined;
467
- leagueId: number;
468
467
  teamId: number;
468
+ leagueId: number;
469
469
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
470
470
  code?: string | undefined;
471
471
  paymentMode?: "session" | "intent" | undefined;
@@ -473,8 +473,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
473
473
  };
474
474
  _input_out: {
475
475
  authorization?: string | undefined;
476
- leagueId: number;
477
476
  teamId: number;
477
+ leagueId: number;
478
478
  paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
479
479
  paymentMode: "session" | "intent";
480
480
  code?: string | undefined;
@@ -652,9 +652,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
652
652
  }>;
653
653
  _meta: object;
654
654
  _ctx_out: {
655
+ user: import("../api-type/src/types/auth").TJwtPayload;
655
656
  req: import("http").IncomingMessage;
656
657
  res: import("http").ServerResponse<import("http").IncomingMessage>;
657
- user: import("../api-type/src/types/auth").TJwtPayload;
658
658
  };
659
659
  _input_in: {
660
660
  authorization?: string | undefined;
@@ -680,9 +680,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
680
680
  }>;
681
681
  _meta: object;
682
682
  _ctx_out: {
683
+ user: import("../api-type/src/types/auth").TJwtPayload;
683
684
  req: import("http").IncomingMessage;
684
685
  res: import("http").ServerResponse<import("http").IncomingMessage>;
685
- user: import("../api-type/src/types/auth").TJwtPayload;
686
686
  };
687
687
  _input_in: {
688
688
  authorization?: string | undefined;
@@ -714,9 +714,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
714
714
  }>;
715
715
  _meta: object;
716
716
  _ctx_out: {
717
+ user: import("../api-type/src/types/auth").TJwtPayload;
717
718
  req: import("http").IncomingMessage;
718
719
  res: import("http").ServerResponse<import("http").IncomingMessage>;
719
- user: import("../api-type/src/types/auth").TJwtPayload;
720
720
  };
721
721
  _input_in: {
722
722
  authorization?: string | undefined;
@@ -748,23 +748,23 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
748
748
  }>;
749
749
  _meta: object;
750
750
  _ctx_out: {
751
+ user: import("../api-type/src/types/auth").TJwtPayload;
751
752
  req: import("http").IncomingMessage;
752
753
  res: import("http").ServerResponse<import("http").IncomingMessage>;
753
- user: import("../api-type/src/types/auth").TJwtPayload;
754
754
  };
755
755
  _input_in: {
756
756
  authorization?: string | undefined;
757
- pickupId: number;
758
757
  memberId: number;
758
+ pickupId: number;
759
759
  code?: string | undefined;
760
760
  paymentMode?: "session" | "intent" | undefined;
761
761
  cancelPath?: string | undefined;
762
762
  };
763
763
  _input_out: {
764
764
  authorization?: string | undefined;
765
- pickupId: number;
766
765
  memberId: number;
767
766
  paymentMode: "session" | "intent";
767
+ pickupId: number;
768
768
  code?: string | undefined;
769
769
  cancelPath?: string | undefined;
770
770
  };
@@ -807,8 +807,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
807
807
  otherTaxLabel: string;
808
808
  otherTax: number;
809
809
  otherTaxPercent: number;
810
- code?: string | undefined;
811
810
  description?: string | undefined;
811
+ code?: string | undefined;
812
812
  };
813
813
  _output_out: {
814
814
  discountApplied: number;
@@ -817,8 +817,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
817
817
  otherTaxLabel: string;
818
818
  otherTax: number;
819
819
  otherTaxPercent: number;
820
- code?: string | undefined;
821
820
  description?: string | undefined;
821
+ code?: string | undefined;
822
822
  };
823
823
  }, unknown>>;
824
824
  };
@@ -834,9 +834,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
834
834
  }>;
835
835
  _meta: object;
836
836
  _ctx_out: {
837
+ user: import("../api-type/src/types/auth").TJwtPayload;
837
838
  req: import("http").IncomingMessage;
838
839
  res: import("http").ServerResponse<import("http").IncomingMessage>;
839
- user: import("../api-type/src/types/auth").TJwtPayload;
840
840
  };
841
841
  _input_in: {
842
842
  authorization?: string | undefined;
@@ -863,19 +863,19 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
863
863
  }>;
864
864
  _meta: object;
865
865
  _ctx_out: {
866
+ user: import("../api-type/src/types/auth").TJwtPayload;
866
867
  req: import("http").IncomingMessage;
867
868
  res: import("http").ServerResponse<import("http").IncomingMessage>;
868
- user: import("../api-type/src/types/auth").TJwtPayload;
869
869
  };
870
870
  _input_in: {
871
871
  authorization?: string | undefined;
872
- organizationId: number;
873
872
  teamId: number;
873
+ organizationId: number;
874
874
  };
875
875
  _input_out: {
876
876
  authorization?: string | undefined;
877
- organizationId: number;
878
877
  teamId: number;
878
+ organizationId: number;
879
879
  };
880
880
  _output_in: typeof import("@trpc/server").unsetMarker;
881
881
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -894,31 +894,31 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
894
894
  }>;
895
895
  _meta: object;
896
896
  _ctx_out: {
897
+ user: import("../api-type/src/types/auth").TJwtPayload;
897
898
  req: import("http").IncomingMessage;
898
899
  res: import("http").ServerResponse<import("http").IncomingMessage>;
899
- user: import("../api-type/src/types/auth").TJwtPayload;
900
900
  };
901
901
  _input_in: {
902
902
  authorization?: string | undefined;
903
903
  teamId: number;
904
904
  invites: {
905
905
  firstName: string;
906
- email: string;
907
906
  lastName: string;
907
+ email: string;
908
908
  }[];
909
- organizationId?: number | undefined;
910
909
  leagueId?: number | undefined;
910
+ organizationId?: number | undefined;
911
911
  };
912
912
  _input_out: {
913
913
  authorization?: string | undefined;
914
914
  teamId: number;
915
915
  invites: {
916
916
  firstName: string;
917
- email: string;
918
917
  lastName: string;
918
+ email: string;
919
919
  }[];
920
- organizationId?: number | undefined;
921
920
  leagueId?: number | undefined;
921
+ organizationId?: number | undefined;
922
922
  };
923
923
  _output_in: typeof import("@trpc/server").unsetMarker;
924
924
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -934,31 +934,31 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
934
934
  }>;
935
935
  _meta: object;
936
936
  _ctx_out: {
937
+ user: import("../api-type/src/types/auth").TJwtPayload;
937
938
  req: import("http").IncomingMessage;
938
939
  res: import("http").ServerResponse<import("http").IncomingMessage>;
939
- user: import("../api-type/src/types/auth").TJwtPayload;
940
940
  };
941
941
  _input_in: {
942
942
  authorization?: string | undefined;
943
943
  teamId: number;
944
944
  invites: {
945
945
  firstName: string;
946
- email: string;
947
946
  lastName: string;
947
+ email: string;
948
948
  }[];
949
- organizationId?: number | undefined;
950
949
  leagueId?: number | undefined;
950
+ organizationId?: number | undefined;
951
951
  };
952
952
  _input_out: {
953
953
  authorization?: string | undefined;
954
954
  teamId: number;
955
955
  invites: {
956
956
  firstName: string;
957
- email: string;
958
957
  lastName: string;
958
+ email: string;
959
959
  }[];
960
- organizationId?: number | undefined;
961
960
  leagueId?: number | undefined;
961
+ organizationId?: number | undefined;
962
962
  };
963
963
  _output_in: typeof import("@trpc/server").unsetMarker;
964
964
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -974,9 +974,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
974
974
  }>;
975
975
  _meta: object;
976
976
  _ctx_out: {
977
+ user: import("../api-type/src/types/auth").TJwtPayload;
977
978
  req: import("http").IncomingMessage;
978
979
  res: import("http").ServerResponse<import("http").IncomingMessage>;
979
- user: import("../api-type/src/types/auth").TJwtPayload;
980
980
  };
981
981
  _input_in: {
982
982
  authorization?: string | undefined;
@@ -1002,9 +1002,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
1002
1002
  }>;
1003
1003
  _meta: object;
1004
1004
  _ctx_out: {
1005
+ user: import("../api-type/src/types/auth").TJwtPayload;
1005
1006
  req: import("http").IncomingMessage;
1006
1007
  res: import("http").ServerResponse<import("http").IncomingMessage>;
1007
- user: import("../api-type/src/types/auth").TJwtPayload;
1008
1008
  };
1009
1009
  _input_in: {
1010
1010
  authorization?: string | undefined;
@@ -1032,29 +1032,29 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
1032
1032
  }>;
1033
1033
  _meta: object;
1034
1034
  _ctx_out: {
1035
+ user: import("../api-type/src/types/auth").TJwtPayload;
1035
1036
  req: import("http").IncomingMessage;
1036
1037
  res: import("http").ServerResponse<import("http").IncomingMessage>;
1037
- user: import("../api-type/src/types/auth").TJwtPayload;
1038
1038
  };
1039
1039
  _input_in: {
1040
1040
  authorization?: string | undefined;
1041
1041
  limit: number;
1042
1042
  page: number;
1043
1043
  direction: "asc" | "desc";
1044
- orgWorkspaceId?: number | undefined;
1045
- status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
1046
1044
  type?: "league" | "pickup" | "free_agent" | undefined;
1047
1045
  search?: string | undefined;
1046
+ status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
1047
+ orgWorkspaceId?: number | undefined;
1048
1048
  };
1049
1049
  _input_out: {
1050
1050
  authorization?: string | undefined;
1051
1051
  limit: number;
1052
1052
  page: number;
1053
1053
  direction: "asc" | "desc";
1054
- orgWorkspaceId?: number | undefined;
1055
- status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
1056
1054
  type?: "league" | "pickup" | "free_agent" | undefined;
1057
1055
  search?: string | undefined;
1056
+ status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
1057
+ orgWorkspaceId?: number | undefined;
1058
1058
  };
1059
1059
  _output_in: typeof import("@trpc/server").unsetMarker;
1060
1060
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1075,9 +1075,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
1075
1075
  }>;
1076
1076
  _meta: object;
1077
1077
  _ctx_out: {
1078
+ user: import("../api-type/src/types/auth").TJwtPayload;
1078
1079
  req: import("http").IncomingMessage;
1079
1080
  res: import("http").ServerResponse<import("http").IncomingMessage>;
1080
- user: import("../api-type/src/types/auth").TJwtPayload;
1081
1081
  };
1082
1082
  _input_in: {
1083
1083
  authorization?: string | undefined;
@@ -1143,19 +1143,19 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
1143
1143
  }>;
1144
1144
  _meta: object;
1145
1145
  _ctx_out: {
1146
+ user: import("../api-type/src/types/auth").TJwtPayload;
1146
1147
  req: import("http").IncomingMessage;
1147
1148
  res: import("http").ServerResponse<import("http").IncomingMessage>;
1148
- user: import("../api-type/src/types/auth").TJwtPayload;
1149
1149
  };
1150
1150
  _input_in: {
1151
1151
  authorization?: string | undefined;
1152
- amount: number;
1153
1152
  transactionId: number;
1153
+ amount: number;
1154
1154
  };
1155
1155
  _input_out: {
1156
1156
  authorization?: string | undefined;
1157
- amount: number;
1158
1157
  transactionId: number;
1158
+ amount: number;
1159
1159
  };
1160
1160
  _output_in: typeof import("@trpc/server").unsetMarker;
1161
1161
  _output_out: typeof import("@trpc/server").unsetMarker;
@@ -1171,29 +1171,29 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
1171
1171
  }>;
1172
1172
  _meta: object;
1173
1173
  _ctx_out: {
1174
+ user: import("../api-type/src/types/auth").TJwtPayload;
1174
1175
  req: import("http").IncomingMessage;
1175
1176
  res: import("http").ServerResponse<import("http").IncomingMessage>;
1176
- user: import("../api-type/src/types/auth").TJwtPayload;
1177
1177
  };
1178
1178
  _input_in: {
1179
1179
  authorization?: string | undefined;
1180
1180
  limit: number;
1181
1181
  page: number;
1182
1182
  direction: "asc" | "desc";
1183
- orgWorkspaceId?: number | undefined;
1184
- status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
1185
1183
  type?: "league" | "pickup" | "free_agent" | undefined;
1186
1184
  search?: string | undefined;
1185
+ status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
1186
+ orgWorkspaceId?: number | undefined;
1187
1187
  };
1188
1188
  _input_out: {
1189
1189
  authorization?: string | undefined;
1190
1190
  limit: number;
1191
1191
  page: number;
1192
1192
  direction: "asc" | "desc";
1193
- orgWorkspaceId?: number | undefined;
1194
- status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
1195
1193
  type?: "league" | "pickup" | "free_agent" | undefined;
1196
1194
  search?: string | undefined;
1195
+ status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
1196
+ orgWorkspaceId?: number | undefined;
1197
1197
  };
1198
1198
  _output_in: typeof import("@trpc/server").unsetMarker;
1199
1199
  _output_out: typeof import("@trpc/server").unsetMarker;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bantr-api-client",
3
- "version": "1.6.0",
3
+ "version": "11.0.2",
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",
package/tsconfig.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "skipLibCheck": true
18
18
  },
19
19
  "include": ["src/**/*"],
20
- "exclude": ["node_modules", "dist", "api-type"]
20
+ "exclude": ["node_modules", "dist"]
21
21
  }