Skip to content

Commit

Permalink
Update ts definitions (#10682)
Browse files Browse the repository at this point in the history
Co-authored-by: willmcvay <[email protected]>
Co-authored-by: Will McVay <[email protected]>
  • Loading branch information
3 people authored Feb 7, 2024
1 parent 987ceef commit 185492e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/foundations-ts-definitions/types/organisations-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,12 @@ export interface UpdateUserModel {
* Flag indicating whether or not the user has provided consent for their actions to be tracked in Reapit's products
*/
consentToTrack?: boolean
/**
* The date and time at which the user first logged in
* example:
* 2019-08-14T12:30:02.0000000Z
*/
firstLoginDate?: string // date-time
}
/**
* Request body used to update a user's password to a specific value
Expand Down Expand Up @@ -1506,6 +1512,12 @@ export interface UserModel {
* 2019-08-14T12:30:02.0000000Z
*/
consentToTrackModified?: string // date-time
/**
* The date and time at which the user first logged in
* example:
* 2019-08-14T12:30:02.0000000Z
*/
firstLoginDate?: string // date-time
/**
* A collection of groups that the user belongs to
*/
Expand Down Expand Up @@ -1675,6 +1687,8 @@ export interface Users {
mfaEnabled?: boolean
createdFrom?: string
createdTo?: string
firstLoginDateFrom?: string
firstLoginDateTo?: string
active?: boolean
}
export interface UsersInfo {
Expand Down
28 changes: 28 additions & 0 deletions packages/foundations-ts-definitions/types/platform-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8848,6 +8848,10 @@ export interface CreateWorksOrderItemModel {
* The cost of the vat associated with the work
*/
vatAmount?: number // double
/**
* The amount of funds to be held back by the agent in landlord payment runs to cover the cost of any works required by the works order item
*/
reserveAmount?: number // double
}
/**
* Request body used to create a new works order
Expand Down Expand Up @@ -8937,6 +8941,10 @@ export interface CreateWorksOrderModel {
* The cost of the vat associated with the work
*/
vatAmount?: number // double
/**
* The amount of funds to be held back by the agent in landlord payment runs to cover the cost of any works required by the works order item
*/
reserveAmount?: number // double
}[]
/**
* App specific metadata to set against the works order
Expand Down Expand Up @@ -24044,6 +24052,10 @@ export interface UpdateWorksOrderItemModel {
* The cost of the vat associated with the work
*/
vatAmount?: number // double
/**
* The amount of funds to be held back by the agent in landlord payment runs to cover the cost of any works required by the works order item
*/
reserveAmount?: number // double
}
/**
* Request body used to update an existing works order
Expand Down Expand Up @@ -25125,6 +25137,10 @@ export interface WorksOrderItemModel {
* The gross cost of the work to be carried out
*/
grossAmount?: number // double
/**
* The amount of funds to be held back by the agent in landlord payment runs to cover the cost of any works required by the works order item
*/
reserveAmount?: number // double
/**
* The unique identifier of the nominal account the works order financial transactions are allocated to
*/
Expand Down Expand Up @@ -25192,6 +25208,10 @@ export interface WorksOrderItemModelPagedResult {
* The gross cost of the work to be carried out
*/
grossAmount?: number // double
/**
* The amount of funds to be held back by the agent in landlord payment runs to cover the cost of any works required by the works order item
*/
reserveAmount?: number // double
/**
* The unique identifier of the nominal account the works order financial transactions are allocated to
*/
Expand Down Expand Up @@ -25366,6 +25386,10 @@ export interface WorksOrderModel {
* The gross cost of the work to be carried out
*/
grossAmount?: number // double
/**
* The amount of funds to be held back by the agent in landlord payment runs to cover the cost of any works required by the works order item
*/
reserveAmount?: number // double
/**
* The unique identifier of the nominal account the works order financial transactions are allocated to
*/
Expand Down Expand Up @@ -25544,6 +25568,10 @@ export interface WorksOrderModelPagedResult {
* The gross cost of the work to be carried out
*/
grossAmount?: number // double
/**
* The amount of funds to be held back by the agent in landlord payment runs to cover the cost of any works required by the works order item
*/
reserveAmount?: number // double
/**
* The unique identifier of the nominal account the works order financial transactions are allocated to
*/
Expand Down

0 comments on commit 185492e

Please sign in to comment.