@beatgig/backend-types
Advanced tools
Comparing version 1.0.1644334806-1644363061 to 1.0.1646848132-1647027603
@@ -19,3 +19,3 @@ /* istanbul ignore file */ | ||
BASE: '', | ||
VERSION: '1.0.1644334806', | ||
VERSION: '1.0.1646848132', | ||
WITH_CREDENTIALS: false, | ||
@@ -22,0 +22,0 @@ TOKEN: undefined, |
@@ -17,2 +17,3 @@ /* istanbul ignore file */ | ||
display_images?: DisplayImages; | ||
production_and_venue_specs?: string; | ||
} |
@@ -1,1 +0,1 @@ | ||
{"name": "@beatgig/backend-types", "version": "1.0.1644334806-1644363061", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false} | ||
{"name": "@beatgig/backend-types", "version": "1.0.1646848132-1647027603", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false} |
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type { BandConfigurationOption } from '../models/BandConfigurationOption'; | ||
import type { Body_create_bookings_api_v1_bookings_many_post } from '../models/Body_create_bookings_api_v1_bookings_many_post'; | ||
@@ -284,2 +285,27 @@ import type { BookingDisplay } from '../models/BookingDisplay'; | ||
/** | ||
* Update Band Configuration | ||
* @returns BookingDisplay Successful Response | ||
* @throws ApiError | ||
*/ | ||
public static async updateBandConfiguration({ | ||
bookingId, | ||
bandConfigurationOption, | ||
}: { | ||
bookingId: string, | ||
bandConfigurationOption: BandConfigurationOption, | ||
}): Promise<BookingDisplay> { | ||
const result = await __request({ | ||
method: 'PATCH', | ||
path: `/api/v1/bookings/${bookingId}/band_configuration`, | ||
query: { | ||
'band_configuration_option': bandConfigurationOption, | ||
}, | ||
errors: { | ||
422: `Validation Error`, | ||
}, | ||
}); | ||
return result.body; | ||
} | ||
/** | ||
* Switch Artist | ||
@@ -286,0 +312,0 @@ * @returns BookingDisplay Successful Response |
@@ -163,2 +163,3 @@ /* istanbul ignore file */ | ||
placeId, | ||
accountExecId, | ||
adminOnBehalfOf, | ||
@@ -168,2 +169,3 @@ }: { | ||
placeId: string, | ||
accountExecId?: string, | ||
adminOnBehalfOf?: string, | ||
@@ -177,2 +179,3 @@ }): Promise<VenueDisplay> { | ||
'place_id': placeId, | ||
'account_exec_id': accountExecId, | ||
'admin_on_behalf_of': adminOnBehalfOf, | ||
@@ -179,0 +182,0 @@ }, |
306110
10158