Skip to content

Commit

Permalink
feat(api): api update (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 28, 2025
1 parent 8b3ca36 commit 0139d08
Show file tree
Hide file tree
Showing 18 changed files with 112 additions and 100 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: 144
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-baf69946b498cc04cfde29a7a1a7471d5278926be6ecf75c4f78c09dbba68152.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-04617a017b9a81e12c7f379a41bb209f31df04cf60945cd6186af67c04beb4a0.yml
6 changes: 3 additions & 3 deletions src/resources/qbd/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export interface Account {

/**
* Indicates whether this account is active. Inactive objects are typically hidden
* from views and reports in QuickBooks.
* from views and reports in QuickBooks. Defaults to `true`.
*/
isActive: boolean;

Expand Down Expand Up @@ -483,7 +483,7 @@ export interface AccountCreateParams {

/**
* Body param: Indicates whether this account is active. Inactive objects are
* typically hidden from views and reports in QuickBooks.
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive?: boolean;

Expand Down Expand Up @@ -604,7 +604,7 @@ export interface AccountUpdateParams {

/**
* Body param: Indicates whether this account is active. Inactive objects are
* typically hidden from views and reports in QuickBooks.
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive?: boolean;

Expand Down
6 changes: 3 additions & 3 deletions src/resources/qbd/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export interface Class {

/**
* Indicates whether this class is active. Inactive objects are typically hidden
* from views and reports in QuickBooks.
* from views and reports in QuickBooks. Defaults to `true`.
*/
isActive: boolean;

Expand Down Expand Up @@ -189,7 +189,7 @@ export interface ClassCreateParams {

/**
* Body param: Indicates whether this class is active. Inactive objects are
* typically hidden from views and reports in QuickBooks.
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive?: boolean;

Expand Down Expand Up @@ -227,7 +227,7 @@ export interface ClassUpdateParams {

/**
* Body param: Indicates whether this class is active. Inactive objects are
* typically hidden from views and reports in QuickBooks.
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive?: boolean;

Expand Down
6 changes: 3 additions & 3 deletions src/resources/qbd/customers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export interface Customer {

/**
* Indicates whether this customer is active. Inactive objects are typically hidden
* from views and reports in QuickBooks.
* from views and reports in QuickBooks. Defaults to `true`.
*/
isActive: boolean;

Expand Down Expand Up @@ -1175,7 +1175,7 @@ export interface CustomerCreateParams {

/**
* Body param: Indicates whether this customer is active. Inactive objects are
* typically hidden from views and reports in QuickBooks.
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive?: boolean;

Expand Down Expand Up @@ -1769,7 +1769,7 @@ export interface CustomerUpdateParams {

/**
* Body param: Indicates whether this customer is active. Inactive objects are
* typically hidden from views and reports in QuickBooks.
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive?: boolean;

Expand Down
4 changes: 2 additions & 2 deletions src/resources/qbd/date-driven-terms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export interface DateDrivenTerm {

/**
* Indicates whether this date-driven term is active. Inactive objects are
* typically hidden from views and reports in QuickBooks.
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive: boolean;

Expand Down Expand Up @@ -189,7 +189,7 @@ export interface DateDrivenTermCreateParams {

/**
* Body param: Indicates whether this date-driven term is active. Inactive objects
* are typically hidden from views and reports in QuickBooks.
* are typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive?: boolean;
}
Expand Down
110 changes: 60 additions & 50 deletions src/resources/qbd/employees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ export interface Employee {

/**
* The employee's address.
*
* If the company uses QuickBooks Payroll for this employee, this address must
* specify a complete address, including city, state, ZIP (or postal) code, and at
* least one line of the street address.
*/
address: Employee.Address | null;

Expand Down Expand Up @@ -227,7 +231,7 @@ export interface Employee {

/**
* Indicates whether this employee is active. Inactive objects are typically hidden
* from views and reports in QuickBooks.
* from views and reports in QuickBooks. Defaults to `true`.
*/
isActive: boolean;

Expand Down Expand Up @@ -329,7 +333,7 @@ export interface Employee {
salutation: string | null;

/**
* The employee's Social Security Number.
* The employee's Social Security Number. The value can be with or without dashes.
*
* **NOTE**: This field cannot be changed after the employee is created.
*/
Expand Down Expand Up @@ -396,6 +400,10 @@ export namespace Employee {

/**
* The employee's address.
*
* If the company uses QuickBooks Payroll for this employee, this address must
* specify a complete address, including city, state, ZIP (or postal) code, and at
* least one line of the street address.
*/
export interface Address {
/**
Expand Down Expand Up @@ -649,11 +657,6 @@ export namespace Employee {
*/
earnings: Array<EmployeePayroll.Earning>;

/**
* Indicates whether this employee is using time-tracking data to create paychecks.
*/
isUsingTimeDataToCreatePaychecks: boolean | null;

/**
* How frequently this employee is paid (e.g., weekly, biweekly, monthly). This
* determines the schedule for generating paychecks.
Expand Down Expand Up @@ -772,15 +775,15 @@ export namespace Employee {
hoursUsed: string | null;

/**
* Indicates whether the employee's sick hours reset to zero at the beginning of
* the new year.
* The maximum number of sick hours the employee can accrue.
*/
isResettingHoursAnnually: boolean | null;
maximumHours: string | null;

/**
* The maximum number of sick hours the employee can accrue.
* Indicates whether the employee's sick hours reset to zero at the beginning of
* the new year.
*/
maximumHours: string | null;
resetsHoursEachYear: boolean | null;
}

/**
Expand Down Expand Up @@ -815,15 +818,15 @@ export namespace Employee {
hoursUsed: string | null;

/**
* Indicates whether the employee's vacation hours reset to zero at the beginning
* of the new year.
* The maximum number of vacation hours the employee can accrue.
*/
isResettingHoursAnnually: boolean | null;
maximumHours: string | null;

/**
* The maximum number of vacation hours the employee can accrue.
* Indicates whether the employee's vacation hours reset to zero at the beginning
* of the new year.
*/
maximumHours: string | null;
resetsHoursEachYear: boolean | null;
}
}

Expand Down Expand Up @@ -872,6 +875,10 @@ export interface EmployeeCreateParams {

/**
* Body param: The employee's address.
*
* If the company uses QuickBooks Payroll for this employee, this address must
* specify a complete address, including city, state, ZIP (or postal) code, and at
* least one line of the street address.
*/
address?: EmployeeCreateParams.Address;

Expand Down Expand Up @@ -996,7 +1003,7 @@ export interface EmployeeCreateParams {

/**
* Body param: Indicates whether this employee is active. Inactive objects are
* typically hidden from views and reports in QuickBooks.
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive?: boolean;

Expand Down Expand Up @@ -1074,7 +1081,8 @@ export interface EmployeeCreateParams {
salutation?: string;

/**
* Body param: The employee's Social Security Number.
* Body param: The employee's Social Security Number. The value can be with or
* without dashes.
*
* **NOTE**: This field cannot be changed after the employee is created.
*/
Expand Down Expand Up @@ -1125,6 +1133,10 @@ export namespace EmployeeCreateParams {

/**
* The employee's address.
*
* If the company uses QuickBooks Payroll for this employee, this address must
* specify a complete address, including city, state, ZIP (or postal) code, and at
* least one line of the street address.
*/
export interface Address {
/**
Expand Down Expand Up @@ -1317,11 +1329,6 @@ export namespace EmployeeCreateParams {
*/
earnings?: Array<EmployeePayroll.Earning>;

/**
* Indicates whether this employee is using time-tracking data to create paychecks.
*/
isUsingTimeDataToCreatePaychecks?: boolean;

/**
* How frequently this employee is paid (e.g., weekly, biweekly, monthly). This
* determines the schedule for generating paychecks.
Expand Down Expand Up @@ -1397,15 +1404,15 @@ export namespace EmployeeCreateParams {
hoursUsed?: string;

/**
* Indicates whether the employee's sick hours reset to zero at the beginning of
* the new year.
* The maximum number of sick hours the employee can accrue.
*/
isResettingHoursAnnually?: boolean;
maximumHours?: string;

/**
* The maximum number of sick hours the employee can accrue.
* Indicates whether the employee's sick hours reset to zero at the beginning of
* the new year.
*/
maximumHours?: string;
resetsHoursEachYear?: boolean;
}

/**
Expand Down Expand Up @@ -1440,15 +1447,15 @@ export namespace EmployeeCreateParams {
hoursUsed?: string;

/**
* Indicates whether the employee's vacation hours reset to zero at the beginning
* of the new year.
* The maximum number of vacation hours the employee can accrue.
*/
isResettingHoursAnnually?: boolean;
maximumHours?: string;

/**
* The maximum number of vacation hours the employee can accrue.
* Indicates whether the employee's vacation hours reset to zero at the beginning
* of the new year.
*/
maximumHours?: string;
resetsHoursEachYear?: boolean;
}
}
}
Expand Down Expand Up @@ -1493,6 +1500,10 @@ export interface EmployeeUpdateParams {

/**
* Body param: The employee's address.
*
* If the company uses QuickBooks Payroll for this employee, this address must
* specify a complete address, including city, state, ZIP (or postal) code, and at
* least one line of the street address.
*/
address?: EmployeeUpdateParams.Address;

Expand Down Expand Up @@ -1602,7 +1613,7 @@ export interface EmployeeUpdateParams {

/**
* Body param: Indicates whether this employee is active. Inactive objects are
* typically hidden from views and reports in QuickBooks.
* typically hidden from views and reports in QuickBooks. Defaults to `true`.
*/
isActive?: boolean;

Expand Down Expand Up @@ -1729,6 +1740,10 @@ export namespace EmployeeUpdateParams {

/**
* The employee's address.
*
* If the company uses QuickBooks Payroll for this employee, this address must
* specify a complete address, including city, state, ZIP (or postal) code, and at
* least one line of the street address.
*/
export interface Address {
/**
Expand Down Expand Up @@ -1921,11 +1936,6 @@ export namespace EmployeeUpdateParams {
*/
earnings?: Array<EmployeePayroll.Earning>;

/**
* Indicates whether this employee is using time-tracking data to create paychecks.
*/
isUsingTimeDataToCreatePaychecks?: boolean;

/**
* How frequently this employee is paid (e.g., weekly, biweekly, monthly). This
* determines the schedule for generating paychecks.
Expand Down Expand Up @@ -2001,15 +2011,15 @@ export namespace EmployeeUpdateParams {
hoursUsed?: string;

/**
* Indicates whether the employee's sick hours reset to zero at the beginning of
* the new year.
* The maximum number of sick hours the employee can accrue.
*/
isResettingHoursAnnually?: boolean;
maximumHours?: string;

/**
* The maximum number of sick hours the employee can accrue.
* Indicates whether the employee's sick hours reset to zero at the beginning of
* the new year.
*/
maximumHours?: string;
resetsHoursEachYear?: boolean;
}

/**
Expand Down Expand Up @@ -2044,15 +2054,15 @@ export namespace EmployeeUpdateParams {
hoursUsed?: string;

/**
* Indicates whether the employee's vacation hours reset to zero at the beginning
* of the new year.
* The maximum number of vacation hours the employee can accrue.
*/
isResettingHoursAnnually?: boolean;
maximumHours?: string;

/**
* The maximum number of vacation hours the employee can accrue.
* Indicates whether the employee's vacation hours reset to zero at the beginning
* of the new year.
*/
maximumHours?: string;
resetsHoursEachYear?: boolean;
}
}
}
Expand Down
Loading

0 comments on commit 0139d08

Please sign in to comment.