Skip to content

Commit

Permalink
feat(api): api update (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 30, 2025
1 parent 33d7a81 commit 279625c
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 156
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-cf4db8856c4fd6a63816beda18ca3f6fafeeb2b6da285a309a0b66e5e762ae2e.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-26293c7b0d951438b0d71ef37f8a4c5cbe447d4a701034cb1ce6651da73318c0.yml
76 changes: 46 additions & 30 deletions src/resources/qbd/employees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ export interface Employee {
address: Employee.Address | null;

/**
* The adjusted service date for this employee. This date accounts for previous
* employment periods or leaves that affect seniority.
* The adjusted service date for this employee, in ISO 8601 format (YYYY-MM-DD).
* This date accounts for previous employment periods or leaves that affect
* seniority.
*/
adjustedServiceDate: string | null;

Expand All @@ -112,7 +113,7 @@ export interface Employee {
billingRate: Employee.BillingRate | null;

/**
* This employee's date of birth.
* This employee's date of birth, in ISO 8601 format (YYYY-MM-DD).
*/
birthDate: string | null;

Expand Down Expand Up @@ -221,7 +222,7 @@ export interface Employee {
gender: 'male' | 'female' | null;

/**
* The date this employee was hired.
* The date this employee was hired, in ISO 8601 format (YYYY-MM-DD).
*/
hiredDate: string | null;

Expand Down Expand Up @@ -288,7 +289,7 @@ export interface Employee {
objectType: 'qbd_employee';

/**
* The original hire date for this employee.
* The original hire date for this employee, in ISO 8601 format (YYYY-MM-DD).
*/
originalHireDate: string | null;

Expand Down Expand Up @@ -353,8 +354,8 @@ export interface Employee {
targetBonus: string | null;

/**
* The date this employee's employment ended with the company. This is also known
* as the released date or separation date.
* The date this employee's employment ended with the company, in ISO 8601 format
* (YYYY-MM-DD). This is also known as the released date or separation date.
*/
terminationDate: string | null;

Expand All @@ -376,7 +377,8 @@ export interface Employee {
usVeteranStatus: 'veteran' | 'non_veteran' | null;

/**
* The date this employee's work authorization expires.
* The date this employee's work authorization expires, in ISO 8601 format
* (YYYY-MM-DD).
*/
workAuthorizationExpirationDate: string | null;
}
Expand Down Expand Up @@ -776,7 +778,8 @@ export namespace Employee {
accrualPeriod: 'accrues_annually' | 'accrues_hourly' | 'accrues_per_paycheck' | null;

/**
* The date the employee's sick hours began to accrue.
* The date the employee's sick hours began to accrue, in ISO 8601 format
* (YYYY-MM-DD).
*/
accrualStartDate: string | null;

Expand Down Expand Up @@ -819,7 +822,8 @@ export namespace Employee {
accrualPeriod: 'accrues_annually' | 'accrues_hourly' | 'accrues_per_paycheck' | null;

/**
* The date the employee's vacation hours began to accrue.
* The date the employee's vacation hours began to accrue, in ISO 8601 format
* (YYYY-MM-DD).
*/
accrualStartDate: string | null;

Expand Down Expand Up @@ -905,8 +909,9 @@ export interface EmployeeCreateParams {
address?: EmployeeCreateParams.Address;

/**
* Body param: The adjusted service date for this employee. This date accounts for
* previous employment periods or leaves that affect seniority.
* Body param: The adjusted service date for this employee, in ISO 8601 format
* (YYYY-MM-DD). This date accounts for previous employment periods or leaves that
* affect seniority.
*/
adjustedServiceDate?: string;

Expand All @@ -922,7 +927,7 @@ export interface EmployeeCreateParams {
billingRateId?: string;

/**
* Body param: This employee's date of birth.
* Body param: This employee's date of birth, in ISO 8601 format (YYYY-MM-DD).
*/
birthDate?: string;

Expand Down Expand Up @@ -1014,7 +1019,7 @@ export interface EmployeeCreateParams {
gender?: 'male' | 'female';

/**
* Body param: The date this employee was hired.
* Body param: The date this employee was hired, in ISO 8601 format (YYYY-MM-DD).
*/
hiredDate?: string;

Expand Down Expand Up @@ -1065,7 +1070,8 @@ export interface EmployeeCreateParams {
note?: string;

/**
* Body param: The original hire date for this employee.
* Body param: The original hire date for this employee, in ISO 8601 format
* (YYYY-MM-DD).
*/
originalHireDate?: string;

Expand Down Expand Up @@ -1124,8 +1130,9 @@ export interface EmployeeCreateParams {
targetBonus?: string;

/**
* Body param: The date this employee's employment ended with the company. This is
* also known as the released date or separation date.
* Body param: The date this employee's employment ended with the company, in ISO
* 8601 format (YYYY-MM-DD). This is also known as the released date or separation
* date.
*/
terminationDate?: string;

Expand All @@ -1140,7 +1147,8 @@ export interface EmployeeCreateParams {
usVeteranStatus?: 'veteran' | 'non_veteran';

/**
* Body param: The date this employee's work authorization expires.
* Body param: The date this employee's work authorization expires, in ISO 8601
* format (YYYY-MM-DD).
*/
workAuthorizationExpirationDate?: string;
}
Expand Down Expand Up @@ -1426,7 +1434,8 @@ export namespace EmployeeCreateParams {
accrualPeriod?: 'accrues_annually' | 'accrues_hourly' | 'accrues_per_paycheck';

/**
* The date the employee's sick hours began to accrue.
* The date the employee's sick hours began to accrue, in ISO 8601 format
* (YYYY-MM-DD).
*/
accrualStartDate?: string;

Expand Down Expand Up @@ -1469,7 +1478,8 @@ export namespace EmployeeCreateParams {
accrualPeriod?: 'accrues_annually' | 'accrues_hourly' | 'accrues_per_paycheck';

/**
* The date the employee's vacation hours began to accrue.
* The date the employee's vacation hours began to accrue, in ISO 8601 format
* (YYYY-MM-DD).
*/
accrualStartDate?: string;

Expand Down Expand Up @@ -1551,8 +1561,9 @@ export interface EmployeeUpdateParams {
address?: EmployeeUpdateParams.Address;

/**
* Body param: The adjusted service date for this employee. This date accounts for
* previous employment periods or leaves that affect seniority.
* Body param: The adjusted service date for this employee, in ISO 8601 format
* (YYYY-MM-DD). This date accounts for previous employment periods or leaves that
* affect seniority.
*/
adjustedServiceDate?: string;

Expand All @@ -1568,7 +1579,7 @@ export interface EmployeeUpdateParams {
billingRateId?: string;

/**
* Body param: This employee's date of birth.
* Body param: This employee's date of birth, in ISO 8601 format (YYYY-MM-DD).
*/
birthDate?: string;

Expand Down Expand Up @@ -1645,7 +1656,7 @@ export interface EmployeeUpdateParams {
firstName?: string;

/**
* Body param: The date this employee was hired.
* Body param: The date this employee was hired, in ISO 8601 format (YYYY-MM-DD).
*/
hiredDate?: string;

Expand Down Expand Up @@ -1696,7 +1707,8 @@ export interface EmployeeUpdateParams {
note?: string;

/**
* Body param: The original hire date for this employee.
* Body param: The original hire date for this employee, in ISO 8601 format
* (YYYY-MM-DD).
*/
originalHireDate?: string;

Expand Down Expand Up @@ -1747,8 +1759,9 @@ export interface EmployeeUpdateParams {
targetBonus?: string;

/**
* Body param: The date this employee's employment ended with the company. This is
* also known as the released date or separation date.
* Body param: The date this employee's employment ended with the company, in ISO
* 8601 format (YYYY-MM-DD). This is also known as the released date or separation
* date.
*/
terminationDate?: string;

Expand All @@ -1763,7 +1776,8 @@ export interface EmployeeUpdateParams {
usVeteranStatus?: 'veteran' | 'non_veteran';

/**
* Body param: The date this employee's work authorization expires.
* Body param: The date this employee's work authorization expires, in ISO 8601
* format (YYYY-MM-DD).
*/
workAuthorizationExpirationDate?: string;
}
Expand Down Expand Up @@ -2054,7 +2068,8 @@ export namespace EmployeeUpdateParams {
accrualPeriod?: 'accrues_annually' | 'accrues_hourly' | 'accrues_per_paycheck';

/**
* The date the employee's sick hours began to accrue.
* The date the employee's sick hours began to accrue, in ISO 8601 format
* (YYYY-MM-DD).
*/
accrualStartDate?: string;

Expand Down Expand Up @@ -2097,7 +2112,8 @@ export namespace EmployeeUpdateParams {
accrualPeriod?: 'accrues_annually' | 'accrues_hourly' | 'accrues_per_paycheck';

/**
* The date the employee's vacation hours began to accrue.
* The date the employee's vacation hours began to accrue, in ISO 8601 format
* (YYYY-MM-DD).
*/
accrualStartDate?: string;

Expand Down
12 changes: 8 additions & 4 deletions src/resources/qbd/inventory-adjustments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,8 @@ export namespace InventoryAdjustmentCreateParams {
adjustQuantity?: Line.AdjustQuantity;

/**
* Adjusts the serial number of this inventory adjustment line.
* Adjusts the serial number of this inventory adjustment line. This is used for
* tracking individual units of serialized inventory items.
*/
adjustSerialNumber?: Line.AdjustSerialNumber;

Expand Down Expand Up @@ -632,11 +633,13 @@ export namespace InventoryAdjustmentCreateParams {
}

/**
* Adjusts the serial number of this inventory adjustment line.
* Adjusts the serial number of this inventory adjustment line. This is used for
* tracking individual units of serialized inventory items.
*/
export interface AdjustSerialNumber {
/**
* The serial number to add to inventory.
* The serial number, which represents a unique unit of the inventory item
* associated with this inventory adjustment line, to add to inventory.
*/
addSerialNumber?: string;

Expand All @@ -655,7 +658,8 @@ export namespace InventoryAdjustmentCreateParams {
inventorySiteLocationId?: string;

/**
* The serial number to remove from inventory.
* The serial number, which represents a unique unit of the inventory item
* associated with this inventory adjustment line, to remove from inventory.
*/
removeSerialNumber?: string;
}
Expand Down

0 comments on commit 279625c

Please sign in to comment.