Skip to main content

@dialstack/sdk-dev / server/src / Account

Interface: Account

Defined in: sdk/server/src/index.ts:163

Properties​

config​

TypeScript
config: AccountConfig;

Defined in: sdk/server/src/index.ts:167


created_at​

TypeScript
created_at: string;

Defined in: sdk/server/src/index.ts:202


default_button_template​

TypeScript
default_button_template: string | null;

Defined in: sdk/server/src/index.ts:171

Button template inherited by newly created deskphones and DECT handsets.


email​

TypeScript
email: string | null;

Defined in: sdk/server/src/index.ts:165


hold_music_clip_id​

TypeScript
hold_music_clip_id: string | null;

Defined in: sdk/server/src/index.ts:168


id​

TypeScript
id: string;

Defined in: sdk/server/src/index.ts:164


main_location_id​

TypeScript
main_location_id: string | null;

Defined in: sdk/server/src/index.ts:169


primary_contact_name​

TypeScript
primary_contact_name: string | null;

Defined in: sdk/server/src/index.ts:166


tos_accepted_at?​

TypeScript
optional tos_accepted_at?: string | null;

Defined in: sdk/server/src/index.ts:194

When the current agreement was accepted; null unless the account has a valid acceptance. Set both when tos_status is signed and when a previously signed account has been asked to re-sign — pair it with tos_resign_by to tell those apart.


tos_resign_by?​

TypeScript
optional tos_resign_by?: string | null;

Defined in: sdk/server/src/index.ts:201

When a re-signature has been requested, the deadline for it; otherwise null. While set, the account keeps full service and tos_status reads unsigned so the agreement is presented again. Past the deadline the account is treated as unsigned outright.


tos_status?​

TypeScript
optional tos_status?: "signed" | "unsigned" | "not_required";

Defined in: sdk/server/src/index.ts:187

Subscription-agreement (SSA/TOS) coverage status. signed — a live account whose acceptance matches the current agreement version; unsigned — a live account not yet accepted, accepted against a superseded version, or asked to re-sign (see tos_resign_by); not_required — a non-live account, never prompted. Filter the list with tos_status. The full agreement + evidence is on the account tos resource.


tos_variant?​

TypeScript
optional tos_variant?: TosVariant;

Defined in: sdk/server/src/index.ts:178

Which Service Subscription Agreement this account must sign. standard is the ordinary agreement; hipaa is the healthcare agreement incorporating the Business Associate Agreement, for customers handling protected health information.


updated_at​

TypeScript
updated_at: string;

Defined in: sdk/server/src/index.ts:203