@beatgig/backend-types
Advanced tools
Comparing version 1.0.1635796765-1635949517 to 1.0.1637272321-1638839890
@@ -19,3 +19,3 @@ /* istanbul ignore file */ | ||
BASE: '', | ||
VERSION: '1.0.1635796765', | ||
VERSION: '1.0.1637272321', | ||
WITH_CREDENTIALS: false, | ||
@@ -22,0 +22,0 @@ TOKEN: undefined, |
@@ -94,2 +94,4 @@ /* istanbul ignore file */ | ||
export type { DisplayPrices } from './models/DisplayPrices'; | ||
export type { Embed } from './models/Embed'; | ||
export { EmbedType } from './models/EmbedType'; | ||
export type { ExpoNotification } from './models/ExpoNotification'; | ||
@@ -96,0 +98,0 @@ export type { ExpoNotificationInput } from './models/ExpoNotificationInput'; |
@@ -6,2 +6,3 @@ /* istanbul ignore file */ | ||
import type { ColorMode } from './ColorMode'; | ||
import type { Embed } from './Embed'; | ||
@@ -11,2 +12,3 @@ export type Colors = { | ||
color_mode: ColorMode; | ||
embed?: Embed; | ||
} |
@@ -1,1 +0,1 @@ | ||
{"name": "@beatgig/backend-types", "version": "1.0.1635796765-1635949517", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false} | ||
{"name": "@beatgig/backend-types", "version": "1.0.1637272321-1638839890", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false} |
@@ -249,2 +249,48 @@ /* istanbul ignore file */ | ||
/** | ||
* Send Reminders To Review Private Bookings | ||
* @returns any Successful Response | ||
* @throws ApiError | ||
*/ | ||
public static async sendRemindersToReviewPrivateBookings({ | ||
key, | ||
}: { | ||
key: string, | ||
}): Promise<any> { | ||
const result = await __request({ | ||
method: 'POST', | ||
path: `/api/v1/artist_reviews/webhooks/private`, | ||
query: { | ||
'key': key, | ||
}, | ||
errors: { | ||
422: `Validation Error`, | ||
}, | ||
}); | ||
return result.body; | ||
} | ||
/** | ||
* Send Reminders To Review Venue Bookings | ||
* @returns any Successful Response | ||
* @throws ApiError | ||
*/ | ||
public static async sendRemindersToReviewVenueBookings({ | ||
key, | ||
}: { | ||
key: string, | ||
}): Promise<any> { | ||
const result = await __request({ | ||
method: 'POST', | ||
path: `/api/v1/artist_reviews/webhooks/venue`, | ||
query: { | ||
'key': key, | ||
}, | ||
errors: { | ||
422: `Validation Error`, | ||
}, | ||
}); | ||
return result.body; | ||
} | ||
} |
@@ -18,2 +18,30 @@ /* istanbul ignore file */ | ||
/** | ||
* Trig | ||
* @returns any Successful Response | ||
* @throws ApiError | ||
*/ | ||
public static async trig({ | ||
key, | ||
magicTriggerSecretKey, | ||
}: { | ||
key: string, | ||
magicTriggerSecretKey: string, | ||
}): Promise<any> { | ||
const result = await __request({ | ||
method: 'GET', | ||
path: `/api/v1/triggers/trig_`, | ||
headers: { | ||
'magic-trigger-secret-key': magicTriggerSecretKey, | ||
}, | ||
query: { | ||
'key': key, | ||
}, | ||
errors: { | ||
422: `Validation Error`, | ||
}, | ||
}); | ||
return result.body; | ||
} | ||
/** | ||
* Trigger Webhook | ||
@@ -20,0 +48,0 @@ * @returns boolean Successful Response |
301517
262
9995