@beatgig/backend-types
Advanced tools
Comparing version 1.0.1638906788-1638911088 to 1.0.1644105754-1644108122
@@ -19,3 +19,3 @@ /* istanbul ignore file */ | ||
BASE: '', | ||
VERSION: '1.0.1638906788', | ||
VERSION: '1.0.1644105754', | ||
WITH_CREDENTIALS: false, | ||
@@ -22,0 +22,0 @@ TOKEN: undefined, |
@@ -144,2 +144,3 @@ /* istanbul ignore file */ | ||
export { OnBehalfOfRole } from './models/OnBehalfOfRole'; | ||
export { PatchUserInput } from './models/PatchUserInput'; | ||
export type { Payout } from './models/Payout'; | ||
@@ -146,0 +147,0 @@ export type { PayoutDisplay } from './models/PayoutDisplay'; |
@@ -64,2 +64,4 @@ /* istanbul ignore file */ | ||
week_out_notification_at?: string; | ||
last_trigger?: string; | ||
account_exec_id?: string; | ||
} |
@@ -12,2 +12,3 @@ /* istanbul ignore file */ | ||
EDM = 'EDM', | ||
DJ = 'DJ', | ||
ROCK = 'Rock', | ||
@@ -14,0 +15,0 @@ COUNTRY = 'Country', |
@@ -29,2 +29,3 @@ /* istanbul ignore file */ | ||
venue_location: Location; | ||
version?: string; | ||
objectID: string; | ||
@@ -31,0 +32,0 @@ _geoloc?: GeoLoc; |
@@ -1,1 +0,1 @@ | ||
{"name": "@beatgig/backend-types", "version": "1.0.1638906788-1638911088", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false} | ||
{"name": "@beatgig/backend-types", "version": "1.0.1644105754-1644108122", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false} |
@@ -137,2 +137,31 @@ /* istanbul ignore file */ | ||
/** | ||
* Make Bookings Csv Dgraph | ||
* @returns any Successful Response | ||
* @throws ApiError | ||
*/ | ||
public static async makeBookingsCsvDgraph({ | ||
key, | ||
onlyVenue = true, | ||
excludeBookings = false, | ||
}: { | ||
key: string, | ||
onlyVenue?: boolean, | ||
excludeBookings?: boolean, | ||
}): Promise<any> { | ||
const result = await __request({ | ||
method: 'GET', | ||
path: `/api/v1/csvs/bookings_csv/dgraph`, | ||
query: { | ||
'key': key, | ||
'only_venue': onlyVenue, | ||
'exclude_bookings': excludeBookings, | ||
}, | ||
errors: { | ||
422: `Validation Error`, | ||
}, | ||
}); | ||
return result.body; | ||
} | ||
} |
@@ -37,2 +37,15 @@ /* istanbul ignore file */ | ||
/** | ||
* Stripe Checkout Webhook | ||
* @returns any Successful Response | ||
* @throws ApiError | ||
*/ | ||
public static async stripeCheckoutWebhook(): Promise<any> { | ||
const result = await __request({ | ||
method: 'POST', | ||
path: `/api/v1/graphql/stripe_checkout/webhook`, | ||
}); | ||
return result.body; | ||
} | ||
} |
@@ -6,2 +6,3 @@ /* istanbul ignore file */ | ||
import type { Metadata } from '../models/Metadata'; | ||
import type { PatchUserInput } from '../models/PatchUserInput'; | ||
import type { UserDisplay } from '../models/UserDisplay'; | ||
@@ -174,2 +175,25 @@ import type { UserExists } from '../models/UserExists'; | ||
/** | ||
* Update User Admin | ||
* @returns UserDisplay Successful Response | ||
* @throws ApiError | ||
*/ | ||
public static async updateUserAdmin({ | ||
userId, | ||
requestBody, | ||
}: { | ||
userId: string, | ||
requestBody: PatchUserInput, | ||
}): Promise<UserDisplay> { | ||
const result = await __request({ | ||
method: 'PUT', | ||
path: `/api/v1/users/admin/${userId}`, | ||
body: requestBody, | ||
errors: { | ||
422: `Validation Error`, | ||
}, | ||
}); | ||
return result.body; | ||
} | ||
} |
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
303768
263
10078