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.
Files changed (134) hide show
  1. package/api-type/src/trpcRouter/discount_code.router.d.ts +7 -7
  2. package/api-type/src/trpcRouter/free_agent_payments.router.d.ts +26 -24
  3. package/api-type/src/trpcRouter/league_payments.router.d.ts +16 -16
  4. package/api-type/src/trpcRouter/oauth.router.d.ts +1 -1
  5. package/api-type/src/trpcRouter/organization.router.d.ts +2 -2
  6. package/api-type/src/trpcRouter/pickup_payments.router.d.ts +2 -2
  7. package/api-type/src/trpcRouter/router.d.ts +296 -144
  8. package/api-type/src/trpcRouter/team.d.ts +80 -6
  9. package/api-type/src/trpcRouter/transaction.router.d.ts +14 -14
  10. package/dist/{index.d.ts → src/index.d.ts} +552 -326
  11. package/dist/src/index.js.map +1 -0
  12. package/dist/{provider.d.ts → src/provider.d.ts} +368 -216
  13. package/dist/{provider.js → src/provider.js} +2 -2
  14. package/dist/src/provider.js.map +1 -0
  15. package/dist/{query.d.ts → src/query.d.ts} +184 -110
  16. package/dist/src/query.js.map +1 -0
  17. package/dist/tsconfig.tsbuildinfo +1 -0
  18. package/package.json +23 -7
  19. package/api-type/src/models/assists.d.ts +0 -7
  20. package/api-type/src/models/base_league.d.ts +0 -45
  21. package/api-type/src/models/block.d.ts +0 -27
  22. package/api-type/src/models/chat.d.ts +0 -37
  23. package/api-type/src/models/chat_members.d.ts +0 -36
  24. package/api-type/src/models/clap.d.ts +0 -38
  25. package/api-type/src/models/comment.d.ts +0 -46
  26. package/api-type/src/models/demo_leads.d.ts +0 -64
  27. package/api-type/src/models/direct_message.d.ts +0 -34
  28. package/api-type/src/models/dynamic_group.d.ts +0 -42
  29. package/api-type/src/models/dynamic_season_league_template.d.ts +0 -120
  30. package/api-type/src/models/dynamic_stage.d.ts +0 -52
  31. package/api-type/src/models/dynamic_stage_template.d.ts +0 -50
  32. package/api-type/src/models/emoji.d.ts +0 -31
  33. package/api-type/src/models/emoji_media_mapper.d.ts +0 -38
  34. package/api-type/src/models/event.d.ts +0 -133
  35. package/api-type/src/models/free_agent_payment.d.ts +0 -108
  36. package/api-type/src/models/game_stat_model.d.ts +0 -55
  37. package/api-type/src/models/goals.d.ts +0 -7
  38. package/api-type/src/models/hooks/chat_member.d.ts +0 -4
  39. package/api-type/src/models/hooks/event.d.ts +0 -6
  40. package/api-type/src/models/hooks/league_schedule.d.ts +0 -3
  41. package/api-type/src/models/hooks/pickup_group_member.d.ts +0 -4
  42. package/api-type/src/models/hooks/schedule_events.d.ts +0 -2
  43. package/api-type/src/models/hooks/team_roster.d.ts +0 -4
  44. package/api-type/src/models/invite.d.ts +0 -108
  45. package/api-type/src/models/job.d.ts +0 -33
  46. package/api-type/src/models/job_type.d.ts +0 -26
  47. package/api-type/src/models/last_seen_team_message.d.ts +0 -31
  48. package/api-type/src/models/league.d.ts +0 -175
  49. package/api-type/src/models/league_group_teams.d.ts +0 -38
  50. package/api-type/src/models/league_media.d.ts +0 -57
  51. package/api-type/src/models/league_payment.d.ts +0 -93
  52. package/api-type/src/models/league_price.d.ts +0 -52
  53. package/api-type/src/models/league_registration.d.ts +0 -41
  54. package/api-type/src/models/league_schedule.d.ts +0 -116
  55. package/api-type/src/models/league_schedule_referee.d.ts +0 -29
  56. package/api-type/src/models/league_standing.d.ts +0 -83
  57. package/api-type/src/models/league_stripe.d.ts +0 -23
  58. package/api-type/src/models/league_teams.d.ts +0 -34
  59. package/api-type/src/models/league_template.d.ts +0 -35
  60. package/api-type/src/models/league_waitlist.d.ts +0 -39
  61. package/api-type/src/models/market_post.d.ts +0 -91
  62. package/api-type/src/models/match_cards.d.ts +0 -42
  63. package/api-type/src/models/match_notes.d.ts +0 -49
  64. package/api-type/src/models/member.d.ts +0 -138
  65. package/api-type/src/models/member_hidden_comment.d.ts +0 -31
  66. package/api-type/src/models/member_hidden_message.d.ts +0 -48
  67. package/api-type/src/models/member_muted_chat.d.ts +0 -38
  68. package/api-type/src/models/member_muted_event.d.ts +0 -25
  69. package/api-type/src/models/member_organizations.d.ts +0 -65
  70. package/api-type/src/models/member_stripe.d.ts +0 -23
  71. package/api-type/src/models/message.d.ts +0 -34
  72. package/api-type/src/models/mvp_votes.d.ts +0 -42
  73. package/api-type/src/models/notification.d.ts +0 -46
  74. package/api-type/src/models/oauth.d.ts +0 -49
  75. package/api-type/src/models/organization.d.ts +0 -68
  76. package/api-type/src/models/organization_free_agent.d.ts +0 -70
  77. package/api-type/src/models/organization_free_agent_price.d.ts +0 -37
  78. package/api-type/src/models/organization_leagues.d.ts +0 -23
  79. package/api-type/src/models/organization_learn_more.d.ts +0 -75
  80. package/api-type/src/models/organization_stripe.d.ts +0 -68
  81. package/api-type/src/models/organization_waivers.d.ts +0 -59
  82. package/api-type/src/models/organization_workspace.d.ts +0 -76
  83. package/api-type/src/models/organizer.d.ts +0 -70
  84. package/api-type/src/models/organizer_roles.d.ts +0 -26
  85. package/api-type/src/models/pickup.d.ts +0 -163
  86. package/api-type/src/models/pickup_config.d.ts +0 -34
  87. package/api-type/src/models/pickup_group.d.ts +0 -83
  88. package/api-type/src/models/pickup_group_members.d.ts +0 -42
  89. package/api-type/src/models/pickup_payments.d.ts +0 -79
  90. package/api-type/src/models/pickup_price.d.ts +0 -41
  91. package/api-type/src/models/pickup_registration.d.ts +0 -38
  92. package/api-type/src/models/pickup_roster.d.ts +0 -41
  93. package/api-type/src/models/pickup_stripe.d.ts +0 -23
  94. package/api-type/src/models/pickup_waitlist.d.ts +0 -33
  95. package/api-type/src/models/post.d.ts +0 -66
  96. package/api-type/src/models/referee_note.d.ts +0 -35
  97. package/api-type/src/models/referee_organization.d.ts +0 -29
  98. package/api-type/src/models/referees.d.ts +0 -63
  99. package/api-type/src/models/refresh_token.d.ts +0 -39
  100. package/api-type/src/models/refund.d.ts +0 -57
  101. package/api-type/src/models/report.d.ts +0 -32
  102. package/api-type/src/models/reported_comment.d.ts +0 -28
  103. package/api-type/src/models/reported_event.d.ts +0 -28
  104. package/api-type/src/models/reported_message.d.ts +0 -28
  105. package/api-type/src/models/reported_player.d.ts +0 -28
  106. package/api-type/src/models/role.d.ts +0 -44
  107. package/api-type/src/models/rsvp.d.ts +0 -47
  108. package/api-type/src/models/schedule_event.d.ts +0 -59
  109. package/api-type/src/models/season.d.ts +0 -48
  110. package/api-type/src/models/season_league_template.d.ts +0 -126
  111. package/api-type/src/models/setting.d.ts +0 -24
  112. package/api-type/src/models/signed_member_waivers.d.ts +0 -59
  113. package/api-type/src/models/stripe_balance.d.ts +0 -59
  114. package/api-type/src/models/stripe_transaction.d.ts +0 -65
  115. package/api-type/src/models/stripe_transfer.d.ts +0 -59
  116. package/api-type/src/models/stripe_webhook.d.ts +0 -26
  117. package/api-type/src/models/support.d.ts +0 -39
  118. package/api-type/src/models/team.d.ts +0 -97
  119. package/api-type/src/models/team_league_season_roster.d.ts +0 -42
  120. package/api-type/src/models/team_members.d.ts +0 -43
  121. package/api-type/src/models/team_message.d.ts +0 -33
  122. package/api-type/src/models/team_roster.d.ts +0 -71
  123. package/api-type/src/models/transaction.d.ts +0 -155
  124. package/api-type/src/models/transaction_event.d.ts +0 -49
  125. package/api-type/src/models/utils/chat.d.ts +0 -6
  126. package/api-type/src/models/utils/league.d.ts +0 -2
  127. package/api-type/src/models/utils/organization.d.ts +0 -1
  128. package/api-type/src/models/utils/team.d.ts +0 -2
  129. package/dist/index.js.map +0 -1
  130. package/dist/provider.js.map +0 -1
  131. package/dist/query.js.map +0 -1
  132. package/tsconfig.json +0 -22
  133. /package/dist/{index.js → src/index.js} +0 -0
  134. /package/dist/{query.js → src/query.js} +0 -0
@@ -1,23 +0,0 @@
1
- import { Model } from 'objection';
2
- export declare class LeagueStripe extends Model {
3
- id: number;
4
- leagueId: number;
5
- stripeProductId: string;
6
- static tableName: string;
7
- static get idColumn(): string;
8
- static jsonSchema: {
9
- type: string;
10
- required: string[];
11
- properties: {
12
- id: {
13
- type: string;
14
- };
15
- leagueId: {
16
- type: string;
17
- };
18
- stripeProductId: {
19
- type: string;
20
- };
21
- };
22
- };
23
- }
@@ -1,34 +0,0 @@
1
- import { Model } from 'objection';
2
- declare const LeagueTeam_base: Omit<typeof Model, "new"> & import("objection-js-soft-delete").SoftDeleteStatic<typeof Model>;
3
- export declare class LeagueTeam extends LeagueTeam_base {
4
- id: number;
5
- leagueId: number;
6
- teamId: number;
7
- modifiedLeaguePrice: number | null;
8
- updatedAt: Date | string;
9
- createdAt: Date | string;
10
- deletedAt: Date | null;
11
- count?: number;
12
- static tableName: string;
13
- static get idColumn(): string;
14
- static get modifiers(): Record<string, (builder: any) => void>;
15
- static jsonSchema: {
16
- type: string;
17
- required: string[];
18
- properties: {
19
- id: {
20
- type: string;
21
- };
22
- leagueId: {
23
- type: string;
24
- };
25
- teamId: {
26
- type: string;
27
- };
28
- modifiedLeaguePrice: {
29
- type: string[];
30
- };
31
- };
32
- };
33
- }
34
- export {};
@@ -1,35 +0,0 @@
1
- import { Model } from 'objection';
2
- export declare class LeagueTemplate extends Model {
3
- id: number;
4
- leagueId: number;
5
- startTimes?: string[];
6
- locations?: string[];
7
- formattedStartTimes?: Date[];
8
- static tableName: string;
9
- static get idColumn(): string;
10
- static get jsonAttributes(): [];
11
- static jsonSchema: {
12
- type: string;
13
- required: string[];
14
- properties: {
15
- id: {
16
- type: string;
17
- };
18
- leagueId: {
19
- type: string;
20
- };
21
- startTimes: {
22
- type: string;
23
- items: {
24
- type: string;
25
- };
26
- };
27
- locations: {
28
- type: string;
29
- items: {
30
- type: string;
31
- };
32
- };
33
- };
34
- };
35
- }
@@ -1,39 +0,0 @@
1
- import { Model, RelationMappings, QueryBuilder } from 'objection';
2
- import { Member } from './member';
3
- import { Team } from './team';
4
- import { League } from './league';
5
- declare const LeagueWaitlist_base: Omit<typeof Model, "new"> & import("objection-js-soft-delete").SoftDeleteStatic<typeof Model>;
6
- export declare class LeagueWaitlist extends LeagueWaitlist_base {
7
- id: number;
8
- leagueId: number;
9
- teamId: number;
10
- registrantId: number;
11
- updatedAt?: Date | string;
12
- createdAt?: Date | string;
13
- deletedAt?: Date | null;
14
- league?: League | null;
15
- team?: Team | null;
16
- registrant?: Member | null;
17
- static tableName: string;
18
- static get relationMappings(): RelationMappings;
19
- static get modifiers(): {
20
- filterDeleted(builder: QueryBuilder<any>): void;
21
- };
22
- static get idColumn(): string;
23
- static jsonSchema: {
24
- type: string;
25
- required: string[];
26
- properties: {
27
- leagueId: {
28
- type: string;
29
- };
30
- teamId: {
31
- type: string;
32
- };
33
- registrantId: {
34
- type: string;
35
- };
36
- };
37
- };
38
- }
39
- export {};
@@ -1,91 +0,0 @@
1
- import { Model, RelationMappings } from 'objection';
2
- import { Member } from './member';
3
- import { Organization } from './organization';
4
- import { Organizer } from './organizer';
5
- export declare enum MarketTags {
6
- Event = "event",
7
- Pickup = "pickup",
8
- Merch = "merch",
9
- Sub = "sub",
10
- Sponsor = "sponsor",
11
- General = "general",
12
- Uniform = "uniform",
13
- Featured = "featured",
14
- Leagues = "leagues",
15
- Free_Agent = "free agent"
16
- }
17
- declare const MarketPost_base: Omit<typeof Model, "new"> & import("objection-js-soft-delete").SoftDeleteStatic<typeof Model>;
18
- export declare class MarketPost extends MarketPost_base {
19
- id: number;
20
- title: string;
21
- description: string | null;
22
- heroImage: string;
23
- fileName: string;
24
- callToAction: string | null;
25
- tag: MarketTags;
26
- url: string | null;
27
- organizationId: number | null;
28
- orgWorkspaceId: number | null;
29
- organizerId: number | null;
30
- memberId: number | null;
31
- createdAt: Date | string;
32
- updatedAt: Date | string;
33
- deletedAt: Date | string | null;
34
- organization?: Organization;
35
- organizer?: Organizer;
36
- member?: Member;
37
- static tableName: string;
38
- static get idColumn(): string;
39
- static get relationMappings(): RelationMappings;
40
- static jsonSchema: {
41
- type: string;
42
- required: string[];
43
- properties: {
44
- id: {
45
- type: string;
46
- };
47
- title: {
48
- type: string;
49
- minLength: number;
50
- maxLength: number;
51
- };
52
- description: {
53
- type: string;
54
- minLength: number;
55
- maxLength: number;
56
- };
57
- heroImage: {
58
- type: string;
59
- minLength: number;
60
- maxLength: number;
61
- };
62
- callToAction: {
63
- type: string;
64
- minLength: number;
65
- maxLength: number;
66
- };
67
- tag: {
68
- type: string;
69
- enum: MarketTags[];
70
- };
71
- url: {
72
- type: string;
73
- minLength: number;
74
- maxLength: number;
75
- };
76
- organizationId: {
77
- type: string[];
78
- };
79
- orgWorkspaceId: {
80
- type: string[];
81
- };
82
- organizerId: {
83
- type: string[];
84
- };
85
- memberId: {
86
- type: string[];
87
- };
88
- };
89
- };
90
- }
91
- export {};
@@ -1,42 +0,0 @@
1
- import { Model, RelationMappings } from 'objection';
2
- import { MatchCardTypes } from '../types/league';
3
- declare const MatchCards_base: Omit<typeof Model, "new"> & import("objection-js-soft-delete").SoftDeleteStatic<typeof Model>;
4
- export declare class MatchCards extends MatchCards_base {
5
- id: number;
6
- type: MatchCardTypes;
7
- scheduleEventId: number;
8
- teamId: number;
9
- memberId?: number;
10
- count: number;
11
- updatedAt: Date | string;
12
- createdAt: Date | string;
13
- deletedAt: Date | null;
14
- static tableName: string;
15
- static get relationMappings(): RelationMappings;
16
- static jsonSchema: {
17
- type: string;
18
- required: string[];
19
- properties: {
20
- id: {
21
- type: string;
22
- };
23
- type: {
24
- type: string;
25
- };
26
- scheduleEventId: {
27
- type: string;
28
- };
29
- teamId: {
30
- type: string;
31
- };
32
- memberId: {
33
- type: string[];
34
- };
35
- count: {
36
- type: string;
37
- default: number;
38
- };
39
- };
40
- };
41
- }
42
- export {};
@@ -1,49 +0,0 @@
1
- import { Model, RelationMappings } from 'objection';
2
- import { ReportLabel } from '../types/league';
3
- declare const MatchNotes_base: Omit<typeof Model, "new"> & import("objection-js-soft-delete").SoftDeleteStatic<typeof Model>;
4
- export declare class MatchNotes extends MatchNotes_base {
5
- id: number;
6
- content: string;
7
- labels: ReportLabel[] | null;
8
- organizerId: number | null;
9
- refereeId: number | null;
10
- scheduleEventId: number;
11
- updatedAt: Date | string;
12
- createdAt: Date | string;
13
- deletedAt: Date | null;
14
- static tableName: string;
15
- static get relationMappings(): RelationMappings;
16
- static get modifiers(): Record<string, (builder: any) => void>;
17
- static jsonSchema: {
18
- type: string;
19
- required: string[];
20
- properties: {
21
- id: {
22
- type: string;
23
- };
24
- content: {
25
- type: string;
26
- minLength: number;
27
- maxLength: number;
28
- };
29
- reportLabels: {
30
- type: string[];
31
- items: {
32
- type: string[];
33
- };
34
- };
35
- organizerId: {
36
- type: string[];
37
- default: null;
38
- };
39
- refereeId: {
40
- type: string[];
41
- default: null;
42
- };
43
- scheduleEventId: {
44
- type: string;
45
- };
46
- };
47
- };
48
- }
49
- export {};
@@ -1,138 +0,0 @@
1
- import { Model, RelationMappings } from 'objection';
2
- import { Status } from './rsvp';
3
- import { Team } from './team';
4
- import { TMemberGameStatsResponse } from '../controllers/game_stats';
5
- import { Transaction } from './transaction';
6
- export declare const enum AccountStatus {
7
- unverified = "unverified",
8
- verified = "verified"
9
- }
10
- declare const Member_base: Omit<typeof Model, "new"> & import("objection-js-soft-delete").SoftDeleteStatic<typeof Model>;
11
- export declare class Member extends Member_base {
12
- id: number;
13
- avatar: string | null;
14
- bio: string | null;
15
- birthday: string | Date | null;
16
- city?: string;
17
- firstName: string | null;
18
- email: string;
19
- favoriteTeamId?: number | null;
20
- lastName: string | null;
21
- location: string | null;
22
- password: string | null;
23
- street?: string;
24
- state?: string;
25
- accountStatus: string;
26
- verificationToken: string | null;
27
- zip?: string;
28
- gender?: string;
29
- phoneNumber: string | null;
30
- pushToken: string | null;
31
- isSub?: boolean;
32
- isRostered?: boolean;
33
- rsvpStatus?: Status;
34
- isBlocked?: boolean;
35
- teams?: Team[];
36
- gameStats?: TMemberGameStatsResponse;
37
- isPushTokenRegistered?: boolean;
38
- transactions?: Transaction[];
39
- deletedAt: Date | null;
40
- static tableName: string;
41
- static get relationMappings(): RelationMappings;
42
- static get idColumn(): string;
43
- static get modifiers(): Record<string, (builder: any) => void>;
44
- getPublicInfo(): Partial<Member>;
45
- static isEmailTaken(email: string): Promise<boolean>;
46
- getFullName(): string;
47
- static jsonSchema: {
48
- type: string;
49
- required: string[];
50
- properties: {
51
- id: {
52
- type: string;
53
- };
54
- avatar: {
55
- type: string;
56
- minLength: number;
57
- maxLength: number;
58
- };
59
- bio: {
60
- type: string;
61
- minLength: number;
62
- maxLength: number;
63
- };
64
- birthday: {
65
- type: string;
66
- };
67
- city: {
68
- type: string;
69
- minLength: number;
70
- maxLength: number;
71
- };
72
- email: {
73
- type: string;
74
- minLength: number;
75
- maxLength: number;
76
- };
77
- favoriteTeamId: {
78
- anyOf: {
79
- type: string;
80
- }[];
81
- };
82
- firstName: {
83
- type: string[];
84
- minLength: number;
85
- maxLength: number;
86
- };
87
- lastName: {
88
- type: string[];
89
- minLength: number;
90
- maxLength: number;
91
- };
92
- location: {
93
- type: string[];
94
- minLength: number;
95
- maxLength: number;
96
- };
97
- password: {
98
- type: string;
99
- minLength: number;
100
- maxLength: number;
101
- };
102
- street: {
103
- type: string;
104
- minLength: number;
105
- maxLength: number;
106
- };
107
- state: {
108
- type: string;
109
- minLength: number;
110
- maxLength: number;
111
- };
112
- accountStatus: {
113
- type: string;
114
- enum: AccountStatus[];
115
- };
116
- verificationToken: {
117
- type: string;
118
- minLength: number;
119
- maxLength: number;
120
- };
121
- zip: {
122
- type: string[];
123
- pattern: string;
124
- };
125
- phoneNumber: {
126
- type: string[];
127
- minLength: number;
128
- maxLength: number;
129
- };
130
- gender: {
131
- type: string[];
132
- minLength: number;
133
- maxLength: number;
134
- };
135
- };
136
- };
137
- }
138
- export {};
@@ -1,31 +0,0 @@
1
- import { Model, RelationMappings } from 'objection';
2
- export declare class MemberHiddenComment extends Model {
3
- static tableName: string;
4
- id: number;
5
- memberId: number;
6
- commentId: number;
7
- createdAt: Date | string;
8
- updatedAt: Date | string;
9
- static get relationMappings(): RelationMappings;
10
- static jsonSchema: {
11
- type: string;
12
- required: string[];
13
- properties: {
14
- id: {
15
- type: string;
16
- };
17
- commentId: {
18
- type: string;
19
- };
20
- memberId: {
21
- type: string;
22
- };
23
- createdAt: {
24
- type: string;
25
- };
26
- updatedAt: {
27
- type: string;
28
- };
29
- };
30
- };
31
- }
@@ -1,48 +0,0 @@
1
- import { Model, RelationMappings } from 'objection';
2
- import { ChatType } from './utils/chat';
3
- export declare class MemberHiddenMessage extends Model {
4
- static tableName: string;
5
- id: number;
6
- memberId: number;
7
- messageId: string;
8
- chatType: ChatType;
9
- chatId: number | null;
10
- teamId: number | null;
11
- pickupGroupId: number | null;
12
- createdAt: Date | string;
13
- updatedAt: Date | string;
14
- static get relationMappings(): RelationMappings;
15
- static jsonSchema: {
16
- type: string;
17
- required: string[];
18
- properties: {
19
- id: {
20
- type: string;
21
- };
22
- memberId: {
23
- type: string;
24
- };
25
- messageId: {
26
- type: string;
27
- };
28
- chatType: {
29
- type: string;
30
- enum: ChatType[];
31
- minLength: number;
32
- maxLength: number;
33
- };
34
- teamId: {
35
- type: string;
36
- };
37
- chatId: {
38
- type: string;
39
- };
40
- createdAt: {
41
- type: string;
42
- };
43
- updatedAt: {
44
- type: string;
45
- };
46
- };
47
- };
48
- }
@@ -1,38 +0,0 @@
1
- import { Model, RelationMappings } from 'objection';
2
- import { ChatType } from './utils/chat';
3
- export declare class MemberMutedChat extends Model {
4
- static tableName: string;
5
- id: number;
6
- memberId: number;
7
- chatType: ChatType;
8
- teamId: number | null;
9
- chatId: number | null;
10
- pickupGroupId: number | null;
11
- createdAt: Date | string;
12
- updatedAt: Date | string;
13
- static get relationMappings(): RelationMappings;
14
- static jsonSchema: {
15
- type: string;
16
- required: string[];
17
- properties: {
18
- id: {
19
- type: string;
20
- };
21
- memberId: {
22
- type: string;
23
- };
24
- chatType: {
25
- type: string;
26
- enum: ChatType[];
27
- minLength: number;
28
- maxLength: number;
29
- };
30
- teamId: {
31
- type: string[];
32
- };
33
- chatId: {
34
- type: string[];
35
- };
36
- };
37
- };
38
- }
@@ -1,25 +0,0 @@
1
- import { Model, RelationMappings } from 'objection';
2
- export declare class MemberMutedEvent extends Model {
3
- static tableName: string;
4
- id: number;
5
- memberId: number;
6
- eventId: number;
7
- createdAt: Date | string;
8
- updatedAt: Date | string;
9
- static get relationMappings(): RelationMappings;
10
- static jsonSchema: {
11
- type: string;
12
- required: string[];
13
- properties: {
14
- id: {
15
- type: string;
16
- };
17
- memberId: {
18
- type: string;
19
- };
20
- eventId: {
21
- type: string;
22
- };
23
- };
24
- };
25
- }
@@ -1,65 +0,0 @@
1
- import { Model } from 'objection';
2
- import { Organization } from './organization';
3
- import { OrgWorkspace } from './organization_workspace';
4
- import { Member } from './member';
5
- export declare class MemberOrganizations extends Model {
6
- id: number;
7
- memberId: number;
8
- organizationId: number;
9
- workspaceId: number | null;
10
- createdAt: Date;
11
- updatedAt: Date;
12
- static tableName: string;
13
- static jsonSchema: {
14
- type: string;
15
- required: string[];
16
- properties: {
17
- id: {
18
- type: string;
19
- };
20
- memberId: {
21
- type: string;
22
- };
23
- organizationId: {
24
- type: string;
25
- };
26
- workspaceId: {
27
- type: string[];
28
- };
29
- createdAt: {
30
- type: string;
31
- format: string;
32
- };
33
- updatedAt: {
34
- type: string;
35
- format: string;
36
- };
37
- };
38
- };
39
- static get relationMappings(): {
40
- member: {
41
- relation: import("objection").RelationType;
42
- modelClass: typeof Member;
43
- join: {
44
- from: string;
45
- to: string;
46
- };
47
- };
48
- organization: {
49
- relation: import("objection").RelationType;
50
- modelClass: typeof Organization;
51
- join: {
52
- from: string;
53
- to: string;
54
- };
55
- };
56
- workspace: {
57
- relation: import("objection").RelationType;
58
- modelClass: typeof OrgWorkspace;
59
- join: {
60
- from: string;
61
- to: string;
62
- };
63
- };
64
- };
65
- }
@@ -1,23 +0,0 @@
1
- import { Model } from 'objection';
2
- export declare class MemberStripe extends Model {
3
- id: number;
4
- memberId: number;
5
- stripeCustomerId: string;
6
- static tableName: string;
7
- static get idColumn(): string;
8
- static jsonSchema: {
9
- type: string;
10
- required: string[];
11
- properties: {
12
- id: {
13
- type: string;
14
- };
15
- memberId: {
16
- type: string;
17
- };
18
- stripeCustomerId: {
19
- type: string;
20
- };
21
- };
22
- };
23
- }