@@ -119,39 +119,41 @@ export const SubscriptionDetailSchema = z
119
119
} )
120
120
. nullable ( )
121
121
122
- export const AccountDetailsSchema = z . object ( {
123
- activatedStudentCount : z . number ( ) ,
124
- activatedUserCount : z . number ( ) ,
125
- checkoutSessionId : z . string ( ) . nullable ( ) ,
126
- delinquent : z . boolean ( ) . nullable ( ) ,
127
- email : z . string ( ) . nullable ( ) ,
128
- inactiveUserCount : z . number ( ) ,
129
- integrationId : z . number ( ) . nullable ( ) ,
130
- name : z . string ( ) . nullable ( ) ,
131
- nbActivePrivateRepos : z . number ( ) . nullable ( ) ,
132
- planAutoActivate : z . boolean ( ) . nullable ( ) ,
133
- planProvider : z . string ( ) . nullable ( ) ,
134
- repoTotalCredits : z . number ( ) ,
135
- rootOrganization : z
136
- . object ( {
137
- username : z . string ( ) . nullish ( ) ,
138
- } )
139
- . nullable ( ) ,
140
- scheduleDetail : z
141
- . object ( {
142
- scheduledPhase : z
143
- . object ( {
144
- quantity : z . number ( ) ,
145
- plan : z . string ( ) ,
146
- startDate : z . number ( ) ,
147
- } )
148
- . nullable ( ) ,
149
- } )
150
- . nullable ( ) ,
151
- studentCount : z . number ( ) ,
152
- subscriptionDetail : SubscriptionDetailSchema ,
153
- usesInvoice : z . boolean ( ) ,
154
- } )
122
+ export const AccountDetailsSchema = z
123
+ . object ( {
124
+ activatedStudentCount : z . number ( ) ,
125
+ activatedUserCount : z . number ( ) ,
126
+ checkoutSessionId : z . string ( ) . nullable ( ) ,
127
+ delinquent : z . boolean ( ) . nullable ( ) ,
128
+ email : z . string ( ) . nullable ( ) ,
129
+ inactiveUserCount : z . number ( ) ,
130
+ integrationId : z . number ( ) . nullable ( ) ,
131
+ name : z . string ( ) . nullable ( ) ,
132
+ nbActivePrivateRepos : z . number ( ) . nullable ( ) ,
133
+ planAutoActivate : z . boolean ( ) . nullable ( ) ,
134
+ planProvider : z . string ( ) . nullable ( ) ,
135
+ repoTotalCredits : z . number ( ) ,
136
+ rootOrganization : z
137
+ . object ( {
138
+ username : z . string ( ) . nullish ( ) ,
139
+ } )
140
+ . nullable ( ) ,
141
+ scheduleDetail : z
142
+ . object ( {
143
+ scheduledPhase : z
144
+ . object ( {
145
+ quantity : z . number ( ) ,
146
+ plan : z . string ( ) ,
147
+ startDate : z . number ( ) ,
148
+ } )
149
+ . nullable ( ) ,
150
+ } )
151
+ . nullable ( ) ,
152
+ studentCount : z . number ( ) ,
153
+ subscriptionDetail : SubscriptionDetailSchema ,
154
+ usesInvoice : z . boolean ( ) ,
155
+ } )
156
+ . nullish ( )
155
157
156
158
export interface UseAccountDetailsArgs {
157
159
provider : Provider
0 commit comments