bantr-api-client 11.0.5 → 12.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-type/src/trpcRouter/discount_code.router.d.ts +7 -7
- package/api-type/src/trpcRouter/free_agent_payments.router.d.ts +26 -24
- package/api-type/src/trpcRouter/league_payments.router.d.ts +16 -16
- package/api-type/src/trpcRouter/oauth.router.d.ts +1 -1
- package/api-type/src/trpcRouter/organization.router.d.ts +2 -2
- package/api-type/src/trpcRouter/pickup_payments.router.d.ts +2 -2
- package/api-type/src/trpcRouter/router.d.ts +296 -144
- package/api-type/src/trpcRouter/team.d.ts +80 -6
- package/api-type/src/trpcRouter/transaction.router.d.ts +14 -14
- package/dist/{index.d.ts → src/index.d.ts} +552 -326
- package/dist/src/index.js.map +1 -0
- package/dist/{provider.d.ts → src/provider.d.ts} +368 -216
- package/dist/{provider.js → src/provider.js} +2 -2
- package/dist/src/provider.js.map +1 -0
- package/dist/{query.d.ts → src/query.d.ts} +184 -110
- package/dist/src/query.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +23 -7
- package/api-type/src/models/assists.d.ts +0 -7
- package/api-type/src/models/base_league.d.ts +0 -45
- package/api-type/src/models/block.d.ts +0 -27
- package/api-type/src/models/chat.d.ts +0 -37
- package/api-type/src/models/chat_members.d.ts +0 -36
- package/api-type/src/models/clap.d.ts +0 -38
- package/api-type/src/models/comment.d.ts +0 -46
- package/api-type/src/models/demo_leads.d.ts +0 -64
- package/api-type/src/models/direct_message.d.ts +0 -34
- package/api-type/src/models/dynamic_group.d.ts +0 -42
- package/api-type/src/models/dynamic_season_league_template.d.ts +0 -120
- package/api-type/src/models/dynamic_stage.d.ts +0 -52
- package/api-type/src/models/dynamic_stage_template.d.ts +0 -50
- package/api-type/src/models/emoji.d.ts +0 -31
- package/api-type/src/models/emoji_media_mapper.d.ts +0 -38
- package/api-type/src/models/event.d.ts +0 -133
- package/api-type/src/models/free_agent_payment.d.ts +0 -108
- package/api-type/src/models/game_stat_model.d.ts +0 -55
- package/api-type/src/models/goals.d.ts +0 -7
- package/api-type/src/models/hooks/chat_member.d.ts +0 -4
- package/api-type/src/models/hooks/event.d.ts +0 -6
- package/api-type/src/models/hooks/league_schedule.d.ts +0 -3
- package/api-type/src/models/hooks/pickup_group_member.d.ts +0 -4
- package/api-type/src/models/hooks/schedule_events.d.ts +0 -2
- package/api-type/src/models/hooks/team_roster.d.ts +0 -4
- package/api-type/src/models/invite.d.ts +0 -108
- package/api-type/src/models/job.d.ts +0 -33
- package/api-type/src/models/job_type.d.ts +0 -26
- package/api-type/src/models/last_seen_team_message.d.ts +0 -31
- package/api-type/src/models/league.d.ts +0 -175
- package/api-type/src/models/league_group_teams.d.ts +0 -38
- package/api-type/src/models/league_media.d.ts +0 -57
- package/api-type/src/models/league_payment.d.ts +0 -93
- package/api-type/src/models/league_price.d.ts +0 -52
- package/api-type/src/models/league_registration.d.ts +0 -41
- package/api-type/src/models/league_schedule.d.ts +0 -116
- package/api-type/src/models/league_schedule_referee.d.ts +0 -29
- package/api-type/src/models/league_standing.d.ts +0 -83
- package/api-type/src/models/league_stripe.d.ts +0 -23
- package/api-type/src/models/league_teams.d.ts +0 -34
- package/api-type/src/models/league_template.d.ts +0 -35
- package/api-type/src/models/league_waitlist.d.ts +0 -39
- package/api-type/src/models/market_post.d.ts +0 -91
- package/api-type/src/models/match_cards.d.ts +0 -42
- package/api-type/src/models/match_notes.d.ts +0 -49
- package/api-type/src/models/member.d.ts +0 -138
- package/api-type/src/models/member_hidden_comment.d.ts +0 -31
- package/api-type/src/models/member_hidden_message.d.ts +0 -48
- package/api-type/src/models/member_muted_chat.d.ts +0 -38
- package/api-type/src/models/member_muted_event.d.ts +0 -25
- package/api-type/src/models/member_organizations.d.ts +0 -65
- package/api-type/src/models/member_stripe.d.ts +0 -23
- package/api-type/src/models/message.d.ts +0 -34
- package/api-type/src/models/mvp_votes.d.ts +0 -42
- package/api-type/src/models/notification.d.ts +0 -46
- package/api-type/src/models/oauth.d.ts +0 -49
- package/api-type/src/models/organization.d.ts +0 -68
- package/api-type/src/models/organization_free_agent.d.ts +0 -70
- package/api-type/src/models/organization_free_agent_price.d.ts +0 -37
- package/api-type/src/models/organization_leagues.d.ts +0 -23
- package/api-type/src/models/organization_learn_more.d.ts +0 -75
- package/api-type/src/models/organization_stripe.d.ts +0 -68
- package/api-type/src/models/organization_waivers.d.ts +0 -59
- package/api-type/src/models/organization_workspace.d.ts +0 -76
- package/api-type/src/models/organizer.d.ts +0 -70
- package/api-type/src/models/organizer_roles.d.ts +0 -26
- package/api-type/src/models/pickup.d.ts +0 -163
- package/api-type/src/models/pickup_config.d.ts +0 -34
- package/api-type/src/models/pickup_group.d.ts +0 -83
- package/api-type/src/models/pickup_group_members.d.ts +0 -42
- package/api-type/src/models/pickup_payments.d.ts +0 -79
- package/api-type/src/models/pickup_price.d.ts +0 -41
- package/api-type/src/models/pickup_registration.d.ts +0 -38
- package/api-type/src/models/pickup_roster.d.ts +0 -41
- package/api-type/src/models/pickup_stripe.d.ts +0 -23
- package/api-type/src/models/pickup_waitlist.d.ts +0 -33
- package/api-type/src/models/post.d.ts +0 -66
- package/api-type/src/models/referee_note.d.ts +0 -35
- package/api-type/src/models/referee_organization.d.ts +0 -29
- package/api-type/src/models/referees.d.ts +0 -63
- package/api-type/src/models/refresh_token.d.ts +0 -39
- package/api-type/src/models/refund.d.ts +0 -57
- package/api-type/src/models/report.d.ts +0 -32
- package/api-type/src/models/reported_comment.d.ts +0 -28
- package/api-type/src/models/reported_event.d.ts +0 -28
- package/api-type/src/models/reported_message.d.ts +0 -28
- package/api-type/src/models/reported_player.d.ts +0 -28
- package/api-type/src/models/role.d.ts +0 -44
- package/api-type/src/models/rsvp.d.ts +0 -47
- package/api-type/src/models/schedule_event.d.ts +0 -59
- package/api-type/src/models/season.d.ts +0 -48
- package/api-type/src/models/season_league_template.d.ts +0 -126
- package/api-type/src/models/setting.d.ts +0 -24
- package/api-type/src/models/signed_member_waivers.d.ts +0 -59
- package/api-type/src/models/stripe_balance.d.ts +0 -59
- package/api-type/src/models/stripe_transaction.d.ts +0 -65
- package/api-type/src/models/stripe_transfer.d.ts +0 -59
- package/api-type/src/models/stripe_webhook.d.ts +0 -26
- package/api-type/src/models/support.d.ts +0 -39
- package/api-type/src/models/team.d.ts +0 -97
- package/api-type/src/models/team_league_season_roster.d.ts +0 -42
- package/api-type/src/models/team_members.d.ts +0 -43
- package/api-type/src/models/team_message.d.ts +0 -33
- package/api-type/src/models/team_roster.d.ts +0 -71
- package/api-type/src/models/transaction.d.ts +0 -155
- package/api-type/src/models/transaction_event.d.ts +0 -49
- package/api-type/src/models/utils/chat.d.ts +0 -6
- package/api-type/src/models/utils/league.d.ts +0 -2
- package/api-type/src/models/utils/organization.d.ts +0 -1
- package/api-type/src/models/utils/team.d.ts +0 -2
- package/dist/index.js.map +0 -1
- package/dist/provider.js.map +0 -1
- package/dist/query.js.map +0 -1
- package/tsconfig.json +0 -22
- /package/dist/{index.js → src/index.js} +0 -0
- /package/dist/{query.js → src/query.js} +0 -0
@@ -22,9 +22,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
22
22
|
}>;
|
23
23
|
_meta: object;
|
24
24
|
_ctx_out: {
|
25
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
26
25
|
req: import("http").IncomingMessage;
|
27
26
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
27
|
+
user: import("../types/auth").TJwtPayload;
|
28
28
|
};
|
29
29
|
_input_in: {
|
30
30
|
authorization?: string | undefined;
|
@@ -36,7 +36,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
36
36
|
};
|
37
37
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
38
38
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
39
|
-
}, import("../
|
39
|
+
}, import("../modules/discount_code/discount_code.model").DiscountCode>;
|
40
40
|
list: import("@trpc/server").BuildProcedure<"query", {
|
41
41
|
_config: import("@trpc/server").RootConfig<{
|
42
42
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -46,9 +46,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
46
46
|
}>;
|
47
47
|
_meta: object;
|
48
48
|
_ctx_out: {
|
49
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
50
49
|
req: import("http").IncomingMessage;
|
51
50
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
51
|
+
user: import("../types/auth").TJwtPayload;
|
52
52
|
};
|
53
53
|
_input_in: {
|
54
54
|
authorization?: string | undefined;
|
@@ -71,7 +71,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
71
71
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
72
72
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
73
73
|
}, {
|
74
|
-
items: import("objection").Page<import("../
|
74
|
+
items: import("objection").Page<import("../modules/discount_code/discount_code.model").DiscountCode>;
|
75
75
|
nextCursor: number | undefined;
|
76
76
|
}>;
|
77
77
|
create: import("@trpc/server").BuildProcedure<"mutation", {
|
@@ -83,9 +83,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
83
83
|
}>;
|
84
84
|
_meta: object;
|
85
85
|
_ctx_out: {
|
86
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
87
86
|
req: import("http").IncomingMessage;
|
88
87
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
88
|
+
user: import("../types/auth").TJwtPayload;
|
89
89
|
};
|
90
90
|
_input_in: {
|
91
91
|
authorization?: string | undefined;
|
@@ -125,9 +125,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
125
125
|
}>;
|
126
126
|
_meta: object;
|
127
127
|
_ctx_out: {
|
128
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
129
128
|
req: import("http").IncomingMessage;
|
130
129
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
130
|
+
user: import("../types/auth").TJwtPayload;
|
131
131
|
};
|
132
132
|
_input_in: {
|
133
133
|
authorization?: string | undefined;
|
@@ -169,9 +169,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
169
169
|
}>;
|
170
170
|
_meta: object;
|
171
171
|
_ctx_out: {
|
172
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
173
172
|
req: import("http").IncomingMessage;
|
174
173
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
174
|
+
user: import("../types/auth").TJwtPayload;
|
175
175
|
};
|
176
176
|
_input_in: {
|
177
177
|
authorization?: string | undefined;
|
@@ -212,16 +212,16 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
212
212
|
code: string;
|
213
213
|
amountType: "flat-rate" | "percentage";
|
214
214
|
amountValue: number;
|
215
|
-
reducedValue: number;
|
216
215
|
newValue: number;
|
216
|
+
reducedValue: number;
|
217
217
|
};
|
218
218
|
_output_out: {
|
219
219
|
description: string;
|
220
220
|
code: string;
|
221
221
|
amountType: "flat-rate" | "percentage";
|
222
222
|
amountValue: number;
|
223
|
-
reducedValue: number;
|
224
223
|
newValue: number;
|
224
|
+
reducedValue: number;
|
225
225
|
};
|
226
226
|
}, unknown>;
|
227
227
|
}>;
|
@@ -240,9 +240,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
240
240
|
}>;
|
241
241
|
_meta: object;
|
242
242
|
_ctx_out: {
|
243
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
244
243
|
req: import("http").IncomingMessage;
|
245
244
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
245
|
+
user: import("../types/auth").TJwtPayload;
|
246
246
|
};
|
247
247
|
_input_in: {
|
248
248
|
authorization?: string | undefined;
|
@@ -250,8 +250,8 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
250
250
|
freeAgentId: number;
|
251
251
|
leagueId?: number | undefined;
|
252
252
|
code?: string | undefined;
|
253
|
-
paymentMode?: "session" | "intent" | undefined;
|
254
253
|
cancelPath?: string | undefined;
|
254
|
+
paymentMode?: "session" | "intent" | undefined;
|
255
255
|
};
|
256
256
|
_input_out: {
|
257
257
|
authorization?: string | undefined;
|
@@ -265,30 +265,32 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
265
265
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
266
266
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
267
267
|
}, {
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
orgPublishableKey
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
discountAndFee: {
|
277
|
-
discountApplied: number;
|
278
|
-
discountedAmount: number;
|
279
|
-
priceAmount: number;
|
280
|
-
otherTaxLabel: string;
|
281
|
-
otherTaxPercent: number;
|
282
|
-
otherTax: number;
|
283
|
-
bantrTax: number;
|
284
|
-
stripeTax: number;
|
285
|
-
totalTax: number;
|
286
|
-
totalWithTax: number;
|
287
|
-
transferAmount: number;
|
288
|
-
};
|
289
|
-
};
|
268
|
+
registeredToFreeAgent: boolean;
|
269
|
+
redirectUrl?: undefined;
|
270
|
+
customerId?: undefined;
|
271
|
+
ephemeralKey?: undefined;
|
272
|
+
orgPublishableKey?: undefined;
|
273
|
+
paymentIntentId?: undefined;
|
274
|
+
orgStripeAccountId?: undefined;
|
275
|
+
paymentIntentClientSecret?: undefined;
|
290
276
|
} | {
|
277
|
+
registeredToFreeAgent: boolean;
|
291
278
|
redirectUrl: string;
|
279
|
+
customerId?: undefined;
|
280
|
+
ephemeralKey?: undefined;
|
281
|
+
orgPublishableKey?: undefined;
|
282
|
+
paymentIntentId?: undefined;
|
283
|
+
orgStripeAccountId?: undefined;
|
284
|
+
paymentIntentClientSecret?: undefined;
|
285
|
+
} | {
|
286
|
+
customerId: string;
|
287
|
+
ephemeralKey: string | undefined;
|
288
|
+
orgPublishableKey: string | undefined;
|
289
|
+
paymentIntentId: string;
|
290
|
+
orgStripeAccountId: string | undefined;
|
291
|
+
paymentIntentClientSecret: string;
|
292
|
+
registeredToFreeAgent: boolean;
|
293
|
+
redirectUrl?: undefined;
|
292
294
|
}>;
|
293
295
|
}>;
|
294
296
|
leaguePayments: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
@@ -306,9 +308,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
306
308
|
}>;
|
307
309
|
_meta: object;
|
308
310
|
_ctx_out: {
|
309
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
310
311
|
req: import("http").IncomingMessage;
|
311
312
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
313
|
+
user: import("../types/auth").TJwtPayload;
|
312
314
|
};
|
313
315
|
_input_in: {
|
314
316
|
authorization?: string | undefined;
|
@@ -321,43 +323,43 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
321
323
|
leagueId: number;
|
322
324
|
};
|
323
325
|
_output_in: {
|
326
|
+
memberId: number;
|
324
327
|
id: number;
|
325
|
-
deletedAt: Date | null;
|
326
328
|
member: {
|
327
329
|
id: number;
|
328
330
|
firstName: string | null;
|
329
331
|
lastName: string | null;
|
330
332
|
email: string;
|
331
333
|
};
|
332
|
-
|
334
|
+
deletedAt: Date | null;
|
333
335
|
totalPaid: number;
|
334
336
|
payments: {
|
335
337
|
id: number;
|
336
338
|
createdAt: string | Date;
|
339
|
+
price: number;
|
337
340
|
payerId: number;
|
338
341
|
amountApplied: number | null;
|
339
342
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
340
|
-
price: number;
|
341
343
|
}[];
|
342
344
|
}[];
|
343
345
|
_output_out: {
|
346
|
+
memberId: number;
|
344
347
|
id: number;
|
345
|
-
deletedAt: Date | null;
|
346
348
|
member: {
|
347
349
|
id: number;
|
348
350
|
firstName: string | null;
|
349
351
|
lastName: string | null;
|
350
352
|
email: string;
|
351
353
|
};
|
352
|
-
|
354
|
+
deletedAt: Date | null;
|
353
355
|
totalPaid: number;
|
354
356
|
payments: {
|
355
357
|
id: number;
|
356
358
|
createdAt: string | Date;
|
359
|
+
price: number;
|
357
360
|
payerId: number;
|
358
361
|
amountApplied: number | null;
|
359
362
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
360
|
-
price: number;
|
361
363
|
}[];
|
362
364
|
}[];
|
363
365
|
}, unknown>;
|
@@ -370,23 +372,23 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
370
372
|
}>;
|
371
373
|
_meta: object;
|
372
374
|
_ctx_out: {
|
373
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
374
375
|
req: import("http").IncomingMessage;
|
375
376
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
377
|
+
user: import("../types/auth").TJwtPayload;
|
376
378
|
};
|
377
379
|
_input_in: {
|
378
380
|
authorization?: string | undefined;
|
379
381
|
leagueId: number;
|
380
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
381
382
|
price: number;
|
382
383
|
teamRosterId: number;
|
384
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
383
385
|
};
|
384
386
|
_input_out: {
|
385
387
|
authorization?: string | undefined;
|
386
388
|
leagueId: number;
|
387
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
388
389
|
price: number;
|
389
390
|
teamRosterId: number;
|
391
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
390
392
|
};
|
391
393
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
392
394
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -400,23 +402,23 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
400
402
|
}>;
|
401
403
|
_meta: object;
|
402
404
|
_ctx_out: {
|
403
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
404
405
|
req: import("http").IncomingMessage;
|
405
406
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
407
|
+
user: import("../types/auth").TJwtPayload;
|
406
408
|
};
|
407
409
|
_input_in: {
|
408
410
|
authorization?: string | undefined;
|
409
411
|
id: number;
|
410
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
411
412
|
price: number;
|
412
413
|
teamRosterId: number;
|
414
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
413
415
|
};
|
414
416
|
_input_out: {
|
415
417
|
authorization?: string | undefined;
|
416
418
|
id: number;
|
417
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
418
419
|
price: number;
|
419
420
|
teamRosterId: number;
|
421
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
420
422
|
};
|
421
423
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
422
424
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -430,9 +432,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
430
432
|
}>;
|
431
433
|
_meta: object;
|
432
434
|
_ctx_out: {
|
433
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
434
435
|
req: import("http").IncomingMessage;
|
435
436
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
437
|
+
user: import("../types/auth").TJwtPayload;
|
436
438
|
};
|
437
439
|
_input_in: {
|
438
440
|
authorization?: string | undefined;
|
@@ -454,9 +456,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
454
456
|
}>;
|
455
457
|
_meta: object;
|
456
458
|
_ctx_out: {
|
457
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
458
459
|
req: import("http").IncomingMessage;
|
459
460
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
461
|
+
user: import("../types/auth").TJwtPayload;
|
460
462
|
};
|
461
463
|
_input_in: {
|
462
464
|
authorization?: string | undefined;
|
@@ -464,8 +466,8 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
464
466
|
leagueId: number;
|
465
467
|
paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
|
466
468
|
code?: string | undefined;
|
467
|
-
paymentMode?: "session" | "intent" | undefined;
|
468
469
|
paymentAmount?: number | undefined;
|
470
|
+
paymentMode?: "session" | "intent" | undefined;
|
469
471
|
};
|
470
472
|
_input_out: {
|
471
473
|
authorization?: string | undefined;
|
@@ -540,14 +542,14 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
540
542
|
refreshToken: string;
|
541
543
|
accountStatus: string;
|
542
544
|
redirectTeamId?: number | null;
|
543
|
-
authSchemas: import("../
|
545
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
544
546
|
memberId: number;
|
545
547
|
bio: string | null;
|
546
548
|
city?: string;
|
547
549
|
street?: string;
|
548
550
|
state?: string;
|
549
551
|
avatar: string | null;
|
550
|
-
teams: import("../
|
552
|
+
teams: import("../models/team").Team[];
|
551
553
|
favoriteTeam: number | undefined | null;
|
552
554
|
zip: string | undefined;
|
553
555
|
phoneNumber: string | null;
|
@@ -612,14 +614,14 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
612
614
|
refreshToken: string;
|
613
615
|
accountStatus: string;
|
614
616
|
redirectTeamId?: number | null;
|
615
|
-
authSchemas: import("../
|
617
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
616
618
|
memberId: number;
|
617
619
|
bio: string | null;
|
618
620
|
city?: string;
|
619
621
|
street?: string;
|
620
622
|
state?: string;
|
621
623
|
avatar: string | null;
|
622
|
-
teams: import("../
|
624
|
+
teams: import("../models/team").Team[];
|
623
625
|
favoriteTeam: number | undefined | null;
|
624
626
|
zip: string | undefined;
|
625
627
|
phoneNumber: string | null;
|
@@ -639,9 +641,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
639
641
|
}>;
|
640
642
|
_meta: object;
|
641
643
|
_ctx_out: {
|
642
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
643
644
|
req: import("http").IncomingMessage;
|
644
645
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
646
|
+
user: import("../types/auth").TJwtPayload;
|
645
647
|
};
|
646
648
|
_input_in: {
|
647
649
|
authorization?: string | undefined;
|
@@ -653,7 +655,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
653
655
|
};
|
654
656
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
655
657
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
656
|
-
}, import("../
|
658
|
+
}, import("../types/auth").MemberAuthResponse>;
|
657
659
|
}>;
|
658
660
|
organization: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
659
661
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -670,9 +672,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
670
672
|
}>;
|
671
673
|
_meta: object;
|
672
674
|
_ctx_out: {
|
673
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
674
675
|
req: import("http").IncomingMessage;
|
675
676
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
677
|
+
user: import("../types/auth").TJwtPayload;
|
676
678
|
};
|
677
679
|
_input_in: {
|
678
680
|
authorization?: string | undefined;
|
@@ -683,12 +685,12 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
683
685
|
workspaceId?: number | undefined;
|
684
686
|
};
|
685
687
|
_output_in: {
|
686
|
-
technologyFeeMode: import("../
|
688
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
687
689
|
extraTechnologyFeePercent: number;
|
688
690
|
extraTechnologyFeeLabel: string | null;
|
689
691
|
};
|
690
692
|
_output_out: {
|
691
|
-
technologyFeeMode: import("../
|
693
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
692
694
|
extraTechnologyFeePercent: number;
|
693
695
|
extraTechnologyFeeLabel: string | null;
|
694
696
|
};
|
@@ -702,20 +704,20 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
702
704
|
}>;
|
703
705
|
_meta: object;
|
704
706
|
_ctx_out: {
|
705
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
706
707
|
req: import("http").IncomingMessage;
|
707
708
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
709
|
+
user: import("../types/auth").TJwtPayload;
|
708
710
|
};
|
709
711
|
_input_in: {
|
710
712
|
authorization?: string | undefined;
|
711
|
-
technologyFeeMode: import("../
|
713
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
712
714
|
extraTechnologyFeePercent: number;
|
713
715
|
extraTechnologyFeeLabel: string | null;
|
714
716
|
workspaceId?: number | undefined;
|
715
717
|
};
|
716
718
|
_input_out: {
|
717
719
|
authorization?: string | undefined;
|
718
|
-
technologyFeeMode: import("../
|
720
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
719
721
|
extraTechnologyFeePercent: number;
|
720
722
|
extraTechnologyFeeLabel: string | null;
|
721
723
|
workspaceId?: number | undefined;
|
@@ -739,17 +741,17 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
739
741
|
}>;
|
740
742
|
_meta: object;
|
741
743
|
_ctx_out: {
|
742
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
743
744
|
req: import("http").IncomingMessage;
|
744
745
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
746
|
+
user: import("../types/auth").TJwtPayload;
|
745
747
|
};
|
746
748
|
_input_in: {
|
747
749
|
authorization?: string | undefined;
|
748
750
|
memberId: number;
|
749
751
|
pickupId: number;
|
750
752
|
code?: string | undefined;
|
751
|
-
paymentMode?: "session" | "intent" | undefined;
|
752
753
|
cancelPath?: string | undefined;
|
754
|
+
paymentMode?: "session" | "intent" | undefined;
|
753
755
|
};
|
754
756
|
_input_out: {
|
755
757
|
authorization?: string | undefined;
|
@@ -831,9 +833,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
831
833
|
}>;
|
832
834
|
_meta: object;
|
833
835
|
_ctx_out: {
|
834
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
835
836
|
req: import("http").IncomingMessage;
|
836
837
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
838
|
+
user: import("../types/auth").TJwtPayload;
|
837
839
|
};
|
838
840
|
_input_in: {
|
839
841
|
authorization?: string | undefined;
|
@@ -845,9 +847,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
845
847
|
};
|
846
848
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
847
849
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
848
|
-
}, (import("../
|
849
|
-
member: Pick<import("../
|
850
|
-
invites: Pick<import("../
|
850
|
+
}, (import("../models/team_roster").TeamRoster & {
|
851
|
+
member: Pick<import("../models/member").Member, "id" | "firstName" | "lastName" | "avatar" | "email" | "accountStatus">;
|
852
|
+
invites: Pick<import("../models/invite").Invite, "isActive">[];
|
851
853
|
})[]>;
|
852
854
|
getInvitedByOrganization: import("@trpc/server").BuildProcedure<"query", {
|
853
855
|
_config: import("@trpc/server").RootConfig<{
|
@@ -858,9 +860,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
858
860
|
}>;
|
859
861
|
_meta: object;
|
860
862
|
_ctx_out: {
|
861
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
862
863
|
req: import("http").IncomingMessage;
|
863
864
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
865
|
+
user: import("../types/auth").TJwtPayload;
|
864
866
|
};
|
865
867
|
_input_in: {
|
866
868
|
authorization?: string | undefined;
|
@@ -874,9 +876,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
874
876
|
};
|
875
877
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
876
878
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
877
|
-
}, (import("../
|
878
|
-
member: Pick<import("../
|
879
|
-
invites: Pick<import("../
|
879
|
+
}, (import("../models/team_roster").TeamRoster & {
|
880
|
+
member: Pick<import("../models/member").Member, "id" | "firstName" | "lastName" | "avatar" | "email" | "accountStatus">;
|
881
|
+
invites: Pick<import("../models/invite").Invite, "isActive">[];
|
880
882
|
})[]>;
|
881
883
|
createInviteByCaptain: import("@trpc/server").BuildProcedure<"mutation", {
|
882
884
|
_config: import("@trpc/server").RootConfig<{
|
@@ -887,9 +889,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
887
889
|
}>;
|
888
890
|
_meta: object;
|
889
891
|
_ctx_out: {
|
890
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
891
892
|
req: import("http").IncomingMessage;
|
892
893
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
894
|
+
user: import("../types/auth").TJwtPayload;
|
893
895
|
};
|
894
896
|
_input_in: {
|
895
897
|
authorization?: string | undefined;
|
@@ -925,9 +927,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
925
927
|
}>;
|
926
928
|
_meta: object;
|
927
929
|
_ctx_out: {
|
928
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
929
930
|
req: import("http").IncomingMessage;
|
930
931
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
932
|
+
user: import("../types/auth").TJwtPayload;
|
931
933
|
};
|
932
934
|
_input_in: {
|
933
935
|
authorization?: string | undefined;
|
@@ -963,9 +965,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
963
965
|
}>;
|
964
966
|
_meta: object;
|
965
967
|
_ctx_out: {
|
966
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
967
968
|
req: import("http").IncomingMessage;
|
968
969
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
970
|
+
user: import("../types/auth").TJwtPayload;
|
969
971
|
};
|
970
972
|
_input_in: {
|
971
973
|
authorization?: string | undefined;
|
@@ -989,9 +991,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
989
991
|
}>;
|
990
992
|
_meta: object;
|
991
993
|
_ctx_out: {
|
992
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
993
994
|
req: import("http").IncomingMessage;
|
994
995
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
996
|
+
user: import("../types/auth").TJwtPayload;
|
995
997
|
};
|
996
998
|
_input_in: {
|
997
999
|
authorization?: string | undefined;
|
@@ -1006,6 +1008,80 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1006
1008
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1007
1009
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1008
1010
|
}, void>;
|
1011
|
+
updateBulkShirtNumbers: import("@trpc/server").BuildProcedure<"mutation", {
|
1012
|
+
_config: import("@trpc/server").RootConfig<{
|
1013
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
1014
|
+
meta: object;
|
1015
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
1016
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
1017
|
+
}>;
|
1018
|
+
_meta: object;
|
1019
|
+
_ctx_out: {
|
1020
|
+
req: import("http").IncomingMessage;
|
1021
|
+
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1022
|
+
user: import("../types/auth").TJwtPayload;
|
1023
|
+
};
|
1024
|
+
_input_in: {
|
1025
|
+
authorization?: string | undefined;
|
1026
|
+
teamId: number;
|
1027
|
+
leagueId: number;
|
1028
|
+
updates: {
|
1029
|
+
memberId: number;
|
1030
|
+
shirtNumber?: string | undefined;
|
1031
|
+
}[];
|
1032
|
+
};
|
1033
|
+
_input_out: {
|
1034
|
+
authorization?: string | undefined;
|
1035
|
+
teamId: number;
|
1036
|
+
leagueId: number;
|
1037
|
+
updates: {
|
1038
|
+
memberId: number;
|
1039
|
+
shirtNumber?: string | undefined;
|
1040
|
+
}[];
|
1041
|
+
};
|
1042
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
1043
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
1044
|
+
}, {
|
1045
|
+
memberId: number;
|
1046
|
+
shirtNumber?: string | undefined;
|
1047
|
+
}[]>;
|
1048
|
+
updateBulkShirtNumbersByCaptain: import("@trpc/server").BuildProcedure<"mutation", {
|
1049
|
+
_config: import("@trpc/server").RootConfig<{
|
1050
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
1051
|
+
meta: object;
|
1052
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
1053
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
1054
|
+
}>;
|
1055
|
+
_meta: object;
|
1056
|
+
_ctx_out: {
|
1057
|
+
req: import("http").IncomingMessage;
|
1058
|
+
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1059
|
+
user: import("../types/auth").TJwtPayload;
|
1060
|
+
};
|
1061
|
+
_input_in: {
|
1062
|
+
authorization?: string | undefined;
|
1063
|
+
teamId: number;
|
1064
|
+
leagueId: number;
|
1065
|
+
updates: {
|
1066
|
+
memberId: number;
|
1067
|
+
shirtNumber?: string | undefined;
|
1068
|
+
}[];
|
1069
|
+
};
|
1070
|
+
_input_out: {
|
1071
|
+
authorization?: string | undefined;
|
1072
|
+
teamId: number;
|
1073
|
+
leagueId: number;
|
1074
|
+
updates: {
|
1075
|
+
memberId: number;
|
1076
|
+
shirtNumber?: string | undefined;
|
1077
|
+
}[];
|
1078
|
+
};
|
1079
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
1080
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
1081
|
+
}, {
|
1082
|
+
memberId: number;
|
1083
|
+
shirtNumber?: string | undefined;
|
1084
|
+
}[]>;
|
1009
1085
|
}>;
|
1010
1086
|
transaction: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
1011
1087
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -1022,34 +1098,34 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1022
1098
|
}>;
|
1023
1099
|
_meta: object;
|
1024
1100
|
_ctx_out: {
|
1025
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1026
1101
|
req: import("http").IncomingMessage;
|
1027
1102
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1103
|
+
user: import("../types/auth").TJwtPayload;
|
1028
1104
|
};
|
1029
1105
|
_input_in: {
|
1030
1106
|
authorization?: string | undefined;
|
1031
1107
|
limit: number;
|
1032
1108
|
page: number;
|
1033
1109
|
direction: "asc" | "desc";
|
1110
|
+
orgWorkspaceId?: number | undefined;
|
1111
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1034
1112
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1035
1113
|
search?: string | undefined;
|
1036
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1037
|
-
orgWorkspaceId?: number | undefined;
|
1038
1114
|
};
|
1039
1115
|
_input_out: {
|
1040
1116
|
authorization?: string | undefined;
|
1041
1117
|
limit: number;
|
1042
1118
|
page: number;
|
1043
1119
|
direction: "asc" | "desc";
|
1120
|
+
orgWorkspaceId?: number | undefined;
|
1121
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1044
1122
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1045
1123
|
search?: string | undefined;
|
1046
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1047
|
-
orgWorkspaceId?: number | undefined;
|
1048
1124
|
};
|
1049
1125
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1050
1126
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1051
1127
|
}, {
|
1052
|
-
items: import("../
|
1128
|
+
items: import("../models/transaction").Transaction[];
|
1053
1129
|
curPage: number;
|
1054
1130
|
hasPrev: boolean;
|
1055
1131
|
hasNext: boolean;
|
@@ -1063,9 +1139,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1063
1139
|
}>;
|
1064
1140
|
_meta: object;
|
1065
1141
|
_ctx_out: {
|
1066
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1067
1142
|
req: import("http").IncomingMessage;
|
1068
1143
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1144
|
+
user: import("../types/auth").TJwtPayload;
|
1069
1145
|
};
|
1070
1146
|
_input_in: {
|
1071
1147
|
authorization?: string | undefined;
|
@@ -1078,13 +1154,13 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1078
1154
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1079
1155
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1080
1156
|
}, {
|
1081
|
-
stripeTransfers: import("../
|
1157
|
+
stripeTransfers: import("../models/stripe_transfer").StripeTransfer[];
|
1082
1158
|
id: number;
|
1083
1159
|
payerId: number;
|
1084
|
-
payer?: import("../
|
1085
|
-
paymentMethod: import("../
|
1160
|
+
payer?: import("../models/member").Member;
|
1161
|
+
paymentMethod: import("../modules/transaction/transaction.schema").TRANSACTION_METHOD_ENUM;
|
1086
1162
|
discountCodeId: number | null;
|
1087
|
-
discountCode?: import("../
|
1163
|
+
discountCode?: import("../modules/discount_code/discount_code.model").DiscountCode;
|
1088
1164
|
documentAmount: number;
|
1089
1165
|
discountedAmount: number;
|
1090
1166
|
organizerFee: number;
|
@@ -1095,30 +1171,30 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1095
1171
|
transferAmount: number;
|
1096
1172
|
refundedAmount: number;
|
1097
1173
|
transferSent: boolean;
|
1098
|
-
currency: import("../
|
1099
|
-
status: import("../
|
1174
|
+
currency: import("../constants").VALID_CURRENCY_CODES;
|
1175
|
+
status: import("../modules/transaction/transaction.schema").TRANSACTION_STATUS_ENUM;
|
1100
1176
|
expiresAt: Date | null;
|
1101
1177
|
lastStatusUpdateAt: Date | null;
|
1102
1178
|
leaguePaymentId: number | null;
|
1103
|
-
leaguePayment?: import("../
|
1104
|
-
league?: import("../
|
1179
|
+
leaguePayment?: import("../models/league_payment").LeaguePayment;
|
1180
|
+
league?: import("../models/league").League;
|
1105
1181
|
pickupPaymentId: number | null;
|
1106
|
-
pickupPayment?: import("../
|
1107
|
-
pickup?: import("../
|
1182
|
+
pickupPayment?: import("../models/pickup_payments").PickupPayment;
|
1183
|
+
pickup?: import("../models/pickup").Pickup;
|
1108
1184
|
freeAgentPaymentId: number | null;
|
1109
|
-
freeAgentPayment?: import("../
|
1110
|
-
orgFreeAgent?: import("../
|
1185
|
+
freeAgentPayment?: import("../models/free_agent_payment").FreeAgentPayment;
|
1186
|
+
orgFreeAgent?: import("../models/organization_free_agent").OrgFreeAgent;
|
1111
1187
|
organizationId: number;
|
1112
|
-
organization?: import("../
|
1188
|
+
organization?: import("../models/organization").Organization;
|
1113
1189
|
orgWorkspaceId: number | null;
|
1114
|
-
orgWorkspace?: import("../
|
1115
|
-
transactionEvents?: import("../
|
1116
|
-
stripeTransactions?: import("../
|
1190
|
+
orgWorkspace?: import("../models/organization_workspace").OrgWorkspace;
|
1191
|
+
transactionEvents?: import("../models/transaction_event").TransactionEvent[];
|
1192
|
+
stripeTransactions?: import("../models/stripe_transaction").StripeTransaction[];
|
1117
1193
|
updatedAt: Date;
|
1118
1194
|
createdAt: Date;
|
1119
1195
|
deletedAt: Date | null;
|
1120
|
-
QueryBuilderType: import("objection-js-soft-delete").SoftDeleteQueryBuilder<import("../
|
1121
|
-
$modelClass: import("objection").ModelClass<import("../
|
1196
|
+
QueryBuilderType: import("objection-js-soft-delete").SoftDeleteQueryBuilder<import("../models/transaction").Transaction, import("../models/transaction").Transaction[]> & import("objection").QueryBuilder<import("../models/transaction").Transaction, import("../models/transaction").Transaction[]>;
|
1197
|
+
$modelClass: import("objection").ModelClass<import("../models/transaction").Transaction>;
|
1122
1198
|
}>;
|
1123
1199
|
refund: import("@trpc/server").BuildProcedure<"mutation", {
|
1124
1200
|
_config: import("@trpc/server").RootConfig<{
|
@@ -1129,19 +1205,19 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1129
1205
|
}>;
|
1130
1206
|
_meta: object;
|
1131
1207
|
_ctx_out: {
|
1132
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1133
1208
|
req: import("http").IncomingMessage;
|
1134
1209
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1210
|
+
user: import("../types/auth").TJwtPayload;
|
1135
1211
|
};
|
1136
1212
|
_input_in: {
|
1137
1213
|
authorization?: string | undefined;
|
1138
|
-
transactionId: number;
|
1139
1214
|
amount: number;
|
1215
|
+
transactionId: number;
|
1140
1216
|
};
|
1141
1217
|
_input_out: {
|
1142
1218
|
authorization?: string | undefined;
|
1143
|
-
transactionId: number;
|
1144
1219
|
amount: number;
|
1220
|
+
transactionId: number;
|
1145
1221
|
};
|
1146
1222
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1147
1223
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -1155,29 +1231,29 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1155
1231
|
}>;
|
1156
1232
|
_meta: object;
|
1157
1233
|
_ctx_out: {
|
1158
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1159
1234
|
req: import("http").IncomingMessage;
|
1160
1235
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1236
|
+
user: import("../types/auth").TJwtPayload;
|
1161
1237
|
};
|
1162
1238
|
_input_in: {
|
1163
1239
|
authorization?: string | undefined;
|
1164
1240
|
limit: number;
|
1165
1241
|
page: number;
|
1166
1242
|
direction: "asc" | "desc";
|
1243
|
+
orgWorkspaceId?: number | undefined;
|
1244
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1167
1245
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1168
1246
|
search?: string | undefined;
|
1169
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1170
|
-
orgWorkspaceId?: number | undefined;
|
1171
1247
|
};
|
1172
1248
|
_input_out: {
|
1173
1249
|
authorization?: string | undefined;
|
1174
1250
|
limit: number;
|
1175
1251
|
page: number;
|
1176
1252
|
direction: "asc" | "desc";
|
1253
|
+
orgWorkspaceId?: number | undefined;
|
1254
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1177
1255
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1178
1256
|
search?: string | undefined;
|
1179
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1180
|
-
orgWorkspaceId?: number | undefined;
|
1181
1257
|
};
|
1182
1258
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1183
1259
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -1199,9 +1275,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1199
1275
|
}>;
|
1200
1276
|
_meta: object;
|
1201
1277
|
_ctx_out: {
|
1202
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1203
1278
|
req: import("http").IncomingMessage;
|
1204
1279
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1280
|
+
user: import("../types/auth").TJwtPayload;
|
1205
1281
|
};
|
1206
1282
|
_input_in: {
|
1207
1283
|
authorization?: string | undefined;
|
@@ -1213,7 +1289,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1213
1289
|
};
|
1214
1290
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1215
1291
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1216
|
-
}, import("../
|
1292
|
+
}, import("../modules/discount_code/discount_code.model").DiscountCode>;
|
1217
1293
|
list: import("@trpc/server").BuildProcedure<"query", {
|
1218
1294
|
_config: import("@trpc/server").RootConfig<{
|
1219
1295
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -1223,9 +1299,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1223
1299
|
}>;
|
1224
1300
|
_meta: object;
|
1225
1301
|
_ctx_out: {
|
1226
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1227
1302
|
req: import("http").IncomingMessage;
|
1228
1303
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1304
|
+
user: import("../types/auth").TJwtPayload;
|
1229
1305
|
};
|
1230
1306
|
_input_in: {
|
1231
1307
|
authorization?: string | undefined;
|
@@ -1248,7 +1324,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1248
1324
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1249
1325
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1250
1326
|
}, {
|
1251
|
-
items: import("objection").Page<import("../
|
1327
|
+
items: import("objection").Page<import("../modules/discount_code/discount_code.model").DiscountCode>;
|
1252
1328
|
nextCursor: number | undefined;
|
1253
1329
|
}>;
|
1254
1330
|
create: import("@trpc/server").BuildProcedure<"mutation", {
|
@@ -1260,9 +1336,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1260
1336
|
}>;
|
1261
1337
|
_meta: object;
|
1262
1338
|
_ctx_out: {
|
1263
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1264
1339
|
req: import("http").IncomingMessage;
|
1265
1340
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1341
|
+
user: import("../types/auth").TJwtPayload;
|
1266
1342
|
};
|
1267
1343
|
_input_in: {
|
1268
1344
|
authorization?: string | undefined;
|
@@ -1302,9 +1378,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1302
1378
|
}>;
|
1303
1379
|
_meta: object;
|
1304
1380
|
_ctx_out: {
|
1305
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1306
1381
|
req: import("http").IncomingMessage;
|
1307
1382
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1383
|
+
user: import("../types/auth").TJwtPayload;
|
1308
1384
|
};
|
1309
1385
|
_input_in: {
|
1310
1386
|
authorization?: string | undefined;
|
@@ -1346,9 +1422,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1346
1422
|
}>;
|
1347
1423
|
_meta: object;
|
1348
1424
|
_ctx_out: {
|
1349
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1350
1425
|
req: import("http").IncomingMessage;
|
1351
1426
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1427
|
+
user: import("../types/auth").TJwtPayload;
|
1352
1428
|
};
|
1353
1429
|
_input_in: {
|
1354
1430
|
authorization?: string | undefined;
|
@@ -1389,16 +1465,16 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1389
1465
|
code: string;
|
1390
1466
|
amountType: "flat-rate" | "percentage";
|
1391
1467
|
amountValue: number;
|
1392
|
-
reducedValue: number;
|
1393
1468
|
newValue: number;
|
1469
|
+
reducedValue: number;
|
1394
1470
|
};
|
1395
1471
|
_output_out: {
|
1396
1472
|
description: string;
|
1397
1473
|
code: string;
|
1398
1474
|
amountType: "flat-rate" | "percentage";
|
1399
1475
|
amountValue: number;
|
1400
|
-
reducedValue: number;
|
1401
1476
|
newValue: number;
|
1477
|
+
reducedValue: number;
|
1402
1478
|
};
|
1403
1479
|
}, unknown>;
|
1404
1480
|
}>;
|
@@ -1417,9 +1493,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1417
1493
|
}>;
|
1418
1494
|
_meta: object;
|
1419
1495
|
_ctx_out: {
|
1420
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1421
1496
|
req: import("http").IncomingMessage;
|
1422
1497
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1498
|
+
user: import("../types/auth").TJwtPayload;
|
1423
1499
|
};
|
1424
1500
|
_input_in: {
|
1425
1501
|
authorization?: string | undefined;
|
@@ -1427,8 +1503,8 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1427
1503
|
freeAgentId: number;
|
1428
1504
|
leagueId?: number | undefined;
|
1429
1505
|
code?: string | undefined;
|
1430
|
-
paymentMode?: "session" | "intent" | undefined;
|
1431
1506
|
cancelPath?: string | undefined;
|
1507
|
+
paymentMode?: "session" | "intent" | undefined;
|
1432
1508
|
};
|
1433
1509
|
_input_out: {
|
1434
1510
|
authorization?: string | undefined;
|
@@ -1442,30 +1518,32 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1442
1518
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1443
1519
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1444
1520
|
}, {
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
orgPublishableKey
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
discountAndFee: {
|
1454
|
-
discountApplied: number;
|
1455
|
-
discountedAmount: number;
|
1456
|
-
priceAmount: number;
|
1457
|
-
otherTaxLabel: string;
|
1458
|
-
otherTaxPercent: number;
|
1459
|
-
otherTax: number;
|
1460
|
-
bantrTax: number;
|
1461
|
-
stripeTax: number;
|
1462
|
-
totalTax: number;
|
1463
|
-
totalWithTax: number;
|
1464
|
-
transferAmount: number;
|
1465
|
-
};
|
1466
|
-
};
|
1521
|
+
registeredToFreeAgent: boolean;
|
1522
|
+
redirectUrl?: undefined;
|
1523
|
+
customerId?: undefined;
|
1524
|
+
ephemeralKey?: undefined;
|
1525
|
+
orgPublishableKey?: undefined;
|
1526
|
+
paymentIntentId?: undefined;
|
1527
|
+
orgStripeAccountId?: undefined;
|
1528
|
+
paymentIntentClientSecret?: undefined;
|
1467
1529
|
} | {
|
1530
|
+
registeredToFreeAgent: boolean;
|
1468
1531
|
redirectUrl: string;
|
1532
|
+
customerId?: undefined;
|
1533
|
+
ephemeralKey?: undefined;
|
1534
|
+
orgPublishableKey?: undefined;
|
1535
|
+
paymentIntentId?: undefined;
|
1536
|
+
orgStripeAccountId?: undefined;
|
1537
|
+
paymentIntentClientSecret?: undefined;
|
1538
|
+
} | {
|
1539
|
+
customerId: string;
|
1540
|
+
ephemeralKey: string | undefined;
|
1541
|
+
orgPublishableKey: string | undefined;
|
1542
|
+
paymentIntentId: string;
|
1543
|
+
orgStripeAccountId: string | undefined;
|
1544
|
+
paymentIntentClientSecret: string;
|
1545
|
+
registeredToFreeAgent: boolean;
|
1546
|
+
redirectUrl?: undefined;
|
1469
1547
|
}>;
|
1470
1548
|
}>;
|
1471
1549
|
leaguePayments: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
@@ -1483,9 +1561,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1483
1561
|
}>;
|
1484
1562
|
_meta: object;
|
1485
1563
|
_ctx_out: {
|
1486
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1487
1564
|
req: import("http").IncomingMessage;
|
1488
1565
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1566
|
+
user: import("../types/auth").TJwtPayload;
|
1489
1567
|
};
|
1490
1568
|
_input_in: {
|
1491
1569
|
authorization?: string | undefined;
|
@@ -1498,43 +1576,43 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1498
1576
|
leagueId: number;
|
1499
1577
|
};
|
1500
1578
|
_output_in: {
|
1579
|
+
memberId: number;
|
1501
1580
|
id: number;
|
1502
|
-
deletedAt: Date | null;
|
1503
1581
|
member: {
|
1504
1582
|
id: number;
|
1505
1583
|
firstName: string | null;
|
1506
1584
|
lastName: string | null;
|
1507
1585
|
email: string;
|
1508
1586
|
};
|
1509
|
-
|
1587
|
+
deletedAt: Date | null;
|
1510
1588
|
totalPaid: number;
|
1511
1589
|
payments: {
|
1512
1590
|
id: number;
|
1513
1591
|
createdAt: string | Date;
|
1592
|
+
price: number;
|
1514
1593
|
payerId: number;
|
1515
1594
|
amountApplied: number | null;
|
1516
1595
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1517
|
-
price: number;
|
1518
1596
|
}[];
|
1519
1597
|
}[];
|
1520
1598
|
_output_out: {
|
1599
|
+
memberId: number;
|
1521
1600
|
id: number;
|
1522
|
-
deletedAt: Date | null;
|
1523
1601
|
member: {
|
1524
1602
|
id: number;
|
1525
1603
|
firstName: string | null;
|
1526
1604
|
lastName: string | null;
|
1527
1605
|
email: string;
|
1528
1606
|
};
|
1529
|
-
|
1607
|
+
deletedAt: Date | null;
|
1530
1608
|
totalPaid: number;
|
1531
1609
|
payments: {
|
1532
1610
|
id: number;
|
1533
1611
|
createdAt: string | Date;
|
1612
|
+
price: number;
|
1534
1613
|
payerId: number;
|
1535
1614
|
amountApplied: number | null;
|
1536
1615
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1537
|
-
price: number;
|
1538
1616
|
}[];
|
1539
1617
|
}[];
|
1540
1618
|
}, unknown>;
|
@@ -1547,23 +1625,23 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1547
1625
|
}>;
|
1548
1626
|
_meta: object;
|
1549
1627
|
_ctx_out: {
|
1550
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1551
1628
|
req: import("http").IncomingMessage;
|
1552
1629
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1630
|
+
user: import("../types/auth").TJwtPayload;
|
1553
1631
|
};
|
1554
1632
|
_input_in: {
|
1555
1633
|
authorization?: string | undefined;
|
1556
1634
|
leagueId: number;
|
1557
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1558
1635
|
price: number;
|
1559
1636
|
teamRosterId: number;
|
1637
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1560
1638
|
};
|
1561
1639
|
_input_out: {
|
1562
1640
|
authorization?: string | undefined;
|
1563
1641
|
leagueId: number;
|
1564
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1565
1642
|
price: number;
|
1566
1643
|
teamRosterId: number;
|
1644
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1567
1645
|
};
|
1568
1646
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1569
1647
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -1577,23 +1655,23 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1577
1655
|
}>;
|
1578
1656
|
_meta: object;
|
1579
1657
|
_ctx_out: {
|
1580
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1581
1658
|
req: import("http").IncomingMessage;
|
1582
1659
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1660
|
+
user: import("../types/auth").TJwtPayload;
|
1583
1661
|
};
|
1584
1662
|
_input_in: {
|
1585
1663
|
authorization?: string | undefined;
|
1586
1664
|
id: number;
|
1587
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1588
1665
|
price: number;
|
1589
1666
|
teamRosterId: number;
|
1667
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1590
1668
|
};
|
1591
1669
|
_input_out: {
|
1592
1670
|
authorization?: string | undefined;
|
1593
1671
|
id: number;
|
1594
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1595
1672
|
price: number;
|
1596
1673
|
teamRosterId: number;
|
1674
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
1597
1675
|
};
|
1598
1676
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1599
1677
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -1607,9 +1685,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1607
1685
|
}>;
|
1608
1686
|
_meta: object;
|
1609
1687
|
_ctx_out: {
|
1610
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1611
1688
|
req: import("http").IncomingMessage;
|
1612
1689
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1690
|
+
user: import("../types/auth").TJwtPayload;
|
1613
1691
|
};
|
1614
1692
|
_input_in: {
|
1615
1693
|
authorization?: string | undefined;
|
@@ -1631,9 +1709,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1631
1709
|
}>;
|
1632
1710
|
_meta: object;
|
1633
1711
|
_ctx_out: {
|
1634
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1635
1712
|
req: import("http").IncomingMessage;
|
1636
1713
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1714
|
+
user: import("../types/auth").TJwtPayload;
|
1637
1715
|
};
|
1638
1716
|
_input_in: {
|
1639
1717
|
authorization?: string | undefined;
|
@@ -1641,8 +1719,8 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1641
1719
|
leagueId: number;
|
1642
1720
|
paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
|
1643
1721
|
code?: string | undefined;
|
1644
|
-
paymentMode?: "session" | "intent" | undefined;
|
1645
1722
|
paymentAmount?: number | undefined;
|
1723
|
+
paymentMode?: "session" | "intent" | undefined;
|
1646
1724
|
};
|
1647
1725
|
_input_out: {
|
1648
1726
|
authorization?: string | undefined;
|
@@ -1717,14 +1795,14 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1717
1795
|
refreshToken: string;
|
1718
1796
|
accountStatus: string;
|
1719
1797
|
redirectTeamId?: number | null;
|
1720
|
-
authSchemas: import("../
|
1798
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
1721
1799
|
memberId: number;
|
1722
1800
|
bio: string | null;
|
1723
1801
|
city?: string;
|
1724
1802
|
street?: string;
|
1725
1803
|
state?: string;
|
1726
1804
|
avatar: string | null;
|
1727
|
-
teams: import("../
|
1805
|
+
teams: import("../models/team").Team[];
|
1728
1806
|
favoriteTeam: number | undefined | null;
|
1729
1807
|
zip: string | undefined;
|
1730
1808
|
phoneNumber: string | null;
|
@@ -1789,14 +1867,14 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1789
1867
|
refreshToken: string;
|
1790
1868
|
accountStatus: string;
|
1791
1869
|
redirectTeamId?: number | null;
|
1792
|
-
authSchemas: import("../
|
1870
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
1793
1871
|
memberId: number;
|
1794
1872
|
bio: string | null;
|
1795
1873
|
city?: string;
|
1796
1874
|
street?: string;
|
1797
1875
|
state?: string;
|
1798
1876
|
avatar: string | null;
|
1799
|
-
teams: import("../
|
1877
|
+
teams: import("../models/team").Team[];
|
1800
1878
|
favoriteTeam: number | undefined | null;
|
1801
1879
|
zip: string | undefined;
|
1802
1880
|
phoneNumber: string | null;
|
@@ -1816,9 +1894,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1816
1894
|
}>;
|
1817
1895
|
_meta: object;
|
1818
1896
|
_ctx_out: {
|
1819
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1820
1897
|
req: import("http").IncomingMessage;
|
1821
1898
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1899
|
+
user: import("../types/auth").TJwtPayload;
|
1822
1900
|
};
|
1823
1901
|
_input_in: {
|
1824
1902
|
authorization?: string | undefined;
|
@@ -1830,7 +1908,7 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1830
1908
|
};
|
1831
1909
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1832
1910
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1833
|
-
}, import("../
|
1911
|
+
}, import("../types/auth").MemberAuthResponse>;
|
1834
1912
|
}>;
|
1835
1913
|
organization: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
1836
1914
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -1847,9 +1925,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1847
1925
|
}>;
|
1848
1926
|
_meta: object;
|
1849
1927
|
_ctx_out: {
|
1850
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1851
1928
|
req: import("http").IncomingMessage;
|
1852
1929
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1930
|
+
user: import("../types/auth").TJwtPayload;
|
1853
1931
|
};
|
1854
1932
|
_input_in: {
|
1855
1933
|
authorization?: string | undefined;
|
@@ -1860,12 +1938,12 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1860
1938
|
workspaceId?: number | undefined;
|
1861
1939
|
};
|
1862
1940
|
_output_in: {
|
1863
|
-
technologyFeeMode: import("../
|
1941
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
1864
1942
|
extraTechnologyFeePercent: number;
|
1865
1943
|
extraTechnologyFeeLabel: string | null;
|
1866
1944
|
};
|
1867
1945
|
_output_out: {
|
1868
|
-
technologyFeeMode: import("../
|
1946
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
1869
1947
|
extraTechnologyFeePercent: number;
|
1870
1948
|
extraTechnologyFeeLabel: string | null;
|
1871
1949
|
};
|
@@ -1879,20 +1957,20 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1879
1957
|
}>;
|
1880
1958
|
_meta: object;
|
1881
1959
|
_ctx_out: {
|
1882
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1883
1960
|
req: import("http").IncomingMessage;
|
1884
1961
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1962
|
+
user: import("../types/auth").TJwtPayload;
|
1885
1963
|
};
|
1886
1964
|
_input_in: {
|
1887
1965
|
authorization?: string | undefined;
|
1888
|
-
technologyFeeMode: import("../
|
1966
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
1889
1967
|
extraTechnologyFeePercent: number;
|
1890
1968
|
extraTechnologyFeeLabel: string | null;
|
1891
1969
|
workspaceId?: number | undefined;
|
1892
1970
|
};
|
1893
1971
|
_input_out: {
|
1894
1972
|
authorization?: string | undefined;
|
1895
|
-
technologyFeeMode: import("../
|
1973
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
1896
1974
|
extraTechnologyFeePercent: number;
|
1897
1975
|
extraTechnologyFeeLabel: string | null;
|
1898
1976
|
workspaceId?: number | undefined;
|
@@ -1916,17 +1994,17 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
1916
1994
|
}>;
|
1917
1995
|
_meta: object;
|
1918
1996
|
_ctx_out: {
|
1919
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1920
1997
|
req: import("http").IncomingMessage;
|
1921
1998
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1999
|
+
user: import("../types/auth").TJwtPayload;
|
1922
2000
|
};
|
1923
2001
|
_input_in: {
|
1924
2002
|
authorization?: string | undefined;
|
1925
2003
|
memberId: number;
|
1926
2004
|
pickupId: number;
|
1927
2005
|
code?: string | undefined;
|
1928
|
-
paymentMode?: "session" | "intent" | undefined;
|
1929
2006
|
cancelPath?: string | undefined;
|
2007
|
+
paymentMode?: "session" | "intent" | undefined;
|
1930
2008
|
};
|
1931
2009
|
_input_out: {
|
1932
2010
|
authorization?: string | undefined;
|
@@ -2008,9 +2086,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2008
2086
|
}>;
|
2009
2087
|
_meta: object;
|
2010
2088
|
_ctx_out: {
|
2011
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2012
2089
|
req: import("http").IncomingMessage;
|
2013
2090
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2091
|
+
user: import("../types/auth").TJwtPayload;
|
2014
2092
|
};
|
2015
2093
|
_input_in: {
|
2016
2094
|
authorization?: string | undefined;
|
@@ -2022,9 +2100,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2022
2100
|
};
|
2023
2101
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
2024
2102
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
2025
|
-
}, (import("../
|
2026
|
-
member: Pick<import("../
|
2027
|
-
invites: Pick<import("../
|
2103
|
+
}, (import("../models/team_roster").TeamRoster & {
|
2104
|
+
member: Pick<import("../models/member").Member, "id" | "firstName" | "lastName" | "avatar" | "email" | "accountStatus">;
|
2105
|
+
invites: Pick<import("../models/invite").Invite, "isActive">[];
|
2028
2106
|
})[]>;
|
2029
2107
|
getInvitedByOrganization: import("@trpc/server").BuildProcedure<"query", {
|
2030
2108
|
_config: import("@trpc/server").RootConfig<{
|
@@ -2035,9 +2113,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2035
2113
|
}>;
|
2036
2114
|
_meta: object;
|
2037
2115
|
_ctx_out: {
|
2038
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2039
2116
|
req: import("http").IncomingMessage;
|
2040
2117
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2118
|
+
user: import("../types/auth").TJwtPayload;
|
2041
2119
|
};
|
2042
2120
|
_input_in: {
|
2043
2121
|
authorization?: string | undefined;
|
@@ -2051,9 +2129,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2051
2129
|
};
|
2052
2130
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
2053
2131
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
2054
|
-
}, (import("../
|
2055
|
-
member: Pick<import("../
|
2056
|
-
invites: Pick<import("../
|
2132
|
+
}, (import("../models/team_roster").TeamRoster & {
|
2133
|
+
member: Pick<import("../models/member").Member, "id" | "firstName" | "lastName" | "avatar" | "email" | "accountStatus">;
|
2134
|
+
invites: Pick<import("../models/invite").Invite, "isActive">[];
|
2057
2135
|
})[]>;
|
2058
2136
|
createInviteByCaptain: import("@trpc/server").BuildProcedure<"mutation", {
|
2059
2137
|
_config: import("@trpc/server").RootConfig<{
|
@@ -2064,9 +2142,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2064
2142
|
}>;
|
2065
2143
|
_meta: object;
|
2066
2144
|
_ctx_out: {
|
2067
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2068
2145
|
req: import("http").IncomingMessage;
|
2069
2146
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2147
|
+
user: import("../types/auth").TJwtPayload;
|
2070
2148
|
};
|
2071
2149
|
_input_in: {
|
2072
2150
|
authorization?: string | undefined;
|
@@ -2102,9 +2180,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2102
2180
|
}>;
|
2103
2181
|
_meta: object;
|
2104
2182
|
_ctx_out: {
|
2105
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2106
2183
|
req: import("http").IncomingMessage;
|
2107
2184
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2185
|
+
user: import("../types/auth").TJwtPayload;
|
2108
2186
|
};
|
2109
2187
|
_input_in: {
|
2110
2188
|
authorization?: string | undefined;
|
@@ -2140,9 +2218,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2140
2218
|
}>;
|
2141
2219
|
_meta: object;
|
2142
2220
|
_ctx_out: {
|
2143
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2144
2221
|
req: import("http").IncomingMessage;
|
2145
2222
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2223
|
+
user: import("../types/auth").TJwtPayload;
|
2146
2224
|
};
|
2147
2225
|
_input_in: {
|
2148
2226
|
authorization?: string | undefined;
|
@@ -2166,9 +2244,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2166
2244
|
}>;
|
2167
2245
|
_meta: object;
|
2168
2246
|
_ctx_out: {
|
2169
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2170
2247
|
req: import("http").IncomingMessage;
|
2171
2248
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2249
|
+
user: import("../types/auth").TJwtPayload;
|
2172
2250
|
};
|
2173
2251
|
_input_in: {
|
2174
2252
|
authorization?: string | undefined;
|
@@ -2183,6 +2261,80 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2183
2261
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
2184
2262
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
2185
2263
|
}, void>;
|
2264
|
+
updateBulkShirtNumbers: import("@trpc/server").BuildProcedure<"mutation", {
|
2265
|
+
_config: import("@trpc/server").RootConfig<{
|
2266
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
2267
|
+
meta: object;
|
2268
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
2269
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
2270
|
+
}>;
|
2271
|
+
_meta: object;
|
2272
|
+
_ctx_out: {
|
2273
|
+
req: import("http").IncomingMessage;
|
2274
|
+
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2275
|
+
user: import("../types/auth").TJwtPayload;
|
2276
|
+
};
|
2277
|
+
_input_in: {
|
2278
|
+
authorization?: string | undefined;
|
2279
|
+
teamId: number;
|
2280
|
+
leagueId: number;
|
2281
|
+
updates: {
|
2282
|
+
memberId: number;
|
2283
|
+
shirtNumber?: string | undefined;
|
2284
|
+
}[];
|
2285
|
+
};
|
2286
|
+
_input_out: {
|
2287
|
+
authorization?: string | undefined;
|
2288
|
+
teamId: number;
|
2289
|
+
leagueId: number;
|
2290
|
+
updates: {
|
2291
|
+
memberId: number;
|
2292
|
+
shirtNumber?: string | undefined;
|
2293
|
+
}[];
|
2294
|
+
};
|
2295
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
2296
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
2297
|
+
}, {
|
2298
|
+
memberId: number;
|
2299
|
+
shirtNumber?: string | undefined;
|
2300
|
+
}[]>;
|
2301
|
+
updateBulkShirtNumbersByCaptain: import("@trpc/server").BuildProcedure<"mutation", {
|
2302
|
+
_config: import("@trpc/server").RootConfig<{
|
2303
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
2304
|
+
meta: object;
|
2305
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
2306
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
2307
|
+
}>;
|
2308
|
+
_meta: object;
|
2309
|
+
_ctx_out: {
|
2310
|
+
req: import("http").IncomingMessage;
|
2311
|
+
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2312
|
+
user: import("../types/auth").TJwtPayload;
|
2313
|
+
};
|
2314
|
+
_input_in: {
|
2315
|
+
authorization?: string | undefined;
|
2316
|
+
teamId: number;
|
2317
|
+
leagueId: number;
|
2318
|
+
updates: {
|
2319
|
+
memberId: number;
|
2320
|
+
shirtNumber?: string | undefined;
|
2321
|
+
}[];
|
2322
|
+
};
|
2323
|
+
_input_out: {
|
2324
|
+
authorization?: string | undefined;
|
2325
|
+
teamId: number;
|
2326
|
+
leagueId: number;
|
2327
|
+
updates: {
|
2328
|
+
memberId: number;
|
2329
|
+
shirtNumber?: string | undefined;
|
2330
|
+
}[];
|
2331
|
+
};
|
2332
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
2333
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
2334
|
+
}, {
|
2335
|
+
memberId: number;
|
2336
|
+
shirtNumber?: string | undefined;
|
2337
|
+
}[]>;
|
2186
2338
|
}>;
|
2187
2339
|
transaction: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
2188
2340
|
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
@@ -2199,34 +2351,34 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2199
2351
|
}>;
|
2200
2352
|
_meta: object;
|
2201
2353
|
_ctx_out: {
|
2202
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2203
2354
|
req: import("http").IncomingMessage;
|
2204
2355
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2356
|
+
user: import("../types/auth").TJwtPayload;
|
2205
2357
|
};
|
2206
2358
|
_input_in: {
|
2207
2359
|
authorization?: string | undefined;
|
2208
2360
|
limit: number;
|
2209
2361
|
page: number;
|
2210
2362
|
direction: "asc" | "desc";
|
2363
|
+
orgWorkspaceId?: number | undefined;
|
2364
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
2211
2365
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
2212
2366
|
search?: string | undefined;
|
2213
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
2214
|
-
orgWorkspaceId?: number | undefined;
|
2215
2367
|
};
|
2216
2368
|
_input_out: {
|
2217
2369
|
authorization?: string | undefined;
|
2218
2370
|
limit: number;
|
2219
2371
|
page: number;
|
2220
2372
|
direction: "asc" | "desc";
|
2373
|
+
orgWorkspaceId?: number | undefined;
|
2374
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
2221
2375
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
2222
2376
|
search?: string | undefined;
|
2223
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
2224
|
-
orgWorkspaceId?: number | undefined;
|
2225
2377
|
};
|
2226
2378
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
2227
2379
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
2228
2380
|
}, {
|
2229
|
-
items: import("../
|
2381
|
+
items: import("../models/transaction").Transaction[];
|
2230
2382
|
curPage: number;
|
2231
2383
|
hasPrev: boolean;
|
2232
2384
|
hasNext: boolean;
|
@@ -2240,9 +2392,9 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2240
2392
|
}>;
|
2241
2393
|
_meta: object;
|
2242
2394
|
_ctx_out: {
|
2243
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2244
2395
|
req: import("http").IncomingMessage;
|
2245
2396
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2397
|
+
user: import("../types/auth").TJwtPayload;
|
2246
2398
|
};
|
2247
2399
|
_input_in: {
|
2248
2400
|
authorization?: string | undefined;
|
@@ -2255,13 +2407,13 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2255
2407
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
2256
2408
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
2257
2409
|
}, {
|
2258
|
-
stripeTransfers: import("../
|
2410
|
+
stripeTransfers: import("../models/stripe_transfer").StripeTransfer[];
|
2259
2411
|
id: number;
|
2260
2412
|
payerId: number;
|
2261
|
-
payer?: import("../
|
2262
|
-
paymentMethod: import("../
|
2413
|
+
payer?: import("../models/member").Member;
|
2414
|
+
paymentMethod: import("../modules/transaction/transaction.schema").TRANSACTION_METHOD_ENUM;
|
2263
2415
|
discountCodeId: number | null;
|
2264
|
-
discountCode?: import("../
|
2416
|
+
discountCode?: import("../modules/discount_code/discount_code.model").DiscountCode;
|
2265
2417
|
documentAmount: number;
|
2266
2418
|
discountedAmount: number;
|
2267
2419
|
organizerFee: number;
|
@@ -2272,30 +2424,30 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2272
2424
|
transferAmount: number;
|
2273
2425
|
refundedAmount: number;
|
2274
2426
|
transferSent: boolean;
|
2275
|
-
currency: import("../
|
2276
|
-
status: import("../
|
2427
|
+
currency: import("../constants").VALID_CURRENCY_CODES;
|
2428
|
+
status: import("../modules/transaction/transaction.schema").TRANSACTION_STATUS_ENUM;
|
2277
2429
|
expiresAt: Date | null;
|
2278
2430
|
lastStatusUpdateAt: Date | null;
|
2279
2431
|
leaguePaymentId: number | null;
|
2280
|
-
leaguePayment?: import("../
|
2281
|
-
league?: import("../
|
2432
|
+
leaguePayment?: import("../models/league_payment").LeaguePayment;
|
2433
|
+
league?: import("../models/league").League;
|
2282
2434
|
pickupPaymentId: number | null;
|
2283
|
-
pickupPayment?: import("../
|
2284
|
-
pickup?: import("../
|
2435
|
+
pickupPayment?: import("../models/pickup_payments").PickupPayment;
|
2436
|
+
pickup?: import("../models/pickup").Pickup;
|
2285
2437
|
freeAgentPaymentId: number | null;
|
2286
|
-
freeAgentPayment?: import("../
|
2287
|
-
orgFreeAgent?: import("../
|
2438
|
+
freeAgentPayment?: import("../models/free_agent_payment").FreeAgentPayment;
|
2439
|
+
orgFreeAgent?: import("../models/organization_free_agent").OrgFreeAgent;
|
2288
2440
|
organizationId: number;
|
2289
|
-
organization?: import("../
|
2441
|
+
organization?: import("../models/organization").Organization;
|
2290
2442
|
orgWorkspaceId: number | null;
|
2291
|
-
orgWorkspace?: import("../
|
2292
|
-
transactionEvents?: import("../
|
2293
|
-
stripeTransactions?: import("../
|
2443
|
+
orgWorkspace?: import("../models/organization_workspace").OrgWorkspace;
|
2444
|
+
transactionEvents?: import("../models/transaction_event").TransactionEvent[];
|
2445
|
+
stripeTransactions?: import("../models/stripe_transaction").StripeTransaction[];
|
2294
2446
|
updatedAt: Date;
|
2295
2447
|
createdAt: Date;
|
2296
2448
|
deletedAt: Date | null;
|
2297
|
-
QueryBuilderType: import("objection-js-soft-delete").SoftDeleteQueryBuilder<import("../
|
2298
|
-
$modelClass: import("objection").ModelClass<import("../
|
2449
|
+
QueryBuilderType: import("objection-js-soft-delete").SoftDeleteQueryBuilder<import("../models/transaction").Transaction, import("../models/transaction").Transaction[]> & import("objection").QueryBuilder<import("../models/transaction").Transaction, import("../models/transaction").Transaction[]>;
|
2450
|
+
$modelClass: import("objection").ModelClass<import("../models/transaction").Transaction>;
|
2299
2451
|
}>;
|
2300
2452
|
refund: import("@trpc/server").BuildProcedure<"mutation", {
|
2301
2453
|
_config: import("@trpc/server").RootConfig<{
|
@@ -2306,19 +2458,19 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2306
2458
|
}>;
|
2307
2459
|
_meta: object;
|
2308
2460
|
_ctx_out: {
|
2309
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2310
2461
|
req: import("http").IncomingMessage;
|
2311
2462
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2463
|
+
user: import("../types/auth").TJwtPayload;
|
2312
2464
|
};
|
2313
2465
|
_input_in: {
|
2314
2466
|
authorization?: string | undefined;
|
2315
|
-
transactionId: number;
|
2316
2467
|
amount: number;
|
2468
|
+
transactionId: number;
|
2317
2469
|
};
|
2318
2470
|
_input_out: {
|
2319
2471
|
authorization?: string | undefined;
|
2320
|
-
transactionId: number;
|
2321
2472
|
amount: number;
|
2473
|
+
transactionId: number;
|
2322
2474
|
};
|
2323
2475
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
2324
2476
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -2332,29 +2484,29 @@ export declare const reactQuery: import("@trpc/react-query/dist/createTRPCReact"
|
|
2332
2484
|
}>;
|
2333
2485
|
_meta: object;
|
2334
2486
|
_ctx_out: {
|
2335
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
2336
2487
|
req: import("http").IncomingMessage;
|
2337
2488
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
2489
|
+
user: import("../types/auth").TJwtPayload;
|
2338
2490
|
};
|
2339
2491
|
_input_in: {
|
2340
2492
|
authorization?: string | undefined;
|
2341
2493
|
limit: number;
|
2342
2494
|
page: number;
|
2343
2495
|
direction: "asc" | "desc";
|
2496
|
+
orgWorkspaceId?: number | undefined;
|
2497
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
2344
2498
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
2345
2499
|
search?: string | undefined;
|
2346
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
2347
|
-
orgWorkspaceId?: number | undefined;
|
2348
2500
|
};
|
2349
2501
|
_input_out: {
|
2350
2502
|
authorization?: string | undefined;
|
2351
2503
|
limit: number;
|
2352
2504
|
page: number;
|
2353
2505
|
direction: "asc" | "desc";
|
2506
|
+
orgWorkspaceId?: number | undefined;
|
2507
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
2354
2508
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
2355
2509
|
search?: string | undefined;
|
2356
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
2357
|
-
orgWorkspaceId?: number | undefined;
|
2358
2510
|
};
|
2359
2511
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
2360
2512
|
_output_out: typeof import("@trpc/server").unsetMarker;
|