@@ -1537,6 +1537,8 @@ export interface MaxShareLinkExpResponse {
15371537 exp : number ;
15381538}
15391539
1540+ export type SelectedSAs = string [ ] ;
1541+
15401542export type QueryParamsType = Record < string | number , any > ;
15411543export type ResponseFormat = keyof Omit < Body , "body" | "bodyUsed" > ;
15421544
@@ -2177,14 +2179,15 @@ export class Api<
21772179 */
21782180 downloadMultipleObjects : (
21792181 bucketName : string ,
2180- objectList : string [ ] ,
2182+ objectList : SelectedUsers ,
21812183 params : RequestParams = { } ,
21822184 ) =>
21832185 this . request < File , ApiError > ( {
21842186 path : `/buckets/${ bucketName } /objects/download-multiple` ,
21852187 method : "POST" ,
21862188 body : objectList ,
21872189 secure : true ,
2190+ type : ContentType . Json ,
21882191 ...params ,
21892192 } ) ,
21902193
@@ -3088,14 +3091,15 @@ export class Api<
30883091 * @secure
30893092 */
30903093 deleteMultipleServiceAccounts : (
3091- selectedSA : string [ ] ,
3094+ selectedSA : SelectedSAs ,
30923095 params : RequestParams = { } ,
30933096 ) =>
30943097 this . request < void , ApiError > ( {
30953098 path : `/service-accounts/delete-multi` ,
30963099 method : "DELETE" ,
30973100 body : selectedSA ,
30983101 secure : true ,
3102+ type : ContentType . Json ,
30993103 ...params ,
31003104 } ) ,
31013105
0 commit comments