bantr-api-client 11.0.4 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +21 -5
- 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
@@ -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;
|
18
17
|
req: import("http").IncomingMessage;
|
19
18
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
19
|
+
user: import("../types/auth").TJwtPayload;
|
20
20
|
};
|
21
21
|
_input_in: {
|
22
22
|
authorization?: string | undefined;
|
@@ -28,7 +28,7 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
28
28
|
};
|
29
29
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
30
30
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
31
|
-
},
|
31
|
+
}, any>>;
|
32
32
|
};
|
33
33
|
list: {
|
34
34
|
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
@@ -40,9 +40,9 @@ 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;
|
44
43
|
req: import("http").IncomingMessage;
|
45
44
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
45
|
+
user: import("../types/auth").TJwtPayload;
|
46
46
|
};
|
47
47
|
_input_in: {
|
48
48
|
authorization?: string | undefined;
|
@@ -65,7 +65,7 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
65
65
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
66
66
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
67
67
|
}, {
|
68
|
-
items: import("objection").Page<import("../
|
68
|
+
items: import("objection").Page<import("../modules/discount_code/discount_code.model").DiscountCode>;
|
69
69
|
nextCursor: number | undefined;
|
70
70
|
}>>;
|
71
71
|
};
|
@@ -79,9 +79,9 @@ 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;
|
83
82
|
req: import("http").IncomingMessage;
|
84
83
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
84
|
+
user: import("../types/auth").TJwtPayload;
|
85
85
|
};
|
86
86
|
_input_in: {
|
87
87
|
authorization?: string | undefined;
|
@@ -123,9 +123,9 @@ 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;
|
127
126
|
req: import("http").IncomingMessage;
|
128
127
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
128
|
+
user: import("../types/auth").TJwtPayload;
|
129
129
|
};
|
130
130
|
_input_in: {
|
131
131
|
authorization?: string | undefined;
|
@@ -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;
|
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;
|
@@ -214,16 +214,16 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
214
214
|
code: string;
|
215
215
|
amountType: "flat-rate" | "percentage";
|
216
216
|
amountValue: number;
|
217
|
-
reducedValue: number;
|
218
217
|
newValue: number;
|
218
|
+
reducedValue: number;
|
219
219
|
};
|
220
220
|
_output_out: {
|
221
221
|
description: string;
|
222
222
|
code: string;
|
223
223
|
amountType: "flat-rate" | "percentage";
|
224
224
|
amountValue: number;
|
225
|
-
reducedValue: number;
|
226
225
|
newValue: number;
|
226
|
+
reducedValue: number;
|
227
227
|
};
|
228
228
|
}, unknown>>;
|
229
229
|
};
|
@@ -239,9 +239,9 @@ 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;
|
243
242
|
req: import("http").IncomingMessage;
|
244
243
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
244
|
+
user: import("../types/auth").TJwtPayload;
|
245
245
|
};
|
246
246
|
_input_in: {
|
247
247
|
authorization?: string | undefined;
|
@@ -249,8 +249,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
249
249
|
freeAgentId: number;
|
250
250
|
leagueId?: number | undefined;
|
251
251
|
code?: string | undefined;
|
252
|
-
paymentMode?: "session" | "intent" | undefined;
|
253
252
|
cancelPath?: string | undefined;
|
253
|
+
paymentMode?: "session" | "intent" | undefined;
|
254
254
|
};
|
255
255
|
_input_out: {
|
256
256
|
authorization?: string | undefined;
|
@@ -264,30 +264,32 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
264
264
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
265
265
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
266
266
|
}, {
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
orgPublishableKey
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
discountAndFee: {
|
276
|
-
discountApplied: number;
|
277
|
-
discountedAmount: number;
|
278
|
-
priceAmount: number;
|
279
|
-
otherTaxLabel: string;
|
280
|
-
otherTaxPercent: number;
|
281
|
-
otherTax: number;
|
282
|
-
bantrTax: number;
|
283
|
-
stripeTax: number;
|
284
|
-
totalTax: number;
|
285
|
-
totalWithTax: number;
|
286
|
-
transferAmount: number;
|
287
|
-
};
|
288
|
-
};
|
267
|
+
registeredToFreeAgent: boolean;
|
268
|
+
redirectUrl?: undefined;
|
269
|
+
customerId?: undefined;
|
270
|
+
ephemeralKey?: undefined;
|
271
|
+
orgPublishableKey?: undefined;
|
272
|
+
paymentIntentId?: undefined;
|
273
|
+
orgStripeAccountId?: undefined;
|
274
|
+
paymentIntentClientSecret?: undefined;
|
289
275
|
} | {
|
276
|
+
registeredToFreeAgent: boolean;
|
290
277
|
redirectUrl: string;
|
278
|
+
customerId?: undefined;
|
279
|
+
ephemeralKey?: undefined;
|
280
|
+
orgPublishableKey?: undefined;
|
281
|
+
paymentIntentId?: undefined;
|
282
|
+
orgStripeAccountId?: undefined;
|
283
|
+
paymentIntentClientSecret?: undefined;
|
284
|
+
} | {
|
285
|
+
customerId: string;
|
286
|
+
ephemeralKey: string | undefined;
|
287
|
+
orgPublishableKey: string | undefined;
|
288
|
+
paymentIntentId: string;
|
289
|
+
orgStripeAccountId: string | undefined;
|
290
|
+
paymentIntentClientSecret: string;
|
291
|
+
registeredToFreeAgent: boolean;
|
292
|
+
redirectUrl?: undefined;
|
291
293
|
}>>;
|
292
294
|
};
|
293
295
|
};
|
@@ -302,9 +304,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
302
304
|
}>;
|
303
305
|
_meta: object;
|
304
306
|
_ctx_out: {
|
305
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
306
307
|
req: import("http").IncomingMessage;
|
307
308
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
309
|
+
user: import("../types/auth").TJwtPayload;
|
308
310
|
};
|
309
311
|
_input_in: {
|
310
312
|
authorization?: string | undefined;
|
@@ -317,43 +319,43 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
317
319
|
leagueId: number;
|
318
320
|
};
|
319
321
|
_output_in: {
|
322
|
+
memberId: number;
|
320
323
|
id: number;
|
321
|
-
deletedAt: Date | null;
|
322
324
|
member: {
|
323
325
|
id: number;
|
324
326
|
firstName: string | null;
|
325
327
|
lastName: string | null;
|
326
328
|
email: string;
|
327
329
|
};
|
328
|
-
|
330
|
+
deletedAt: Date | null;
|
329
331
|
totalPaid: number;
|
330
332
|
payments: {
|
331
333
|
id: number;
|
332
334
|
createdAt: string | Date;
|
335
|
+
price: number;
|
333
336
|
payerId: number;
|
334
337
|
amountApplied: number | null;
|
335
338
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
336
|
-
price: number;
|
337
339
|
}[];
|
338
340
|
}[];
|
339
341
|
_output_out: {
|
342
|
+
memberId: number;
|
340
343
|
id: number;
|
341
|
-
deletedAt: Date | null;
|
342
344
|
member: {
|
343
345
|
id: number;
|
344
346
|
firstName: string | null;
|
345
347
|
lastName: string | null;
|
346
348
|
email: string;
|
347
349
|
};
|
348
|
-
|
350
|
+
deletedAt: Date | null;
|
349
351
|
totalPaid: number;
|
350
352
|
payments: {
|
351
353
|
id: number;
|
352
354
|
createdAt: string | Date;
|
355
|
+
price: number;
|
353
356
|
payerId: number;
|
354
357
|
amountApplied: number | null;
|
355
358
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
356
|
-
price: number;
|
357
359
|
}[];
|
358
360
|
}[];
|
359
361
|
}, unknown>>;
|
@@ -368,23 +370,23 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
368
370
|
}>;
|
369
371
|
_meta: object;
|
370
372
|
_ctx_out: {
|
371
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
372
373
|
req: import("http").IncomingMessage;
|
373
374
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
375
|
+
user: import("../types/auth").TJwtPayload;
|
374
376
|
};
|
375
377
|
_input_in: {
|
376
378
|
authorization?: string | undefined;
|
377
379
|
leagueId: number;
|
378
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
379
380
|
price: number;
|
380
381
|
teamRosterId: number;
|
382
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
381
383
|
};
|
382
384
|
_input_out: {
|
383
385
|
authorization?: string | undefined;
|
384
386
|
leagueId: number;
|
385
|
-
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
386
387
|
price: number;
|
387
388
|
teamRosterId: number;
|
389
|
+
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
388
390
|
};
|
389
391
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
390
392
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -400,23 +402,23 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
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;
|
@@ -432,9 +434,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
432
434
|
}>;
|
433
435
|
_meta: object;
|
434
436
|
_ctx_out: {
|
435
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
436
437
|
req: import("http").IncomingMessage;
|
437
438
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
439
|
+
user: import("../types/auth").TJwtPayload;
|
438
440
|
};
|
439
441
|
_input_in: {
|
440
442
|
authorization?: string | undefined;
|
@@ -458,9 +460,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
458
460
|
}>;
|
459
461
|
_meta: object;
|
460
462
|
_ctx_out: {
|
461
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
462
463
|
req: import("http").IncomingMessage;
|
463
464
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
465
|
+
user: import("../types/auth").TJwtPayload;
|
464
466
|
};
|
465
467
|
_input_in: {
|
466
468
|
authorization?: string | undefined;
|
@@ -468,8 +470,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
468
470
|
leagueId: number;
|
469
471
|
paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
|
470
472
|
code?: string | undefined;
|
471
|
-
paymentMode?: "session" | "intent" | undefined;
|
472
473
|
paymentAmount?: number | undefined;
|
474
|
+
paymentMode?: "session" | "intent" | undefined;
|
473
475
|
};
|
474
476
|
_input_out: {
|
475
477
|
authorization?: string | undefined;
|
@@ -545,14 +547,14 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
545
547
|
refreshToken: string;
|
546
548
|
accountStatus: string;
|
547
549
|
redirectTeamId?: number | null;
|
548
|
-
authSchemas: import("../
|
550
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
549
551
|
memberId: number;
|
550
552
|
bio: string | null;
|
551
553
|
city?: string;
|
552
554
|
street?: string;
|
553
555
|
state?: string;
|
554
556
|
avatar: string | null;
|
555
|
-
teams: import("../
|
557
|
+
teams: import("../models/team").Team[];
|
556
558
|
favoriteTeam: number | undefined | null;
|
557
559
|
zip: string | undefined;
|
558
560
|
phoneNumber: string | null;
|
@@ -623,14 +625,14 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
623
625
|
refreshToken: string;
|
624
626
|
accountStatus: string;
|
625
627
|
redirectTeamId?: number | null;
|
626
|
-
authSchemas: import("../
|
628
|
+
authSchemas: import("../types/member").TAuthSchemas;
|
627
629
|
memberId: number;
|
628
630
|
bio: string | null;
|
629
631
|
city?: string;
|
630
632
|
street?: string;
|
631
633
|
state?: string;
|
632
634
|
avatar: string | null;
|
633
|
-
teams: import("../
|
635
|
+
teams: import("../models/team").Team[];
|
634
636
|
favoriteTeam: number | undefined | null;
|
635
637
|
zip: string | undefined;
|
636
638
|
phoneNumber: string | null;
|
@@ -652,9 +654,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
652
654
|
}>;
|
653
655
|
_meta: object;
|
654
656
|
_ctx_out: {
|
655
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
656
657
|
req: import("http").IncomingMessage;
|
657
658
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
659
|
+
user: import("../types/auth").TJwtPayload;
|
658
660
|
};
|
659
661
|
_input_in: {
|
660
662
|
authorization?: string | undefined;
|
@@ -666,7 +668,7 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
666
668
|
};
|
667
669
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
668
670
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
669
|
-
},
|
671
|
+
}, any>>;
|
670
672
|
};
|
671
673
|
};
|
672
674
|
organization: {
|
@@ -680,9 +682,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
680
682
|
}>;
|
681
683
|
_meta: object;
|
682
684
|
_ctx_out: {
|
683
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
684
685
|
req: import("http").IncomingMessage;
|
685
686
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
687
|
+
user: import("../types/auth").TJwtPayload;
|
686
688
|
};
|
687
689
|
_input_in: {
|
688
690
|
authorization?: string | undefined;
|
@@ -693,12 +695,12 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
693
695
|
workspaceId?: number | undefined;
|
694
696
|
};
|
695
697
|
_output_in: {
|
696
|
-
technologyFeeMode: import("../
|
698
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
697
699
|
extraTechnologyFeePercent: number;
|
698
700
|
extraTechnologyFeeLabel: string | null;
|
699
701
|
};
|
700
702
|
_output_out: {
|
701
|
-
technologyFeeMode: import("../
|
703
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
702
704
|
extraTechnologyFeePercent: number;
|
703
705
|
extraTechnologyFeeLabel: string | null;
|
704
706
|
};
|
@@ -714,20 +716,20 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
714
716
|
}>;
|
715
717
|
_meta: object;
|
716
718
|
_ctx_out: {
|
717
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
718
719
|
req: import("http").IncomingMessage;
|
719
720
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
721
|
+
user: import("../types/auth").TJwtPayload;
|
720
722
|
};
|
721
723
|
_input_in: {
|
722
724
|
authorization?: string | undefined;
|
723
|
-
technologyFeeMode: import("../
|
725
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
724
726
|
extraTechnologyFeePercent: number;
|
725
727
|
extraTechnologyFeeLabel: string | null;
|
726
728
|
workspaceId?: number | undefined;
|
727
729
|
};
|
728
730
|
_input_out: {
|
729
731
|
authorization?: string | undefined;
|
730
|
-
technologyFeeMode: import("../
|
732
|
+
technologyFeeMode: import("../constants").TECHNOLOGY_FEE_MODES;
|
731
733
|
extraTechnologyFeePercent: number;
|
732
734
|
extraTechnologyFeeLabel: string | null;
|
733
735
|
workspaceId?: number | undefined;
|
@@ -748,17 +750,17 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
748
750
|
}>;
|
749
751
|
_meta: object;
|
750
752
|
_ctx_out: {
|
751
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
752
753
|
req: import("http").IncomingMessage;
|
753
754
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
755
|
+
user: import("../types/auth").TJwtPayload;
|
754
756
|
};
|
755
757
|
_input_in: {
|
756
758
|
authorization?: string | undefined;
|
757
759
|
memberId: number;
|
758
760
|
pickupId: number;
|
759
761
|
code?: string | undefined;
|
760
|
-
paymentMode?: "session" | "intent" | undefined;
|
761
762
|
cancelPath?: string | undefined;
|
763
|
+
paymentMode?: "session" | "intent" | undefined;
|
762
764
|
};
|
763
765
|
_input_out: {
|
764
766
|
authorization?: string | undefined;
|
@@ -834,9 +836,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
834
836
|
}>;
|
835
837
|
_meta: object;
|
836
838
|
_ctx_out: {
|
837
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
838
839
|
req: import("http").IncomingMessage;
|
839
840
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
841
|
+
user: import("../types/auth").TJwtPayload;
|
840
842
|
};
|
841
843
|
_input_in: {
|
842
844
|
authorization?: string | undefined;
|
@@ -848,10 +850,7 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
848
850
|
};
|
849
851
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
850
852
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
851
|
-
},
|
852
|
-
member: Pick<import("../api-type/src/models/member").Member, "id" | "firstName" | "lastName" | "avatar" | "email" | "accountStatus">;
|
853
|
-
invites: Pick<import("../api-type/src/models/invite").Invite, "isActive">[];
|
854
|
-
})[]>>;
|
853
|
+
}, any[]>>;
|
855
854
|
};
|
856
855
|
getInvitedByOrganization: {
|
857
856
|
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
@@ -863,9 +862,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
863
862
|
}>;
|
864
863
|
_meta: object;
|
865
864
|
_ctx_out: {
|
866
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
867
865
|
req: import("http").IncomingMessage;
|
868
866
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
867
|
+
user: import("../types/auth").TJwtPayload;
|
869
868
|
};
|
870
869
|
_input_in: {
|
871
870
|
authorization?: string | undefined;
|
@@ -879,10 +878,7 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
879
878
|
};
|
880
879
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
881
880
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
882
|
-
},
|
883
|
-
member: Pick<import("../api-type/src/models/member").Member, "id" | "firstName" | "lastName" | "avatar" | "email" | "accountStatus">;
|
884
|
-
invites: Pick<import("../api-type/src/models/invite").Invite, "isActive">[];
|
885
|
-
})[]>>;
|
881
|
+
}, any[]>>;
|
886
882
|
};
|
887
883
|
createInviteByCaptain: {
|
888
884
|
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
@@ -894,9 +890,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
894
890
|
}>;
|
895
891
|
_meta: object;
|
896
892
|
_ctx_out: {
|
897
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
898
893
|
req: import("http").IncomingMessage;
|
899
894
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
895
|
+
user: import("../types/auth").TJwtPayload;
|
900
896
|
};
|
901
897
|
_input_in: {
|
902
898
|
authorization?: string | undefined;
|
@@ -934,9 +930,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
934
930
|
}>;
|
935
931
|
_meta: object;
|
936
932
|
_ctx_out: {
|
937
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
938
933
|
req: import("http").IncomingMessage;
|
939
934
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
935
|
+
user: import("../types/auth").TJwtPayload;
|
940
936
|
};
|
941
937
|
_input_in: {
|
942
938
|
authorization?: string | undefined;
|
@@ -974,9 +970,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
974
970
|
}>;
|
975
971
|
_meta: object;
|
976
972
|
_ctx_out: {
|
977
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
978
973
|
req: import("http").IncomingMessage;
|
979
974
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
975
|
+
user: import("../types/auth").TJwtPayload;
|
980
976
|
};
|
981
977
|
_input_in: {
|
982
978
|
authorization?: string | undefined;
|
@@ -1002,9 +998,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1002
998
|
}>;
|
1003
999
|
_meta: object;
|
1004
1000
|
_ctx_out: {
|
1005
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1006
1001
|
req: import("http").IncomingMessage;
|
1007
1002
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1003
|
+
user: import("../types/auth").TJwtPayload;
|
1008
1004
|
};
|
1009
1005
|
_input_in: {
|
1010
1006
|
authorization?: string | undefined;
|
@@ -1020,6 +1016,84 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1020
1016
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1021
1017
|
}, void>>;
|
1022
1018
|
};
|
1019
|
+
updateBulkShirtNumbers: {
|
1020
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
1021
|
+
_config: import("@trpc/server").RootConfig<{
|
1022
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
1023
|
+
meta: object;
|
1024
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
1025
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
1026
|
+
}>;
|
1027
|
+
_meta: object;
|
1028
|
+
_ctx_out: {
|
1029
|
+
req: import("http").IncomingMessage;
|
1030
|
+
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1031
|
+
user: import("../types/auth").TJwtPayload;
|
1032
|
+
};
|
1033
|
+
_input_in: {
|
1034
|
+
authorization?: string | undefined;
|
1035
|
+
teamId: number;
|
1036
|
+
leagueId: number;
|
1037
|
+
updates: {
|
1038
|
+
memberId: number;
|
1039
|
+
shirtNumber?: string | undefined;
|
1040
|
+
}[];
|
1041
|
+
};
|
1042
|
+
_input_out: {
|
1043
|
+
authorization?: string | undefined;
|
1044
|
+
teamId: number;
|
1045
|
+
leagueId: number;
|
1046
|
+
updates: {
|
1047
|
+
memberId: number;
|
1048
|
+
shirtNumber?: string | undefined;
|
1049
|
+
}[];
|
1050
|
+
};
|
1051
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
1052
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
1053
|
+
}, {
|
1054
|
+
memberId: number;
|
1055
|
+
shirtNumber?: string | undefined;
|
1056
|
+
}[]>>;
|
1057
|
+
};
|
1058
|
+
updateBulkShirtNumbersByCaptain: {
|
1059
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
1060
|
+
_config: import("@trpc/server").RootConfig<{
|
1061
|
+
ctx: import("trpc-koa-adapter").CreateTrpcKoaContextOptions;
|
1062
|
+
meta: object;
|
1063
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
1064
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
1065
|
+
}>;
|
1066
|
+
_meta: object;
|
1067
|
+
_ctx_out: {
|
1068
|
+
req: import("http").IncomingMessage;
|
1069
|
+
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1070
|
+
user: import("../types/auth").TJwtPayload;
|
1071
|
+
};
|
1072
|
+
_input_in: {
|
1073
|
+
authorization?: string | undefined;
|
1074
|
+
teamId: number;
|
1075
|
+
leagueId: number;
|
1076
|
+
updates: {
|
1077
|
+
memberId: number;
|
1078
|
+
shirtNumber?: string | undefined;
|
1079
|
+
}[];
|
1080
|
+
};
|
1081
|
+
_input_out: {
|
1082
|
+
authorization?: string | undefined;
|
1083
|
+
teamId: number;
|
1084
|
+
leagueId: number;
|
1085
|
+
updates: {
|
1086
|
+
memberId: number;
|
1087
|
+
shirtNumber?: string | undefined;
|
1088
|
+
}[];
|
1089
|
+
};
|
1090
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
1091
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
1092
|
+
}, {
|
1093
|
+
memberId: number;
|
1094
|
+
shirtNumber?: string | undefined;
|
1095
|
+
}[]>>;
|
1096
|
+
};
|
1023
1097
|
};
|
1024
1098
|
transaction: {
|
1025
1099
|
list: {
|
@@ -1032,34 +1106,34 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1032
1106
|
}>;
|
1033
1107
|
_meta: object;
|
1034
1108
|
_ctx_out: {
|
1035
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1036
1109
|
req: import("http").IncomingMessage;
|
1037
1110
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1111
|
+
user: import("../types/auth").TJwtPayload;
|
1038
1112
|
};
|
1039
1113
|
_input_in: {
|
1040
1114
|
authorization?: string | undefined;
|
1041
1115
|
limit: number;
|
1042
1116
|
page: number;
|
1043
1117
|
direction: "asc" | "desc";
|
1118
|
+
orgWorkspaceId?: number | undefined;
|
1119
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1044
1120
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1045
1121
|
search?: string | undefined;
|
1046
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1047
|
-
orgWorkspaceId?: number | undefined;
|
1048
1122
|
};
|
1049
1123
|
_input_out: {
|
1050
1124
|
authorization?: string | undefined;
|
1051
1125
|
limit: number;
|
1052
1126
|
page: number;
|
1053
1127
|
direction: "asc" | "desc";
|
1128
|
+
orgWorkspaceId?: number | undefined;
|
1129
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1054
1130
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1055
1131
|
search?: string | undefined;
|
1056
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1057
|
-
orgWorkspaceId?: number | undefined;
|
1058
1132
|
};
|
1059
1133
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1060
1134
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1061
1135
|
}, {
|
1062
|
-
items: import("../
|
1136
|
+
items: import("../models/transaction").Transaction[];
|
1063
1137
|
curPage: number;
|
1064
1138
|
hasPrev: boolean;
|
1065
1139
|
hasNext: boolean;
|
@@ -1075,9 +1149,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1075
1149
|
}>;
|
1076
1150
|
_meta: object;
|
1077
1151
|
_ctx_out: {
|
1078
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1079
1152
|
req: import("http").IncomingMessage;
|
1080
1153
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1154
|
+
user: import("../types/auth").TJwtPayload;
|
1081
1155
|
};
|
1082
1156
|
_input_in: {
|
1083
1157
|
authorization?: string | undefined;
|
@@ -1090,13 +1164,13 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1090
1164
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1091
1165
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
1092
1166
|
}, {
|
1093
|
-
stripeTransfers: import("../
|
1167
|
+
stripeTransfers: import("../models/stripe_transfer").StripeTransfer[];
|
1094
1168
|
id: number;
|
1095
1169
|
payerId: number;
|
1096
|
-
payer?: import("../
|
1097
|
-
paymentMethod: import("../
|
1170
|
+
payer?: import("../models/member").Member;
|
1171
|
+
paymentMethod: import("../modules/transaction/transaction.schema").TRANSACTION_METHOD_ENUM;
|
1098
1172
|
discountCodeId: number | null;
|
1099
|
-
discountCode?: import("../
|
1173
|
+
discountCode?: import("../modules/discount_code/discount_code.model").DiscountCode;
|
1100
1174
|
documentAmount: number;
|
1101
1175
|
discountedAmount: number;
|
1102
1176
|
organizerFee: number;
|
@@ -1107,30 +1181,30 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1107
1181
|
transferAmount: number;
|
1108
1182
|
refundedAmount: number;
|
1109
1183
|
transferSent: boolean;
|
1110
|
-
currency: import("../
|
1111
|
-
status: import("../
|
1184
|
+
currency: import("../constants").VALID_CURRENCY_CODES;
|
1185
|
+
status: import("../modules/transaction/transaction.schema").TRANSACTION_STATUS_ENUM;
|
1112
1186
|
expiresAt: Date | null;
|
1113
1187
|
lastStatusUpdateAt: Date | null;
|
1114
1188
|
leaguePaymentId: number | null;
|
1115
|
-
leaguePayment?: import("../
|
1116
|
-
league?: import("../
|
1189
|
+
leaguePayment?: import("../models/league_payment").LeaguePayment;
|
1190
|
+
league?: import("../models/league").League;
|
1117
1191
|
pickupPaymentId: number | null;
|
1118
|
-
pickupPayment?: import("../
|
1119
|
-
pickup?: import("../
|
1192
|
+
pickupPayment?: import("../models/pickup_payments").PickupPayment;
|
1193
|
+
pickup?: import("../models/pickup").Pickup;
|
1120
1194
|
freeAgentPaymentId: number | null;
|
1121
|
-
freeAgentPayment?: import("../
|
1122
|
-
orgFreeAgent?: import("../
|
1195
|
+
freeAgentPayment?: import("../models/free_agent_payment").FreeAgentPayment;
|
1196
|
+
orgFreeAgent?: import("../models/organization_free_agent").OrgFreeAgent;
|
1123
1197
|
organizationId: number;
|
1124
|
-
organization?: import("../
|
1198
|
+
organization?: import("../models/organization").Organization;
|
1125
1199
|
orgWorkspaceId: number | null;
|
1126
|
-
orgWorkspace?: import("../
|
1127
|
-
transactionEvents?: import("../
|
1128
|
-
stripeTransactions?: import("../
|
1200
|
+
orgWorkspace?: import("../models/organization_workspace").OrgWorkspace;
|
1201
|
+
transactionEvents?: import("../models/transaction_event").TransactionEvent[];
|
1202
|
+
stripeTransactions?: import("../models/stripe_transaction").StripeTransaction[];
|
1129
1203
|
updatedAt: Date;
|
1130
1204
|
createdAt: Date;
|
1131
1205
|
deletedAt: Date | null;
|
1132
|
-
QueryBuilderType: import("objection-js-soft-delete").SoftDeleteQueryBuilder<import("../
|
1133
|
-
$modelClass: import("objection").ModelClass<import("../
|
1206
|
+
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[]>;
|
1207
|
+
$modelClass: import("objection").ModelClass<import("../models/transaction").Transaction>;
|
1134
1208
|
}>>;
|
1135
1209
|
};
|
1136
1210
|
refund: {
|
@@ -1143,19 +1217,19 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1143
1217
|
}>;
|
1144
1218
|
_meta: object;
|
1145
1219
|
_ctx_out: {
|
1146
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1147
1220
|
req: import("http").IncomingMessage;
|
1148
1221
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1222
|
+
user: import("../types/auth").TJwtPayload;
|
1149
1223
|
};
|
1150
1224
|
_input_in: {
|
1151
1225
|
authorization?: string | undefined;
|
1152
|
-
transactionId: number;
|
1153
1226
|
amount: number;
|
1227
|
+
transactionId: number;
|
1154
1228
|
};
|
1155
1229
|
_input_out: {
|
1156
1230
|
authorization?: string | undefined;
|
1157
|
-
transactionId: number;
|
1158
1231
|
amount: number;
|
1232
|
+
transactionId: number;
|
1159
1233
|
};
|
1160
1234
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1161
1235
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -1171,29 +1245,29 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1171
1245
|
}>;
|
1172
1246
|
_meta: object;
|
1173
1247
|
_ctx_out: {
|
1174
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1175
1248
|
req: import("http").IncomingMessage;
|
1176
1249
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1250
|
+
user: import("../types/auth").TJwtPayload;
|
1177
1251
|
};
|
1178
1252
|
_input_in: {
|
1179
1253
|
authorization?: string | undefined;
|
1180
1254
|
limit: number;
|
1181
1255
|
page: number;
|
1182
1256
|
direction: "asc" | "desc";
|
1257
|
+
orgWorkspaceId?: number | undefined;
|
1258
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1183
1259
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1184
1260
|
search?: string | undefined;
|
1185
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1186
|
-
orgWorkspaceId?: number | undefined;
|
1187
1261
|
};
|
1188
1262
|
_input_out: {
|
1189
1263
|
authorization?: string | undefined;
|
1190
1264
|
limit: number;
|
1191
1265
|
page: number;
|
1192
1266
|
direction: "asc" | "desc";
|
1267
|
+
orgWorkspaceId?: number | undefined;
|
1268
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1193
1269
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1194
1270
|
search?: string | undefined;
|
1195
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1196
|
-
orgWorkspaceId?: number | undefined;
|
1197
1271
|
};
|
1198
1272
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1199
1273
|
_output_out: typeof import("@trpc/server").unsetMarker;
|