Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CompensationEntry

import type { CompensationEntry } from "https://googleapis.deno.dev/v1/jobs:v4.ts";

A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.

interface CompensationEntry {
amount?: Money;
description?: string;
expectedUnitsPerYear?: number;
type?:
| "COMPENSATION_TYPE_UNSPECIFIED"
| "BASE"
| "BONUS"
| "SIGNING_BONUS"
| "EQUITY"
| "PROFIT_SHARING"
| "COMMISSIONS"
| "TIPS"
| "OTHER_COMPENSATION_TYPE";
unit?:
| "COMPENSATION_UNIT_UNSPECIFIED"
| "HOURLY"
| "DAILY"
| "WEEKLY"
| "MONTHLY"
| "YEARLY"
| "ONE_TIME"
| "OTHER_COMPENSATION_UNIT";
}

§Properties

§
amount?: Money
[src]

Compensation amount.

§
description?: string
[src]

Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.

§
expectedUnitsPerYear?: number
[src]

Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1

§

Compensation range.

§
type?: "COMPENSATION_TYPE_UNSPECIFIED" | "BASE" | "BONUS" | "SIGNING_BONUS" | "EQUITY" | "PROFIT_SHARING" | "COMMISSIONS" | "TIPS" | "OTHER_COMPENSATION_TYPE"
[src]

Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.

§
unit?: "COMPENSATION_UNIT_UNSPECIFIED" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY" | "ONE_TIME" | "OTHER_COMPENSATION_UNIT"
[src]

Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.