bantr-api-client 1.6.0 → 11.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 +12 -12
- package/api-type/src/trpcRouter/free_agent_payments.router.d.ts +3 -3
- package/api-type/src/trpcRouter/league_payments.router.d.ts +21 -21
- 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 +3 -3
- package/api-type/src/trpcRouter/product.router.d.ts +2 -2
- package/api-type/src/trpcRouter/router.d.ts +148 -148
- package/api-type/src/trpcRouter/team.d.ts +16 -16
- package/api-type/src/trpcRouter/transaction.router.d.ts +14 -14
- package/dist/src/index.d.ts +222 -222
- package/dist/src/provider.d.ts +148 -148
- package/dist/src/query.d.ts +74 -74
- package/package.json +1 -1
- package/tsconfig.json +1 -1
package/dist/src/query.d.ts
CHANGED
@@ -14,9 +14,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
14
14
|
}>;
|
15
15
|
_meta: object;
|
16
16
|
_ctx_out: {
|
17
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
17
18
|
req: import("http").IncomingMessage;
|
18
19
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
19
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
20
20
|
};
|
21
21
|
_input_in: {
|
22
22
|
authorization?: string | undefined;
|
@@ -40,17 +40,17 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
40
40
|
}>;
|
41
41
|
_meta: object;
|
42
42
|
_ctx_out: {
|
43
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
43
44
|
req: import("http").IncomingMessage;
|
44
45
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
45
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
46
46
|
};
|
47
47
|
_input_in: {
|
48
48
|
authorization?: string | undefined;
|
49
49
|
limit: number;
|
50
50
|
cursor: number;
|
51
51
|
orgWorkspaceId?: number | null | undefined;
|
52
|
-
direction?: "asc" | "desc" | undefined;
|
53
52
|
code?: string | undefined;
|
53
|
+
direction?: "asc" | "desc" | undefined;
|
54
54
|
listExpired?: boolean | undefined;
|
55
55
|
};
|
56
56
|
_input_out: {
|
@@ -79,14 +79,14 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
79
79
|
}>;
|
80
80
|
_meta: object;
|
81
81
|
_ctx_out: {
|
82
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
82
83
|
req: import("http").IncomingMessage;
|
83
84
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
84
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
85
85
|
};
|
86
86
|
_input_in: {
|
87
87
|
authorization?: string | undefined;
|
88
|
-
code: string;
|
89
88
|
description: string;
|
89
|
+
code: string;
|
90
90
|
appliesWhen: "purchase";
|
91
91
|
applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
|
92
92
|
amountType: "flat-rate" | "percentage";
|
@@ -97,8 +97,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
97
97
|
};
|
98
98
|
_input_out: {
|
99
99
|
authorization?: string | undefined;
|
100
|
-
code: string;
|
101
100
|
description: string;
|
101
|
+
code: string;
|
102
102
|
appliesWhen: "purchase";
|
103
103
|
applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
|
104
104
|
amountType: "flat-rate" | "percentage";
|
@@ -123,15 +123,15 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
123
123
|
}>;
|
124
124
|
_meta: object;
|
125
125
|
_ctx_out: {
|
126
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
126
127
|
req: import("http").IncomingMessage;
|
127
128
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
128
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
129
129
|
};
|
130
130
|
_input_in: {
|
131
131
|
authorization?: string | undefined;
|
132
|
-
code: string;
|
133
132
|
id: number;
|
134
133
|
description: string;
|
134
|
+
code: string;
|
135
135
|
appliesWhen: "purchase";
|
136
136
|
applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
|
137
137
|
amountType: "flat-rate" | "percentage";
|
@@ -143,9 +143,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
143
143
|
};
|
144
144
|
_input_out: {
|
145
145
|
authorization?: string | undefined;
|
146
|
-
code: string;
|
147
146
|
id: number;
|
148
147
|
description: string;
|
148
|
+
code: string;
|
149
149
|
appliesWhen: "purchase";
|
150
150
|
applicableOn: "league-registration" | "pickup-registration" | "free-agent-registration" | null;
|
151
151
|
amountType: "flat-rate" | "percentage";
|
@@ -169,9 +169,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
169
169
|
}>;
|
170
170
|
_meta: object;
|
171
171
|
_ctx_out: {
|
172
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
172
173
|
req: import("http").IncomingMessage;
|
173
174
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
174
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
175
175
|
};
|
176
176
|
_input_in: {
|
177
177
|
authorization?: string | undefined;
|
@@ -210,16 +210,16 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
210
210
|
code?: string | undefined;
|
211
211
|
};
|
212
212
|
_output_in: {
|
213
|
-
code: string;
|
214
213
|
description: string;
|
214
|
+
code: string;
|
215
215
|
amountType: "flat-rate" | "percentage";
|
216
216
|
amountValue: number;
|
217
217
|
reducedValue: number;
|
218
218
|
newValue: number;
|
219
219
|
};
|
220
220
|
_output_out: {
|
221
|
-
code: string;
|
222
221
|
description: string;
|
222
|
+
code: string;
|
223
223
|
amountType: "flat-rate" | "percentage";
|
224
224
|
amountValue: number;
|
225
225
|
reducedValue: number;
|
@@ -239,16 +239,16 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
239
239
|
}>;
|
240
240
|
_meta: object;
|
241
241
|
_ctx_out: {
|
242
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
242
243
|
req: import("http").IncomingMessage;
|
243
244
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
244
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
245
245
|
};
|
246
246
|
_input_in: {
|
247
247
|
authorization?: string | undefined;
|
248
248
|
description: string;
|
249
249
|
freeAgentId: number;
|
250
|
-
code?: string | undefined;
|
251
250
|
leagueId?: number | undefined;
|
251
|
+
code?: string | undefined;
|
252
252
|
paymentMode?: "session" | "intent" | undefined;
|
253
253
|
cancelPath?: string | undefined;
|
254
254
|
};
|
@@ -257,8 +257,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
257
257
|
description: string;
|
258
258
|
paymentMode: "session" | "intent";
|
259
259
|
freeAgentId: number;
|
260
|
-
code?: string | undefined;
|
261
260
|
leagueId?: number | undefined;
|
261
|
+
code?: string | undefined;
|
262
262
|
cancelPath?: string | undefined;
|
263
263
|
};
|
264
264
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
@@ -302,58 +302,58 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
302
302
|
}>;
|
303
303
|
_meta: object;
|
304
304
|
_ctx_out: {
|
305
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
305
306
|
req: import("http").IncomingMessage;
|
306
307
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
307
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
308
308
|
};
|
309
309
|
_input_in: {
|
310
310
|
authorization?: string | undefined;
|
311
|
-
leagueId: number;
|
312
311
|
teamId: number;
|
312
|
+
leagueId: number;
|
313
313
|
};
|
314
314
|
_input_out: {
|
315
315
|
authorization?: string | undefined;
|
316
|
-
leagueId: number;
|
317
316
|
teamId: number;
|
317
|
+
leagueId: number;
|
318
318
|
};
|
319
319
|
_output_in: {
|
320
320
|
id: number;
|
321
321
|
deletedAt: Date | null;
|
322
|
-
memberId: number;
|
323
322
|
member: {
|
324
323
|
id: number;
|
325
324
|
firstName: string | null;
|
326
|
-
email: string;
|
327
325
|
lastName: string | null;
|
326
|
+
email: string;
|
328
327
|
};
|
328
|
+
memberId: number;
|
329
329
|
totalPaid: number;
|
330
330
|
payments: {
|
331
331
|
id: number;
|
332
|
-
payerId: number;
|
333
332
|
createdAt: string | Date;
|
334
|
-
|
333
|
+
payerId: number;
|
335
334
|
amountApplied: number | null;
|
336
335
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
336
|
+
price: number;
|
337
337
|
}[];
|
338
338
|
}[];
|
339
339
|
_output_out: {
|
340
340
|
id: number;
|
341
341
|
deletedAt: Date | null;
|
342
|
-
memberId: number;
|
343
342
|
member: {
|
344
343
|
id: number;
|
345
344
|
firstName: string | null;
|
346
|
-
email: string;
|
347
345
|
lastName: string | null;
|
346
|
+
email: string;
|
348
347
|
};
|
348
|
+
memberId: number;
|
349
349
|
totalPaid: number;
|
350
350
|
payments: {
|
351
351
|
id: number;
|
352
|
-
payerId: number;
|
353
352
|
createdAt: string | Date;
|
354
|
-
|
353
|
+
payerId: number;
|
355
354
|
amountApplied: number | null;
|
356
355
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
356
|
+
price: number;
|
357
357
|
}[];
|
358
358
|
}[];
|
359
359
|
}, unknown>>;
|
@@ -368,22 +368,22 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
368
368
|
}>;
|
369
369
|
_meta: object;
|
370
370
|
_ctx_out: {
|
371
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
371
372
|
req: import("http").IncomingMessage;
|
372
373
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
373
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
374
374
|
};
|
375
375
|
_input_in: {
|
376
376
|
authorization?: string | undefined;
|
377
|
-
price: number;
|
378
377
|
leagueId: number;
|
379
378
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
379
|
+
price: number;
|
380
380
|
teamRosterId: number;
|
381
381
|
};
|
382
382
|
_input_out: {
|
383
383
|
authorization?: string | undefined;
|
384
|
-
price: number;
|
385
384
|
leagueId: number;
|
386
385
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
386
|
+
price: number;
|
387
387
|
teamRosterId: number;
|
388
388
|
};
|
389
389
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
@@ -400,22 +400,22 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
400
400
|
}>;
|
401
401
|
_meta: object;
|
402
402
|
_ctx_out: {
|
403
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
403
404
|
req: import("http").IncomingMessage;
|
404
405
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
405
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
406
406
|
};
|
407
407
|
_input_in: {
|
408
408
|
authorization?: string | undefined;
|
409
409
|
id: number;
|
410
|
-
price: number;
|
411
410
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
411
|
+
price: number;
|
412
412
|
teamRosterId: number;
|
413
413
|
};
|
414
414
|
_input_out: {
|
415
415
|
authorization?: string | undefined;
|
416
416
|
id: number;
|
417
|
-
price: number;
|
418
417
|
offlineMethod: "STRIPE" | "CASH" | "CHECK" | "VENMO" | "ZELLE" | "ONLINE" | "BANK" | "Other" | null;
|
418
|
+
price: number;
|
419
419
|
teamRosterId: number;
|
420
420
|
};
|
421
421
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
@@ -432,9 +432,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
432
432
|
}>;
|
433
433
|
_meta: object;
|
434
434
|
_ctx_out: {
|
435
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
435
436
|
req: import("http").IncomingMessage;
|
436
437
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
437
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
438
438
|
};
|
439
439
|
_input_in: {
|
440
440
|
authorization?: string | undefined;
|
@@ -458,14 +458,14 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
458
458
|
}>;
|
459
459
|
_meta: object;
|
460
460
|
_ctx_out: {
|
461
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
461
462
|
req: import("http").IncomingMessage;
|
462
463
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
463
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
464
464
|
};
|
465
465
|
_input_in: {
|
466
466
|
authorization?: string | undefined;
|
467
|
-
leagueId: number;
|
468
467
|
teamId: number;
|
468
|
+
leagueId: number;
|
469
469
|
paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
|
470
470
|
code?: string | undefined;
|
471
471
|
paymentMode?: "session" | "intent" | undefined;
|
@@ -473,8 +473,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
473
473
|
};
|
474
474
|
_input_out: {
|
475
475
|
authorization?: string | undefined;
|
476
|
-
leagueId: number;
|
477
476
|
teamId: number;
|
477
|
+
leagueId: number;
|
478
478
|
paymentType: "total_price" | "deposit_price" | "balance_price" | "custom_price" | "off_platform";
|
479
479
|
paymentMode: "session" | "intent";
|
480
480
|
code?: string | undefined;
|
@@ -652,9 +652,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
652
652
|
}>;
|
653
653
|
_meta: object;
|
654
654
|
_ctx_out: {
|
655
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
655
656
|
req: import("http").IncomingMessage;
|
656
657
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
657
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
658
658
|
};
|
659
659
|
_input_in: {
|
660
660
|
authorization?: string | undefined;
|
@@ -680,9 +680,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
680
680
|
}>;
|
681
681
|
_meta: object;
|
682
682
|
_ctx_out: {
|
683
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
683
684
|
req: import("http").IncomingMessage;
|
684
685
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
685
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
686
686
|
};
|
687
687
|
_input_in: {
|
688
688
|
authorization?: string | undefined;
|
@@ -714,9 +714,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
714
714
|
}>;
|
715
715
|
_meta: object;
|
716
716
|
_ctx_out: {
|
717
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
717
718
|
req: import("http").IncomingMessage;
|
718
719
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
719
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
720
720
|
};
|
721
721
|
_input_in: {
|
722
722
|
authorization?: string | undefined;
|
@@ -748,23 +748,23 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
748
748
|
}>;
|
749
749
|
_meta: object;
|
750
750
|
_ctx_out: {
|
751
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
751
752
|
req: import("http").IncomingMessage;
|
752
753
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
753
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
754
754
|
};
|
755
755
|
_input_in: {
|
756
756
|
authorization?: string | undefined;
|
757
|
-
pickupId: number;
|
758
757
|
memberId: number;
|
758
|
+
pickupId: number;
|
759
759
|
code?: string | undefined;
|
760
760
|
paymentMode?: "session" | "intent" | undefined;
|
761
761
|
cancelPath?: string | undefined;
|
762
762
|
};
|
763
763
|
_input_out: {
|
764
764
|
authorization?: string | undefined;
|
765
|
-
pickupId: number;
|
766
765
|
memberId: number;
|
767
766
|
paymentMode: "session" | "intent";
|
767
|
+
pickupId: number;
|
768
768
|
code?: string | undefined;
|
769
769
|
cancelPath?: string | undefined;
|
770
770
|
};
|
@@ -807,8 +807,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
807
807
|
otherTaxLabel: string;
|
808
808
|
otherTax: number;
|
809
809
|
otherTaxPercent: number;
|
810
|
-
code?: string | undefined;
|
811
810
|
description?: string | undefined;
|
811
|
+
code?: string | undefined;
|
812
812
|
};
|
813
813
|
_output_out: {
|
814
814
|
discountApplied: number;
|
@@ -817,8 +817,8 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
817
817
|
otherTaxLabel: string;
|
818
818
|
otherTax: number;
|
819
819
|
otherTaxPercent: number;
|
820
|
-
code?: string | undefined;
|
821
820
|
description?: string | undefined;
|
821
|
+
code?: string | undefined;
|
822
822
|
};
|
823
823
|
}, unknown>>;
|
824
824
|
};
|
@@ -834,9 +834,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
834
834
|
}>;
|
835
835
|
_meta: object;
|
836
836
|
_ctx_out: {
|
837
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
837
838
|
req: import("http").IncomingMessage;
|
838
839
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
839
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
840
840
|
};
|
841
841
|
_input_in: {
|
842
842
|
authorization?: string | undefined;
|
@@ -863,19 +863,19 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
863
863
|
}>;
|
864
864
|
_meta: object;
|
865
865
|
_ctx_out: {
|
866
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
866
867
|
req: import("http").IncomingMessage;
|
867
868
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
868
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
869
869
|
};
|
870
870
|
_input_in: {
|
871
871
|
authorization?: string | undefined;
|
872
|
-
organizationId: number;
|
873
872
|
teamId: number;
|
873
|
+
organizationId: number;
|
874
874
|
};
|
875
875
|
_input_out: {
|
876
876
|
authorization?: string | undefined;
|
877
|
-
organizationId: number;
|
878
877
|
teamId: number;
|
878
|
+
organizationId: number;
|
879
879
|
};
|
880
880
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
881
881
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -894,31 +894,31 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
894
894
|
}>;
|
895
895
|
_meta: object;
|
896
896
|
_ctx_out: {
|
897
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
897
898
|
req: import("http").IncomingMessage;
|
898
899
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
899
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
900
900
|
};
|
901
901
|
_input_in: {
|
902
902
|
authorization?: string | undefined;
|
903
903
|
teamId: number;
|
904
904
|
invites: {
|
905
905
|
firstName: string;
|
906
|
-
email: string;
|
907
906
|
lastName: string;
|
907
|
+
email: string;
|
908
908
|
}[];
|
909
|
-
organizationId?: number | undefined;
|
910
909
|
leagueId?: number | undefined;
|
910
|
+
organizationId?: number | undefined;
|
911
911
|
};
|
912
912
|
_input_out: {
|
913
913
|
authorization?: string | undefined;
|
914
914
|
teamId: number;
|
915
915
|
invites: {
|
916
916
|
firstName: string;
|
917
|
-
email: string;
|
918
917
|
lastName: string;
|
918
|
+
email: string;
|
919
919
|
}[];
|
920
|
-
organizationId?: number | undefined;
|
921
920
|
leagueId?: number | undefined;
|
921
|
+
organizationId?: number | undefined;
|
922
922
|
};
|
923
923
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
924
924
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -934,31 +934,31 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
934
934
|
}>;
|
935
935
|
_meta: object;
|
936
936
|
_ctx_out: {
|
937
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
937
938
|
req: import("http").IncomingMessage;
|
938
939
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
939
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
940
940
|
};
|
941
941
|
_input_in: {
|
942
942
|
authorization?: string | undefined;
|
943
943
|
teamId: number;
|
944
944
|
invites: {
|
945
945
|
firstName: string;
|
946
|
-
email: string;
|
947
946
|
lastName: string;
|
947
|
+
email: string;
|
948
948
|
}[];
|
949
|
-
organizationId?: number | undefined;
|
950
949
|
leagueId?: number | undefined;
|
950
|
+
organizationId?: number | undefined;
|
951
951
|
};
|
952
952
|
_input_out: {
|
953
953
|
authorization?: string | undefined;
|
954
954
|
teamId: number;
|
955
955
|
invites: {
|
956
956
|
firstName: string;
|
957
|
-
email: string;
|
958
957
|
lastName: string;
|
958
|
+
email: string;
|
959
959
|
}[];
|
960
|
-
organizationId?: number | undefined;
|
961
960
|
leagueId?: number | undefined;
|
961
|
+
organizationId?: number | undefined;
|
962
962
|
};
|
963
963
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
964
964
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -974,9 +974,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
974
974
|
}>;
|
975
975
|
_meta: object;
|
976
976
|
_ctx_out: {
|
977
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
977
978
|
req: import("http").IncomingMessage;
|
978
979
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
979
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
980
980
|
};
|
981
981
|
_input_in: {
|
982
982
|
authorization?: string | undefined;
|
@@ -1002,9 +1002,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1002
1002
|
}>;
|
1003
1003
|
_meta: object;
|
1004
1004
|
_ctx_out: {
|
1005
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
1005
1006
|
req: import("http").IncomingMessage;
|
1006
1007
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1007
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1008
1008
|
};
|
1009
1009
|
_input_in: {
|
1010
1010
|
authorization?: string | undefined;
|
@@ -1032,29 +1032,29 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1032
1032
|
}>;
|
1033
1033
|
_meta: object;
|
1034
1034
|
_ctx_out: {
|
1035
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
1035
1036
|
req: import("http").IncomingMessage;
|
1036
1037
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1037
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1038
1038
|
};
|
1039
1039
|
_input_in: {
|
1040
1040
|
authorization?: string | undefined;
|
1041
1041
|
limit: number;
|
1042
1042
|
page: number;
|
1043
1043
|
direction: "asc" | "desc";
|
1044
|
-
orgWorkspaceId?: number | undefined;
|
1045
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1046
1044
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1047
1045
|
search?: string | undefined;
|
1046
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1047
|
+
orgWorkspaceId?: number | undefined;
|
1048
1048
|
};
|
1049
1049
|
_input_out: {
|
1050
1050
|
authorization?: string | undefined;
|
1051
1051
|
limit: number;
|
1052
1052
|
page: number;
|
1053
1053
|
direction: "asc" | "desc";
|
1054
|
-
orgWorkspaceId?: number | undefined;
|
1055
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1056
1054
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1057
1055
|
search?: string | undefined;
|
1056
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1057
|
+
orgWorkspaceId?: number | undefined;
|
1058
1058
|
};
|
1059
1059
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1060
1060
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -1075,9 +1075,9 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1075
1075
|
}>;
|
1076
1076
|
_meta: object;
|
1077
1077
|
_ctx_out: {
|
1078
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
1078
1079
|
req: import("http").IncomingMessage;
|
1079
1080
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1080
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1081
1081
|
};
|
1082
1082
|
_input_in: {
|
1083
1083
|
authorization?: string | undefined;
|
@@ -1143,19 +1143,19 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1143
1143
|
}>;
|
1144
1144
|
_meta: object;
|
1145
1145
|
_ctx_out: {
|
1146
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
1146
1147
|
req: import("http").IncomingMessage;
|
1147
1148
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1148
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1149
1149
|
};
|
1150
1150
|
_input_in: {
|
1151
1151
|
authorization?: string | undefined;
|
1152
|
-
amount: number;
|
1153
1152
|
transactionId: number;
|
1153
|
+
amount: number;
|
1154
1154
|
};
|
1155
1155
|
_input_out: {
|
1156
1156
|
authorization?: string | undefined;
|
1157
|
-
amount: number;
|
1158
1157
|
transactionId: number;
|
1158
|
+
amount: number;
|
1159
1159
|
};
|
1160
1160
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1161
1161
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
@@ -1171,29 +1171,29 @@ export declare const createTRPCClientQuery: (options?: InstanceOptions) => {
|
|
1171
1171
|
}>;
|
1172
1172
|
_meta: object;
|
1173
1173
|
_ctx_out: {
|
1174
|
+
user: import("../api-type/src/types/auth").TJwtPayload;
|
1174
1175
|
req: import("http").IncomingMessage;
|
1175
1176
|
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
1176
|
-
user: import("../api-type/src/types/auth").TJwtPayload;
|
1177
1177
|
};
|
1178
1178
|
_input_in: {
|
1179
1179
|
authorization?: string | undefined;
|
1180
1180
|
limit: number;
|
1181
1181
|
page: number;
|
1182
1182
|
direction: "asc" | "desc";
|
1183
|
-
orgWorkspaceId?: number | undefined;
|
1184
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1185
1183
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1186
1184
|
search?: string | undefined;
|
1185
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1186
|
+
orgWorkspaceId?: number | undefined;
|
1187
1187
|
};
|
1188
1188
|
_input_out: {
|
1189
1189
|
authorization?: string | undefined;
|
1190
1190
|
limit: number;
|
1191
1191
|
page: number;
|
1192
1192
|
direction: "asc" | "desc";
|
1193
|
-
orgWorkspaceId?: number | undefined;
|
1194
|
-
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1195
1193
|
type?: "league" | "pickup" | "free_agent" | undefined;
|
1196
1194
|
search?: string | undefined;
|
1195
|
+
status?: "CREATED" | "REJECTED" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "PARTIALLY_REFUNDED" | "FULLY_REFUNDED" | undefined;
|
1196
|
+
orgWorkspaceId?: number | undefined;
|
1197
1197
|
};
|
1198
1198
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
1199
1199
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED