@sport-activities/sdk
Advanced tools
Comparing version 1.2.3 to 1.2.4
{ | ||
"name": "@sport-activities/sdk", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -237,3 +237,3 @@ // Generated by dts-bundle-generator v9.2.1 | ||
export interface ActivityInterface { | ||
sku: number; | ||
sku: number | string; | ||
type: ActivityTypeEnum | null; | ||
@@ -266,5 +266,9 @@ name: string | null; | ||
ecological: boolean | null; | ||
generateQrcode: boolean | null; | ||
bookableUntilTheEnd: boolean | null; | ||
visibility: ActivityVisibilityEnum | null; | ||
tenant: string; | ||
activityUuid: string; | ||
dataSourceIdentifier: string; | ||
dataSourceVersion: number; | ||
} | ||
@@ -307,2 +311,4 @@ export interface ActivityMediaInterface extends ActivityFileUploadInterface { | ||
typicalAgeRange?: RangeInterface; | ||
dataSourceIdentifier?: string; | ||
dataSourceVersion?: number; | ||
proficiencyLevel?: ProficiencyLevelEnum[]; | ||
@@ -326,2 +332,5 @@ requiredEquipment?: LocalizableBodyInterface<string[]>[]; | ||
ecological?: boolean; | ||
generateQrcode?: boolean; | ||
bookableUntilTheEnd?: boolean; | ||
medias?: FileUploadInterface[]; | ||
} | ||
@@ -374,2 +383,3 @@ export interface SportInterface { | ||
activityIdentifier?: number | number[]; | ||
external_id?: string | string[]; | ||
status?: ActivityStatusEnum; | ||
@@ -546,2 +556,15 @@ organizationIdentifier?: string; | ||
} | ||
declare class QRCode { | ||
identifier: string; | ||
content: string; | ||
scanCount: number; | ||
isValid: boolean; | ||
sku: string; | ||
attendee: string; | ||
age: number; | ||
bookingId: string; | ||
createdAt: Date | null; | ||
updatedAt: Date | null; | ||
beforeInsert(): void; | ||
} | ||
export declare enum MessageTypeEnum { | ||
@@ -575,2 +598,4 @@ BOOKING_CONFIRM = "A-CNFRM", | ||
hasAttended: boolean; | ||
contactPhoneNumber: string; | ||
QRCode?: QRCode; | ||
}[]; | ||
@@ -587,2 +612,3 @@ currency: string; | ||
item: BookingItemResourceInterface; | ||
qrCodesPdf?: string; | ||
} | ||
@@ -647,2 +673,6 @@ declare enum TaxTypeEnum { | ||
} | ||
declare enum SellerType { | ||
FIRST_PARTY = "1P", | ||
THIRD_PARTY = "3P" | ||
} | ||
export interface OrganizationInterface { | ||
@@ -685,2 +715,3 @@ identifier: string; | ||
organizationProvider?: OrganizationProviderEnum; | ||
sellerType: SellerType; | ||
status?: SalesChannelStatusEnum; | ||
@@ -727,3 +758,3 @@ feeRate?: number; | ||
ACTIVITY_ADDRESS: string; | ||
ACTIVITY_IDENTIFIER: number; | ||
ACTIVITY_IDENTIFIER: number | string; | ||
ACTIVITY_NAME: string; | ||
@@ -757,2 +788,3 @@ TIMESLOT_DATETIME: string; | ||
BOOKING = "booking", | ||
QRCODES = "qrcodes", | ||
INVOICES = "invoices" | ||
@@ -759,0 +791,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
24303
957
1