skedify-types
Advanced tools
Comparing version 0.4.0 to 0.4.1
# skedify-types | ||
## 0.4.1 | ||
### Patch Changes | ||
- 7259c34b5: add `en-US` locale and derive date format / first day of week | ||
- b893523df: SKED-10286: expose-all-customer-params-for-all-configuration-formats | ||
## 0.4.0 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "skedify-types", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Skedify Types", | ||
@@ -47,5 +47,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"@pexip-engage/scripts": "0.0.21", | ||
"@pexip-engage/scripts": "0.0.22", | ||
"@pexip-engage/tsconfig": "0.0.5", | ||
"eslint-config-pexip-engage": "0.0.5" | ||
"eslint-config-pexip-engage": "0.0.6" | ||
}, | ||
@@ -52,0 +52,0 @@ "volta": { |
@@ -1,24 +0,27 @@ | ||
import { BaseFields, Location } from "."; | ||
import { Location } from "."; | ||
export interface Customer extends BaseFields { | ||
uuid: string; | ||
user_id: string | null; | ||
preferred_office_id: string | null; | ||
preferred_contact_id: string | null; | ||
export interface Customer { | ||
company: string | null; | ||
created_at: string; | ||
customer_number: string | null; | ||
date_of_birth: string | null; | ||
email: string | null; | ||
enterprise_id: string; | ||
external_id: string | null; | ||
email: string | null; | ||
first_name: string | null; | ||
last_name: string; | ||
gender: string | null; | ||
date_of_birth: string | null; | ||
id: string; | ||
is_existing: boolean; | ||
language: string | null; | ||
last_name: string | null; | ||
location: Location | null; | ||
notes: null | { note?: string | null }; | ||
phone_number: string | null; | ||
preferred_contact_id: string | null; | ||
preferred_office_id: string | null; | ||
profile_picture: number | null; | ||
timezone: string; | ||
customer_number: string | null; | ||
company: string | null; | ||
notes: null | { note?: string | null }; | ||
is_existing: boolean; | ||
updated_at: string; | ||
location: Location | null; | ||
user_id: string | null; | ||
uuid: string; | ||
} |
@@ -138,9 +138,9 @@ import { Locale } from "."; | ||
export interface FirstTimeCustomerFields { | ||
address: CustomerFieldSetting; | ||
// address: CustomerFieldSetting; | ||
cell_phone_number: CustomerFieldSetting; | ||
company: CustomerFieldSetting; | ||
credit_card_number: CustomerFieldSetting; | ||
// credit_card_number: CustomerFieldSetting; | ||
customer_number: CustomerFieldSetting; | ||
debit_card_number: CustomerFieldSetting; | ||
dob: CustomerFieldSetting; | ||
// debit_card_number: CustomerFieldSetting; | ||
// dob: CustomerFieldSetting; | ||
/** | ||
@@ -150,3 +150,3 @@ * Mandatory | ||
email: CustomerFieldSetting; | ||
home_phone_number: CustomerFieldSetting; | ||
// home_phone_number: CustomerFieldSetting; | ||
is_existing: CustomerFieldSetting; | ||
@@ -157,3 +157,3 @@ /** | ||
name: CustomerFieldSetting; | ||
title: CustomerFieldSetting; | ||
// title: CustomerFieldSetting; | ||
} | ||
@@ -160,0 +160,0 @@ |
import { BaseFields } from "."; | ||
export type Locale = "en" | "nl" | "fr" | "de" | "da" | "nb" | "es" | "el"; | ||
export type Locale = "en" | "nl" | "fr" | "de" | "da" | "nb" | "es" | "el" | "en-US"; | ||
@@ -5,0 +5,0 @@ export interface Language extends Omit<BaseFields, "external_id"> { |
@@ -1,26 +0,29 @@ | ||
import { BaseFields, Location } from "."; | ||
export interface Customer extends BaseFields { | ||
uuid: string; | ||
user_id: string | null; | ||
preferred_office_id: string | null; | ||
preferred_contact_id: string | null; | ||
import { Location } from "."; | ||
export interface Customer { | ||
company: string | null; | ||
created_at: string; | ||
customer_number: string | null; | ||
date_of_birth: string | null; | ||
email: string | null; | ||
enterprise_id: string; | ||
external_id: string | null; | ||
email: string | null; | ||
first_name: string | null; | ||
last_name: string; | ||
gender: string | null; | ||
date_of_birth: string | null; | ||
id: string; | ||
is_existing: boolean; | ||
language: string | null; | ||
last_name: string | null; | ||
location: Location | null; | ||
notes: null | { | ||
note?: string | null; | ||
}; | ||
phone_number: string | null; | ||
preferred_contact_id: string | null; | ||
preferred_office_id: string | null; | ||
profile_picture: number | null; | ||
timezone: string; | ||
customer_number: string | null; | ||
company: string | null; | ||
notes: null | { | ||
note?: string | null; | ||
}; | ||
is_existing: boolean; | ||
updated_at: string; | ||
location: Location | null; | ||
user_id: string | null; | ||
uuid: string; | ||
} | ||
//# sourceMappingURL=customer.d.ts.map |
@@ -113,9 +113,5 @@ import { Locale } from "."; | ||
export interface FirstTimeCustomerFields { | ||
address: CustomerFieldSetting; | ||
cell_phone_number: CustomerFieldSetting; | ||
company: CustomerFieldSetting; | ||
credit_card_number: CustomerFieldSetting; | ||
customer_number: CustomerFieldSetting; | ||
debit_card_number: CustomerFieldSetting; | ||
dob: CustomerFieldSetting; | ||
/** | ||
@@ -125,3 +121,2 @@ * Mandatory | ||
email: CustomerFieldSetting; | ||
home_phone_number: CustomerFieldSetting; | ||
is_existing: CustomerFieldSetting; | ||
@@ -132,3 +127,2 @@ /** | ||
name: CustomerFieldSetting; | ||
title: CustomerFieldSetting; | ||
} | ||
@@ -135,0 +129,0 @@ export interface ReturningCustomerFields extends FirstTimeCustomerFields { |
import { BaseFields } from "."; | ||
export type Locale = "en" | "nl" | "fr" | "de" | "da" | "nb" | "es" | "el"; | ||
export type Locale = "en" | "nl" | "fr" | "de" | "da" | "nb" | "es" | "el" | "en-US"; | ||
export interface Language extends Omit<BaseFields, "external_id"> { | ||
@@ -4,0 +4,0 @@ locale: Locale; |
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
146498