@beatgig/backend-types
Advanced tools
Comparing version 1.0.1634777064-1634822534 to 1.0.1634862433-1634865468
@@ -19,3 +19,3 @@ /* istanbul ignore file */ | ||
BASE: '', | ||
VERSION: '1.0.1634777064', | ||
VERSION: '1.0.1634862433', | ||
WITH_CREDENTIALS: false, | ||
@@ -22,0 +22,0 @@ TOKEN: undefined, |
@@ -1,1 +0,1 @@ | ||
{"name": "@beatgig/backend-types", "version": "1.0.1634777064-1634822534", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false} | ||
{"name": "@beatgig/backend-types", "version": "1.0.1634862433-1634865468", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false} |
@@ -10,2 +10,3 @@ /* istanbul ignore file */ | ||
import type { ConnectAccountDisplay } from '../models/ConnectAccountDisplay'; | ||
import type { TransferStripe } from '../models/TransferStripe'; | ||
import { request as __request } from '../core/request'; | ||
@@ -339,2 +340,31 @@ | ||
/** | ||
* Get Artist Transfers | ||
* @returns TransferStripe Successful Response | ||
* @throws ApiError | ||
*/ | ||
public static async getArtistTransfers({ | ||
artistId, | ||
artistSlug, | ||
adminOnBehalfOf, | ||
}: { | ||
artistId?: string, | ||
artistSlug?: string, | ||
adminOnBehalfOf?: string, | ||
}): Promise<Array<TransferStripe>> { | ||
const result = await __request({ | ||
method: 'GET', | ||
path: `/api/v1/artists/transfers/all`, | ||
query: { | ||
'artist_id': artistId, | ||
'artist_slug': artistSlug, | ||
'admin_on_behalf_of': adminOnBehalfOf, | ||
}, | ||
errors: { | ||
422: `Validation Error`, | ||
}, | ||
}); | ||
return result.body; | ||
} | ||
/** | ||
* Refresh Spotify Data | ||
@@ -341,0 +371,0 @@ * @returns ArtistDisplay Successful Response |
@@ -192,2 +192,3 @@ /* istanbul ignore file */ | ||
requestBody, | ||
remove = false, | ||
adminOnBehalfOf, | ||
@@ -197,2 +198,3 @@ }: { | ||
requestBody: Colors, | ||
remove?: boolean, | ||
adminOnBehalfOf?: string, | ||
@@ -204,2 +206,3 @@ }): Promise<VenueDisplay> { | ||
query: { | ||
'remove': remove, | ||
'admin_on_behalf_of': adminOnBehalfOf, | ||
@@ -206,0 +209,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
297094
9831