skedify-types
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,6 +0,6 @@ | ||
import { BaseFields, Customer, Employee, Subject, WithEmployeeUser } from "."; | ||
import { BaseFields, Customer, Employee, MeetingType, Subject, WithEmployeeUser } from "."; | ||
export declare type AppointmentState = "incoming" | "outgoing" | "completed" | "cancelled" | "accepted" | "occurred"; | ||
export interface Appointment extends Omit<BaseFields, "enterprise_id"> { | ||
uuid: string; | ||
listing_uuid: string; | ||
listing_uuid: string | null; | ||
contact_id: string; | ||
@@ -11,6 +11,6 @@ customer_id: string; | ||
state: AppointmentState; | ||
meeting_type: string; | ||
meeting_type: MeetingType; | ||
first_possibility_id: string; | ||
notes?: string; | ||
outcome_remark?: string; | ||
notes: string | null; | ||
outcome_remark: string | null; | ||
trailing_buffer_time: number; | ||
@@ -20,9 +20,9 @@ metadata: any[]; | ||
is_success: boolean; | ||
video_url_for_contact: string; | ||
video_url_for_customer: string; | ||
video_test_url_for_contact: string; | ||
video_test_url_for_customer: string; | ||
cancellation_reason_id?: string; | ||
cancelled_by_id?: string; | ||
cancelled_by_type?: string; | ||
video_url_for_contact: string | null; | ||
video_url_for_customer: string | null; | ||
video_test_url_for_contact: string | null; | ||
video_test_url_for_customer: string | null; | ||
cancellation_reason_id: string | null; | ||
cancelled_by_id: string | null; | ||
cancelled_by_type: string | null; | ||
initiated_from: string; | ||
@@ -32,7 +32,7 @@ initiated_by_id: string; | ||
updated_at: string; | ||
updated_by_id: string; | ||
updated_by_type: string; | ||
updated_by_id: string | null; | ||
updated_by_type: string | null; | ||
} | ||
export interface Possibility extends Omit<BaseFields, "enterprise_id" | "external_id"> { | ||
appointment_id: number; | ||
appointment_id: string; | ||
start: string; | ||
@@ -44,5 +44,5 @@ end: string; | ||
next_possibility_id: string | null; | ||
created_by_id: number; | ||
created_by_id: string; | ||
created_by_type: string; | ||
updated_by_id: number; | ||
updated_by_id: string; | ||
updated_by_type: string; | ||
@@ -49,0 +49,0 @@ updated_at: string; |
import { BaseFields } from "."; | ||
export interface Customer extends BaseFields { | ||
uuid: string; | ||
user_id?: string; | ||
preferred_office_id?: string; | ||
preferred_contact_id?: string; | ||
external_id?: string; | ||
user_id: string | null; | ||
preferred_office_id: string | null; | ||
preferred_contact_id: string | null; | ||
external_id: string | null; | ||
email: string; | ||
first_name: string; | ||
first_name: string | null; | ||
last_name: string; | ||
gender?: string; | ||
date_of_birth?: string; | ||
gender: string | null; | ||
date_of_birth: string | null; | ||
language: string; | ||
phone_number?: string; | ||
profile_picture?: string; | ||
phone_number: string | null; | ||
profile_picture: string | null; | ||
timezone: string; | ||
customer_number?: string; | ||
company?: string; | ||
notes?: string; | ||
customer_number: string | null; | ||
company: string | null; | ||
notes: string | null; | ||
is_existing: boolean; | ||
updated_at: string; | ||
location?: string; | ||
location: string | null; | ||
} | ||
//# sourceMappingURL=customer.d.ts.map |
@@ -84,2 +84,6 @@ import { BaseFields } from "."; | ||
} | ||
export interface FavoriteContact { | ||
contact_id: string; | ||
office_id: string; | ||
} | ||
export interface Admin extends ContactInfo { | ||
@@ -86,0 +90,0 @@ roles: { |
@@ -0,6 +1,8 @@ | ||
export declare type UserEventProvider = "google" | "office365" | "exchange"; | ||
export declare type UserEventAvailability = "free" | "busy" | "all"; | ||
export interface Event { | ||
provider: "google" | "office365" | "exchange"; | ||
provider: UserEventProvider; | ||
calendar_id: string; | ||
event_uid: string; | ||
title: string; | ||
title?: string; | ||
description: string; | ||
@@ -10,3 +12,3 @@ start: string; | ||
is_full_day: boolean; | ||
availability: "free" | "busy" | "all"; | ||
availability: UserEventAvailability; | ||
private: boolean; | ||
@@ -13,0 +15,0 @@ appointment_id: null | string; |
@@ -33,4 +33,4 @@ import { BaseFields, Locale } from "."; | ||
category_id: string; | ||
description: string; | ||
instructions: string; | ||
description: string | null; | ||
instructions: string | null; | ||
is_active: boolean; | ||
@@ -37,0 +37,0 @@ is_default: boolean; |
{ | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"name": "skedify-types", | ||
@@ -21,4 +21,4 @@ "description": "Skedify Types", | ||
"devDependencies": { | ||
"tsc-alias": "^1.3.10", | ||
"vite": "^2.6.7", | ||
"tsc-alias": "^1.4.1", | ||
"vite": "^2.6.14", | ||
"vite-tsconfig-paths": "^3.3.17" | ||
@@ -25,0 +25,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
58103
973