Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@beatgig/backend-types

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beatgig/backend-types - npm Package Compare versions

Comparing version 1.0.1646848132-1647027603 to 1.0.1649360067-1651267312

2

core/OpenAPI.ts

@@ -19,3 +19,3 @@ /* istanbul ignore file */

BASE: '',
VERSION: '1.0.1646848132',
VERSION: '1.0.1649360067',
WITH_CREDENTIALS: false,

@@ -22,0 +22,0 @@ TOKEN: undefined,

@@ -66,2 +66,3 @@ /* istanbul ignore file */

account_exec_id?: string;
version?: string;
}

@@ -30,2 +30,3 @@ /* istanbul ignore file */

version?: string;
last_trigger?: string;
objectID: string;

@@ -32,0 +33,0 @@ _geoloc?: GeoLoc;

@@ -1,1 +0,1 @@

{"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}
{"name": "@beatgig/backend-types", "version": "1.0.1649360067-1651267312", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false}

@@ -71,2 +71,31 @@ /* istanbul ignore file */

/**
* Track Promo Export
* @returns boolean Successful Response
* @throws ApiError
*/
public static async trackPromoExport({
imgUrl,
redirectUrl,
via,
}: {
imgUrl: string,
redirectUrl: string,
via: string,
}): Promise<boolean> {
const result = await __request({
method: 'POST',
path: `/api/v1/promo/track_promo_export`,
query: {
'img_url': imgUrl,
'redirect_url': redirectUrl,
'via': via,
},
errors: {
422: `Validation Error`,
},
});
return result.body;
}
}

@@ -613,2 +613,43 @@ /* istanbul ignore file */

/**
* Edgedb Testing
* @returns string Successful Response
* @throws ApiError
*/
public static async edgedbTesting({
artistSlug,
withBookings = false,
withVenueInBookings = true,
useDo = true,
useAws = true,
useDgraph = true,
useFirestore = true,
}: {
artistSlug: string,
withBookings?: boolean,
withVenueInBookings?: boolean,
useDo?: boolean,
useAws?: boolean,
useDgraph?: boolean,
useFirestore?: boolean,
}): Promise<string> {
const result = await __request({
method: 'GET',
path: `/api/v1/testings/edgedb_testing`,
query: {
'artist_slug': artistSlug,
'with_bookings': withBookings,
'with_venue_in_bookings': withVenueInBookings,
'use_do': useDo,
'use_aws': useAws,
'use_dgraph': useDgraph,
'use_firestore': useFirestore,
},
errors: {
422: `Validation Error`,
},
});
return result.body;
}
}

@@ -46,2 +46,30 @@ /* istanbul ignore file */

/**
* Trigger Webhook Old
* @returns boolean Successful Response
* @throws ApiError
*/
public static async triggerWebhookOld({
key,
magicTriggerSecretKey,
}: {
key: string,
magicTriggerSecretKey: string,
}): Promise<boolean> {
const result = await __request({
method: 'GET',
path: `/api/v1/triggers/trigger_webhook_old`,
headers: {
'magic-trigger-secret-key': magicTriggerSecretKey,
},
query: {
'key': key,
},
errors: {
422: `Validation Error`,
},
});
return result.body;
}
/**
* Trigger Webhook

@@ -48,0 +76,0 @@ * @returns boolean Successful Response

@@ -164,2 +164,3 @@ /* istanbul ignore file */

accountExecId,
ignoreDuplicates = false,
adminOnBehalfOf,

@@ -170,2 +171,3 @@ }: {

accountExecId?: string,
ignoreDuplicates?: boolean,
adminOnBehalfOf?: string,

@@ -180,2 +182,3 @@ }): Promise<VenueDisplay> {

'account_exec_id': accountExecId,
'ignore_duplicates': ignoreDuplicates,
'admin_on_behalf_of': adminOnBehalfOf,

@@ -182,0 +185,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc